请求加入做种队列,或现在用 pf download anan19990108/pp-ocrv6-medium-rec-48x320-htp 获取(CLI 指南)。
Recognizes text from a 48 × 320 line crop. The Linux W8A8 builds run the learned layers on HTP with FP32 external tensors. Token decoding uses CTC on the host.
| Format | File | Precision and compatibility |
|---|---|---|
| ONNX FP32 | model.onnx | 76.49 MB · ONNX Runtime CPU |
| TFLite reference | model.tflite | Floating reference · 76.53 MB · Linux aarch64, QCS8550 HTP v73, QAIRT 2.47.0.260601, TFLite C 2.11.1 |
| TFLite INT8 | model_int8.tflite | 20.59 MB · Linux aarch64, QCS8550 HTP v73, QAIRT 2.47.0.260601, TFLite C 2.11.1 |
| QNN context | context_qnn.bin | 39.34 MB · Android, QCS8550 HTP v73, QAIRT 2.47 |
| QNN native INT8 | context_int8.bin | 19.94 MB · Linux aarch64, QCS8550 HTP v73, QAIRT 2.47.0.260601 |
| ONNX INT8 | model_int8.onnx, 20.18 MB | W8A8 QDQ, FP32 I/O · Linux aarch64, QCS8550 HTP v73, QAIRT 2.47.0.260601, ORT 1.24.4 QNN EP |
| QNN native INT8 | context_int8.bin, 20.08 MB | W8A8 · Android, QCS8550 HTP v73, QAIRT 2.47.0.260601, target-specific context |
Input/output and postprocessing · SHA256SUMS
Use an authenticated HF CLI. Put your input image in the downloaded model/ folder under the filename shown.
hf download anan19990108/pp-ocrv6-medium-rec-48x320-htp --revision 65faabadd14f74717918a426a2d7cd7ce949c02c --local-dir model
cd model
python -m pip install -r requirements.txt
python examples/infer.py . image.jpg
The CPU example decodes the input crop to text using the packaged dictionary.
Linux TFLite INT8 · Linux ONNX QNN EP and native INT8 · Android floating examples · Android INT8 examples
| Linux HTP scope | Subset | Exact accuracy | CER | p50 / p95 ms, float → INT8 |
|---|---|---|---|---|
ONNX QNN EP Session.Run |
100 crops | 66.00% → 64.00% | 13.43% → 14.52% | 46.224 / 46.688 → 4.775 / 4.796 |
| QNN native backend execute | 100 crops | 66.00% → 64.00% | 13.43% → 14.52% | 45.620 / 46.153 → 4.750 / 4.862 |
TFLite QNN Invoke |
100 crops | 66.00% → 67.00% | 13.43% → 12.16% | 18.283 / 18.435 → 2.493 / 2.520 |
Quality columns show float → INT8. The recognition evaluation uses upstream example-validation crops. Timings use 10 warmups and exclude host preprocessing and decoding.
Full measurements · Detailed setup and earlier results
The upstream checkpoint is inference.onnx from PaddlePaddle/PP-OCRv6_medium_rec_onnx, revision 50c7eacafc52fa7bcf4194e8cd08e46f8558504b, licensed under Apache-2.0. The checkpoint SHA-256 and verification method are in evaluation/results.json.
有文件?提交种子。
提交种子onnx/model.onnx 76 MBqnn/qcs8550-android-qairt2.47/context_qnn.bin 39 MBonnx/model_int8.onnx 20 MBqnn/qcs8550-android-qairt2.47/context_int8.bin 20 MBqnn/qcs8550-linux-qairt2.47/context_int8.bin 20 MB