Skip to main content

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

Metadata

Release files for instafilter 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for instafilter 0.3.2
File Size Uploaded Provenance
instafilter-0.3.2.tar.gz 20.9 MB Without provenance Details

Release files / instafilter-0.3.2.tar.gz

Download URL instafilter-0.3.2.tar.gz
Size 20.9 MB
Tags Source
SHA-256 checksum
How to use checksums
50d6b7b2b2094a72375f5c257d8011096f2d9c648fe382c379bd5520f9a02df5
BLAKE2b-256 checksum
How to use checksums
262eca1af2a7a2d46118e1810a5cab908f4460fb0c60b384d0a4debd96cb6a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.0

Security for instafilter 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page