HACKER Q&A
📣 sema4hacker

What did you use for free bulk photo background removal?


I have 10,000 JPEG files on my Windows machine for which I need to remove backgrounds, and zero budget to do it. I've tried free tools like ImageMagick and Gimp using their floodfill technique with fuzzing of parameters, which only works well with more-or-less solid backgrounds, and fails miserably on my photos since they have more varied backgrounds. Please tell me if I'm wrong, but the many online services all appear to require payment and/or don't offer bulk processing. I'm about to go down the rabbit hole of coding a solution from amongst a myriad of possible tools, not knowing how they compare in quality and ease of programming:

BoofCV GluonCV halide MATLAB OpenCV PIL/Pillow PyTorch/torchvision scikit-image SimpleCV U^2-Net

Do you have any recommendations?


  👤 mtmail Accepted Answer ✓
https://backgroundremover.app/ (powered by https://github.com/nadermx/backgroundremover) was a Show HN last year. I haven't used it myself yet.

👤 sema4hacker
Finally found the Python rembg library. It works and is easily embedded.