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

    Status: Open => Answered

RaiMan proposed the following answer:
img = capture(some_region)

now image is a file in temp storage
# show filename
print img

print some_region.find(img)

should give you a score 1.0 match

... or you might make a pattern if needed:
pat = Pattern(img).similar(.95).targetOffset(x, y)

the above temp images are deleted when the Java process ends (close of
IDE or end of scriptrun on command line)

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