vchoutas / smplx

SMPL-X
https://smpl-x.is.tue.mpg.de/
Other
1.73k stars 301 forks source link

Vertice orientation - Ask for help #183

Open pasoneto opened 6 months ago

pasoneto commented 6 months ago

When I call model = smplx_model.forward(transl=trans, **poses) I have access to vertice locations by:

vertices = bodyModel.vertices.detach().numpy()

If I'm not mistaken, these vertices are represented as 3D coordinates in an Euclidian plane. However, I would like to get their orientation, be it in axis angles or quaternions. Would that be possible to do? In which case, would the orientation be in relation to the closest joint? or to the root of the kinematic tree?

Thanks in advance for any help.