Skip to content

Commit e21499e

Browse files
committed
Set default value for distort_image
1 parent af7a97e commit e21499e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/training/tesstrain_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self):
5353
self.linedata = False
5454
self.run_shape_clustering = False
5555
self.extract_font_properties = True
56-
56+
self.distort_image = True
5757

5858
def err_exit(msg):
5959
log.critical(msg)
@@ -173,7 +173,7 @@ def check_file_readable(*filenames):
173173
)
174174

175175
parser.add_argument(
176-
"--distort_image", dest="distort_image", help="--distort_image=true."
176+
"--distort_image", dest="distort_image", help="set --distort_image=true."
177177
)
178178

179179
tessdata_group = parser.add_argument_group(

0 commit comments

Comments
 (0)