Background Removal
Posted: 2019-02-22T17:11:50-07:00
Yeah, I would love to use Imagemagick to do all of my processing, but I just haven't had much success.
My primary issue is that I'm taking pictures of coins, and I would like to bulk process them and select just the coin and eliminate the background. I have tried a number of examples I've found, but nothing is more reliable than about 90%.
I've tried convert with a variety of fuzz settings, but couldn't get a consistent result. Photoshop "Select Subject" is not perfect in the edge detection, but it is about 99% repeatable, so I use vbs scripts to use photoshop to crop and trim. Then, I use Imagemagick convert to create montages, labels, titles, etc.
I really wanted to try Fred's autotrim script, so I went so far as to configure a Ubuntu system on my windows machine, but I just couldn't get it to work, and I couldn't find a decent way to edit scripts. So, I gave up that avenue. I think I'm too old to learn Linux
I also have had trouble resizing images with Imagemagick. It adds green hues or pixellates the image.
My primary issue is that I'm taking pictures of coins, and I would like to bulk process them and select just the coin and eliminate the background. I have tried a number of examples I've found, but nothing is more reliable than about 90%.
I've tried convert with a variety of fuzz settings, but couldn't get a consistent result. Photoshop "Select Subject" is not perfect in the edge detection, but it is about 99% repeatable, so I use vbs scripts to use photoshop to crop and trim. Then, I use Imagemagick convert to create montages, labels, titles, etc.
I really wanted to try Fred's autotrim script, so I went so far as to configure a Ubuntu system on my windows machine, but I just couldn't get it to work, and I couldn't find a decent way to edit scripts. So, I gave up that avenue. I think I'm too old to learn Linux
I also have had trouble resizing images with Imagemagick. It adds green hues or pixellates the image.