No difference in normal OCR and OCR with user pattern

115 views
Skip to first unread message

Bhushan Patil

unread,
Oct 28, 2015, 4:46:25 AM10/28/15
to tesseract-ocr

Hello everyone, I want to do OCR on this image.
This is pre-define format. ie first five will characters, then next four will digits and last will be character.
When execute following command
$ tesseract in.png stdout
I get output as BDVPD474SQ

So, I went for user-pattern.
I created a file(in directory /usr/share/tesseract-ocr/tessdata/configs) named as bazaar
load_system_dawg     F
load_freq_dawg       F
user_patterns_suffix user
-patterns


I also created a file, named as eng.user-patterns in directory /usr/share/tesseract-ocr/tessdata
\A\A\A\A\A\d\d\d\d\A

Still, I am getting same result
$ tesseract in.png stdout bazaar
BDVPD474SQ

What I am doing wrong ?
Reply all
Reply to author
Forward
0 new messages