ethnhe / PVN3D

Code for "PVN3D: A Deep Point-wise 3D Keypoints Hough Voting Network for 6DoF Pose Estimation", CVPR 2020
MIT License
482 stars 105 forks source link

Keypoints are inaccurate #86

Closed Ultraopxt closed 3 years ago

Ultraopxt commented 3 years ago

I use your code to generate some infomation like farest points of my custom dataset , and then try to Visualize and check the key points and center .The results are as following:

And I have printed keypoints' coordinate values: some of them are as big as more than 5000. I have tried twice but keypoints problem are still.

May I ask where can I fix it? Thanks very much. test_rgb (2) test_rgb (1) 123240209-b0f66f00-d512-11eb-9d6a-d688d4fc9de5

ethnhe commented 3 years ago

Check that the coordinates of the keypoints in the original object coordinate system are in m, and the translation from the object coordinate system to the camera coordinate system, as well as the scene point clouds, are also in m. Is the distance from the camera to the object about 5m? If so, maybe the keypoints or the translation in your cases is in mm, which should be converted to be in m.

Ultraopxt commented 3 years ago

Thanks

ghost commented 2 years ago

Hey @qingweihk, have you found a solution (which lines/file should we pay attention to) ? Thanks for your help