From 800b16beff3e51de150b341613e6beac754bfcd9 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Tue, 8 Oct 2024 18:36:53 +0200 Subject: [PATCH] keep only one example Signed-off-by: Michele Dolfi --- examples/custom_convert.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/custom_convert.py b/examples/custom_convert.py index 59724120..263a9840 100644 --- a/examples/custom_convert.py +++ b/examples/custom_convert.py @@ -125,19 +125,19 @@ def main(): # Docling Parse with Tesseract # ---------------------- - pipeline_options = PipelineOptions() - pipeline_options.do_ocr = True - pipeline_options.do_table_structure = True - pipeline_options.table_structure_options.do_cell_matching = True - pipeline_options.ocr_options = TesseractOcrOptions() + # pipeline_options = PipelineOptions() + # pipeline_options.do_ocr = True + # pipeline_options.do_table_structure = True + # pipeline_options.table_structure_options.do_cell_matching = True + # pipeline_options.ocr_options = TesseractOcrOptions() # Docling Parse with Tesseract CLI # ---------------------- - pipeline_options = PipelineOptions() - pipeline_options.do_ocr = True - pipeline_options.do_table_structure = True - pipeline_options.table_structure_options.do_cell_matching = True - pipeline_options.ocr_options = TesseractCliOcrOptions() + # pipeline_options = PipelineOptions() + # pipeline_options.do_ocr = True + # pipeline_options.do_table_structure = True + # pipeline_options.table_structure_options.do_cell_matching = True + # pipeline_options.ocr_options = TesseractCliOcrOptions() doc_converter = DocumentConverter( pipeline_options=pipeline_options,