Model reference · open weights

PP-OCRv6_tiny_rec

LLMs PaddlePaddle Image→text 1 build Open weights 2k dl/mo

PP-OCRv6_tiny_rec is an open-weight language model from Baidu.

  • PP-OCRv6_tiny_rec is a lightweight image-to-text model developed by Baidu for text recognition tasks.
  • It contains 1.1M parameters and supports 49 languages, including English and Chinese.
  • The model is released under the Apache-2.0 license.

Summary of the PaddlePaddle/PP-OCRv6_tiny_rec model card, 2026-10-01

What it is

Released byBaidu
Released2026-06-11

From the model card

What Baidu says about PP-OCRv6_tiny_rec

Read the model card

PP-OCRv6: From 1.5M to 34.5M Parameters, Surpassing Billion-Scale VLMs on OCR Tasks

🔥 Official Website 📝 Technical Report

PP-OCRv6 Overview

PP-OCRv6 is a lightweight OCR system that combines architectural innovation with data-centric optimization. It redesigns the backbone, detection neck, and recognition neck around a unified MetaFormer-style building block with structural reparameterization. Three model tiers (medium, small, tiny) share the same block primitives, covering deployment scenarios from server to edge.

Key Features

  1. Unified and Scalable Model Family: A three-tier OCR model family spanning 1.5M to 34.5M parameters. PP-OCRv6_medium achieves 86.2% detection Hmean and 83.2% recognition accuracy, outperforming PP-OCRv5_server by +4.6% and +5.1% respectively.

  2. Lightweight Architectural Innovations: (i) LCNetV4, a MetaFormer-style lightweight backbone with structural reparameterization; (ii) RepLKFPN, a detection neck with dilated reparameterizable depthwise convolutions; (iii) EncoderWithLightSVTR, a recognition neck with local-global attention and additive skip connections.

  3. Multi-Language and Scenario Support: Supports 50 languages and diverse industrial scenes (digital displays, dot-matrix characters, tire prints, etc.), surpassing Qwen3-VL-235B, GPT-5.5, and Gemini-3.1-Pro with orders of magnitude fewer parameters.

PP-OCRv6_medium_rec

Introduction

PP-OCRv6 text recognition architecture overview

PP-OCRv6_tiny_rec is the most lightweight recognition model in the PP-OCRv6 series. It uses LCNetV4 as the backbone with a direct reshape projection instead of an encoder neck, and a CTC+NRTR multi-head decoder. The model supports 49 languages and contains 1.1M parameters. The key accuracy metrics are as follows:

ModelW-AvgHandwritten CNHandwritten ENPrinted CNPrinted ENTCAncientJPConfusableSpecialGeneralPinyinArtisticIndustrialScreenCard
GPT-5.564.219.256.975.782.257.563.758.649.148.367.750.453.062.467.771.1
Qwen3-VL-235B74.949.773.282.386.276.433.666.256.149.082.576.569.674.773.878.7
Kimi-K2.662.931.058.476.880.962.716.554.143.538.068.045.259.957.158.468.4
MiniMax-M354.115.560.363.581.553.22.243.742.242.853.850.344.344.156.667.0
Gemini-3.1-Pro71.446.473.080.090.569.518.067.254.450.374.675.963.169.173.275.9
PP-OCRv5_server78.158.059.690.185.174.760.473.759.456.886.574.464.070.268.187.6
PP-OCRv5_mobile73.741.750.986.086.072.057.875.855.754.880.772.554.059.357.681.7
PP-OCRv6_medium83.262.167.891.594.178.672.490.564.961.787.578.171.277.482.588.1
PP-OCRv6_small81.357.661.190.593.377.071.188.264.160.285.775.968.476.479.786.9
PP-OCRv6_tiny73.540.139.386.788.465.068.489.852.357.178.065.454.762.171.280.5

Quick Start

Installation

  1. PaddleOCR
# Install the basic version
pip install paddleocr

# Install the full version (includes all features)
pip install "paddleocr[all]"

Model Usage

You can quickly experience the functionality with a single command:

paddleocr text_recognition \
    --model_name PP-OCRv6_medium_rec \
    -i https://cdn-uploads.huggingface.co/production/uploads/681c1ecd9539bdde5ae1733c/2PZfbirjfxA88695lRmgk.jpeg

You can also integrate the model inference of the text recognition module into your project. Before running the following code, please download the sample image to your local machine.

from paddleocr import TextRecognition
model = TextRecognition(model_name="PP-OCRv6_medium_rec")
output = model.predict(input="2PZfbirjfxA88695lRmgk.jpeg", batch_size=1)
for res in output:
    res.print()
    res.save_to_json(save_path="./output/res.json")

After running, the obtained result is as follows:

{'res': {'input_path': '2PZfbirjfxA88695lRmgk.jpeg', 'page_index': None, 'rec_text': 'day as a reminder of the', 'rec_score': 0.9857}}

The visualized image is as follows:

For details about usage command and descriptions of parameters, please refer to the Document.

Pipeline Usage

The general OCR pipeline is used to solve text recognition tasks by extracting text information from images. The pipeline consists of several modules:

  • Document Image Orientation Classification Module (Optional)
  • Text Image Unwarping Module (Optional)
  • Text Line Orientation Classification Module (Optional)
  • Text Detection Module
  • Text Recognition Module

Run a single command to quickly experience the OCR pipeline:

paddleocr ocr -i https://cdn-uploads.huggingface.co/production/uploads/681c1ecd9539bdde5ae1733c/3ul2Rq4Sk5Cn-l69D695U.png \
    --text_detection_model_name PP-OCRv6_medium_det \
    --text_recognition_model_name PP-OCRv6_medium_rec \
    --use_doc_orientation_classify False \
    --use_doc_unwarping False \
    --use_textline_orientation True \
    --save_path ./output \
    --device gpu:0

If

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms