Forum Discussion
How to easily delete background from image on a Windows PC?
For photos stored on a Windows PC, background removal can be handled locally instead of uploading each image to an online service. withoutBG is a free, open-source option that can delete background from photo automatically and create a transparent image while keeping the main subject intact.
How to delete background from photo
Step 1: Install the Python package according to the official project instructions.
Step 2: Open a terminal in the folder containing your image and run:
withoutbg photo.jpg --output result.png
Step 3: On the first local run, allow the required model files to download.
Step 4: Wait while the image is processed and the background is removed automatically.
Step 5: Open result.png and check the edges around the subject. The PNG format preserves the transparent background.
Once the model files are available locally, processing can be performed without uploading the photo to a cloud service. Check detailed edges such as hair or fur before using the finished image.