| What it is | Transformer-based optical character recognition with pre-trained image and text Transformers | PaddleOCR's fifth-generation text detection and recognition models, server and mobile sizes | PaddleOCR's sixth-generation text detection and recognition models, from 1.5M to 34.5M parameters | Tesseract Open Source OCR Engine |
| Features | - handwritten variants fine-tuned on IAM (cased CER 4.22 small, 3.42 base, 2.89 large)
- printed variants fine-tuned on SROIE receipts (F1 95.86 to 96.60)
- scene text recognition (STR) variants
- stage-1 pre-trained checkpoints for fine-tuning
- small 62M, base 334M and large 558M parameter sizes
- BEiT image encoder and RoBERTa text decoder
- TrOCRProcessor and VisionEncoderDecoderModel in Hugging Face Transformers
- original fairseq training and fine-tuning scripts
| - server and mobile tiers of detection and recognition models
- Simplified and Traditional Chinese, Pinyin, English and Japanese in one recognition model
- handwriting, vertical text and uncommon characters
- per-script models: English, Latin, Cyrillic, East Slavic, Arabic, Devanagari, Korean, Thai, Greek, Tamil, Telugu
- single-character coordinates
- image and PDF input through the PaddleOCR pipeline
- Python API and paddleocr CLI
- C++ deployment on Linux and Windows
- All 11 features
| - three tiers: tiny (1.5M parameters), small (7.7M) and medium (34.5M)
- detection and recognition models per tier, with a CTC + NRTR recognition head
- 50 languages in one recognition model: Chinese, English, Japanese and 46 Latin-script languages
- industrial scenes: digital displays, dot-matrix characters, tire prints
- handwriting, vertical, rotated, blurred and warped text, tables, cards and screens
- default model in PaddleOCR 3.7.0 and later
- Paddle, ONNX and safetensors weights on Hugging Face and ModelScope
- PaddlePaddle, ONNX Runtime, OpenVINO, TensorRT and Transformers inference
- All 10 features
| - LSTM line recognition engine plus the legacy Tesseract 3 engine (--oem 0)
- more than 100 languages out of the box, UTF-8
- trainable for new languages and fonts
- output as plain text, hOCR, PDF, text-only PDF, TSV, ALTO and PAGE
- PNG, JPEG and TIFF (including multipage) input
- page segmentation modes (--psm)
- C and C++ API (libtesseract)
- packages for Linux distributions, Homebrew, MacPorts, Snap, AppImage and Windows installers
|
| Limitations | - Doesn't read whole pages: each model reads a single line of text from a cropped image, so a separate text detector must find the lines first
| - Slower than PP-OCRv4: its larger recognition dictionary increases inference time, and the mobile pipeline uses more GPU memory
- No single model for every script: the main model reads Chinese, Pinyin, English and Japanese; other scripts need separate per-language models
| - Doesn't read Korean, Arabic, Cyrillic or Indic scripts: PP-OCRv6 covers Chinese, English, Japanese and 46 Latin-script languages (the tiny tier leaves out Japanese)
| - Doesn't read handwriting well: its FAQ says it is designed for printed text and points to handwriting-focused projects
- Doesn't open PDF files as input: it reads images (PNG, JPEG, TIFF) through Leptonica, so PDFs must be rasterized first
- No graphical interface: it is a command-line program and a C/C++ library; GUIs are third-party projects
- Doesn't read barcodes: it is for text recognition only
|