ONNX-based OCR (PP-OCRv5) inference pipeline with DirectML support.
Project description
这是 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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
onnxocr_ppocrv4-0.0.4.tar.gz
(14.4 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onnxocr_ppocrv4-0.0.4.tar.gz.
File metadata
- Download URL: onnxocr_ppocrv4-0.0.4.tar.gz
- Upload date:
- Size: 14.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5043fd8884e778acda045ff76eaf29c21e606ac0024d760b98589b17e8965948
|
|
| MD5 |
2796f1d829751954024081fb4bf50db1
|
|
| BLAKE2b-256 |
c6403aea9acd02b80dbabc53613a46e416b2a3fd77e548f75732f2937c95faee
|
File details
Details for the file onnxocr_ppocrv4-0.0.4-py3-none-any.whl.
File metadata
- Download URL: onnxocr_ppocrv4-0.0.4-py3-none-any.whl
- Upload date:
- Size: 14.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
471a098abcfe9ba44b8e39b293fb7456cc6bc8b3a39c934720fba0436384ae41
|
|
| MD5 |
d522a755bb9f4b5d95f505994fbfbc66
|
|
| BLAKE2b-256 |
4192071c3b3ee435915c95f2c20bdc11c19fc22e4b0aa131d231c4dc8ccb3ebf
|