tesseract 4.0 recognize '5' as 'S'

69 views
Skip to first unread message

Fan Zhou

unread,
Feb 2, 2019, 5:24:31 AM2/2/19
to tesseract-ocr

I use tesseract 4.0 to recognize the picture. The text on image is "MR5458". But it's recognized as "MRS458"1631056773203_og.png


Then I adjust the image, move the text little lower, like this1631056773203.png


or adjust the image size, crop the bottom, like this 1631056773203_7.png


then tesseract give the right text "MR5458".


Should I adjust the text to the center or bottom the image , or is there any other optons?

Quan Nguyen

unread,
Feb 3, 2019, 3:37:52 PM2/3/19
to tesseract-ocr
PSM 6 or 7 produces the correct result.

Fan Zhou

unread,
Feb 3, 2019, 10:45:45 PM2/3/19
to tesser...@googlegroups.com
Thanks for reply, but I have tired the PSM 6 and 7 like this 
tesseract test.bmp ocr --psm 6  
And the result is still "MRS458" , not correct.
I download the tesseract 4.0 install from Tesseract at UB Mannheim , 2018-10-30 Update Tesseract 4.0.0 . do you use the same release?

Quan Nguyen <nguy...@gmail.com> 于2019年2月4日周一 上午4:37写道:
--
You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/IysbKl-x8ss/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
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/804d4e65-3e7a-411a-8d33-394e703b6466%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages