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.npybone_len_min.npyfor bone length limitscurvatures_max.npycurvatures_min.npyfor Root bones’ curvaturesPHI_max.npyPHI_min.npyfor Root bones’ angular distancejoint_angles.npyfor 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
