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

Rotation representation #3

Open
zhangy76 opened this issue Aug 9, 2021 · 6 comments
Open

Rotation representation #3

zhangy76 opened this issue Aug 9, 2021 · 6 comments

Comments

@zhangy76
Copy link

zhangy76 commented Aug 9, 2021

Hi,

Thank you for presenting this intereting work!

I notice the output of your model is in axis-angle representation. I wonder how did you convert them to Azimuth, Pitch, and Roll and impose the feasible range loss?

@TerenceCYJ
Copy link
Owner

Hi.

In our experiments, we directly use MANO's pose parameters as Azimuth, Pitch, and Roll.

@zhangy76
Copy link
Author

Thanks for the reply! May I ask where did you define the Azimuth, Pitch, and Roll parameters in the code?

@TerenceCYJ
Copy link
Owner

Please refer to examples/losses.py#L143, examples/traineval_util.py#L378 and examples/utils/freihandnet.py#L208.

@zhangy76
Copy link
Author

Thanks. Could you please also point out where you define the function to compute the rotation matrix using Azimuth, Pitch, and Roll? Since I only find a "rodrigues" function, I am confused about the rotation representation.

@TerenceCYJ
Copy link
Owner

Please also refer to examples/utils/hand_3d_model.py#L59.

@zhangy76
Copy link
Author

examples/utils/hand_3d_model.py#L59 tries to obtain 3D hand mesh given hand model parameters. In this part, the only function to compute rotation matrix given hand pose parameters is "rodrigues", which computes rotation matrix from axis-angle pose parameters but not Azimuth, Pitch, and Roll. I wonder if my understanding is correct?

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