instafilter
Modifiy images using Instagram-like filters in python.
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
Stinson
Moon
Train
See the code in development/train_new_model
to train a new model.