Have a look at this thread:

https://groups.google.com/forum/#!topic/tesseract-ocr/be4-rjvY2tQ


It's easier than it seems, you do not need per character boxes with 4.0,
just one per line (that ocr-d automatically generates). If your text is
already split into lines you do not have to do anything more.

Unicharset and lstmf files are also created by ocr-d.


Feel free to ask if you get stuck, now I have this working but it's a bumpy
road (lot of assertion failed/segmentation fault if you miss something).


Bye

Lorenzo

2018-07-17 15:03 GMT+02:00 Ramakant Kushwaha <ramakant.sing...@gmail.com>:

> *Hi,*
>
> *Recently I trying to retrain Tesseract 4.0 for recognising handwritten
> digits. I am following official page but finding it very difficult. It
> would be great if someone can elaborate below steps*
>
> - Prepare training text.
> <https://github.com/tesseract-ocr/tesseract/issues/654#issuecomment-274574951>(I
> am using jTessBoxEditor for creating box files )
> - Render text to image + box file. (Or create hand-made box files for
> existing image data.)
> - Make unicharset file. (Can be partially specified, ie created
> manually). (Do not how to do this)
> - Make a starter traineddata from the unicharset and optional dictionary
> data.
> <https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#creating-starter-traineddata>
> - Run tesseract to process image + box file to make training data set.
> - Run training on training data set.
> - Combine data files.
>
> --
> 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 post to this group, send email to tesseract-ocr@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/97e29010-f602-42e9-b3b8-121fb151a49e%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/97e29010-f602-42e9-b3b8-121fb151a49e%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 tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@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/CAMgOLLycVnuhrsN63z49U0jFtS2Uv25T4gDj%3DFuUL4P952SgsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to