can you tell the OCR its just looking for numbers

Asked by dude

right now im reading the .text from a region so it gets OCR'd .
when it is reading a long number many times 1's get mistaken for l's or I's
i believe it could be more accurate if i could tell it that this region only contains numbers
is that possible?

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
dude
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

currently not, sorry,

Revision history for this message
rob (reg82) said :
#2

as a work around you can make a translation table and set I = 1, l = 1, o = 0, O = 0, etc.

Revision history for this message
dude (dude1) said :
#3

cool thanks for the info
il try making that work as a workaround