Skip to content

📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

Update README

SWHLa58c64f8dcb6
diff --git a/.github/workflows/gen_whl_to_pypi_rapid_orientation.yml b/.github/workflows/gen_whl_to_pypi_rapid_orientation.yml
index f5f4847..8e56b00 100644
--- a/.github/workflows/gen_whl_to_pypi_rapid_orientation.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapid_orientation.yml
@@ -46,7 +46,7 @@ jobs:
move rapid_orientation_models\* python\rapid_structure\rapid_orientation\models\
cd python/rapid_structure
pip install -r requirements.txt
- pip install onnxruntime
+ pip install onnxruntime==1.12.1
cd tests
pytest test_orientation.py
@@ -75,15 +75,15 @@ jobs:
mv rapid_orientation_models/*.onnx rapid_orientation/models/
python setup_orientation.py bdist_wheel ${{ github.event.head_commit.message }}
- - name: Publish distribution 📦 to Test PyPI
- uses: pypa/[email protected]
- with:
- password: ${{ secrets.TEST_PYPI_API_TOKEN }}
- repository_url: https://test.pypi.org/legacy/
- packages_dir: python/rapid_structure/dist/
-
- # - name: Publish distribution 📦 to PyPI
+ # - name: Publish distribution 📦 to Test PyPI
# uses: pypa/[email protected]
# with:
- # password: ${{ secrets.RAPIDOCR_OPENVINO }}
+ # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
+ # repository_url: https://test.pypi.org/legacy/
# packages_dir: python/rapid_structure/dist/
+
+ - name: Publish distribution 📦 to PyPI
+ uses: pypa/[email protected]
+ with:
+ password: ${{ secrets.RAPIDOCR_OPENVINO }}
+ packages_dir: python/rapid_structure/dist/
diff --git a/README.md b/README.md
index cb41f7f..545852c 100755
--- a/README.md
+++ b/README.md
@@ -29,9 +29,9 @@
- [简介](#简介)
- [文档导航](#文档导航)
- [近期更新(more)](#近期更新more)
+ - [🎉2023-01-21 update:](#2023-01-21-update)
- [⚽2022-12-19 update:](#2022-12-19-update)
- [🤖2022-12-14 update:](#2022-12-14-update)
- - [🧻2022-11-20 update:](#2022-11-20-update)
- [生态框架](#生态框架)
- [在线demo](#在线demo)
- [TODO](#todo)
@@ -75,6 +75,7 @@
- [网页版OCR](./ocrweb/README.md)
- [多语言网页版OCR](./ocrweb_multi/README.md)
- [版面结构化](./python/rapid_structure/README.md)
+ - [含文本的图像方向分类](./python/rapid_structure/docs/README_Orientation.md)
- [版面分析](./python/rapid_structure/docs/README_Layout.md)
- [表格还原](./python/rapid_structure/docs/README_Table.md)
- 衍生项目
@@ -89,6 +90,9 @@
## 近期更新([more](./docs/change_log.md))
+#### 🎉2023-01-21 update:
+- \[python\] 添加含有文字的图像方向分类模块,具体参见[Rapid Orientation](./python/rapid_structure/docs/README_Orientation.md)
+
#### ⚽2022-12-19 update:
- \[python\] 添加表格结构还原模块,具体参见[Rapid Table](./python/rapid_structure/docs/README_Table.md)
@@ -97,9 +101,6 @@
- 详情参见:[README](./python/README.md#推荐pip安装快速使用)
- 优化ocrweb部分代码,统一ocrweb中`rapidocr_onnxruntime`包与`python`目录下的`rapidocr_onnxruntime`为一个
-#### 🧻2022-11-20 update:
-- \[python\] 添加版面分析部分,支持中文、英文和表格三种版面的检测分析。详情参见:[Rapid Structure](./python/rapid_structure/README.md)部分。
-
## 生态框架
```mermaid
diff --git a/docs/README_en.md b/docs/README_en.md
index 80f1d95..c3bf116 100644
--- a/docs/README_en.md
+++ b/docs/README_en.md
@@ -27,9 +27,9 @@
- [Introduction](#introduction)
- [Navigation](#navigation)
- [Recently updates(more)](#recently-updatesmore)
+ - [🎉 2023-01-21 update:](#-2023-01-21-update)
- [⚽2022-12-19 update:](#2022-12-19-update)
- [🤖2022-12-14 update:](#2022-12-14-update)
- - [🧻2022-11-20 update:](#2022-11-20-update)
- [Overall Framework](#overall-framework)
- [Demo](#demo)
- [TODO](#todo)
@@ -69,6 +69,7 @@
- [Web OCR](../ocrweb/README.md)
- [Multi Web OCR](../ocrweb_multi/README.md)
- [Structure](../python/rapid_structure/README.md)
+ - [orientation](../python/rapid_structure/docs/README_Orientation.md)
- [layout](../python/rapid_structure/docs/README_Layout.md)
- [table recovery](../python/rapid_structure/docs/README_Table.md)
- Derivatives
@@ -86,6 +87,9 @@
- [FAQ](../docs/FAQ.md)
## Recently updates([more](./change_log_en.md))
+#### 🎉 2023-01-21 update:
+- \[python\] Add an image orientation classification module containing text. For details, see [Rapid Orientation](../python/rapid_structure/docs/README_Orientation.md)
+
#### ⚽2022-12-19 update:
- \[python\] Add the table recovery module, See [Rapid Table](../python/rapid_structure/docs/README_Table.md) for details.
@@ -93,10 +97,6 @@
- \[python\] Move the configuration parameters and model into the module, and at the same time put the model into the whl package, which can be directly installed and used by pip, which is more convenient and quicker.
- For details, see: [README](../python/README.md#推荐pip安装快速使用)
-#### 🧻2022-11-20 update:
-- \[python\] Add the layout analysis part, which supports the detection and analysis of three layouts: Chinese, English and tables. See: [Rapid Structure](../python/rapid_structure/README.md) section for details.
-
-
## Overall Framework
```mermaid
flowchart LR
diff --git a/docs/change_log.md b/docs/change_log.md
index 50c3629..8fe2c19 100644
--- a/docs/change_log.md
+++ b/docs/change_log.md
@@ -1,12 +1,15 @@
+#### 🎉2023-01-21 update:
+- \[python\] 添加含有文字的图像方向分类模块,具体参见[Rapid Orientation](../python/rapid_structure/docs/README_Orientation.md)
+
#### ⚽2022-12-19 update:
-- \[python\] 添加表格结构还原模块,具体参见[Rapid Table](./python/rapid_structure/docs/README_Table.md)
+- \[python\] 添加表格结构还原模块,具体参见[Rapid Table](../python/rapid_structure/docs/README_Table.md)
#### 🤖2022-12-14 update:
- \[python\] 将配置参数和模型移到模块里面,同时将模型打到whl包内,可以直接pip安装使用,更加方便快捷。
- 详情参见:[README](../python/README.md#推荐pip安装快速使用)
#### 🧻2022-11-20 update:
-- \[python\] 添加版面分析部分,支持中文、英文和表格三种版面的检测分析。详情参见:[Rapid Structure](./python/rapid_structure/README.md)部分。
+- \[python\] 添加版面分析部分,支持中文、英文和表格三种版面的检测分析。详情参见:[Rapid Structure](../python/rapid_structure/README.md)部分。
#### 🎃2022-11-01 update:
- 添加Hugging Face Demo, 增加可以调节超参数的功能,详情可访问[Hugging Face Demo](https://huggingface.co/spaces/SWHL/RapidOCRDemo)
diff --git a/docs/change_log_en.md b/docs/change_log_en.md
index b2ea384..d67e78d 100644
--- a/docs/change_log_en.md
+++ b/docs/change_log_en.md
@@ -1,3 +1,6 @@
+#### 🎉 2023-01-21 update:
+- \[python\] Add an image orientation classification module containing text. For details, see [Rapid Orientation](../python/rapid_structure/docs/README_Orientation.md)
+
#### ⚽2022-12-19 update:
- \[python\] Add the table recovery module, See [Rapid Table](../python/rapid_structure/docs/README_Table.md) for details.