-
Notifications
You must be signed in to change notification settings - Fork 18
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
Projecting 'j3d' onto image plane #23
Comments
Sorry for the late response due to my work here :) The 2D projection is done using the predicted weak-perspective camera parameters. And it's already in To visualize, I suggest that you can add 'pj2d' into the Arbitrary-Hands-3D-Reconstruction/acr/main.py Line 100 in 3ece8dc
After that, the visualization of 2D keypoints will be done using the following code: Arbitrary-Hands-3D-Reconstruction/acr/visualization.py Lines 234 to 244 in 3ece8dc
|
Hello,
thanks for your work. I try to project the 3D joints onto the image plane, but I don't seem to get the correct results.
First I define the camera intrinsics:
Then I take 3d joint of the index_fingertip:
index_fingertip = results['0'][0]['j3d'][7]
Translate it to camera coordinates:
index_fingertip+=results['0'][0]['cam_trans']
Finally, I calculate and print the pixel coordinates:
However, the results are not correct. Placing the finger tip on the left side of the image plan will output a u coordinate of 140. Similar results are reported for the y axis.
What am I missing?
The text was updated successfully, but these errors were encountered: