https://github.com/farhad-here/streamlit-image-processing-pillow
A Streamlit-based image processing tool powered by Pillow. It supports filtering, segmentation, cropping, format analysis, edge detection, background removal, and more all from a user-friendly web UI.
https://github.com/farhad-here/streamlit-image-processing-pillow
background-removal coordinates cropper image-processing io pillow python rembg streamlit
Last synced: about 1 month ago
JSON representation
A Streamlit-based image processing tool powered by Pillow. It supports filtering, segmentation, cropping, format analysis, edge detection, background removal, and more all from a user-friendly web UI.
- Host: GitHub
- URL: https://github.com/farhad-here/streamlit-image-processing-pillow
- Owner: farhad-here
- License: mit
- Created: 2025-06-09T18:57:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-09T20:02:33.000Z (about 1 year ago)
- Last Synced: 2025-06-09T21:19:16.609Z (about 1 year ago)
- Topics: background-removal, coordinates, cropper, image-processing, io, pillow, python, rembg, streamlit
- Language: Python
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🖼️ Streamlit Image Processing with Pillow
A powerful and interactive image processing web app built with [Streamlit](https://streamlit.io) and [Pillow (PIL)](https://pillow.readthedocs.io/en/stable/). This tool allows users to upload an image and apply various transformations and filters, including edge detection, segmentation, format analysis, grayscale conversion, cropping, and background removal.
---
## 🚀 Features
- ✅ Upload and display image info (format, size, mode)
- 🔍 Apply Blur and BoxBlur filters
- 🎨 Convert to Grayscale, Smooth, Enhance edges, Emboss
- ✂️ Crop images and save with custom path and name
- 📐 Thresholding and segmentation (Erosion/Dilation)
- 🔄 RGB & CMYK color manipulation
- 🎭 Background removal using `rembg`
- 🌾 Interactive cropping using `streamlit-cropper`
---
## 📦 Installation
1. **Clone the repository**:
```bash
git clone https://github.com/your-username/streamlit-image-processing-pillow.git
cd streamlit-image-processing-pillow
```
2. Create a virtual environment (optional but recommended):
```bash
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```
3.Install the required libraries:
```bash
pip install -r requirements.txt
```
# 🛠️ Requirements
streamlit
pillow
rembg
streamlit-cropper
# 📷 Screenshots







# 🛸 Some error if occur:
```bash
ImportError: DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.
```
```bash
pip uninstall onnxruntime
pip install onnxruntime --upgrade
```
# ✍️ Author
Created by FarhadGaherdoost
For image lovers, researchers, students, and anyone interested in computer vision made simple.