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

get inaccurate camera extrinsics #1

Open
pulotaha opened this issue Mar 7, 2024 · 1 comment
Open

get inaccurate camera extrinsics #1

pulotaha opened this issue Mar 7, 2024 · 1 comment

Comments

@pulotaha
Copy link

pulotaha commented Mar 7, 2024

Thank you for your excellent work!

I am having some problems when reproducing the Estimating Camera Extrinsics part of your paper.

I have set the intrinsics matrix to [[4.2647, 0, 0.5],[0, 4.2647, 0.5],[0, 0, 1]].
Then use cv2.solvePnP to get the rotation vector and t vector.
But the camera is not oriented towards the coordinate center (i.e., the car's center of mass) after being converted to an extrinsics matrix visualization.

May I ask how you used PnP to get the extrinsics parameters?
Is there anything wrong with my operation?

Thank you for your help.

@nviolante25
Copy link

Hi, thank you for your interest in our work!

I have set the intrinsics matrix to [[4.2647, 0, 0.5],[0, 4.2647, 0.5],[0, 0, 1]].
Just to clarify, did you do that here?

Which tool are you using for the visualization? OpenCV's PnP convention is different that the convention used for training the model. We extracted the poses using OpenCV's convention and then transformed them for training. We provided this script to visualize poses.

Hope it helps!

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