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

RaiMan proposed the following answer:
@Hari

??? What is printed with the statement:
print "found: ", f.next()

Might be a problem of similarity.

Try: f.find(img, 0.99) # find all matches

So I would do it this way (since it is a 2 image compare):

f = Finder("/Users/hari/Desktop/Screen shot 2011-09-02 at 11.18.42 AM.png")
img= <took image screenshot from sikuli># the image you are searching - Actual

f.find(img, 0.99)

if f.hasNext(): 
        print "matching: ", f.next()
else:
        print "not matching"

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