Question #241198 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/241198
Status: Open => Answered
RaiMan proposed the following answer:
-- 1. you are not doing an image compare ...
... but you search an image from image file (screenshot) on the whole screen
(screen.wait(PDScreenshot, 30);).
An image compare would be if you would search an image in a region, that
is exactly the size of the image or even use Finder() to really compare
2 images both coming from image files.
--2. If an image is found as in your case ...
... you have a resulting match score (currently you can print
screen.getLastMatch() on success, to see the score).
That exact() (means >0.99) or even similar(0.95) does not work in your case
simply means, that the match score of the search is less than 0.95.
Depending on the kind of image one can say, that 2 images are exactly the same,
if the match score is >0.98 (usually on exact match the result is 1.0, which
means all pixels have exactly the same RBG value)
So to give you more hints, you should give more details about what you
want to achieve (you might send me screenshots silently to my mail at
https://launchpad.net/~raimund-hocke.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp