📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
tests(rapidocr): update tests of ch_doc_server
SWHL4d35ed272a11
diff --git a/python/tests/test_main.py b/python/tests/test_main.pyindex 2cd5d53..fb7862e 100644--- a/python/tests/test_main.py+++ b/python/tests/test_main.py@@ -41,6 +41,7 @@ def test_ch_doc_server():img_path = tests_dir / "ch_doc_server.png"engine = RapidOCR(params={"Global.lang_rec": "ch_doc_server"})result = engine(img_path)+ assert result.txts is not Noneassert result.txts[0] == "嫖娼"