Skip to content
forked from TingtingLiao/soap

Official code of SOAP: Style-Omniscient Animatable Portraits (Siggraph2025)

Notifications You must be signed in to change notification settings

YuliangXiu/soap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOAP: Style-Omniscient Animatable Portraits

Tingting Liao · Yujian Zheng · Adilbek Karmanov · Liwen Hu · Leyang Jin · Yuliang Xiu · Hao Li

Siggraph 2025 (Conference Track)

teaser.mp4

🔥 News

  • 2025/04/30 🌟 Code and Webpage are released.
  • 2025/04/29 🚀 SOAP is accpted by Siggraph2025.

🍀 Install

1. Install environment

sudo apt-get install libegl1-mesa-dev
sudo apt-get install mesa-common-dev libegl1-mesa-dev libgles2-mesa-dev
sudo apt-get install mesa-utils

git clone --single-branch --branch main  git@github.com:TingtingLiao/soap.git
cd soap 
conda create -n soap python=3.10 -y
conda activate soap   
# For cuda-12.1 
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121 
# For cuda-11.8 
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu118 

pip install -r requirements.txt  

2. Download Extra Data

Download extra data and unzip it as ./data.

🍉 Usage

1. Processing
The pre-processing step will generate the multive images and normals, initial FLAME model, detect facial landmarks and face parsing. Please login huggingface huggingface-cli login before running:

python process.py image=assets/examples/00.png 

2. Reconstruction

python main.py image=assets/examples/00.png

The generated results will be saved under ./output/examples/00/6-views/.

These results are rendered by nvidiffrast. We recommend you to use blender3.6 for realistic rendering.

3. Blender Rendering

The code is coming soon.

🍋 GUI

We provide gui.py for visualization and interation with the editing the face shape.

python gui.py -i output/examples/00
gui.webm

🤗 Acknowledgments

We thank the following projects for their contributions to the development of SOAP:

Contributors

📖 Citation

@inproceedings{liao2025soap,
  title={{SOAP: Style-Omniscient Animatable Portraits }},
  author={Liao, Tingting and Zheng, Yujian and Karmanov, Adilbek and Hu, Liwen and Jin, Leyang and Xiu, Yuliang and Hao Li},
  booktitle={International Conference on Computer Graphics and Interactive Techniques (SIGGRAPH)},
  year={2025}
}

About

Official code of SOAP: Style-Omniscient Animatable Portraits (Siggraph2025)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%