Any way to prevent contextual digits<->letters flipping ?
57 views
Skip to first unread message
Damien D
unread,
Jul 10, 2014, 2:15:10 AM7/10/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tesser...@googlegroups.com
Hi everyone,
tesseract seems to sometime use the closest characters to "guess" what will be the next one.
Let me explain that with an exemple:
I want to parse a picture that contains the following sequence of characters SE3P-104168 but most of the time the output will be SESP-104168
I believe tesseract is flipping the "3" to a "S" because the closest characters are alphabetical and it seems more "logical" to have a chain of alphabetical characters but I would like to keep the "3" ! I am also attaching the picture I am parsing so you can see that it really looks like a "3" and it is not close to a "S".
If anyone has an idea about solving that problem it would be quite helpful. I am playing with psm 8 FYI.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tesser...@googlegroups.com
Hi,
I haven't tried it, but quickly grepping around the source code
suggests setting the config variable "crunch_include_numerals" to
true might do the job.