镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

Lip and hair color editor using face parsing maps.

Topics

Resources

Stars

541 stars

Watchers

8 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

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.

Topics

Resources

Stars

541 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages