What's the best idea to remove defferent backgrounds from images?
I want to convert this photo:
to this one:
And this photo:
to this:
And son on. I thought I can use color threshold but what if there are some pictures or content inside the photo? because I don't like to damage them and only want to remove the background.
So, as I am new in OpenCV and Image processing, may you help me to find the best solution?