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

RaiMan proposed the following answer:
match = region1.find(Pattern(some_image).similar(0.5)) # find something similar 
but might not be exact
matchImage = capture(match).getFile() # get the real image of the matched area
if region2.exists(Pattern(matchImage).exact()): # check in region2, wether this 
real image exists being exactly the same
    print "whatever we found in region1 is in region2 also"
else:
    print "whatever we found in region1 is not in region2"

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