sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29815
Re: [Question #259550]: issue in comparing two images
Question #259550 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/259550
Eugene Maslov proposed the following answer:
Sepid, take a look what I found .
Your case is a strange one when two images look the same as a whole: probably, the total sum of differences returns zero diff number on average.
But the images are found different in their parts!
I cropped your image to the little key area of interest, and the
difference will be detected quite reliably, even if similarity is
reduced to 0.97.
I executed the following script over your red image, displayed in the screen:
http://www.hohmodrom.ru/upload/3/projimg/125631/files/color_confusion.gif
step 3 mistakenly passed...
but step 9 correctly failed! :)
Thus, cropping the reference images, it's possible to catch the
difference :)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.