Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Matching image position before comparing image

My goal is to make image 1 and image 2 in the same position before comparing and get the difference between images using python. Take this example:

image description

as you can see image 1 and image 2 is the same image, but image 2 is shifted and have another hole that image one didn't have. I want to compare this two images but first, I need to make image 1 and image 2 in the same position.

How would I go about finding the difference in the image?

Matching image position before comparing image

My goal is to make image 1 and image 2 in the same position before comparing and get the difference between images using python. Take this example:

image description

as you can see image 1 and image 2 is the same image, but image 2 is shifted and have another hole that image one didn't have. I want to compare this two images but first, I need to make image 1 and image 2 in the same position.

How would I go about finding the difference in the image?

Edit :

Real Image

image description