📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Update README
SWHLdecf442df3fa
diff --git a/README.md b/README.mdindex 16ad46e..6ab2ec7 100755--- a/README.md+++ b/README.md@@ -23,7 +23,7 @@- [RapidOCR (捷智OCR)](#rapidocr-捷智ocr)- [简介](#简介)- [近期更新(more)](#近期更新more)- - [🎧2022-07-02 update:](#2022-07-02-update)+ - [🎧2022-07-10 update:](#2022-07-10-update)- [✨2022-07-07 update:](#2022-07-07-update)- [😁2022-07-05 update:](#2022-07-05-update)- [🏝2022-06-30 update:](#2022-06-30-update)@@ -63,7 +63,7 @@- 基于百度的开源PaddleOCR 模型及训练,任何人可以使用本推理库,也可以根据自己的需求使用百度的paddlepaddle框架进行模型优化。## 近期更新([more](./docs/change_log.md))-#### 🎧2022-07-02 update:+#### 🎧2022-07-10 update:- 添加onnxruntime-gpu的测试情况→[link](./python/README.md#onnxruntime-gpu版推理配置)- 添加benchamark测试集 → [link](./images/README.md)- 添加自动发布whl包的actions,当修改python/rapidocr_onnxruntime时,会自动更新发布whl包。具体使用方法参见[Whl README](./docs/doc_whl_en.md)diff --git a/docs/README_en.md b/docs/README_en.mdindex 4a55285..fa1343a 100644--- a/docs/README_en.md+++ b/docs/README_en.md@@ -22,7 +22,7 @@- [RapidOCR](#rapidocr)- [Introduction](#introduction)- [Recently updates(more)](#recently-updatesmore)- - [🎧2022-07-02 update:](#2022-07-02-update)+ - [🎧2022-07-10 update:](#2022-07-10-update)- [✨2022-07-07 update:](#2022-07-07-update)- [😁2022-07-05 update:](#2022-07-05-update)- [🏝2022-06-30 update:](#2022-06-30-update)@@ -61,7 +61,7 @@- Based on Baidu's open source PaddleOCR model and training, anyone can use this inference library, or use Baidu's paddlepaddle framework for model optimization according to their own needs.## Recently updates([more](./change_log_en.md))-#### 🎧2022-07-02 update:+#### 🎧2022-07-10 update:- Add test case for onnxruntime-gpu → [link](../python/README.md#onnxruntime-gpu version inference configuration)- Add benchamark test set → [link](../images/README.md)- Add actions to automatically publish whl packages, when modifying python/rapidocr_onnxruntime, it will automatically update the published whl packages. See [WHL README](../docs/doc_whl_en.md)diff --git a/docs/change_log_en.md b/docs/change_log_en.mdindex a14f8b4..19ac040 100644--- a/docs/change_log_en.md+++ b/docs/change_log_en.md@@ -1,3 +1,8 @@+#### 🎧2022-07-10 update:+- Add test case for onnxruntime-gpu → [link](../python/README.md#onnxruntime-gpu version inference configuration)+- Add benchamark test set → [link](../images/README.md)+- Add actions to automatically publish whl packages, when modifying python/rapidocr_onnxruntime, it will automatically update the published whl packages. See [WHL README](../docs/doc_whl_en.md)+#### ✨2022-07-07 update:- Fix the bug of v3 rec inference in python version, and merge v3 rec and v2 rec into the same set of inference code, which is more concise and convenient.- Add unit test under python module.diff --git a/python/rapidocr_onnxruntime/__init__.py b/python/rapidocr_onnxruntime/__init__.pyindex 90121b5..e0e6353 100644--- a/python/rapidocr_onnxruntime/__init__.py+++ b/python/rapidocr_onnxruntime/__init__.py@@ -1,4 +1,4 @@# -*- encoding: utf-8 -*-# @Author: SWHL# @Contact: [email protected]-from .rapid_ocr_api import TextSystem\ No newline at end of file+from .rapid_ocr_api import TextSystemdiff --git a/python/setup.py b/python/setup.pyindex f3e12b0..96712aa 100644--- a/python/setup.py+++ b/python/setup.py@@ -11,8 +11,8 @@ def get_latest_version(package_name):capture_output=True)output = output.stdout.decode('utf-8')if output:- output = list(filter(lambda x: len(x) > 0, output.split('\n')))- latest_version = output[-1].split(':')[1].strip()+ output = list(filter(lambda x: len(x) > 0, output.split('\r\n')))+ latest_version = output[0].split(' ')[-1][1:-1]return latest_versionelse:return None@@ -39,9 +39,9 @@ def get_readme():module_name = 'rapidocr_onnxruntime'latest_version = get_latest_version(module_name)+print(latest_version)version_num = version_add_one(latest_version)-setuptools.setup(name=module_name,version=version_num,