Question #263444 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/263444
Status: Open => Answered
RaiMan proposed the following answer:
Guess you are talking about --2
# create an image of region1 and setup a Finder with this image
f = Finder(capture(region1))
# tell the Finder to look for the image taken from region one in his stored
image
f.find(capture(region2))
# check wether the Finder.find evaluated a match score > 0.7 and do something
if f.hasNext():
print "score=", f.next().getScore()
else:
print "not equal"
--
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