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

How to project 3D points to 2D image using predicted camera parameter? #28

Closed
maweibest opened this issue Jan 9, 2020 · 2 comments
Closed

Comments

@maweibest
Copy link

I am wondering, during training, the 2D feature loss requires to project 3D feature points onto 2D plain. How is it done using the 1x3 vector of the predicted camera parameter? Any training code for the project? This is also important if one wants to align the output 3D mesh with the input 2D image.

@qianxinchun
Copy link

Have you solved your problem?

@soubhiksanyal
Copy link
Owner

It is an orthographic projection. Ideally one can use the following code to project the 3D landmarks to 2D

https://github.com/akanazawa/hmr/blob/master/src/tf_smpl/projection.py

Please be careful on which you consider as scale and what you consider as translation.

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

3 participants