Skip to content

Commit

Permalink
Set default value for distort_image
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreeshrii committed Mar 17, 2019
1 parent af7a97e commit e21499e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/training/tesstrain_utils.py
Expand Up @@ -53,7 +53,7 @@ def __init__(self):
self.linedata = False
self.run_shape_clustering = False
self.extract_font_properties = True

self.distort_image = True

def err_exit(msg):
log.critical(msg)
Expand Down Expand Up @@ -173,7 +173,7 @@ def check_file_readable(*filenames):
)

parser.add_argument(
"--distort_image", dest="distort_image", help="--distort_image=true."
"--distort_image", dest="distort_image", help="set --distort_image=true."
)

tessdata_group = parser.add_argument_group(
Expand Down

0 comments on commit e21499e

Please sign in to comment.