Question #246912 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246912

    Status: Open => Answered

RaiMan proposed the following answer:
Using a min similarity of below 0.7 is very risky. already the standard
value of 0.7 together with "bad" images might lead to false positives
(Sikuli finds something, that you do not want)

The mentioned post in your question text (BTW: good finding) talks about
these problems.

So in the first step, take care, that your images contain as little
background as possible and concentrate on the key visual aspects.

A "good" image should always be found with a similarity score greater
than 0.9 (even better > 0.95).

Your problem with getLastMatch():
It is Region specific, so supposing you want to click what was found in leg 
region:

    if legregion.exists(Pattern("1397186630070.png").similar(0.47), 0):
        click(legregion.getLastMatch())
        wait (.2)

-- 
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

Reply via email to