These are chat archives for RaiMan/SikuliX-2014

4th
Jan 2017
Robin
@robrow
Jan 04 2017 12:30
Hey all. Just have a "quick" question. I'm using the latest stable Sikuli Build 1.1.0 and got some issues with text recognition. The Region.text() method returns the searched string, e.g. "09.07.16"; but when I try to find the exact same text - which I got from Region.text() - via Region.exists("\t09.07.16\t", 0) or Region.find("\t09.07.16\t") Sikuli won't find a match. OCR has TextSearch enabled. I found a bug from 2013 about inconsistencies between text() and find() but it's not resolved. Any help / ideas?
BTW it's Bug #695616
Robin
@robrow
Jan 04 2017 16:42
To be more specific. Big-Region text() returns the correct text. But when I get a Match, it's text contains gibberish. For example: In the bigger Region I'll get "Fahrrad" but when searching via Region.find("Fahrrad") I get a Match which will return "FH-armvd" or something like that.
I guess, it contains enough "similarity" for "Fahrrad" to find it, but when searching for numbers I won't get any hit, maybe 1 out of 100 tries.