Skip to main content

Images filters learned from Instagram. Implemented in pytorch.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instafilter-0.3.2.tar.gz (20.9 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page