Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What's the best idea to remove defferent backgrounds from images?

I want to convert this photo:

enter image description here

to this one:

enter image description here

And this photo:

enter image description here

to this:

enter image description here

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?

What's the best idea to remove defferent backgrounds from images?

I want to convert this photo:

enter image description hereimage description

to this one:

enter image description hereimage description

And this photo:

enter image description hereimage description

to this:

enter image description hereimage description

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?