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.7.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.7-py3-none-any.whl (19.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onnxocr_ppocrv5-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 b7b0da24499f57e2272c397d92bd45e36c19bb384ab1e78fe6e7b81e776ea1f7
MD5 318d7c89ae71965690d6aaabd4dc39f2
BLAKE2b-256 cfe329b85ebd50eeda6828fd7689790eed93dc1040493d79933a30eb26e70d62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onnxocr_ppocrv5-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 754c95fc956e8a8d4826fde449e7f4fbb8e57afd27b06cd61c63db141f0da08f
MD5 126804abc0afdae160efa1246ecb318b
BLAKE2b-256 3ef4d2f1e2bf4b87ff7a37138f3eae83926958562534a8da914b5b9f909fe6c0

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