← Back to team overview

sikuli-driver team mailing list archive

[Question #680688]: [1.1.4]There is empty string connecting correct string with OCR

 

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

I try with the picture:
https://inventeccorp-my.sharepoint.com/:i:/g/personal/huang_linda_inventec_com/EfM23IiLLZRJheUxvLCqc98BFfVNfh8c6U344sZHMFdoKg?e=Ojb5vo

My code:
    a = find("1557282546849.png").text()  
    b = "64"
    print a
    print "--"
    print b
    if a == b:
        print 'pass'
    else:
        print 'diff'


Result:
64


--
64
diff

How to do with no empty string?

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