← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #707899]: OCR not recognizing simple text

 

Question #707899 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707899

Niklas Jørgensen gave more information on the question:
Spamming my own topic, sorry guys :D

Using:

m = findtext(SomeString)
m.highlight(3)

wont work if the text is too small or too thin it seems. Only with some
specific inputs -

I tried just adding some text in a notepad:

Hej med diiig
Hallo hvordan går det
My Veteran/161'
yoyo
evqw
777
01-01
wqe
[SJ/SJ] (01-01-2009-31-12-2099)

some lines usefull for my work and some just playing around, but the
result from:

print(the_region.text()) also gave my the output:

Hej med diiig
Hallo hvordan går det
Ny: YVeteran/161”
yoyo
evgw
777
01—01
wge
[S1/SJ] (61—01—2009—31—12—2099)

(Ignore the long dashes, I have dealt with them with a simple
.replace("—", "-"))

So there's clearly alot of outliers.. Can i somehow change the font or
make the program zoom on the text or something to make it more
consistent? - My last post for now, i promise! :)

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