Serkan007/PaddleOCR_v6_tiny_rec_safetensors
lightweight text recognition system
2 min readupdated
PP-OCRv6 is a compact and efficient OCR (optical character recognition) system that combines architectural innovations and data optimization. The model is built on a lightweight LCNetV4 block using a multi-head CTC+NRTR decoder. It supports 49 languages and has just 1.1 million parameters in its most compact version, delivering high processing speed on any hardware from servers to edge devices. This solution is ideal for developers looking to integrate fast text recognition into local applications and pipelines.
Key features
- Support for 49 languages and diverse use cases, including printed and handwritten text.
- Lightweight LCNetV4 architecture with direct shape-change projection.
- High performance and accuracy with minimal resource consumption.
- Superiority over many large multimodal models in OCR tasks.
What you can do
- Recognize text on document images, digital screens, and signboards.
- Integrate the text recognition module into Python projects using the paddleocr library.
- Run a full OCR pipeline with text line orientation detection and text detection.
Example
Example of initializing and using the text recognition model in Python:
from paddleocr import TextRecognition
model = TextRecognition(model_name="PP-OCRv6_medium_rec", engine="transformers")
output = model.predict(input="image.jpeg", batch_size=1)
for res in output:
res.print()
Read more
DetailsThe PP-OCRv6_tiny model contains 1.1M parameters and demonstrates an average accuracy W-Avg of 73.5%.
The family includes models ranging from 1.5M to 34.5M parameters.
Operation requires the paddleocr library and a PyTorch/Transformers environment.










Comments