EasyOCR is a Python package that reads text in images across 80+ languages and major scripts. It uses PyTorch with CRAFT detection and CRNN recognition.
Overview
EasyOCR targets developers who want optical character recognition without assembling models by hand. It supports many languages and writing systems, including Latin, Chinese, Arabic, Devanagari, and Cyrillic, and can load several languages in one reader when they are compatible.
You install it with pip, optionally with extra dependencies for DBNet detection or Docker-based workflows. A Reader loads models once, then accepts file paths, OpenCV arrays, raw bytes, or image URLs. Output lists bounding boxes, recognized text, and confidence scores; a simplified detail mode is available.
Weights download automatically or can be placed in a user model folder. CPU-only mode works when no GPU is present or memory is limited. The project also documents training custom recognition and CRAFT detection models and plans swappable detection and recognition modules.
Recognition builds on published CRNN research with ResNet or VGG features, LSTM labeling, and CTC decoding. Detection reuses the CRAFT algorithm and pretrained weights from the cited open research implementations.
Key features
- 80+ languages and major scripts
- CRAFT text detection pipeline
- CRNN recognition with CTC decoding
- GPU or CPU execution
- Automatic model weight downloads
- CLI and programmatic image input
- Optional DBNet detector extra
- Dockerfile for container installs
Use cases
- Scene text extraction in Python apps
- Multilingual document digitization
- Batch OCR on images or frames
- Prototyping before custom model training
- Gradio or Hugging Face Space demos