mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 11:09:06 +08:00
allow user specified box/tiff pairs with tesstrain.sh
This commit is contained in:
parent
323361b902
commit
d9590f8adf
@ -28,15 +28,11 @@ echo -e "USAGE: tesstrain.sh
|
||||
--run_shape_clustering # Run shape clustering (use for Indic langs).
|
||||
--maxpages # Specify maximum pages to output (default:0=all)
|
||||
--save_box_tiff # Save box/tiff pairs along with lstmf files.
|
||||
<<<<<<< HEAD
|
||||
--x_size # Specify width of output image (default:3600)
|
||||
=======
|
||||
--xsize # Specify width of output image (default:3600)
|
||||
|
||||
OPTIONAL flag for specifying directory with user specified box/tiff pairs.
|
||||
Files should be named similar to ${LANG_CODE}.${fontname}.exp${EXPOSURE}.box/tif
|
||||
--my_boxtiff_dir MY_BOXTIFF_DIR # Location of user specified box/tiff files.
|
||||
>>>>>>> c7cd112... allow box/tiff pairs for LSTM training
|
||||
|
||||
OPTIONAL flags for input data. If unspecified we will look for them in
|
||||
the langdata_dir directory.
|
||||
@ -89,7 +85,7 @@ if ((LINEDATA)); then
|
||||
phase_E_extract_features " --psm 6 lstm.train " 8 "lstmf"
|
||||
make__lstmdata
|
||||
tlog "\nCreated starter traineddata for LSTM training of language '${LANG_CODE}'\n"
|
||||
tlog "\nRun 'lstmtraining' comman next to continue LSTM training for language '${LANG_CODE}'\n"
|
||||
tlog "\nRun 'lstmtraining' command to continue LSTM training for language '${LANG_CODE}'\n"
|
||||
else
|
||||
phase_D_generate_dawg
|
||||
phase_E_extract_features "box.train" 8 "tr"
|
||||
|
Loading…
Reference in New Issue
Block a user