Tesseract not recognize number

98 views
Skip to first unread message

radioja...@gmail.com

unread,
Jun 8, 2017, 4:20:10 AM6/8/17
to tesseract-ocr

Hi, i'm working under raspberry pi 2.
I capture the image from ip camera and clean it with textcleaner script.
this is the image that i used into tesseract to recognize the number 1234

2h3505j.jpg

but i have always empty output txt file.
You can help me about this problem?

Brian51

unread,
Jun 8, 2017, 4:28:31 AM6/8/17
to tesseract-ocr
Hi, Try deskewing and cropping the area that is important, i.e. the numbers, and remove all the background noise.

radioja...@gmail.com

unread,
Jun 8, 2017, 5:06:45 AM6/8/17
to tesseract-ocr
It's possible to remove backgroud and crop by bash script ?
How?

Brian51

unread,
Jun 8, 2017, 5:18:45 AM6/8/17
to tesseract-ocr
If it is just one image, I would use one of the image manipulation programs, if you have a lot of images then Scan-tailor is one of the better programs for pre-processing!


On Thursday, June 8, 2017 at 10:20:10 AM UTC+2, radioja...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages