jiaxinwang / instafilter

Instagram-like filters with deep learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

instafilter

PyVersion PyPI

Modifiy images using Instagram-like filters in python. Read how it works on Medium!

pip install instafilter

Example:

from instafilter import Instafilter

model = Instafilter("Lo-fi")
new_image = model("myimage.jpg")

# To save the image, use cv2
import cv2
cv2.imwrite("modified_image.jpg", new_image)

Sample images

Browse samples for every filter in development/examples.

Ludwig Example image: Ludwig

Stinson Example image: Stinson

Moon Example image: Moon

Train

See the code in development/train_new_model to train a new model.

Roadmap

  • Medium post

Credits

About

Instagram-like filters with deep learning


Languages

Language:Python 95.9%Language:Makefile 4.1%