Skip to content

jonhyuk0922/01.BeautyGAN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

See 01_BeautyGAN_21_03_30.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 100.0%