tessaract fails to recognize perfect images

162 views
Skip to first unread message

no reply

unread,
Oct 26, 2017, 5:29:06 AM10/26/17
to tesseract-ocr
i have very clear image (85.png) with two digits which tessaract fails to recognize
all other images are recognized without problems, i.e. 00.png 

c:\Program Files (x86)\Tesseract-OCR>tesseract.exe c:\Temp\85.png stdout

c:\Program Files (x86)\Tesseract-OCR>tesseract.exe c:\Temp\00.png stdout
00

c:\Program Files (x86)\Tesseract-OCR>tesseract.exe  --version
tesseract 3.05.01
 leptonica-1.74.1
  libgif 4.1.6(?) : libjpeg 8d (libjpeg-turbo 1.5.0) : libpng 1.6.20 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.3 : libopenjp2 2.1.0

is it a bug?

85.png
00.png

fakabbir amin

unread,
Oct 26, 2017, 6:05:14 AM10/26/17
to tesseract-ocr
Hi, Many times even if the image looks quite good in visual it may bbe something that tesseract cann't handle at pixel level.
Look at the boxes tesseract creates for more details.
Command : tesseract ImageName OutputHtmlName hocr

Dan9er

unread,
Oct 28, 2017, 11:22:15 AM10/28/17
to tesseract-ocr
The border padding of the images is too small. Try increasing the padding.
Reply all
Reply to author
Forward
0 new messages