Coordinate System
Closed this issue · 1 comments
yyashpatel commented
Hello,
I had a few questions about the representations -
-
the pose matrix from the result variable (https://github.com/Tinker-Twins/AprilTag/blob/main/scripts/apriltag.py#L665) - it represents the pose of the april Tag with respect to the camera ?
-
And if I inverse the pose matrix it will give the pose of the camera with respect to the april Tag ?
-
how is the april Tag coordinate frame (xyz direction) represented and is it at the center of the tag ?
Thanks
Tinker-Twins commented
Following are the answers to your questions:
- The
pose
result will return a 4x4 homogeneous transformation matrix of the AprilTag marker w.r.t. camera, for all detected markers in camera's FOV.
- Inverse transformation of homogeneous transformation matrix returned by the
pose
result will in fact describe the relative pose of camera w.r.t. AprilTag marker. - The frame for AprilTag marker(s) is assigned at the center of each marker
x-axis
(red color) pointing towards right,y-axis
(green color) pointing forward andz-axis
(blue color) pointing upward (out of the plane).
Hope this helps, all the best!