mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 12:34:22 +00:00
keep only one example
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
bb8cd0f7fc
commit
800b16beff
@ -125,19 +125,19 @@ def main():
|
|||||||
|
|
||||||
# Docling Parse with Tesseract
|
# Docling Parse with Tesseract
|
||||||
# ----------------------
|
# ----------------------
|
||||||
pipeline_options = PipelineOptions()
|
# pipeline_options = PipelineOptions()
|
||||||
pipeline_options.do_ocr = True
|
# pipeline_options.do_ocr = True
|
||||||
pipeline_options.do_table_structure = True
|
# pipeline_options.do_table_structure = True
|
||||||
pipeline_options.table_structure_options.do_cell_matching = True
|
# pipeline_options.table_structure_options.do_cell_matching = True
|
||||||
pipeline_options.ocr_options = TesseractOcrOptions()
|
# pipeline_options.ocr_options = TesseractOcrOptions()
|
||||||
|
|
||||||
# Docling Parse with Tesseract CLI
|
# Docling Parse with Tesseract CLI
|
||||||
# ----------------------
|
# ----------------------
|
||||||
pipeline_options = PipelineOptions()
|
# pipeline_options = PipelineOptions()
|
||||||
pipeline_options.do_ocr = True
|
# pipeline_options.do_ocr = True
|
||||||
pipeline_options.do_table_structure = True
|
# pipeline_options.do_table_structure = True
|
||||||
pipeline_options.table_structure_options.do_cell_matching = True
|
# pipeline_options.table_structure_options.do_cell_matching = True
|
||||||
pipeline_options.ocr_options = TesseractCliOcrOptions()
|
# pipeline_options.ocr_options = TesseractCliOcrOptions()
|
||||||
|
|
||||||
doc_converter = DocumentConverter(
|
doc_converter = DocumentConverter(
|
||||||
pipeline_options=pipeline_options,
|
pipeline_options=pipeline_options,
|
||||||
|
Loading…
Reference in New Issue
Block a user