Comments (10)
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.
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.
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.
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.
@Poipt Any updates?
from apriltools.
It totally slipped my mind yesterday, sorry. I'll have time today so I'll do it soon.
from apriltools.
No worries. I was just asking to know if I should close the issue or not.
from apriltools.
Alright, I tried it with footage with actual lines in it and it worked fine. Thanks for all of your help.
from apriltools.
No problem! You're welcome. What do you mean by "actual lines" ? @Poipt
from apriltools.
I was filming on my floor, and I think the lines weren't thick enough to be detected.
from apriltools.
Related Issues (20)
- Run AprilTools on linux HOT 5
- When using Cmake, the source direction /apriltag does not contain a CMakeLists.txt file. HOT 2
- Tracking stops on frame 73 HOT 1
- Tag is not aligned with marker on vertical video HOT 3
- Build from source gets stuck at 21% on OSX HOT 2
- Live Video Feed HOT 1
- Shaky 3d objects despite good tracking HOT 2
- Doesnt work in new Blender Versions. HOT 2
- Adding all apriltag families HOT 1
- tracking not working
- Python script won't import in 2.91
- Import track to blender camera not moving HOT 2
- Has this project been abandoned? HOT 7
- Don't package AprilTools.exe in bin/, package it in releases.
- CI/CD
- Add a .gitignore HOT 1
- april tools does not detect the contents of this folder HOT 2
- Issue when trying to import to blender HOT 8
- A readme for python-rewrite?
- estimate-focal-length no tag found issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apriltools.