on-internet
← Community

Tesseract OCR force pattern

Stack Overflow ·

I want to read a specific character sequence with Tesseract like this post : Tesseract OCR: is it possible to force a specific pattern? I have tried bazaar matching pattern in Tesseract with the pattern \d\d\d\A\A and OCR still recognize other words which doesn't match. I have tried to use the "tessedit_char_whitelist" parameter but I can't choose the position of the characters with that. I launch the command : tesseract image.jpg result -l eng bazaar And I have this message : Please provide at least 4 concrete characters at the beginning of the pattern Invalid user pattern \A\A\d\d\d Tesserac

Comments

Sign in or sign up to comment and upvote.

No comments yet.