fix(rapidocr): use correct parameter name for rec_keys_path (#2762)

* fix(rapidocr): use correct parameter name for rec_keys_path

* DCO Remediation Commit for 0xFrama <ediscepolo@protonmail.com> I, 0xFrama <ediscepolo@protonmail.com>, hereby add my Signed-off-by to this commit: 1c9cd2a3ba

Signed-off-by: 0xFrama <ediscepolo@protonmail.com>

---------

Signed-off-by: 0xFrama <ediscepolo@protonmail.com>
This commit is contained in:
Francesco
2025-12-10 16:44:10 +01:00
committed by GitHub
parent a97d950d74
commit 1d78418cef

View File

@@ -196,7 +196,7 @@ class RapidOcrModel(BaseOcrModel):
# Recognition model settings
"Rec.model_path": rec_model_path,
"Rec.font_path": self.options.rec_font_path,
"Rec.keys_path": rec_keys_path,
"Rec.rec_keys_path": rec_keys_path,
"Rec.use_cuda": use_cuda,
"Rec.use_dml": use_dml,
"Rec.intra_op_num_threads": intra_op_num_threads,