Tool Python BG Remover GUI

Fawzix55

Newbie
Game Developer
Nov 15, 2022
29
36
I made a simple tool which I needed while developing my game which allows you to "Browse" a directory, it will look for all images in that directory and removes their Background using the rembg or MediaPipe Python Libraries...

You don't have permission to view the spoiler content. Log in or register now.


Using the application:
- Click "Browse" to select a directory containing images
- Choose your preferred processing method:
- rembg: Higher quality but slower
- MediaPipe: Faster but may be less accurate
- Click "Process Images" to start
- Monitor progress in the status bar
- View processed images in the preview pane
- Find processed images in the "output" sub-directory of your selected folder

Few things to keep in mind:
1. The first launch might take a few seconds longer that any other launch
2. You should use rembg for 99% of images, but for whatever reason if the image is not being processed well, try MediaPipe as an alternative
3. For some reason the preview pane will show the images twice.... I didn't bother looking too much into it as it is not affecting the ouput


Below is the source code as I know some people might be scared running python scripts on their computers:

You don't have permission to view the spoiler content. Log in or register now.

Please let me know if you are facing any issues <3

Screenshot 2025-02-15 041052.png
 
Last edited:
  • Like
Reactions: osanaiko