mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-28 05:39:35 +08:00
Merge pull request #1510 from Shreeshrii/Shreeshrii-tesstrain-msg
Change info message from tesstrain.sh
This commit is contained in:
commit
d67df9ee57
@ -63,6 +63,8 @@ phase_UP_generate_unicharset
|
||||
if ((LINEDATA)); then
|
||||
phase_E_extract_features "lstm.train" 8 "lstmf"
|
||||
make__lstmdata
|
||||
tlog "\nCreated starter traineddata for language '${LANG_CODE}'\n"
|
||||
tlog "\nRun lstmtraining to do the LSTM training for language '${LANG_CODE}'\n"
|
||||
else
|
||||
phase_D_generate_dawg
|
||||
phase_E_extract_features "box.train" 8 "tr"
|
||||
@ -73,6 +75,7 @@ else
|
||||
phase_M_cluster_microfeatures
|
||||
phase_B_generate_ambiguities
|
||||
make__traineddata
|
||||
tlog "\nCompleted training for language '${LANG_CODE}'\n"
|
||||
fi
|
||||
|
||||
tlog "\nCompleted training for language '${LANG_CODE}'\n"
|
||||
|
||||
|
@ -216,7 +216,7 @@ generate_font_image() {
|
||||
common_args+=" --fonts_dir=${FONTS_DIR} --strip_unrenderable_words"
|
||||
common_args+=" --leading=${LEADING}"
|
||||
common_args+=" --char_spacing=${CHAR_SPACING} --exposure=${EXPOSURE}"
|
||||
common_args+=" --outputbase=${outbase} --max_pages=3"
|
||||
common_args+=" --outputbase=${outbase} --max_pages=0"
|
||||
|
||||
# add --writing_mode=vertical-upright to common_args if the font is
|
||||
# specified to be rendered vertically.
|
||||
|
Loading…
Reference in New Issue
Block a user