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:
Christoph Auer 2024-12-17 14:07:58 +01:00
commit b7f94183f1
3 changed files with 3 additions and 1 deletions

View File

@ -142,6 +142,7 @@ class EasyOcrOptions(OcrOptions):
confidence_threshold: float = 0.65
model_storage_directory: Optional[str] = None
recog_network: Optional[str] = "standard"
download_enabled: bool = True
model_config = ConfigDict(

View File

@ -66,6 +66,7 @@ class EasyOcrModel(BaseOcrModel):
lang_list=self.options.lang,
gpu=use_gpu,
model_storage_directory=self.options.model_storage_directory,
recog_network=self.options.recog_network,
download_enabled=self.options.download_enabled,
verbose=False,
)

View File

@ -75,7 +75,7 @@ nav:
- "Table export": examples/export_tables.py
- "Multimodal export": examples/export_multimodal.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:
- "Hybrid chunking": examples/hybrid_chunking.ipynb
- RAG / QA: