PP-OCRv6 small ONNX models

The text detection and recognition models of PaddlePaddle's PaddleOCR PP-OCRv6, small size, in ONNX format for ONNX Runtime and RapidOCR.

These are unchanged copies of the files that RapidOCR 3.9.2 downloads from its model store. Their SHA-256 match RapidOCR's default_models.yaml.

File Size Use
PP-OCRv6_det_small.onnx 10 MB finds text lines
PP-OCRv6_rec_small.onnx 21 MB reads text; the character list (18,708 entries) is stored in the model's character metadata

MANIFEST.json lists each file's size and SHA-256.

Use with RapidOCR

from rapidocr import RapidOCR

engine = RapidOCR(params={
    "Det.model_path": "PP-OCRv6_det_small.onnx",
    "Rec.model_path": "PP-OCRv6_rec_small.onnx",
    "Global.use_cls": False,
})
result = engine("screenshot.png")
print(result.txts)

Source

Model PP-OCRv6 small, PaddlePaddle/PaddleOCR
Files RapidOCR model store, tag v3.9.2: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.9.2/onnx/PP-OCRv6/det/PP-OCRv6_det_small.onnx and .../rec/PP-OCRv6_rec_small.onnx

PaddlePaddle also publishes its own ONNX exports (det, rec). Those are different files from these.

License

Apache License 2.0, the license of PaddleOCR and RapidOCR. A copy is in LICENSE.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support