diff --git a/training/tesstrain_utils.sh b/training/tesstrain_utils.sh index 3c980409db..25f054b3b7 100755 --- a/training/tesstrain_utils.sh +++ b/training/tesstrain_utils.sh @@ -212,7 +212,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.