这是 https://github.com/jingsongliujing/OnnxOCR 的fork
- 发布了到PIP上
- 支持dml
- 仅依赖无版本限制的 pyclipper, shapely, pillow
- onnx可以根据自己需要安装cpu, gpu或directml
- 仅打包了"models/ppocrv5/det/det.onnx" "models/ppocrv5/rec/rec.onnx", 没有cls模型
pip install onnxocr-ppocrv5
pip install onnxocr-ppocrv4
# 新增use_dml
model = ONNXPaddleOcr(use_angle_cls=False, use_gpu=False, use_dml=True)
Release files for onnxocr-ppocrv4 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| onnxocr_ppocrv4-0.0.5.tar.gz | 14.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onnxocr_ppocrv4-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.8 MB
Release files / onnxocr_ppocrv4-0.0.5.tar.gz
| Download URL | onnxocr_ppocrv4-0.0.5.tar.gz |
|---|---|
| Size | 14.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
003b8c53556ea08680805984f7f6b33f323b842d7fa7e3681510002196dafd31
|
|
BLAKE2b-256 checksum How to use checksums |
5807cb4bb51db2698db9663ac4c2cb2b1dd7430e2ca1a64c9e82b352146ddd6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / onnxocr_ppocrv4-0.0.5-py3-none-any.whl
| Download URL | onnxocr_ppocrv4-0.0.5-py3-none-any.whl |
|---|---|
| Size | 14.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7c85e7bed54bba8e846f30a75885e439bd0184a776009a055d95ded74a59dac
|
|
BLAKE2b-256 checksum How to use checksums |
1d2692a01534f182577e87226637df0ee42c8442c9fdfc41b81ebb1caabf54d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|