We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f07114 commit c6ae148Copy full SHA for c6ae148
docs/examples/custom_convert.py
@@ -80,6 +80,20 @@ def main():
80
}
81
)
82
83
+ # Docling Parse with EasyOCR (CPU only)
84
+ # ----------------------
85
+ pipeline_options = PdfPipelineOptions()
86
+ pipeline_options.do_ocr = True
87
+ pipeline_options.ocr_options.use_gpu = False
88
+ pipeline_options.do_table_structure = True
89
+ pipeline_options.table_structure_options.do_cell_matching = True
90
+
91
+ doc_converter = DocumentConverter(
92
+ format_options={
93
+ InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options)
94
+ }
95
+ )
96
97
# Docling Parse with Tesseract
98
# ----------------------
99
# pipeline_options = PdfPipelineOptions()
0 commit comments