Arthur151 / ROMP

Monocular, One-stage, Regression of Multiple 3D People and their 3D positions & trajectories in camera & global coordinates. ROMP[ICCV21], BEV[CVPR22], TRACE[CVPR2023]
https://www.yusun.work/
Apache License 2.0
1.36k stars 231 forks source link

How to use pose (72,) joint rotations? #22

Open bhumikasinghrk opened 3 years ago

bhumikasinghrk commented 3 years ago

Hey @Arthur151, I was able to understand the joint positions and order in SMPL24 and I know that the pose (72,) is the rotation values for 24 joints in SMPL. I am trying to convert the output into a BVH file, but I don't understand, how to use these rotation values while converting into BVH. Do i need to change the format of the joint rotations. If yes, then to which format and how? Can you please guide me on this?

Arthur151 commented 3 years ago

Maybe bvhtoolbox could help. It supports to take 3 CSV files (hierarchy, rotation, position) previously exported using bvh2csv or created otherwise and builds a bvh file from them.

bhumikasinghrk commented 3 years ago

Thanks for replying @Arthur151, I understand that part of converting it into bvh. But, can the pose vector as it is be used for rotation csv, or do i need to convert it into some other format?

Arthur151 commented 3 years ago

The estimated pose 3-dim vector is in axis-angle representation. About converting to other rotation representation, please refer to https://github.com/Arthur151/CenterHMR/blob/master/src/utils/rot_6D.py

hsauod commented 2 years ago

3-dim vector is in axis-angle representation Hi Arthur, Thank you very much for your great work! From my point of view , ' axis-angle representation' need 4 elements , (x, y, z, theta). But why 'poses' in results file only got 3?

Arthur151 commented 2 years ago

@hsauod Here is the function to convert it to other rotation representation you want.

hsauod commented 2 years ago

@hsauod Here is the function to convert it to other rotation representation you want.

I appreciate your quick response, Arthur