📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Fix python/README bug
SWHLda42964a6167
diff --git a/python/README.md b/python/README.mdindex 7c11e9e..67cca5b 100755--- a/python/README.md+++ b/python/README.md@@ -78,6 +78,8 @@4. 运行示例- 接口调用```python+ import cv2+# 基于onnxruntime引擎推理from rapidocr_onnxruntime import TextSystem@@ -90,8 +92,9 @@image_path = r'test_images/det_images/ch_en_num.jpg'img = cv2.imread(image_path)dt_boxes, rec_res = text_sys(img)+ print(rec_res)```- - 直接运行`test_demo.py`+ - 直接运行`test_demo.py`,可直接可视化查看结果。```bashpython test_demp.py```diff --git a/python/test_demo.py b/python/test_demo.pyindex 95067ed..a7697ad 100644--- a/python/test_demo.py+++ b/python/test_demo.py@@ -95,6 +95,7 @@ if __name__ == '__main__':image_path = r'test_images/det_images/ch_en_num.jpg'img = cv2.imread(image_path)dt_boxes, rec_res = text_sys(img)+ print(rec_res)visualize(image_path, dt_boxes, rec_res,font_path='resources/fonts/msyh.ttc')