eth-ait / dip18

Deep Inertial Poser: Learning to Reconstruct Human Pose from Sparse Inertial Measurements in Real Time
GNU General Public License v3.0
146 stars 47 forks source link

How can I get the position of each joint? #17

Closed yifeng361 closed 3 years ago

yifeng361 commented 3 years ago

In data folder DIP_IMU, the ground truth is provided in the form of joint angle data['gt']. Is there any way to translate the joint angle to the 3D position of each joint?

kaufManu commented 3 years ago

Hi,

Yes (and this is also called forward kinematics). You will need the SMPL model for this, which takes as input the joint angles and outputs the vertices and 3D joints. Our synthetic data generation script uses the SMPL model, too, albeit not to extract 3D joints, but it shouldn't be too much work to adapt it (cf. here). If that doesn't work, then I suggest you follow the tutorials on the AMASS website.

yifeng361 commented 3 years ago

Hi,

Yes (and this is also called forward kinematics). You will need the SMPL model for this, which takes as input the joint angles and outputs the vertices and 3D joints. Our synthetic data generation script uses the SMPL model, too, albeit not to extract 3D joints, but it shouldn't be too much work to adapt it (cf. here). If that doesn't work, then I suggest you follow the tutorials on the AMASS website.

That works, thank you!