-
Notifications
You must be signed in to change notification settings - Fork 9
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
How to compute distance of tag from camera ? #8
Comments
Ok, I get what rotation and translation matrix mean. Thanks to this StackOverflow answer and this paper. I suppose, if in the camera projective, we define the center of the marker as (XW,YW,ZW) in the marker/tag coordinate system and (XC,YC,ZC) in the camera coordinate, then,
should correspond to the distance of the tag from the camera. Right ? |
Hey @fnoop Thanks for confirming. Another thing is, the program returns the coordinates of the center of the detected tag as |
Sorry I haven't used apriltags yet, I just happened to come across your issue while evaluating it! |
@pra-dan The center attribute is a reference to the center of the tag in the image, not in 3D space. |
Hi, Thanks for this amazing resource !
I am able to get results (using test images and test YAML) nicely. The coordinates of the detected tags are obtained as shown in the pic.
I am unable to understand what do the parameters mean:Also, how should I compute the distance of the tag from the camera ?
The text was updated successfully, but these errors were encountered: