Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thoppe/instafilter
Instagram-like filters with deep learning
https://github.com/thoppe/instafilter
ai art photography python
Last synced: 16 days ago
JSON representation
Instagram-like filters with deep learning
- Host: GitHub
- URL: https://github.com/thoppe/instafilter
- Owner: thoppe
- License: mit
- Created: 2020-08-29T13:49:40.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-06T00:37:52.000Z (4 months ago)
- Last Synced: 2024-05-06T15:21:03.954Z (about 2 months ago)
- Topics: ai, art, photography, python
- Language: Python
- Homepage:
- Size: 20.4 MB
- Stars: 54
- Watchers: 3
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Lists
- awesome-meteo - instafilter - like filters in python (Uncategorized / Uncategorized)
README
![instafilter](development/header_image.jpg)
[![PyVersion](https://img.shields.io/pypi/pyversions/instafilter.svg)](https://img.shields.io/pypi/pyversions/instafilter.svg)
[![PyPI](https://img.shields.io/pypi/v/instafilter.svg)](https://pypi.python.org/pypi/instafilter)Modifiy images using Instagram-like filters in python. [Read how it works on Medium](https://medium.com/@travis.hoppe/instagram-filters-in-python-acc1ee7e67bc)!
pip install instafilter
Example:
``` python
from instafilter import Instafiltermodel = 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`](development/examples).
**Ludwig**
[![Example image: Ludwig](development/examples/Ludwig.jpg)](examples/Ludwig.jpg)**Stinson**
[![Example image: Stinson](development/examples/Stinson.jpg)](examples/Stinson.jpg)**Moon**
[![Example image: Moon](development/examples/Moon.jpg)](examples/Moon.jpg)## Train
See the code in [`development/train_new_model`](development/train_new_model) to train a new model.
## Roadmap
+ Medium post
## Credits
+ Made with ❤️ by [Travis Hoppe](https://twitter.com/metasemantic?lang=en).
+ Header image sourced from [Will Terra](https://unsplash.com/photos/qIY9mUKT540) and modified with instafilter.