paddleocr-onnx-reader
ONNX Runtime reader for PaddleOCR PP-OCRv5/PP-OCRv6 detection, optional angle classification, and recognition models.
Grab the PP-OCRv6 ONNX models from the PaddlePaddle PP-OCRv6 collection on Hugging Face, e.g.:
wget -O PP-OCRv6_small_det.onnx https://huggingface.co/PaddlePaddle/PP-OCRv6_small_det_onnx/resolve/main/inference.onnx
wget -O PP-OCRv6_small_rec.onnx https://huggingface.co/PaddlePaddle/PP-OCRv6_small_rec_onnx/resolve/main/inference.onnx
import onnxruntime as ort
from PIL import Image
from paddleocr_onnx_reader import PaddleOCRReader
reader = PaddleOCRReader(
detector=ort.InferenceSession("PP-OCRv6_small_det.onnx"),
recognizer=ort.InferenceSession("PP-OCRv6_small_rec.onnx"),
)
for region in reader(Image.open("image.jpg")):
best = region.candidates[0] # candidates are sorted best first
print(region.box, best.text, best.confidence)
Metadata
Release files for paddleocr-onnx-reader 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| paddleocr_onnx_reader-0.1.0.tar.gz | 108.5 kB | Without provenance | Details for paddleocr_onnx_reader-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| paddleocr_onnx_reader-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for paddleocr_onnx_reader-0.1.0-py3-none-any.whl |
Total release size: 219.9 kB
Release files / paddleocr_onnx_reader-0.1.0.tar.gz
| Download URL | paddleocr_onnx_reader-0.1.0.tar.gz |
|---|---|
| Size | 108.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70f3e99ec96c520d3c5cde1995e714c90ec48fd72841eec60c202a646613b7c3
|
|
BLAKE2b-256 checksum How to use checksums |
97c7079d4e8754bb25e4ce8a69899b91555371b585c0d611525ca14c4d682504
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / paddleocr_onnx_reader-0.1.0-py3-none-any.whl
| Download URL | paddleocr_onnx_reader-0.1.0-py3-none-any.whl |
|---|---|
| Size | 111.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
738f764bcd14ac4efa67c8f6f45f1767db0f917a8c9a2f56e0259e818df30c8d
|
|
BLAKE2b-256 checksum How to use checksums |
b8ebf5e122fbbe72c1ceb64d2adbf1758637782a526b480b471a8f0eb0511bd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for paddleocr-onnx-reader 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.