-
如何识别除中英文以外的其他字幕语言? | RapidVideOCR Documentation引言 link
https://swhl.github.io/RapidVideOCR/docs/blog/-rec_other_lan/ |
Beta Was this translation helpful? Give feedback.
Answered by
989829889
Aug 22, 2025
Replies: 1 comment 2 replies
-
|
按以上操作,会报错: File D:\anaconda3\Lib\site-packages\omegaconf\dictconfig.py:480, in DictConfig._get_node(self, key, validate_access, validate_key, throw_on_missing_value, throw_on_missing_key)
478 if value is None:
479 if throw_on_missing_key:
--> 480 raise ConfigKeyError(f"Missing key {key!s}")
481 elif throw_on_missing_value and value._is_missing():
482 raise MissingMandatoryValue("Missing mandatory value: $KEY")
ConfigKeyError: Missing key dict_url
full_key: onnxruntime.PP-OCRv4.rec.ch_PP-OCRv4_rec_infer.onnx.dict_url
object_type=dict |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已经好了,需要修改成:
input_args = RapidVideOCRInput(
is_batch_rec=False,
ocr_params={
"Rec.model_path": "对应语言模型.onnx",
"Rec.rec_keys_path": "对应语言_dict.txt",
"Rec.lang_type": LangRec.对应语言
},
)