pponnxcr - PaddlePaddle ONNXruntime OCR
OCR based on ONNX Runtime with PaddleOCR models
Refractor by @hgjazhgj for ppocr-onnx and implements:
- Update
recmodel to v3 - Remove all unnecessary components e.g.
draw-ocr - Add English, Japanese and TraditionalChinese language support
Install
pip install pponnxcr
Usage
from pponnxcr import TextSystem
import cv2
ZHS = TextSystem('zhs')
ZHT = TextSystem('zht')
JA = TextSystem('ja')
EN = TextSystem('en')
img = cv2.imread('test.png')
ZHS.ocr_single_line(img)
ZHS.ocr_lines([img, ...])
ZHS.detect_and_ocr(img)
License
Which means that unless commercially licensed, any modification or use of this project in any way requires open source
Reference
Metadata
Release files for pponnxocr 0.1
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 |
|---|---|---|---|---|
| pponnxocr-0.1.tar.gz | 19.1 MB | Without provenance | Details for pponnxocr-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pponnxocr-0.1-py3-none-any.whl | Python 3 | none | any | Details for pponnxocr-0.1-py3-none-any.whl |
Total release size: 38.3 MB
Release files / pponnxocr-0.1.tar.gz
| Download URL | pponnxocr-0.1.tar.gz |
|---|---|
| Size | 19.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed04aea6e4a3f7f95e27f0af6604bc04618331750a13188d19f4934a781a9098
|
|
BLAKE2b-256 checksum How to use checksums |
ebbe5e5b629869490dcfae4508e9a9d6d2afb80c3d387d13458fafa3a39ef366
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|
Release files / pponnxocr-0.1-py3-none-any.whl
| Download URL | pponnxocr-0.1-py3-none-any.whl |
|---|---|
| Size | 19.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
620d7b9edb53d3a9d588288243f999b481ec59b7559cdbe3188311edfe25dfa5
|
|
BLAKE2b-256 checksum How to use checksums |
963ea5e953edaa4835e73ed912310c5d36cdf42297344fd8860922aee7e07fad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|
Security for pponnxocr 0.1
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.