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

Can't use depth image to do pose estimation #3

Open
Phymin opened this issue Aug 27, 2024 · 2 comments
Open

Can't use depth image to do pose estimation #3

Phymin opened this issue Aug 27, 2024 · 2 comments

Comments

@Phymin
Copy link

Phymin commented Aug 27, 2024

Hi, I'm using D415 to do pose estimation of aruco marker, but if I set 'use_depth' to true, there is no x and y data for the pose estimation, do you know why? below are two screenshots taken from my testing. Thanks
Snipaste_2024-08-27_10-38-12
Snipaste_2024-08-27_10-39-22

@SimonGiampy
Copy link
Collaborator

Hi, thanks for your feedback. Sorry for the delayed response but I was in vacation.
Can you be more specific in what you mean by

missing x and y data for the pose estimation

This feature of using the depth map for aruco pose estimation was experimental, so it may not work perfectly well with different cameras other than the D435 that I personally used. But the python code for this estimation using the depth map is commented, so you should be able to change it according to your configuration and obtain the missing values that you are seeking. The output is a tvec vector ( x, y, z coordinates), which is also printed out on the console.

@Phymin
Copy link
Author

Phymin commented Sep 9, 2024

Hi, thanks for your response, "missing x and y data for the pose estimation" means the x and y data estimated from depth image is all 0, which it should not be. I know the tvec vector is also printed, but it's estimated from color image. What I want is also the estimation from depth image, so I can check which one is more accurate.

Do you have any suggestions to get the pose from depth image, in what ways I can change the code? Thansk

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