Skip to main content

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_ppocrv5-0.0.8.tar.gz (19.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onnxocr_ppocrv5-0.0.8-py3-none-any.whl (19.2 MB view details)

Uploaded Python 3

File details

Details for the file onnxocr_ppocrv5-0.0.8.tar.gz.

File metadata

  • Download URL: onnxocr_ppocrv5-0.0.8.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

Hashes for onnxocr_ppocrv5-0.0.8.tar.gz
Algorithm Hash digest
SHA256 73a354b4cd7ce8b6accf033b7fe2c5d62799f0a8e0c5ad04ea1ca4dfe5f78b7b
MD5 bad4f774b213d0cbaa8dc55301031059
BLAKE2b-256 202903439ac996a4de4ccc490014c3947b69e466746094ba2a9cf0a054712edf

See more details on using hashes here.

File details

Details for the file onnxocr_ppocrv5-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for onnxocr_ppocrv5-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d4f0658ea7b76117234ea0eeeea573aaeb7b49901654f3c0f44fd161df976330
MD5 970c0ee1b3edf90eb67c5ec041fcc159
BLAKE2b-256 3cdee5356aae348958c6dd93a26865160c883439c28c7ad1639f22a324036138

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page