tesseract: don't explicitly set lstm_use_matrix

Apparently tesseract does this own its own as needed.
This commit is contained in:
James R. Barlow 2020-01-04 01:17:33 -08:00
parent 6faa8f7221
commit 599028bebb

View File

@ -275,9 +275,6 @@ def generate_hocr(
if user_patterns:
args_tesseract.extend(['--user-patterns', user_patterns])
if user_words or user_patterns:
args_tesseract.extend(['-c', 'lstm_use_matrix=1'])
# Reminder: test suite tesseract spoofers will break after any changes
# to the number of order parameters here
args_tesseract.extend([input_file, prefix, 'hocr', 'txt'] + tessconfig)