fix: RapidOcr ensure backwards compatibility and add deprecation note

This commit is contained in:
David Morady
2025-09-15 11:48:43 +02:00
parent cc754afc29
commit 0a65eed28a

View File

@@ -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