mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
Merge branch 'main' of github.com:DS4SD/docling into release_v3
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
commit
b7f94183f1
@ -142,6 +142,7 @@ class EasyOcrOptions(OcrOptions):
|
|||||||
confidence_threshold: float = 0.65
|
confidence_threshold: float = 0.65
|
||||||
|
|
||||||
model_storage_directory: Optional[str] = None
|
model_storage_directory: Optional[str] = None
|
||||||
|
recog_network: Optional[str] = "standard"
|
||||||
download_enabled: bool = True
|
download_enabled: bool = True
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
|
@ -66,6 +66,7 @@ class EasyOcrModel(BaseOcrModel):
|
|||||||
lang_list=self.options.lang,
|
lang_list=self.options.lang,
|
||||||
gpu=use_gpu,
|
gpu=use_gpu,
|
||||||
model_storage_directory=self.options.model_storage_directory,
|
model_storage_directory=self.options.model_storage_directory,
|
||||||
|
recog_network=self.options.recog_network,
|
||||||
download_enabled=self.options.download_enabled,
|
download_enabled=self.options.download_enabled,
|
||||||
verbose=False,
|
verbose=False,
|
||||||
)
|
)
|
||||||
|
@ -75,7 +75,7 @@ nav:
|
|||||||
- "Table export": examples/export_tables.py
|
- "Table export": examples/export_tables.py
|
||||||
- "Multimodal export": examples/export_multimodal.py
|
- "Multimodal export": examples/export_multimodal.py
|
||||||
- "Force full page OCR": examples/full_page_ocr.py
|
- "Force full page OCR": examples/full_page_ocr.py
|
||||||
- "Accelerator options": examples/run_with_acclerators.py
|
- "Accelerator options": examples/run_with_accelerator.py
|
||||||
- Chunking:
|
- Chunking:
|
||||||
- "Hybrid chunking": examples/hybrid_chunking.ipynb
|
- "Hybrid chunking": examples/hybrid_chunking.ipynb
|
||||||
- RAG / QA:
|
- RAG / QA:
|
||||||
|
Loading…
Reference in New Issue
Block a user