Unofficial PyTorch reimplementation of Hand-Biomechanical-Constraints
Hand Biomechanical Constraints Pytorch
Unofficial PyTorch reimplementation of Hand-Biomechanical-Constraints (ECCV2020).
This project reimplement following components :
- 3 kinds of biomechanical soft constraints
- integrate BMC into training procedure (PyTorch version)
Usage
Download data
Download 3D joint location data joints.zip
Google Drive or Baidu Pan (2pip
), and . These statistics are from following datasets:
Note the data from these datasets under their own licenses.
Calculate BMC
Run the code
python calculate_bmc.py
You will get
bone_len_max.npy
bone_len_min.npy
for bone length limitscurvatures_max.npy
curvatures_min.npy
for Root bones’ curvaturesPHI_max.npy
PHI_min.npy
for Root bones’ angular distancejoint_angles.npy
for Joint angles
And if u want to check the coordinate system, run the code
cd utils
python calculate_joint_angles.py
- red ,green, blue arrows refer to