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

https://github.com/thoppe/greasepaint

A python library to manipulate the faces. Think snapchat but weirder.
https://github.com/thoppe/greasepaint

deep-learning image-processing makeup makeup-api python

Last synced: 4 months ago
JSON representation

A python library to manipulate the faces. Think snapchat but weirder.

Awesome Lists containing this project

README

          

# Greasepaint
A python library to manipulate the faces. Think snapchat but weirder.

[![PyPI](https://img.shields.io/pypi/v/greasepaint.svg)](https://pypi.python.org/pypi/greasepaint)

pip install greasepaint

## Examples

![](docs/images/eyes0.jpg)
![](docs/images/eyes1.jpg)
![](docs/images/eyes2.jpg)
![](docs/images/eyes3.jpg)
![](docs/images/eyes4.jpg)
![](docs/images/eyes5.jpg)

![org](docs/images/tessa1_src.jpg) ![ThirdEye](docs/images/tessa1_third_eye.png)

Simple example

import greasepaint as gp

gp.eyeliner('tessa1.jpg').show().save('tessa_liner.jpg')
gp.eyeshadow('tessa1.jpg', color='b').show().save('tessa_shadow.jpg')

### Dev Notes:

+ Update the version number in `greasepaint/_version.py`
+ Test release, check coverage, and lint
+ Push the release to [pypi live](https://pypi.org/project/pixelhouse/)

```
fab lint
fab test
rm dist/ -rvf && python setup.py sdist
twine upload -r test dist/*
twine upload dist/*
```