-
Notifications
You must be signed in to change notification settings - Fork 228
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
Visualizing projected 2D keypoints on the original image #27
Comments
The bug could be easily fixed by replace The reason is that the input image is a square. |
Hello, I had same problem but I solved it. stride = max(H,W) |
You should fix it! |
Thanks for your contribution! I will fix it in the next commit. |
Thank you for sharing your amazing work. I have tried to visualize the projected 2d keypoints (i.e.
pj2d
) on the original image.Taking the
3dpw_sit_on_street.jpg
sample image as an example. Sincepj2d
are normalized (-1~1) coordinates on the input image size (512x 512), I first compute their corresponding image coordinate in the original image size (1920x1080) by:pj2d= (pj2d+ [1,1]) / 2 * [1920, 1080]
Then I plotted those keypoints on the original image. However, it seems there is an offset on the y-axis (i.e. height). All the keypoints are lower than the positions where they should be.
Any thoughts on how to compute and visualize projected 2D keypoints correctly would be really appreciated.
The text was updated successfully, but these errors were encountered: