I have a Question about Creating Traing Data

60 views
Skip to first unread message

이경준

unread,
Feb 28, 2018, 1:14:30 AM2/28/18
to tesseract-ocr
Hi 
I'm KOREAN
I'm studying Tesseract 4.0 
This page is very useful to study tesseract 4.0

But, I'm poor at Reading English & Understanding Tesseract training 4.0 
In short, the next senentes cannot be understood by me.

Creating Training Data

As with base Tesseract, there is a choice between rendering synthetic training data from fonts, or labelling some pre-existing images (like ancient manuscripts for example). In either case, the required format is still the tiff/box file pair, except that the boxes only need to cover a textline instead of individual characters. 'Newline' boxes with tab as the character must be inserted between textlines to indicate the end-of-line. Multi-word boxes require a different box format, as the space would confuse the parser

I have no idea .... Could you explain this sentence to me & I want to see the example of the box file /tiff (by tesseract 4.0) 

Thank you . 

ShreeDevi Kumar

unread,
Feb 28, 2018, 1:49:04 AM2/28/18
to tesser...@googlegroups.com
Please use tesstrain.sh script to creating training data. It will create the required box/tif files using the training text and list of fonts.

The process uses the box/tif files for creating the lstmf files which are used for LSTM training. Since these box/tif files are used in the intermediate step, they are not copied to output directory.

If you want to see the format, please look at the files in your tmp directory.

The files are similar to the ones generated by tesseract using makebox. The only exceptions are that there are boxes for spaces between words. End of each line also has a box with the TAB character in it.

--
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+unsubscribe@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/a20fd0e3-b3ae-4ab2-9fa1-97b147fc86aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages