Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 3 KB

readme.md

File metadata and controls

81 lines (60 loc) · 3 KB

3D Human Body Reshaping with Anthropometric Modeling

source code of paper: 3D Human Body Reshaping with Anthropometric Modeling

Examples

  • Input: your anthropometric measurements such as height, weight etc.
  • Output: your 3D body shape (i.e., obj file)

creating by deform-based global mapping

Instructions

Training data

  1. download training data from SPRING
  2. put the datasets under TrainingData folder
  3. refer to src/body_utils.py for building models

(Note: you can directly run the demo without training data. )

Environment

Windows/OSX/Linux

Package

pip install -r requirements.txt

(Note: if you want to run on Windows, strongly recommend to use 'pip install' from .whl files download here)

Training

You need to download your own datasets and run the scripts as below:

git clone https://github.com/1900zyh/3D-Human-Body-Shape.git
cd 3D-Human-Body-Shape/
cd src/ 
python body_utils.py

Testing

I have put the data needed for running demo in data folder, you can run the demo directly by running the scripts as below:

cd src/
python demo.py

Running API

  1. adjust size (the numbers represents times of std, e.g. 30 means +3 std)

  1. 'Ctrl + s' to save obj file

  2. choose different mapping method

  1. press 'PREDICT' button to input the numbers(You don't need to fill out the form, the defualt can be estimated)

Different Mapping Methods

  1. global mapping
  2. local_with_mask
  3. local_with_rfemat

Citation

If you find this paper useful, please cite:

@inproceedings{zeng20173d,
  title={3D Human Body Reshaping with Anthropometric Modeling},
  author={Zeng, Yanhong and Fu, Jianlong and Chao, Hongyang},
  booktitle={International Conference on Internet Multimedia Computing and Service},
  pages={96--107},
  year={2017},
  organization={Springer}
}