Update module_ocr.py
Browse files- module_ocr.py +1 -1
module_ocr.py
CHANGED
@@ -89,7 +89,7 @@ def process(
|
|
89 |
output_path = os.path.join(output_dir, output_path)
|
90 |
|
91 |
if input_file_suffix == '.pdf':
|
92 |
-
output_pdf = ocr.pdf_scanner.
|
93 |
pdf_path=input_file,
|
94 |
output_path=output_path,
|
95 |
language=language,
|
|
|
89 |
output_path = os.path.join(output_dir, output_path)
|
90 |
|
91 |
if input_file_suffix == '.pdf':
|
92 |
+
output_pdf = ocr.pdf_scanner.pdf_to_searchable_pdf(
|
93 |
pdf_path=input_file,
|
94 |
output_path=output_path,
|
95 |
language=language,
|