Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a pose estimation for calculate distance from A marker from The other marker? #27

Open
kt9292 opened this issue Dec 23, 2022 · 1 comment

Comments

@kt9292
Copy link

kt9292 commented Dec 23, 2022

Hello, Thank you for sharing amazing marker system.
I tried to calculate distance between Stag markers on real world.
for that, I need pose estimation function.
Is there the function in your library?
if not, could you give tips or help about pose estimation using stag?

@bbenligiray
Copy link
Owner

Hey, you should be able to do this by estimating the rotation and translation vectors (using OpenCV's solvePnP() for example), which gives you the position of the markers with respect to the camera. It feels like it would take a bit of linear algebra to find the positions of the markers with respect to each other, but I've never done it before myself so I can't really be of more help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants