Automated image processing web app using Flask, OpenCV, and rembg.
Removes backgrounds, applies artistic effects, and provides a simple web interface.
Built as a lightweight alternative to GIMP & Inkscape.
Features:
πΉ Background Removal | πΉ Artistic Effects | πΉ Web-Based UI
- β
Remove Backgrounds β AI-powered background removal using
rembg - β
Apply Artistic Effects β Sketch, oil painting, and halftone effects with
OpenCV - β Web-Based UI β Upload images and preview results instantly
- β Lightweight & Fast β No need for bulky software like GIMP or Inkscape
- β Responsive Design β Works on both desktop and mobile devices
git clone https://github.com/veolinan/img.git
cd imgpython -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windowspip install -r requirements.txtpython app.pyThe app will start locally at http://127.0.0.1:5000/ π
- Upload an Image β Click the upload button and select an image.
- Process the Image β The app removes the background and applies artistic effects.
- View & Download Results β See original, processed, and styled images.
- πΉ Flask β Web framework
- πΉ OpenCV β Image processing
- πΉ rembg β AI-based background removal
- πΉ Pillow (PIL) β Image manipulation
- πΉ HTML, CSS, JavaScript β Web interface
- π Flask Documentation
- π OpenCV Documentation
- π rembg Repository
- π Pillow Documentation
Feel free to fork the repo, create issues, or submit pull requests to improve the tool!
This project is licensed under the MIT License.
- β More artistic effects
- β Batch processing support
- β Online deployment for public use