sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24759
Re: [Question #245479]: how to find and check an image
Question #245479 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245479
Eugene S proposed the following answer:
Hi,
I recommend, each time you are not sure whether your image was located
or not, use highlight(x) method. It will give you a 100% indication of
the object on the screen and will provide you with some extra details.
For example, this is what you'll see in the log:
[log] highlight M[983,233 21x19]@S(0)[0,0 1280x1024] S:1.00
Center:993,242 for 1.0 secs
Here you have the exact location and similarity value.
So try something like that:
find(image.png).highlight(1)
Eugene
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.