mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-04 18:29:06 +08:00
Change default width for images output by text2image
Fixes Image too large to learn!! Size = 2594x48 Image not trainable See https://github.com/tesseract-ocr/tesseract/issues/590#issuecomment-271244655 for related discussion
This commit is contained in:
parent
053698bb8b
commit
fdc243b363
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user