2320sharon / Streamlit_Image_Sorter

Generic Image Sorter Interface for Streamlit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamlit Customizable Image Sorter 📸

Do you want to apply your own custom functions to your imagery and preview what they look like? Well this simple streamlit tool lets you create your own function to modify your imagery, preview what they would look like, then download the modified images. image_sorter_github_v1

How to Use it 📊

  1. Fork Your own copy or clone this repo.

  2. Replace the enhance_img with your custom function. Picture of function to replace

  3. Make sure your custom function returns a PIL.Image.Image otherwise the program won't function properly.

  4. Run the command streamlit run sorter.py in the directory where your program is located.

Features ‼️

  1. Preview the modified images made by your custom function with preview mode.
  2. Apply your custom function image by image and download the individual images.
  3. Apply your custom function to all the images at once and download the .zip

Tips for Customization 🎨

  1. Check out the offical Streamlit Docs for adding cool components like dropdown menus and more!

How to Install Streamlit

Check out Streamlit's Instructions

Disclaimers ⚠️

  1. This version outputs all images as .jpg.

About

Generic Image Sorter Interface for Streamlit

License:MIT License


Languages

Language:Python 100.0%