PP-OCRv6 medium ONNX models
The text detection and recognition models of PaddlePaddle's PaddleOCR PP-OCRv6, medium 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_medium.onnx | 62 MB | finds text lines |
PP-OCRv6_rec_medium.onnx | 77 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_medium.onnx",
"Rec.model_path": "PP-OCRv6_rec_medium.onnx",
"Global.use_cls": False,
})
result = engine("screenshot.png")
print(result.txts)
Source
| Model | PP-OCRv6 medium, 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_medium.onnx and .../rec/PP-OCRv6_rec_medium.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.