CalciferZh / SMPL

NumPy, TensorFlow and PyTorch implementation of human body SMPL model and infant body SMIL model.
MIT License
881 stars 138 forks source link

Getting specific joint information from pose data #70

Open kevinyao93 opened 2 years ago

kevinyao93 commented 2 years ago

I've been playing around with your smpl_np.py and I was wondering if it was possible to get specific pose information and the indexes for specific points.

For example, I wanted to get the left knee, right knee, left elbow, right elbow. I've been doing some research and I don't know if there's a specific way that either SMPL or SMPL+H are formatted so that I can gather specific pose or shape information. If there's a way I can get both the position and rotation of specific joints, that would be great to know.

Another case would be if I wanted to specific a specific pose when generating the SMPL obj, and I wasn't sure how I could specify specific points, I'm not sure if I missed some documentation on this subject elsewhere.