Skip to content

boycehbz/MvSMPLfitting

Repository files navigation

MvSMPLfitting

A multi-view SMPL fitting based on smplify-x

figure

Dependencies

Windows or Linux, Python3

conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
pip install -r requirements.txt

Demo

Download the official SMPL model from SMPLify website (netural) and SMPL website (male/female). Then, rename the .pkl files and put them in the models/smpl folder. (see models/smpl/readme.txt)

Run python code/main.py --config cfg_files/fit_smpl.yaml

Run on your data

To apply our method to custom data, download the trained models from Baidu Netdisk or Google Drive and run AlphaPose to obtain 2D keypoints in JSON format. The keypoints are saved in data/keypoints

python code/keypoint_predict.py

Collision term

We add a collision term based on SDF. You need to install sdf and set interpenetration: true in the cfg_files/fit_smpl.yaml before using this code.

cd sdf
python setup.py install

interpenetration

Reference

If the code is helpful in your research, please consider citing the following works.

@inproceedings{zhang2020object,
  title={Object-Occluded Human Shape and Pose Estimation From a Single Color Image},
  author={Zhang, Tianshu and Huang, Buzhen and Wang, Yangang},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={7376--7385},
  year={2020}
}
@inproceedings{SMPL-X:2019,
  title = {Expressive Body Capture: 3D Hands, Face, and Body from a Single Image},
  author = {Pavlakos, Georgios and Choutas, Vasileios and Ghorbani, Nima and Bolkart, Timo and Osman, Ahmed A. A. and Tzionas, Dimitrios and Black, Michael J.},
  booktitle = {Proceedings IEEE Conf. on Computer Vision and Pattern Recognition (CVPR)},
  year = {2019}
}

About

A multi-view SMPL fitting based on smplify-x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors