I want to automatically remove the background from images using OpenCV. The code I use generally works well, but for some images with similar background color to the foregro