Merge pull request #1510 from Shreeshrii/Shreeshrii-tesstrain-msg

Change info message from tesstrain.sh
This commit is contained in:
zdenop 2018-04-22 19:26:12 +02:00 committed by GitHub
commit d67df9ee57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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"

View File

@ -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.