mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-13 22:40:53 +08:00
Update python/README
This commit is contained in:
1 parent
09d78c2c0e
commit
1cc7fbb943
3 files changed
+6
-2
No files matched your search
@@ -58,6 +58,9 @@
|
||||
1. 安装`rapidocr_onnxruntime`包
|
||||
```shell
|
||||
pip install rapidocr-onnxruntime
|
||||
|
||||
# or
|
||||
# pip install rapidocr-openvino
|
||||
```
|
||||
|
||||
2. 下载相关的模型和配置文件
|
||||
|
||||
@@ -37,6 +37,7 @@ def get_readme():
|
||||
readme = f.read()
|
||||
return readme
|
||||
|
||||
|
||||
module_name = 'rapidocr_onnxruntime'
|
||||
latest_version = get_latest_version(module_name)
|
||||
version_num = version_add_one(latest_version)
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ import cv2
|
||||
import numpy as np
|
||||
from PIL import Image, ImageDraw, ImageFont
|
||||
|
||||
# from rapidocr_onnxruntime import TextSystem
|
||||
from rapidocr_openvino import TextSystem
|
||||
from rapidocr_onnxruntime import TextSystem
|
||||
# from rapidocr_openvino import TextSystem
|
||||
|
||||
|
||||
def draw_ocr_box_txt(image, boxes, txts, font_path,
|
||||
|
||||
Reference in new issue
Block a user