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

Hi Team,
Thanks for support.
Am using SikuliX 1.1.3.
Using findAny() functions in my code many times. Not getting match all the time 
for the specified target.
Same piece of code works well in other part of implementation.
I tried by setting match from 80%  to 95% as well.
Is there any way to get 100% match with findAny? Or other functions. 
--------------------------------------------------------
source_check() # Works well.
new_reg = 
findAny(Pattern("1567587221899.png").similar(0.85),Pattern("1567582102585.png").similar(0.85))
    for match in new_reg :
        match.highlight(1)
        uprint(match.text())
if hostchk == "Connectedto":
        print "Valid Host"
    else :
        wr_sheet.write(rx,34,'Invalid Host')
        type("quit" +Key.ENTER)
        return
--------------------------------------------------------
destn_check() # Unable to find match.
new_reg = 
findAny(Pattern("1567587221899.png").similar(0.85),Pattern("1567582102585.png").similar(0.85))
    for match in new_reg :
        match.highlight(1)
        uprint(match.text())
if hostchk == "Connectedto":
        print "Valid Host"
    else :
        wr_sheet.write(rx,34,'Invalid Host')
        type("quit" +Key.ENTER)
        return
--------------------------------------------------------


Thanks in advance.
Regards,
Nitin Chaudhari



-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to