PP-OCRv6

PaddleOCR's newest lightweight OCR family in three tiers. 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 onmacOSCUDACPU4 of 4 runtime profiles

Install

boat model install pp-ocrv6

Without a tag BOAT installs pp-ocrv6:medium. Tags install side by side, so you can keep several.Download: 77 MB of weights.

Overview

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

PP-OCRv6 is a lightweight OCR system built around a MetaFormer-style backbone with structural reparameterization. The family covers many languages and unusual industrial text such as digital displays, dot-matrix characters and tire prints, while staying far smaller than general vision-language models.

Tag Use it for
medium The largest tier, for the best recognition
small The middle tier
tiny The smallest tier, for constrained machines

If you need Korean, see PP-OCRv5, which has a dedicated Korean tag.

Tools

What PP-OCRv6 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-ocrv6:mediumdefault77 MB · 3 filesmacOS
pp-ocrv6:tiny4.6 MB · 3 filesmacOS
pp-ocrv6:small21 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 · 25 KB

Linux · CUDA 12.8

NVIDIA, incl. Blackwell

Python 3.11 · 26 KB

Linux · CUDA 12.6

NVIDIA GPUs

Python 3.11 · 27 KB

Linux · CPU

x86_64 CPU

Python 3.11 · 24 KB

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-ocrv6
Version
0.0.3
Type
Common model
BOAT Core
≥ 0.1.0 · < 1.0.0
Inference timeout
600s
Manifest SHA-256
f493a0ea3bf62575001a809cce4b48df5ca318fb2f486f7e519bd4599a7a27e9
Upstream notice
BOAT adapter code is Apache-2.0. Upstream model code and weights keep their own licenses.

Model: PaddlePaddle PP-OCRv6 text recognition (tiny, small, medium)
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-OCRv6_tiny_rec_safetensors
- https://huggingface.co/PaddlePaddle/PP-OCRv6_small_rec_safetensors
- https://huggingface.co/PaddlePaddle/PP-OCRv6_medium_rec_safetensors

## 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_v4/modeling_pp_lcnet_v4.py dae2a29e240035df885a6b8516f8b4078931920b92246634974571701acb2e02
models/pp_ocrv6_tiny_rec/modeling_pp_ocrv6_tiny_rec.py 301a333fe142a8d91cf9af7a1eaaaedb65b6638d3726e0e61c34db2239d0e10a
models/pp_ocrv6_small_rec/modeling_pp_ocrv6_small_rec.py 496606bda667fe61a14f2636b3c4475aa38d404c7fa17488320b6b64f705f7bd
models/pp_ocrv6_small_rec/image_processing_pp_ocrv6_small_rec.py 58b02647f1daee263fe5cd44dc10dec619619fa210bf881dc1a505951660293f
models/pp_ocrv6_tiny_rec/configuration_pp_ocrv6_tiny_rec.py 43485b9acb288b3cc368f139dd748ac6d4532b28aab22c21acccdf477b00e195
models/pp_ocrv6_small_rec/configuration_pp_ocrv6_small_rec.py 757b9d5b339194f7811b43663e6af7ecff2c97b2c4de039e6c353a7a0ae80beb
models/pp_lcnet_v4/configuration_pp_lcnet_v4.py 88014d62d7df0f422395256129c250f99e27d3eadbd5e7c70a43a1956e5b9ef6
image_processing_backends.py 539d3001944fa7d51e43336a86e800f2e3c5dd6512709f26e2d39884a052f18a
activations.py 5b20c0a3625edc0001a98f09ce3c6b5baa1100e1d7ad8dee649e4d45c8468665
integrations/sdpa_attention.py 0523b9e7b375941b91c226aa850ffc18af709d8f697701fd16f2babaec32f23f
```
↑↓ navigate↵ open