Skip to content

yywqwq/R2Human

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R²Human: Real-Time 3D Human Appearance Rendering from a Single Image (ISMAR 2024)

News

  • 30/10/2024 The code is released. But it's not complete. I'm still updating it.

R²Human: Real-Time 3D Human Appearance Rendering from a Single Image
Yuanwang Yang, Qiao Feng, Yu-Kun Lai, Kun Li ISMAR 2024

We plan to release the training code of R2Human in this repository as soon as possible. Any discussions or questions would be welcome!

Dependencies

To run this code, the following packages need to be installed.

conda create -n r2human python=3.8
conda activate r2human

# visit https://pytorch.org/
# install latest pytorch
# for example:
# conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia

pip install tqdm
pip install opencv-python
pip install scikit-image
pip install numba==0.58.1

Pretrained model

You can get pretrained model here. Put them in ./ckpt. They should be organized as shown below:

R2Human
├─lib
└─ckpt
    ├─model.pth
    └─netF.pth

Testing

The input images should be .pngs with 512*512 resolution in RGB format. And we need the foreground mask and the estimated smpl under orthogonal projection (can be estimated by 4dhuman or pymaf). They should be organized as shown below:

R2Human
├─lib
└─input
    └─0000
        ├─img.png
        ├─mask.png
        └─smpl.npz

You can test it by running the following command, and the results are saved in ./output/:

python test.py

Citation

If you find this work useful for your research, please use the following BibTeX entry.

@inproceedings{R2Human,
  author = {Yuanwang Yang and Qiao Feng and Yu-Kun Lai and Kun Li},
  title = {R²Human: Real-Time 3D Human Appearance Rendering from a Single Image},
  booktitle = {2024 IEEE International Symposium on Mixed and Augmented Reality (ISMAR)},
  year={2024}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages