5
0
mirror of https://github.com/sml2h3/ddddocr.git synced 2025-05-05 05:12:18 +08:00

ddddocr模型升级

This commit is contained in:
sml2h3 2021-12-21 17:14:30 +08:00
parent 6f8d5b103e
commit b7b7aac64e
2 changed files with 5 additions and 3 deletions

View File

@ -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`
> 说明,当 `img_bytes``img_base64` 都存在时,优先使用 `img_bytes`
> 如果使用GPU需要自行安装cuda和cudnn并在安装完ddddocr时执行 <br>`pip uninstall onnxrumtime`<br>然后手动执行<br>`pip install onnxruntime-gpu`

View File

@ -9,7 +9,7 @@
## 环境要求
`python >= 3.8`
`python <= 3.9`
`Windows/Linux..`