Is there any way to subtract two images in python opencv2 ?
If the background in the two images are exactly the same, you can subtract them as you mention in your post.
image1 = imread("/path/to/image1") image2 = imread("/path/to/image2") image3 = image1 - image2