A Streamlit application that allows users to upload an image and automatically remove its background using the rembg library.
- Upload images (PNG, JPG, JPEG formats supported)
- Automatic background removal
- Download the processed image
- Handles large images with automatic resizing
- Progress indicators for better user experience
- Python 3.8+
- pip
- Clone the repository
git clone https://github.com/tyler-simons/BackgroundRemoval.git
cd BackgroundRemoval
- Create a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies
pip install -r requirements.txt
streamlit run bg_remove.py
The app will be available at http://localhost:8501 in your web browser.
- Maximum file size: 10MB
- Large images will be automatically resized for processing
- Supported formats: PNG, JPG, JPEG