Fix recent versions of tesseract not registering as textonly_pdf
This change happened sometime after the 4.0.0-beta1 release in Ubuntu 18.04
This commit is contained in:
@@ -69,7 +69,8 @@ def has_textonly_pdf():
|
||||
"""
|
||||
args_tess = [
|
||||
'tesseract',
|
||||
'--print-parameters'
|
||||
'--print-parameters',
|
||||
'pdf'
|
||||
]
|
||||
params = ''
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user