Have you looked at

https://github.com/tesseract-ocr/tesstrain



On Thu, Oct 12, 2023, 11:45 PM Keith Smith <keithsmith...@gmail.com> wrote:

> Hello,
>
> I am trying to use tesseract to OCR the MICR line of checks (i.e. the
> micr-e13b font).  The training data that I found at
> https://github.com/BigPino67/Tesseract-MICR-OCR/blob/master/Tessdata/mcr.traineddata
> does not produce accurate results on my data set.
>
> I have a set of over 20K check images along with the MICR text for those
> images; however, I do not have box files for them.
>
> So I started generating box files and manually correcting them via
> JTessBoxEditor, but I soon learned that it would take a LONG time to do
> this for enough checks to properly train tesseract.  So I am just started
> generating synthetic images using tesseract's text2image; however, the
> images generated are perfect (i.e. no blur, skew, etc), so I am doubting
> that this will result in training tesseract to handle my less-than-perfect
> check images.
>
> Does anyone have suggestions for the best methodology to use?  Is there a
> way to get text2image (or another tool) to generate less-than-perfect
> images?  Or can someone suggest a less labor intensive way of using real
> check images to train tesseract?
>
> Thanks in advance,
> Keith
>
> --
> 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-ocr+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/b92d2ab9-3da1-4ef8-bafe-5217821c5601n%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/b92d2ab9-3da1-4ef8-bafe-5217821c5601n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWVBZ-FGXZUTwTX56DQvwtCY9rB%2BuPTjjok62u2BEF%3DzA%40mail.gmail.com.

Reply via email to