GithubHelp home page GithubHelp logo

Comments (10)

thegoodhen avatar thegoodhen commented on July 2, 2024

Hello!
It's hard to tell without looking at the footage.
The software uses a vanishing points method in order to determine the camera focal length. This means it extends the sides of the square tag till they intersect and then calculates the focal length based on the position of the intersection. Generally, this works. However, in order to combat numerical instability, it discards the estimate when the opposing sides of the tag are too close to being parallel.

This might happen if you are viewing the tag from far, from angles close to "dead on" and/or when the tag is small.

You can take a different footage, estimate the focal length from it and then use the estimate to track the footage you wanted to track.

Alternatively, you can also provide the focal length in mm and the sensor width also in mm to the tracker, if you know those values (for example, if you googled them!).

Which camera do you have?

Also, can you show me the footage?

from apriltools.

jm02394 avatar jm02394 commented on July 2, 2024

Okay, this helped me get an understanding of what's going on. First of all, I was filming from an angle almost perpendicular to the ground, so there weren't many lines it could have used to determine the vanishing points. Second of all, I was using my terrible phone camera which had a ton of motion blur, which would make it even harder to pick out lines. Also, I did try googling the focal length and sensor width, but something seemed off with the tracking. I'm pretty sure that it was the motion blur, though. I'll try filming something with an actual camera tommorow and get back to you. EDIT: I was using the camera on my Samsung Galaxy S7.

from apriltools.

thegoodhen avatar thegoodhen commented on July 2, 2024

Hm... The camera perpendicular to the ground surely is the bigger problem there. I am pretty certain that Galaxy S7 should be good enough for the job. It's a 2016 phone and I tried shooting on iPhone 6 (2014) in bad lighting conditions without major problems.

Please .zip the file sequence and upload it somewhere (such as google drive), then post the link here. I'll try it myself.

from apriltools.

thegoodhen avatar thegoodhen commented on July 2, 2024

Actually, you should be able to tell whether the application sees the tags or not. It tells you how many images were unusable.

from apriltools.

thegoodhen avatar thegoodhen commented on July 2, 2024

@Poipt Any updates?

from apriltools.

jm02394 avatar jm02394 commented on July 2, 2024

It totally slipped my mind yesterday, sorry. I'll have time today so I'll do it soon.

from apriltools.

thegoodhen avatar thegoodhen commented on July 2, 2024

No worries. I was just asking to know if I should close the issue or not.

from apriltools.

jm02394 avatar jm02394 commented on July 2, 2024

Alright, I tried it with footage with actual lines in it and it worked fine. Thanks for all of your help.

from apriltools.

thegoodhen avatar thegoodhen commented on July 2, 2024

No problem! You're welcome. What do you mean by "actual lines" ? @Poipt

from apriltools.

jm02394 avatar jm02394 commented on July 2, 2024

I was filming on my floor, and I think the lines weren't thick enough to be detected.

from apriltools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.