Yet another user-pattern post

193 views
Skip to first unread message

Felipe Monobe

unread,
Jun 16, 2016, 10:58:44 AM6/16/16
to tesseract-ocr
Hey guys,

I gotta read BR car plates with the following pattern: 3 upper-case letters, 1 dash, 4 numbers.
I've tried '\c\c\c-\d\d\d\d', '\A\A\A-\d\d\d\d' and '[A-Z]{3}-\d{4]'. None of these worked.

All I get is:
Error: failed to insert pattern '\A\A\A-\d\d\d\d'

And tesseract reads ignoring the pattern. So a plate like "ORB-3913" outputs "OR6-39T3"... which I pretty much guess it would be solved passing correctly the pattern.
What am I doing wrong?
Message has been deleted

Felipe Monobe

unread,
Jun 16, 2016, 3:38:57 PM6/16/16
to tesseract-ocr
I also recently tried using DAWGs to help out...

- number DAWG:
"-    " (4 blank spaces)

- word DAWG:
"AAA-
AAB-
.
.
."

Obviously without the double-quotes.
With no better results whatsoever.
Reply all
Reply to author
Forward
0 new messages