New question #237496 on Sikuli:
https://answers.launchpad.net/sikuli/+question/237496

I am using the latest 64-bit Sikuli IDE on 64-bit Win7.  It seems that Finder 
always uses exact find, ignoring my similarity setting in Finder.find().  To 
demonstrate this, I have my captured.png file displayed 1x1 on the screen and 
run the following simple script:

finder = Finder( "captured.png" )
finder.find( "captured.png", 0.7 )
if not finder.hasNext():
    print( 'Can not find the orginal image itself by Finder' )
finder.find( "target.png", 0.7 )
if not finder.hasNext():
    print( 'Can not find the target image by Finder' )
if not exists( "target.png" ):
    print( 'Can not find the target image on screen' )

The result is:

Can not find the target image by Finder

In another word, the target.png can be found on screen, but not in the 
capture.png.  The capture.png can find itself.  

What have I done wrong?

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