MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleOCR

github.com/PaddlePaddle/PaddleOCR

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.8.0 ↗ · + Follow · compare 2 versions
8,021 symbols 21,857 edges 907 files 1,253 documented · 16% ● updated 2d agov3.8.0 · 2026-12-03★ 93,805183 open issues

Browse by type

⨍ Functions 6,355◇ Types & classes 1,661↳ Endpoints 5
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
  <img width="800" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/Banner.png" alt="Star-history">

Global Leading OCR Toolkit & Document AI Engine

English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Français | Русский | Español | العربية

PyPI Downloads Used by python os hardware

AI Studio Ask DeepWiki License

PaddleOCR converts PDF documents and images into structured, LLM-ready data (JSON/Markdown) with industry-leading accuracy. With 70k+ Stars and trusted by top-tier projects like Dify, RAGFlow, and Cherry Studio, PaddleOCR is the bedrock for building intelligent RAG and Agentic applications.

🚀 Key Features

📄 Intelligent Document Parsing (LLM-Ready)

Transforming messy visuals into structured data for the LLM era.

  • Document VLM: PaddleOCR-VL-1.8 (0.9B) combines PP-DocLayoutV4 layout analysis with region-level recognition and multi-page post-processing. It converts PDFs and images into structured Markdown or JSON.
  • Structure-Aware Conversion: Powered by PP-StructureV3, seamlessly convert complex PDFs and images into Markdown or JSON. Unlike the PaddleOCR-VL series models, it provides more fine-grained coordinate information, including table cell coordinates, text coordinates, and more.
  • Production-Ready Efficiency: Achieve commercial-grade accuracy with an ultra-small footprint. Outperforms numerous closed-source solutions in public benchmarks while remaining resource-efficient for edge/cloud deployment.

🔍 Universal Text Recognition (Scene OCR)

The global gold standard for high-speed, multilingual text spotting.

  • 100+ Languages Supported: Native recognition for a vast global library. PP-OCRv6 supports 50 languages with a single unified model (Chinese, English, Japanese, and 46 Latin-script languages) — no model switching needed for multilingual documents.
  • Complex Element Mastery: Beyond standard text recognition, we support natural scene text spotting across a wide range of environments, including IDs, street views, books, and industrial components
  • Performance Leap: PP-OCRv6 achieves +4.6% detection and +5.1% recognition accuracy over PP-OCRv5, surpassing mainstream Vision-Language Models. 5.2× CPU inference speedup end-to-end.

    PaddleOCR Architecture

🛠️ Developer-Centric Ecosystem

  • Seamless Integration: The premier choice for the AI Agent ecosystem—deeply integrated with Dify, RAGFlow, Pathway, and Cherry Studio.
  • LLM Data Flywheel: A complete pipeline to build high-quality datasets, providing a sustainable "Data Engine" for fine-tuning Large Language Models.
  • One-Click Deployment: Supports various hardware backends (NVIDIA GPU, Intel CPU, Kunlunxin XPU, and diverse AI Accelerators).

📣 Recent updates

2026.12.03: PaddleOCR-VL-1.8 is now available

  • New records in core benchmarks and long-tail recognition. VL-1.8 scores 97.44% on OmniDocBench v1.6, ranks first on both Real5-OmniDocBench and Wild-OmniDocBench, and is the first to break 90% on MDPBench with a score of 91.02%. Rare-character recognition accuracy jumps from 47.92% to 98.91%.
  • Layout analysis and rectification with no extra model inference. The new PP-DocLayoutV4 predicts quadrilateral boxes directly and improves reading order. The same forward pass also estimates page deformation for automatic rectification.
  • First support for eight ethnic-minority scripts. VL-1.8 covers Tibetan, Uyghur, Kazakh, Mongolian, Zhuang, Bai, Yi, and Korean, averaging 86.8% on CMLOCRBench and leading the runner-up by 16.5 percentage points. It is the world's first document parser with native support for both traditional Mongolian and Liangshan Standard Yi.

Technical report · Hugging Face model card · Usage guide

🔥 2026.07.22: HPD-Parsing is now available

  • HPD-Parsing is a lightweight vision-language model designed for high-throughput document parsing. It adopts a hierarchical parallel decoding paradigm and Progressive Multi-Token Prediction (P-MTP), achieving a peak throughput of 4,752 tokens/s on public benchmarks while maintaining competitive parsing accuracy.
  • HPD-Parsing supports both OpenAI-compatible serving and local inference through a customized vLLM runtime, making it suitable for document parsing scenarios with high demands on inference efficiency and deployment throughput.
  • See the HPD-Parsing usage tutorial for environment setup, serving, and local inference instructions.

2026.06.11: Release of PaddleOCR 3.7.0

  • PP-OCRv6 highlights:

    • Accuracy boost: Medium tier achieves +4.6% detection and +5.1% recognition over PP-OCRv5_server, surpassing mainstream VLMs (Qwen3-VL-235B, GPT-5.5) with only 34.5M parameters.
    • 50 languages unified: Single model covers Chinese, English, Japanese, and 46 Latin-script languages — no model switching needed.
    • Specialized scenarios: Major improvements in digital displays, dot-matrix characters, tire prints, and industrial text recognition.
    • Faster inference: 5.2× CPU speedup (OpenVINO), 6.1× on Apple M4 (tiny), 0.13s on A100 GPU.
    • Three tiers for all scenarios: tiny (1.5M) / small (7.7M) / medium (34.5M) for edge, mobile, and server deployment.
    • Model availability: All models are available on HuggingFace and ModelScope.

2026.05.28: Release of PaddleOCR 3.6.0

  • PaddleOCR-VL-1.6 highlights:

    • New SOTA Accuracy: Achieves over 96.3% on OmniDocBench v1.6, also sets new SOTA on OmniDocBench v1.5 and Real5-OmniDocBench, leading both open-source and proprietary solutions in text, formula, and table recognition.
    • Comprehensive Capability Upgrade: Significant improvements in table, ancient document, and rare character recognition, with notably enhanced seal recognition, spotting, and chart understanding across multiple scenarios.
    • Seamless Migration: Model architecture is fully consistent with PaddleOCR-VL-1.5, enabling zero-cost adaptation—swap and go.
    • Try it now: Available on HuggingFace or our Official Website.

2026.04.21: Release of PaddleOCR 3.5.0

  • Flexible inference backends: Seamlessly switch between Paddle static graph, Paddle dynamic graph, or Transformers. PaddleOCR is now deeply integrated with the Hugging Face ecosystem, and 20 major models support Transformers as the inference backend.
  • Office documents to Markdown: Convert common document formats such as Word, Excel, and PowerPoint into Markdown.
  • DOCX export for parsed results: The PaddleOCR-VL series, PP-StructureV3, and PP-DocTranslation now support exporting parsed results to DOCX for convenient viewing and editing in Microsoft Word.
  • Official browser inference SDK: Released PaddleOCR.js, the official browser inference SDK that supports running PP-OCRv5 directly in the browser.

2026.01.29: Release of PaddleOCR 3.4.0

  • PaddleOCR-VL-1.5 (SOTA 0.9B VLM): Our latest flagship model for document parsing is now live!
    • 94.5% Accuracy on OmniDocBench: Surpassing top-tier general large models and specialized document parsers.
    • Real-World Robustness: First to introduce the PP-DocLayoutV3 algorithm for irregular shape positioning, mastering 5 tough scenarios: Skew, Warping, Scanning, Illumination, and Screen Photography.
    • Capability Expansion: Now supports Seal Recognition, Text Spotting, and expands to 111 languages (including China’s Tibetan script and Bengali).
    • Long Document Mastery: Supports automatic cross-page table merging and hierarchical heading identification.
    • Try it now: Available on HuggingFace or our Official Website.

2025.10.16: Release of PaddleOCR 3.3.0

  • Released PaddleOCR-VL:

    • Model Introduction:

      • PaddleOCR-VL is a SOTA and resource-efficient model tailored for document parsing. Its core component is PaddleOCR-VL-0.9B, a compact yet powerful vision-language model (VLM) that integrates a NaViT-style dynamic resolution visual encoder with the ERNIE-4.5-0.3B language model to enable accurate element recognition. This innovative model efficiently supports 109 languages and excels in recognizing complex elements (e.g., text, tables, formulas, and charts), while maintaining minimal resource consumption. Through comprehensive evaluations on widely used public benchmarks and in-house benchmarks, PaddleOCR-VL achieves SOTA performance in both page-level document parsing and element-level recognition. It significantly outperforms existing solutions, exhibits strong competitiveness against top-tier VLMs, and delivers fast inference speeds. These strengths make it highly suitable for practical deployment in real-world scenarios. The model has been released on HuggingFace. Everyone is welcome to download and use it! More introduction information can be found in PaddleOCR-VL.
    • Core Features:

      • Compact yet Powerful VLM Architecture: We present a novel vision-language model that is specifically designed for resource-efficient inference, achieving outstanding performance in element recognition. By integrating a NaViT-style dynamic high-resolution visual encoder with the lightweight ERNIE-4.5-0.3B language model, we significant

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 4,476
Function 1,879
Class 1,433
Interface 90
Struct 84
Enum 52
Route 5
FuncType 2

Languages

Python69%
C++13%
TypeScript11%
Swift3%
Kotlin2%
Java1%

Modules by API surface

docs/version2.x/javascripts/katex.min.js301 symbols
deploy/ios_demo/PaddleOCRDemo/ThirdParty/Clipper1/clipper.cpp173 symbols
deploy/android_demo/app/src/main/cpp/ocr_clipper.cpp173 symbols
ppocr/data/imaug/label_ops.py156 symbols
ppocr/postprocess/rec_postprocess.py118 symbols
ppocr/modeling/heads/rec_unimernet_head.py110 symbols
ppocr/modeling/backbones/rec_pphgnetv2.py88 symbols
ppocr/modeling/backbones/rec_resnetv2.py87 symbols
ppocr/modeling/backbones/rec_donut_swin.py73 symbols
ppocr/modeling/heads/rec_latexocr_head.py72 symbols
ppocr/losses/distillation_loss.py70 symbols
ppocr/data/imaug/rec_img_aug.py70 symbols

Dependencies from manifests, versioned

@eslint/js10.0.1 · 1×
@paddleocr/paddleocr-js* · 1×
@techstark/opencv-js4.10.0-release.1 · 1×
@types/js-yaml4.0.9 · 1×
@types/node25.9.1 · 1×
@vitest/coverage-v83.2.4 · 1×
clipper-lib6.4.2 · 1×
eslint10.0.2 · 1×
globals17.4.0 · 1×
husky9.1.7 · 1×
js-yaml4.1.0 · 1×
jsdom26.1.0 · 1×

For agents

$ claude mcp add PaddleOCR \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page