Forgive me but I'm new in OpenCV. I would like to delete the common background in 3 images, where there is a landscape and a man. I tried some subtraction codes but I can't solve the problem. I would like output each image only with the man and without landscape Are there in OpenCV Algorithms what do this do? (then without any manual operation so no markers or other)
I tried this python code CV - Extract differences between two images but not works because in my case i don't have an image with only background (without man).
I thinks that good solution should to Compare all the images and save those "points" that are the same at least in an image. In this way I can extrapolate a background (which we call "Result.jpg") and finally analyze each image and cut those portions that are also present in "Result.jpg".
You say it's a good idea? Do you have other simplest ideas?