fix(rapidocr): complete parsing parameters

This commit is contained in:
SWHL committed 2025-03-09 10:06:04 +08:00
1 parent 6b79d0cfbe
commit 2a420e013e
7 files changed
+102 -131

No files matched your search

+2 -2
View File
@@ -79,11 +79,11 @@ def test_error_lang():
def test_lang():
engine = get_engine(params={"Global.lang": "en"})
engine = get_engine(params={"Global.lang_rec": "en_mobile"})
img_path = tests_dir / "en.jpg"
result = engine(img_path)
assert result.txts is not None
assert result.txts[0] == "MovieShots Dataset"
assert result.txts[0] == "3"
def test_engine_openvino():