A user-friendly tool for removing image backgrounds with multiple methods and a guided flow. It is designed for batch processing and for handling both everyday photos and green-screen shots.
- Make sure Python 3.13 and
uvare available. - Clone the repository and install dependencies.
git clone <repository-url>
cd Remove-Background
uv sync- Start the interactive flow and follow the prompts.
- Outputs are saved as transparent PNGs in an
output/folder under the selected directory.
uv run main.py- Guided interactive flow: select a folder, pick a removal method, adjust strength, and confirm before processing.
- Green-screen workflow: optimized for solid green backdrops to clean edges and reduce color spill.
- General photo workflow: balanced removal for portraits, products, and mixed backgrounds.
- Speed vs quality choices: pick a mode that fits your time and visual expectations.
- Multiple removal methods with clear descriptions.
- Batch processing with progress feedback and a results summary.
- Adjustable strength to control how aggressive the removal is.
- Consistent transparent-background results for downstream use.
- backgroundremover — External dependency. Background removal option.
- rembg — External dependency. Background removal option with multiple choices.
- transparent-background — External dependency. Background removal option.
- onnxruntime — External dependency. Runtime support for the above options.
- pillow — External dependency. Image reading and writing utilities.
- moviepy — External dependency. Media utility library listed in dependencies.