digits parameter ignored

34 views
Skip to first unread message

Sebastian Bürgel

unread,
Jan 27, 2019, 12:19:46 PM1/27/19
to tesseract-ocr
Hi, I'm new to tesseract and for starters experimenting via command line. I applied manual thresholding in gimp before feeding through tesseract. The attached image showing a number (26.7) in a bit fancy font (but IMO not too crazy) is not recognized at all :-/
After applying a gaussian blur (img5.png) I worked somewhat. Next I set the digits property which seems to be ignored:

$ tesseract img5.png stdout digits
26?

Also the whitelist seems to be ignored:

$ tesseract img5.png stdout -c tessedit_char_whitelist=0123456789
26?

Any suggestion on how to force tesseract how to really only give me digits or other suggestions for my task?
img4.png
img5.png

Quan Nguyen

unread,
Jan 29, 2019, 8:47:30 PM1/29/19
to tesseract-ocr
Reply all
Reply to author
Forward
0 new messages