Compare 2 image

Hello,
Which function to use to compare 2 images ?
Thank you

please show two such pictures and point out which areas you consider “different” and which you consider “same”.

that is the same picture, but cropped differently, and with some pixels changed.

do you anticipate the camera panning/tilting? completely moving from its position?

you’ll need feature matching, maybe camera calibration, possibly structure from motion.

sorry, but that’s far too broad.
what exactly are you looking for in those images ?
movement ? color/lighting changes ? tampering ? added objects ?
please be more concise here, else we cannot help

I have solve this issue. You can delete this post. thank you.