ROMP icon indicating copy to clipboard operation
ROMP copied to clipboard

How to use pose (72,) joint rotations?

Open bhumikasinghrk opened this issue 4 years ago • 6 comments

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?

bhumikasinghrk avatar Jan 04 '21 13:01 bhumikasinghrk

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.

Arthur151 avatar Jan 05 '21 03:01 Arthur151

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?

bhumikasinghrk avatar Jan 05 '21 04:01 bhumikasinghrk

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

Arthur151 avatar Jan 05 '21 10:01 Arthur151

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?

hsauod avatar Mar 31 '22 03:03 hsauod

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

Arthur151 avatar Mar 31 '22 04:03 Arthur151

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

I appreciate your quick response, Arthur

hsauod avatar Mar 31 '22 04:03 hsauod