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

Uploaded Python 3

File details

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

File metadata

  • Download URL: onnxocr_ppocrv5-0.0.5.tar.gz
  • Upload date:
  • Size: 19.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for onnxocr_ppocrv5-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ae12e1d9beba7cdc1521a5c556f5d6d7cc6cbfa5a741ce7ec3be2250a86158ba
MD5 b56ecfbbc687701e0974a6441f8ec9d2
BLAKE2b-256 00775ed6d6b0118a7e0a892f671c71a7f797d920425fd350a0191da1656f40ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onnxocr_ppocrv5-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 99bc1c9d9fcf26bf1953bdada0114572d8e803e8cb4664fca11ff0bcebc06fca
MD5 d26888901f9dba18137c38b0675f76fe
BLAKE2b-256 17bd22209c4b557b911258af49ed26e2793dac8e743b241b139a90110adc96f1

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