Question #241198 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/241198
Status: Answered => Open
eve flowers is still having a problem:
Hi Raiman,
Thank you for your response, I would appreciate some guidance/sample
code help. I am trying to compare diagrams. I have sent an screenshot
to your email at https://launchpad.net/~raimund-hocke. Hopefully you
have received it.
On Monday, December 23, 2013 9:46 AM, RaiMan
<[email protected]> wrote:
Your 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.
--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/241198/+confirm?answer_id=0
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/241198
You received this question notification because you asked the question.
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