← 开源
zllrunning

face-makeup.PyTorch

Lip and hair color editor using face parsing maps.

ApplicationsContent creationPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
541
Star
154
Fork
+0
本周
1
贡献者
创建于 2019-05-15 · 更新于 2026-09-22 · 今日第 17417 名
主要开发者
zllrunning
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

排名相邻
同类项目