Skip to content

AliaksandrSiarohin/face-makeup.PyTorch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

face-makeup.PyTorch

Lip and hair color editor using face parsing maps.

  Hair Lip
Original Input Original Input Original Input
Color Color Color
Color Color Color
Color Color Color

Using PyTorch 1.0 and python 3.x

Demo

Change hair and lip color:

python makeup.py --img-path imgs/116.jpg

Try to use other colors:

Change the color list in makeup.py(line 83)

colors = [[230, 50, 20], [20, 70, 180], [20, 70, 180]]

Train face parsing model (optional)

Follow this repo zllrunning/face-parsing.PyTorch

About

Lip and hair color editor using face parsing maps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%