/onnx-ocr

Primary LanguagePython

PGNet ONNX Inference (Based on PaddleOCR)

This is PGNET's onnxruntime inference implementation of PaddleOCR.

Setup

pip install -r requirements.txt
wget https://github.com/kuroko1t/onnx-ocr/releases/download/0.1/pgnet.onnx

Run

python inference_pgnet.py pgnet.onnx img_path

Result

Original Result
image0 image1