Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.13 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.13 KB

BeautyGAN

See test.ipynb, includes:

  • Face detection from random images
  • Facial landmarks detection
  • Face alignment
  • Inference

Introduction

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.

Result

Usage

  • Python3.6
  • TensorFlow 1.9

Download pretrained model

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