8000 GitHub - cvlab-kaist/ControlFace: Official implementation of "ControlFace: Harnessing Facial Parametric Control for Face Rigging".
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Official implementation of "ControlFace: Harnessing Facial Parametric Control for Face Rigging".

Notifications You must be signed in to change notification settings

cvlab-kaist/ControlFace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ControlFace: Harnessing Facial Parametric Control for Face Rigging

CVPR 2025

Wooseok Jang · 7301 Youngjun Hong · Geonho Cha · Seungryong Kim

1. Environment setup

Build the environment as follows:

conda create -n controlface python=3.8
conda activate controlface

conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1  pytorch-cuda=11.8 -c pytorch -c nvidia

conda install -c fvcore -c iopath -c conda-forge fvcore iopath
conda install pytorch3d -c pytorch3d

conda install mpi4py dlib scikit-learn scikit-image tqdm -c conda-forge

pip install -r requirements.txt

2. Download pretrained weights

First run the following command which will automatically download the weights. Weights will be placed under the ./pretrained_weights directory.

python tools/download_weights.py

Then follow the DECA Setup stage present in here.

3. Inference

We provide a example script for face editing. Change the command below to specify the attribute you want to edit (pose, expression, light, shape) by modifying the --mode flag.

PATH_TO_REFERENCE="./examples/00013.png"
PATH_TO_TARGET="./examples/00690.png"
python sample.py --ref ${PATH_TO_REFERENCE} \
 --tgt ${PATH_TO_TARGET} \
 --mode pose

The output will be saved under the ./output directory.

Acknowledgements

Our project builds upon and incorporates elements from DiffusionRig, Moore-AnimateAnyone, and LightningDrag. We would like to thank the authors and maintainers of these projects for their invaluable work and for making their code available to the community.

About

Official implementation of "ControlFace: Harnessing Facial Parametric Control for Face Rigging".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0