A simple and powerful desktop application for removing backgrounds from images with custom background color options.
- πΌοΈ Batch Processing: Process multiple images at once
- π¨ Custom Background Colors: Choose any background color using color picker or hex codes
- π Progress Tracking: Real-time progress bar and image counter
- π Flexible Input: Browse folders or manually enter paths
- π Cross-Platform: Works on Windows, macOS, and Linux
- π Quick Access: Open output folder directly after processing
- π― User-Friendly: Clean and intuitive interface
backdrop-off.mp4
- Python 3.7 or higher
- pip (Python package installer)
-
Clone the repository:
git clone https://github.com/akhilsahuji/backdrop-off.git cd backdrop-off -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python bg_remover_ui.py
Pre-built executables for Windows, macOS, and Linux will be available in the Releases section.
- Select Input Folder: Choose the folder containing your images or type the path manually
- Select Output Folder: Choose where to save processed images or type the path manually
- Choose Background Color:
- Use the color picker button, or
- Enter a hex color code (e.g., #FF0000 for red)
- Start Processing: Click "Start Processing" and watch the progress
- View Results: Click "Open Output Folder" when processing is complete
- JPEG (.jpg, .jpeg)
- PNG (.png)
- White:
#FFFFFF - Black:
#000000 - Red:
#FF0000 - Green:
#00FF00 - Blue:
#0000FF - Transparent backgrounds are converted to your chosen solid color
-
Clone the repository:
git clone https://github.com/akhilsahuji/backdrop-off.git cd backdrop-off -
Create virtual environment (recommended):
python -m venv venv # On Windows: venv\Scripts\activate # On macOS/Linux: source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
To create standalone executables for distribution:
# Install PyInstaller
pip install pyinstaller
# Build executable
pyinstaller --onefile --windowed bg_remover_ui.pyThe executable will be created in the dist/ folder.
- customtkinter: Modern UI framework
- rembg: AI-powered background removal
- Pillow (PIL): Image processing
- onnxruntime: AI model runtime
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Drag & drop support
- Batch rename options
- Custom output formats (PNG with transparency)
- Image quality settings
"No module named 'customtkinter'"
pip install customtkinter"No module named 'rembg'"
pip install rembgPerformance Issues
- Processing time depends on image size and quantity
- Ensure sufficient RAM (4GB+ recommended)
- Close other heavy applications during processing
This project is licensed under the MIT License - see the LICENSE file for details.
- rembg - For the amazing background removal AI
- CustomTkinter - For the modern UI framework
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed description
- Include your OS, Python version, and error messages
β If you find this project helpful, please give it a star! β