Ask HN: What did you use for free bulk photo background removal?

3 points by sema4hacker ↗ HN
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?

4 comments

[ 140 ms ] story [ 132 ms ] thread
Finally found the Python rembg library. It works and is easily embedded.