Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

Update pypi setting.

SWHLe8f4586f3c61
diff --git a/docs/doc_whl_en.md b/docs/doc_whl_en.md
index 8aeaf40..d2509b0 100644
--- a/docs/doc_whl_en.md
+++ b/docs/doc_whl_en.md
@@ -1,39 +1,41 @@
## rapidocr-onnxruntime Package
+<p>
+ <a href=""><img src="https://img.shields.io/badge/Python-3.6+-aff.svg"></a>
+ <a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>
+</p>
-### Install package by pypi.
+### 1. Install package by pypi.
```bash
pip install rapidocr-onnxruntime
```
-### Download the models and config yaml.
+### 2. Download the models and config yaml.
```bash
-wget https://github.com/RapidAI/RapidOCR/releases/download/v1.0.0/required_for_whl_v1.0.0.zip
+wget https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.1.0.zip
-# or by gitee
+# or by gitee
# wget https://gitee.com/RapidAI/RapidOCR/attach_files/1126710/download/required_for_whl_v1.0.0.zip
-unzip required_for_whl_v1.0.0.zip
-cd required_for_whl_v1.0.0
-
-```
-- The final directory of the folder:
-```text
-required_for_whl_v1.0.0/
-β”œβ”€β”€ config.yaml
-β”œβ”€β”€ README.md
-β”œβ”€β”€ test_demo.py
-β”œβ”€β”€ resources
-β”‚ β”œβ”€β”€ models
-β”‚ β”‚ β”œβ”€β”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
-β”‚ β”‚ β”œβ”€β”€ ch_PP-OCRv3_det_infer.onnx
-β”‚ β”‚ └── ch_PP-OCRv3_rec_infer.onnx
-β”‚ └── rec_dict
-β”‚ └── ppocr_keys_v1.txt
-└── test_images
- └── ch_en_num.jpg
+unzip required_for_whl_v1.1.0.zip
+cd required_for_whl_v1.1.0
```
-### Use by python script.
+- The final directory of the folder:
+ ```text
+ required_for_whl_v1.1.0/
+ β”œβ”€β”€ config.yaml
+ β”œβ”€β”€ README.md
+ β”œβ”€β”€ test_demo.py
+ β”œβ”€β”€ resources
+ β”‚ └── models
+ β”‚ β”œβ”€β”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
+ β”‚ β”œβ”€β”€ ch_PP-OCRv3_det_infer.onnx
+ β”‚ └── ch_PP-OCRv3_rec_infer.onnx
+ └── test_images
+ └── ch_en_num.jpg
+ ```
+
+### 3. Use.
```python
import cv2
from rapidocr_onnxruntime import TextSystem
diff --git a/python/setup.py b/python/setup.py
index 5863c73..a5ac8ba 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -39,7 +39,6 @@ def get_readme():
module_name = 'rapidocr_onnxruntime'
latest_version = get_latest_version(module_name)
-latest_version = '1.1.-1'
version_num = version_add_one(latest_version)
setuptools.setup(
@@ -60,7 +59,7 @@ setuptools.setup(
package_dir={'': module_name},
packages=setuptools.find_packages(where=module_name),
keywords=[
- 'ocr textdetection textrecognition crnn east star-net rosetta ocrlite db chineseocr chinesetextdetection chinesetextrecognition'
+ 'ocr text_detection text_recognition db onnxruntime paddleocr openvino'
],
)