Skip to content
forked from Honlan/BeautyGAN

transfer the makeup style of a reference face image to a non-makeup face

Notifications You must be signed in to change notification settings

kairess/BeautyGAN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

transfer the makeup style of a reference face image to a non-makeup face

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.9%
  • Python 0.1%