📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Update README
SWHL7ea37a9dbb94
diff --git a/README.md b/README.mdindex a377302..1d40d3f 100755--- a/README.md+++ b/README.md@@ -71,6 +71,7 @@- [自定义识别模型](https://github.com/RapidAI/RapidOCR/wiki/support_language)- [ONNXRuntime推理调优指南](https://github.com/RapidAI/RapidOCR/wiki/ONNXRuntime%E6%8E%A8%E7%90%86%E8%B0%83%E4%BC%98%E6%8C%87%E5%8D%97)- [RapidOCR调优尝试教程](https://github.com/RapidAI/RapidOCR/wiki/RapidOCR%E8%B0%83%E4%BC%98%E5%B0%9D%E8%AF%95%E6%95%99%E7%A8%8B)+ - [OpenVINO推理](https://github.com/RapidAI/RapidOCR/wiki/openvino%E6%8E%A8%E7%90%86)- [config.yaml参数详解](https://github.com/RapidAI/RapidOCR/wiki/config_parameter)- [Python范例](https://github.com/RapidAI/RapidOCR/blob/main/python/README.md)- [C++范例(Windows/Linux/macOS)](https://github.com/RapidAI/RapidOCR/blob/main/cpp)diff --git a/python/README.md b/python/README.mdindex ef3cdbb..4d0e35f 100755--- a/python/README.md+++ b/python/README.md@@ -37,21 +37,21 @@rec_img_shape: [3, 48, 320]rec_batch_num: 6```-- 关于openvino详细的使用方法,参见[openvino_readme](./rapidocr_openvino/README.md)。- 关于选择哪个推理引擎(onnxruntime 或者 openvino)?|推理引擎|推理速度更快|占用内存更少||:---:|:---:|:---:||onnxruntime||✓|- |openvino|✓|存在内存不释放的问题|+ |openvino|✓|存在内存不释放的问题,参见[wiki](https://github.com/RapidAI/RapidOCR/wiki/openvino%E5%85%A5%E9%97%A8)|### (推荐)pip安装快速使用-1. 安装`rapidocr`包- - <a href="https://pypi.org/project/rapidocr-onnxruntime/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr-onnxruntime?style=flat-square"></a> `rapidocr_onnxruntime` → `pip install rapidocr-onnxruntime`- - <a href="https://pypi.org/project/rapidocr-openvino/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr-openvino?style=flat-square"></a> `rapidocr_openvino` → `pip install rapidocr-openvino`- - 注意:两个包接口一致,只是推理引擎不同而已+1. 安装包(⚠️注意:两个包接口一致,只是推理引擎不同而已)+ |包名|版本|安装命令|+ |:---|:---:|:---|+ |`rapidocr_onnxruntime`|<a href="https://pypi.org/project/rapidocr-onnxruntime/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr-onnxruntime?style=flat-square"></a>|`pip install rapidocr-onnxruntime`|+ |`rapidocr_openvino`|<a href="https://pypi.org/project/rapidocr-openvino/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr-openvino?style=flat-square"></a>|`pip install rapidocr-openvino`|-2. 推理使用+1. 推理使用- 脚本使用:- 📌初始化RapidOCR可不提供`config.yaml`,默认使用**rapidocr_onnxruntime**目录下的。如有自定义需求,可直接通过初始化参数传入。详情参数参考命令行部分,和`config.yaml`基本对应。- 输入:`Union[str, np.ndarray, bytes, Path]`@@ -199,7 +199,6 @@└── resources└── fonts└── FZYTK.TTF-```3. 安装运行环境@@ -213,7 +212,7 @@pip install openvinopip install -r requirements.txt```- - Note: 在Windows端,Shapely库自动安装可能会有问题,解决方案参见[Q15](https://github.com/RapidAI/RapidOCR/blob/main/docs/FAQ.md#q-windows系统下装完环境之后运行示例程序之后报错oserror-winerror-126-找不到指定的模組)+ - ⚠️: 在Windows端,Shapely库自动安装可能会有问题,解决方案参见[Q15](https://github.com/RapidAI/RapidOCR/blob/main/docs/FAQ.md#q-windows系统下装完环境之后运行示例程序之后报错oserror-winerror-126-找不到指定的模組)4. 运行示例- 运行单元测试