← Open Source

Lip and hair color editor using face parsing maps.

ApplicationsContent creationPython
Momentum
+0stars in 24 hours0.0%
540
Stars
154
Forks
+0
This week
1
Contributors
Created 2019-05-15 · Updated 2026-11-20 · #22490 today
Top developers
README

face-makeup.PyTorch

Lip and hair color editor using face parsing maps.

  Hair Lip
Original Input
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

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store