Find the differences between the two images, but * not * pixel to pixel

I hope someone can help me.

I have pairs of black and white images that appeared as a result of scanning text using a large scanner (resulting files up to 500 M). The scanned texts are almost identical, and I need to check if there are significant differences.

Obviously, I can’t compare pixel by pixel since the same image scanned in bmp will give me a slightly different result with each scan.

Does anyone know any library - open source or commertial - I can buy or download and create a .NET application around it.

Thank you in advance for your help. Helen.

+4
source share
2 answers

Use insightful hashing. It checks if the two images are similar.

You can also compute a function descriptor using one of the many algorithms available in open cv and just compare vector distances. Consider the images as the same if the distance is below a certain threshold.

You can try GIST, SURF, SIFT, etc. (Some are also invariants of scale and rotation).

+6
source

If you work with text only, you can recognize both images and compare the extracted text.

0
source

Source: https://habr.com/ru/post/1379715/


All Articles