Skip to content

Repository files navigation

Weakly-Supervised 3D Hand Reconstruction with Knowledge Prior and Uncertainty Guidance

Yufei Zhang, Jeffrey O. Kephart, Qiang Ji
ECCV2024, arXiv

This repository provides code for the proposed method and losses in "Weakly-Supervised 3D Hand Reconstruction with Knowledge Prior and Uncertainty Guidance" (also referred as KNOWN-Hand).

Environment Setup

conda create -n known python=3.9
conda activate known
pip install -r requirements.txt

Model and Data Download

Please download the required data and trained model assets (due to license restrictions, please download the MANO model ./assets/processed_MANO_LEFT.pkl and ./assets/processed_MANO_RIGHT.pkl from the official website) and directly overwrite the ./assets folder in the current directory.

Demo

Please run the following command to reconstruct 3D hands from videos using KNOWN-Hand. You may need an additional detector to extract hand regions if the hand is far from the camera.

python demo_video.py --video_path 'path to a testing video'

Knowledge Prior

You can find the pose loss derived from hand biomechanics and functional anatomy knowledge in losses.py. To compute the non-penetration loss, please download the corresponding data and functions from physicsloss.

Citation

If you find our work useful, please consider citing the paper:

@article{zhang2024weakly,
  title={Weakly-Supervised 3D Hand Reconstruction with Knowledge Prior and Uncertainty Guidance},
  author={Zhang, Yufei and Kephart, Jeffrey O and Ji, Qiang},
  journal={arXiv preprint arXiv:2407.12307},
  year={2024}
}

If you have questions or encouter any issues when running the code, feel free to open an issue or directly contact me via: zhangy76@rpi.edu.

References

The MANO model data is downloaded from MANO model. We thank them for generously sharing their outstanding work.

About

Code repository for Weakly-Supervised 3D Hand Reconstruction with Knowledge Prior and Uncertainty Guidance, ECCV2024

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages