![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 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`](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.
Raw data
{
"_id": null,
"home_page": "https://github.com/thoppe/instafilter",
"name": "instafilter",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "art",
"author": "Travis Hoppe",
"author_email": "travis.hoppe+{package_name}@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/26/2e/ca1af2a7a2d46118e1810a5cab908f4460fb0c60b384d0a4debd96cb6a9c/instafilter-0.3.2.tar.gz",
"platform": null,
"description": "![instafilter](development/header_image.jpg)\n\n[![PyVersion](https://img.shields.io/pypi/pyversions/instafilter.svg)](https://img.shields.io/pypi/pyversions/instafilter.svg)\n[![PyPI](https://img.shields.io/pypi/v/instafilter.svg)](https://pypi.python.org/pypi/instafilter)\n\nModifiy images using Instagram-like filters in python. [Read how it works on Medium](https://medium.com/@travis.hoppe/instagram-filters-in-python-acc1ee7e67bc)!\n\n pip install instafilter\n\nExample:\n\n``` python\nfrom instafilter import Instafilter\n\nmodel = Instafilter(\"Lo-fi\")\nnew_image = model(\"myimage.jpg\")\n\n# To save the image, use cv2\nimport cv2\ncv2.imwrite(\"modified_image.jpg\", new_image)\n```\n\n## Sample images\n\nBrowse samples for every filter in [`development/examples`](development/examples).\n\n**Ludwig**\n[![Example image: Ludwig](development/examples/Ludwig.jpg)](examples/Ludwig.jpg)\n\n**Stinson**\n[![Example image: Stinson](development/examples/Stinson.jpg)](examples/Stinson.jpg)\n\n**Moon**\n[![Example image: Moon](development/examples/Moon.jpg)](examples/Moon.jpg)\n\n## Train\n\nSee the code in [`development/train_new_model`](development/train_new_model) to train a new model.\n\n## Roadmap\n\n+ Medium post\n\n## Credits\n\n+ Made with \u2764\ufe0f by [Travis Hoppe](https://twitter.com/metasemantic?lang=en).\n\n+ Header image sourced from [Will Terra](https://unsplash.com/photos/qIY9mUKT540) and modified with instafilter.\n\n",
"bugtrack_url": null,
"license": "CC-SA",
"summary": "Images filters learned from Instagram. Implemented in pytorch.",
"version": "0.3.2",
"split_keywords": [
"art"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "31c8ff06c24c8457007d9ba3e1f1bb08",
"sha256": "50d6b7b2b2094a72375f5c257d8011096f2d9c648fe382c379bd5520f9a02df5"
},
"downloads": -1,
"filename": "instafilter-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "31c8ff06c24c8457007d9ba3e1f1bb08",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20913982,
"upload_time": "2022-12-05T05:25:00",
"upload_time_iso_8601": "2022-12-05T05:25:00.647325Z",
"url": "https://files.pythonhosted.org/packages/26/2e/ca1af2a7a2d46118e1810a5cab908f4460fb0c60b384d0a4debd96cb6a9c/instafilter-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-05 05:25:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "thoppe",
"github_project": "instafilter",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "instafilter"
}