Static Image Background removal

asked 2018-11-05 13:46:58 -0500

Hello,

I am looking to remove the background from a product image using OpenCV.

Most of the images are on a white background already. But some have some issues with not being completely white

Here's the image i just edited to make it seem like the image has an off white background.

image description

Heres an Example of an image with a good White background

image description

I looked into the watershed algorithm, the Grabcut algorithm for Foreground Image Extraction,

but I am looking for a way to automate the Background Removal/Whitening

Any help would be appreciated for things I can look into.

Thanks!

edit retag flag offensive close merge delete