Maybe try a Gaussian blur and upsize a bit? Something like: convert -blur 2x10 -resize 110%
art From: [email protected] <[email protected]> On Behalf Of Hongguo An Sent: Monday, June 4, 2018 1:23 PM To: tesseract-ocr <[email protected]> Subject: [tesseract-ocr] Re: Preprocess Image Can anybody help? thanks in advance On Thursday, May 31, 2018 at 12:57:20 PM UTC-7, Hongguo An wrote: [https://lh3.googleusercontent.com/-rU11aTo1MFM/WxBN6Qv8xRI/AAAAAAAA7kI/V-Z6YS9Z1b0_Lf9R4LjSFM5M7eN0-QT0ACLcBGAs/s320/5333776Q.part1.png]<https://lh3.googleusercontent.com/-rU11aTo1MFM/WxBN6Qv8xRI/AAAAAAAA7kI/V-Z6YS9Z1b0_Lf9R4LjSFM5M7eN0-QT0ACLcBGAs/s1600/5333776Q.part1.png> Hi: When trying to OCR the above image, the date 09/02/2017 is always wrong, (0G/02/2017). This is tesseract 4 running on linux, the cmd line is: tesseract stdin stdout -l eng --psm 11 --oem 1 -c textonly_pdf=1 -c tessedit_create_pdf=1 | pdftotext -layout - - Is there any way to pre-process the image to make it work? (preferably using convert) Thanks Hongguo An -- 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 [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/fd0e766e-fba2-43a7-91ea-51de94f621b2%40googlegroups.com<https://groups.google.com/d/msgid/tesseract-ocr/fd0e766e-fba2-43a7-91ea-51de94f621b2%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/YQXPR0101MB17021D636C6C61CAB82D4AFBDC660%40YQXPR0101MB1702.CANPRD01.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.

