Skip to content

PP-OCRv5 models for photo import (ncnn fp32)

Choose a tag to compare

@mwiest mwiest released this 19 Sep 19:54
· 76 commits to main since this release

PP-OCRv5 mobile detector and Latin recognizer, converted to ncnn for on-device
photo import.

These are model weights, not an app release. They are versioned
independently of Voclet so that an app release does not require re-uploading
them, and so the download URL stays stable.

Files

file sha256
det.ncnn.param 2702ef4ad2d5e33139c70eb4668df1e84f909f18f2bb9608a75dc7e65f243142
det.ncnn.bin c7aa3ed7fe5791df29becbf4a8ffbee4ca20e4357fd4ce5114c29101dd2caa04
latin_rec.ncnn.param e330a84630473dca48b53351e700a5c0dbfd4be32e6a847118790362c5c0a53b
latin_rec.ncnn.bin 49df8536bd1caf3240ae035623964d589d97e013c7e133064373f16a4643bc6e

The .param and .bin of each model are a matched pair and must be used
together; a mismatched pair loads without error and reads nonsense.

Provenance and licence

Converted with pnnx from

  • PaddlePaddle/PP-OCRv5_mobile_det_onnx
  • PaddlePaddle/latin_PP-OCRv5_mobile_rec_onnx

both Apache-2.0, and redistributed here under that licence as modified works.

fp32, no quantization. The conversion was verified against the ONNX originals
over four pages: the post-processed detector boxes are bit-identical and all
293 recognizer lines read the same.