Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zllrunning/face-makeup.PyTorch

Lip and hair color editor using face parsing maps.
https://github.com/zllrunning/face-makeup.PyTorch

face-parsing lipstick makeup semantic-segmentation

Last synced: 1 day ago
JSON representation

Lip and hair color editor using face parsing maps.

Awesome Lists containing this project

README

        

# 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:
```Shell
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](https://github.com/zllrunning/face-parsing.PyTorch)