Move Tesseract options validation into plugin

This commit is contained in:
James R. Barlow
2020-05-25 01:31:46 -07:00
parent 9bccff4f88
commit a0f9ca3a30
5 changed files with 55 additions and 40 deletions
-2
View File
@@ -323,8 +323,6 @@ def run_pipeline(options, *, plugin_manager, api=False):
original_filename, start_input_file, work_folder / 'origin.pdf', options
)
plugin_manager.hook.prepare(options=options)
# Gather pdfinfo and create context
pdfinfo = get_pdfinfo(
origin_pdf,