PP-OCRv5

PaddleOCR's PP-OCRv5 text-line recognizers. Draw a box around a line of text and BOAT fills in the transcription.

OCRPaddlePaddleApache-2.0
Recommended7/10
VRAM0–0.1 GBweights, plus ~0.5 GB reserve
Tools1across 1 annotation type
Runs onmacOS1 of 4 runtime profiles

Install

boat model install pp-ocrv5

Without a tag BOAT installs pp-ocrv5:server. Tags install side by side, so you can keep several.Download: 85 MB of weights.

Overview

Summarized from the upstream project, last reviewed Oct 22, 2026.

PP-OCRv5 is the previous generation of PaddleOCR's text recognition models. They handle Simplified and Traditional Chinese, English and Japanese, and cope with handwriting, vertical text, pinyin and rare characters. A separate mobile tag covers Korean.

Tag Use it for
server The larger server-class recognizer
mobile The lighter mobile-class recognizer
korean-mobile Mobile recognizer for Korean text

PP-OCRv5 recognition example

Handwriting recognition example, from the upstream model card.

Tools

What PP-OCRv5 adds to the annotation editor. Each example loops what you do and what comes back.

Auto Type example on ocr

Auto Type

BoxText

OCR

Draw boxes as you normally would. Every new box becomes a prompt, and similar objects are suggested automatically for you to accept.

  • Apply
  • Runs automatically

Tags

Each tag is an installable variant, such as a size or quantization, with its own weights.

TagWeightsPlatformsInstall
pp-ocrv5:serverdefault85 MB · 3 filesmacOS
pp-ocrv5:korean-mobile28 MB · 3 filesmacOS
pp-ocrv5:mobile31 MB · 3 filesmacOS

Platforms

BOAT picks the runtime profile that matches your machine. Only that profile's code is downloaded.

macOS · Metal

Apple silicon (MPS)

Python 3.11 · 27 KB

Linux · CUDA 12.8

NVIDIA, incl. Blackwell

Not supported

Linux · CUDA 12.6

NVIDIA GPUs

Not supported

Linux · CPU

x86_64 CPU

Not supported

License

BOAT's adapter code is Apache-2.0. The model's own code and weights keep their upstream license:Apache-2.0.

Bundled license files: BOAT-APACHE-2.0.txt, NOTICE.md, UPSTREAM-LICENSE.txt

Package details

Package
pp-ocrv5
Version
0.0.3
Type
Common model
BOAT Core
≥ 0.1.0 · < 1.0.0
Inference timeout
600s
Manifest SHA-256
50f48bbdeed8946b8f615a1b7bcc40d98721fe509dd31c60ea6ae600d6ab0b71
Upstream notice
BOAT adapter code is Apache-2.0. Upstream model code and weights keep their own licenses.

Model: PaddlePaddle PP-OCRv5 text recognition (server, mobile, Korean mobile)
Pinned weight provenance is in ../weights/<tag>/weights.json.
Model, backbone, configuration defaults, preprocessing and CTC decoding are adapted from
Hugging Face Transformers 5.19.0 (Apache-2.0) into models/<platform>/vendor/.
The vendor README, UPSTREAM_REVISION and LICENSE record provenance and BOAT modifications.
Runtime uses torch and safetensors directly; Transformers is a test-only parity reference.

Upstream license: Apache-2.0 (model card `license: apache-2.0`, PaddleOCR repository LICENSE)
Model cards:
- https://huggingface.co/PaddlePaddle/PP-OCRv5_server_rec_safetensors
- https://huggingface.co/PaddlePaddle/PP-OCRv5_mobile_rec_safetensors
- https://huggingface.co/PaddlePaddle/korean_PP-OCRv5_mobile_rec_safetensors

Language support:
- Server/mobile: Simplified Chinese, Traditional Chinese, English, Japanese.
  https://huggingface.co/docs/transformers/v5.19.0/en/model_doc/pp_ocrv5_server_rec
- Korean mobile: Korean, English and numbers.
  https://paddlepaddle.github.io/PaddleOCR/main/en/version3.x/module_usage/text_recognition.html

## Vendored source provenance

Vendored from the Hugging Face Transformers 5.19.0 distribution (tag v5.19.0, commit
c4c4605f961877852b89b97478536bb3a26b6fd1; `UPSTREAM_REVISION` records the commit).
Pinned PyPI distribution SHA256: 87f38dd25e4521151b97e94520ac457f44a0ae8a8358a5b112daff6c64a822d6

SHA256 of the upstream files (paths relative to `transformers/`):

```text
models/pp_lcnet_v3/modeling_pp_lcnet_v3.py 208f18f9e576eff63477336ffd259994a68659d134e105f5c92b6aedde04c968
models/hgnet_v2/modeling_hgnet_v2.py 479006bf13b3662887c378e15d137a7298b71e9af58972e29b60c28121eefc93
models/pp_ocrv5_mobile_rec/modeling_pp_ocrv5_mobile_rec.py 9ec984feaba9b9bddbdd14b7177ea55a332fba385b4ae636703c81934bc1332f
models/pp_ocrv5_server_rec/modeling_pp_ocrv5_server_rec.py 5c94482dbb8e2f8c6670d4bca07ea869b93e1ca5813b462e6ceabf947d9cf919
models/pp_ocrv5_server_rec/image_processing_pp_ocrv5_server_rec.py 1e09d33f043136e91a7b4b40dcfa3a573022907e9c8713634274c7432d96641e
models/pp_ocrv5_mobile_rec/configuration_pp_ocrv5_mobile_rec.py 09f58d73ba686c22035c514745dd3573b7207918ba4b1b7028cc6ec96d435722
models/pp_ocrv5_server_rec/configuration_pp_ocrv5_server_rec.py 460e782cda323749d8cc13ccfc0191f72026222516bc9cb152ba45aa622a17a8
models/pp_lcnet_v3/configuration_pp_lcnet_v3.py 50320c06101a9c243c19d1f180aa38c9ab40208a4fbfaef4b03f55ebba2cfdc3
models/hgnet_v2/configuration_hgnet_v2.py 197c7d092a92d5fc30651b9e5a473de549d872a6cfbca10a26fddf2f2e4cac6b
image_processing_backends.py 539d3001944fa7d51e43336a86e800f2e3c5dd6512709f26e2d39884a052f18a
activations.py 5b20c0a3625edc0001a98f09ce3c6b5baa1100e1d7ad8dee649e4d45c8468665
integrations/sdpa_attention.py 0523b9e7b375941b91c226aa850ffc18af709d8f697701fd16f2babaec32f23f
```
↑↓ navigate↵ open