Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change default width for images output by text2image
Fixes
Image too large to learn!! Size = 2594x48
Image not trainable

See #590 (comment)
for related discussion
  • Loading branch information
Shreeshrii committed Jun 11, 2018
1 parent 053698b commit fdc243b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/training/tesstrain_utils.sh
Expand Up @@ -214,7 +214,7 @@ generate_font_image() {

local common_args="--fontconfig_tmpdir=${FONT_CONFIG_CACHE}"
common_args+=" --fonts_dir=${FONTS_DIR} --strip_unrenderable_words"
common_args+=" --leading=${LEADING}"
common_args+=" --leading=${LEADING} --xsize 2550"
common_args+=" --char_spacing=${CHAR_SPACING} --exposure=${EXPOSURE}"
common_args+=" --outputbase=${outbase} --max_pages=0"

Expand Down

0 comments on commit fdc243b

Please sign in to comment.