Tesseract failing for very clear image

65 views
Skip to first unread message

Guillaume Bersac

unread,
Oct 5, 2020, 1:30:53 AM10/5/20
to tesseract-ocr
Hello,

### Environment
**Tesseract Version**:
tesseract 4.0.0
 leptonica-1.76.0
  libgif 5.1.4 : libjpeg 6b (libjpeg-turbo 1.5.2) : libpng 1.6.36 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0
 Found AVX2
 Found AVX
 Found SSE

**Platform**: Windows 10 64-bit

### Current Behavior:
For this joined image output.png, if I apply the command tesseract output.png output the output is empty.
If I apply the command tesseract output.png output --psm 7 the output is 0/7 53 67 19 54


### Expected Behavior:
In both cases, the expected output is 07 53 62 19 54

Can you help me get the correct result, please?
output.png

Shree Devi Kumar

unread,
Oct 5, 2020, 3:15:14 AM10/5/20
to tesseract-ocr
Try to add a little bit of white border to image and see.

Try --psm 6

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/07c6839c-c8b7-4b3f-afc7-2864f2acc40dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages