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

python wrapper for estimate_tag_pose #237

Closed
GeorgeWang26 opened this issue Jun 21, 2022 · 1 comment
Closed

python wrapper for estimate_tag_pose #237

GeorgeWang26 opened this issue Jun 21, 2022 · 1 comment

Comments

@GeorgeWang26
Copy link

GeorgeWang26 commented Jun 21, 2022

this is an extension to a previous issue #101

I looked at sitepackages/apriltag.py and under Detector class I found detection_pose() function that calls a cpp function with pose_from_homography(), which looks like estimate_tag_pose but I'm not 100% cerntain.
I didn't find any extra documentation describing what detection_pose() does.

Can someone clarify that this is indeed a wrapper for esimate_tag_pose()?

Screenshot from 2022-06-21 17-20-36

Also the pose result from detection_pose() is a 4 by 4 matrix. How do I interprete this matrix?

Is it in the form of
[ R00 R01 R02 TX ]
[ R10 R11 R12 TY ]
[ R20 R21 R22 TZ ]
[ 0 0 0 1 ]

ori_lib

@christian-rauch
Copy link
Collaborator

Please post the raw text with markdown formatting and syntax highlighting in future.

Are you talking about the python wrapper in this very repository? There is no file apriltag.py or a reference to pose_from_homography. You may refer to https://pypi.org/project/apriltag/, which is not related to this repo. Please open an issue in their repo (https://github.com/swatbotics/apriltag) if you need support with their Python wrapper.

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