Prerequere: Install rembg module pip install --user rembg Install pillow module (PIL) pip install pillow Run program: Edit input and output in main.py Run python main.py Reference: Module rembg Module pillow Example pillow module project