This Python program allows you to use the ClipDrop API or the rembg library to remove the background from multiple images at once. Simply place the images you want to process in the input
folder, run the program, and the processed images will be saved to the output
folder.
- Clone this repository or download the source code.
- Choose the background removal method:
- For ClipDrop API: Obtain an API key from the ClipDrop website and place it in "YOUR_API_KEY.txt".
- For rembg: No additional setup is required.
- Place the images you want to process in the "input" folder.
- Run the program with
python main.py
. - The processed images will be saved to the "output" folder.
- Python 3
- requests library (
pip install requests
) - rembg library (
pip install rembg
)
This project is licensed under the MIT License - see the LICENSE file for details.