mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 12:48:28 +00:00
fix: RapidOcr ensure backwards compatibility and add deprecation note
This commit is contained in:
@@ -114,6 +114,7 @@ class RapidOcrOptions(OcrOptions):
|
||||
cls_model_path: Optional[str] = None # same default as rapidocr
|
||||
rec_model_path: Optional[str] = None # same default as rapidocr
|
||||
rec_keys_path: Optional[str] = None # same default as rapidocr
|
||||
rec_font_path: Optional[str] = None # Deprecated with new RapidOCR Version please use font_path instead
|
||||
font_path: Optional[str] = None # same default as rapidocr
|
||||
|
||||
# Dictionary to overwrite or pass-through additional parameters
|
||||
|
||||
Reference in New Issue
Block a user