I've made a program that compares screenshots grabbed by PIL, stored in a table and I use ImageChops.difference
to compare them.
The program works pretty good but there is one problem. The exactly same screenshots (e.g if you take two screenshots of your desktop with 1 second interval) don't have the exactly same pixels. I found this by using Photoshop with a lot of zoom. So in some cases the program returns some wrong values.
Is there any way to get exactly same pixels from similar screenshots so I don't have to use thresholds? Or any other way to succeed high comparing accuracy for my database?