mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 12:48:28 +00:00
feat: output page images and extracted bbox (#31)
* Add assemble options and example saving pages and figures Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * add options for different page elements, improve example and flip name of assemble_options Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> --------- Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
@@ -265,3 +265,9 @@ class PipelineOptions(BaseModel):
|
||||
do_ocr: bool = False # True: perform OCR, replace programmatic PDF text
|
||||
|
||||
table_structure_options: TableStructureOptions = TableStructureOptions()
|
||||
|
||||
|
||||
class AssembleOptions(BaseModel):
|
||||
keep_page_images: bool = (
|
||||
False # False: page images are removed in the assemble step
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user