Towards Localized Fine-Grained Control for Facial Expression Generation
conda create -n fineface python=3.11
conda activate fineface
pip install -r requirements.txt
Commandline:
Change prompt and AUs from the demo.py
file
python demo.py
With python using diffusers
from fineface import FineFacePipeline
pipe = FineFacePipeline()
prompt = "a closeup of a boy in a park"
aus = {"AU1": 2.5, "AU6": 2.5, "AU12": 5}
image = pipe(prompt, aus).images[0]
For a more comprehensive understanding, see GIFs and images of each AU from https://melindaozel.com/facs-cheat-sheet/.
@varanka{varanka2024fineface,
title={Towards Localized Fine-Grained Control for Facial Expression Generation},
author={Tuomas Varanka and Huai-Qian Khor and Yante Li and Mengting Wei and Hanwei Kung and Nicu Sebe and Guoying Zhao},
year={2024},
eprint={2407.20175},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2407.20175},
}