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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
onnxocr_ppocrv5-0.0.6.tar.gz
(19.2 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_ppocrv5-0.0.6.tar.gz.
File metadata
- Download URL: onnxocr_ppocrv5-0.0.6.tar.gz
- Upload date:
- Size: 19.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8034770d67cb33cfa200c6dcc03bc79e20fc5a7f8e1b48f4975238c3d8083630
|
|
| MD5 |
93d23aa4e37346d1937a19a72baa742f
|
|
| BLAKE2b-256 |
c931cd2e909820128e9197b9279c6d0392b215f345ebcb6021508a9cdcbe6d65
|
File details
Details for the file onnxocr_ppocrv5-0.0.6-py3-none-any.whl.
File metadata
- Download URL: onnxocr_ppocrv5-0.0.6-py3-none-any.whl
- Upload date:
- Size: 19.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ced6288b06f7407e29b8e303d183b97f6ef6b5c406aca6a6c325056b2cbfc8b
|
|
| MD5 |
6a8681b472d2db312065129476acf4c1
|
|
| BLAKE2b-256 |
768ee88dfca17ffeab515cec55a7b00c3a4010e5962920c403e20e20db7aa7d8
|