mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-10 21:10:55 +08:00
fix(rapidocr): complete parsing parameters
This commit is contained in:
1 parent
6b79d0cfbe
commit
2a420e013e
7 files changed
+102
-131
No files matched your search
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user