Skip to content

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

docs: update quickstart command

SWHLf4c908262c3e
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr.yml b/.github/workflows/gen_whl_to_pypi_rapidocr.yml
index 25de7ef..7d43629 100644
--- a/.github/workflows/gen_whl_to_pypi_rapidocr.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapidocr.yml
@@ -34,7 +34,7 @@ jobs:
run: |
cd python
pip install -r requirements.txt
- pip install pytest wheel get_pypi_latest_version openvino==2023.3.0
+ pip install pytest wheel get_pypi_latest_version openvino==2023.3.0 onnxruntime
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
python -m pip install paddlepaddle==3.0.0rc1 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/
diff --git a/README.md b/README.md
index 8640240..30a52ca 100755
--- a/README.md
+++ b/README.md
@@ -56,6 +56,7 @@ If our repository proves beneficial to your endeavors, kindly consider leaving a
### Installation
```bash
+pip install onnxruntime
pip install rapidocr
```
@@ -70,7 +71,7 @@ img_url = "https://github.com/RapidAI/RapidOCR/blob/main/python/tests/test_files
result = engine(img_url)
print(result)
-result.vis()
+result.vis("vis_result.jpg")
```
### Documentation
diff --git a/docs/README_zh.md b/docs/README_zh.md
index 9027ba7..af52f5f 100644
--- a/docs/README_zh.md
+++ b/docs/README_zh.md
@@ -57,6 +57,7 @@
### 安装
```bash
+pip install onnxruntime
pip install rapidocr
```
@@ -71,7 +72,7 @@ img_url = "https://github.com/RapidAI/RapidOCR/blob/main/python/tests/test_files
result = engine(img_url)
print(result)
-result.vis()
+result.vis("vis_result.jpg")
```
### 文档