From b7b7aac64efcf9f16c9fa94f07214be15b60b80e Mon Sep 17 00:00:00 2001 From: sml2h3 Date: Tue, 21 Dec 2021 17:14:30 +0800 Subject: [PATCH] =?UTF-8?q?ddddocr=E6=A8=A1=E5=9E=8B=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++-- ddddocr/README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1d45395..874851d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ## 环境要求 -`python >= 3.8` +`python <= 3.9` `Windows/Linux..` @@ -50,4 +50,6 @@ print(res) | img_bytes | None | bytes 图片的bytes格式 | | img_base64 | None | 图片的 base64 编码值(不包含图片头) | -> 说明,当 `img_bytes` 和 `img_base64` 都存在时,优先使用 `img_bytes` \ No newline at end of file +> 说明,当 `img_bytes` 和 `img_base64` 都存在时,优先使用 `img_bytes` + +> 如果使用GPU,需要自行安装cuda和cudnn,并在安装完ddddocr时执行
`pip uninstall onnxrumtime`
然后手动执行
`pip install onnxruntime-gpu` \ No newline at end of file diff --git a/ddddocr/README.md b/ddddocr/README.md index 55561d2..874851d 100644 --- a/ddddocr/README.md +++ b/ddddocr/README.md @@ -9,7 +9,7 @@ ## 环境要求 -`python >= 3.8` +`python <= 3.9` `Windows/Linux..`