Hello,
On way of comapring images and estimating the difference between them is to substract, pixel by pixel, image B from image A (works well with grayscale images) but in your case one thing that might be hard to get is a reference point, because when you put your finger on a scanner, you will never place it at the exact same place nor with the exact same angle...
Depending on what your images look like you might be able to do either do some pattern matching or "rework" one of the image to adujst the angle and reference point, but that's a lot of work to do
😮Can you upload some image from your scanner ?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
Antoine Chalons