See test.ipynb, includes:
- Face detection from random images
- Facial landmarks detection
- Face alignment
- Inference
BeautyGAN: Instance-level Facial Makeup Transfer with Deep Generative Adversarial Network
Website: http://liusi-group.com/projects/BeautyGAN
Essays and datasets are provided, but no open source code and no trained models are provided.
- Python3.6
- TensorFlow 1.9
Download pretrained model
- https://pan.baidu.com/s/1wngvgT0qzcKJ5LfLMO7m8A,7lip
- https://drive.google.com/drive/folders/1pgVqnF2-rnOxcUQ3SO4JwHUFTdiSe5t9
Save pretrained model to models
imgs
contains 11 non-makeup, 9 makeup images
imgs/no_makeup/xfsy_0068.png
default non-makeup source image
python main.py
If you need to put makeup on someone else's face image, pass through the image path. Use a proper size face images.
python main.py --no_makeup xxx.xxx