EasyOCR — Ready-to-Use OCR for 80+ Languages
One-line OCR for 80+ languages including Latin, Chinese, Arabic, Devanagari, and Cyrillic — no training required.
EasyOCR
EasyOCR provides production-ready optical character recognition for over 80 languages with a minimal API. Built on CRAFT text detection and a ResNet-LSTM-CTC recognition backbone, it handles complex scripts, mixed-language text, and degraded images robustly.
Key Features
- 80+ language support out of the box (Latin, CJK, Arabic, Cyrillic, Devanagari, …)
- GPU and CPU inference with automatic device selection
- Single-line API:
readtext(image)returns bounding boxes + text + confidence - Paragraph mode for flowing text reconstruction
- Allowlist/blocklist for domain-specific vocabularies (ID numbers, license plates)
- CLI:
easyocr -l en -f image.jpg --detail 1
Quick Start
import easyocr
reader = easyocr.Reader(["en", "fr"]) # load once
results = reader.readtext("invoice.png")
for bbox, text, confidence in results:
print(f"{text!r:40s} {confidence:.2f}")
Install via ai-supply
npx ai-supply add easyocr-multilingual-ocr
Curated mirror of the open-source EasyOCR (Apache-2.0). Get it from the source.
Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.
Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).
The same gate an agent runs before installing (POST /api/v1/trust/easyocr-multilingual-ocr/check). Click a policy:
Consume EasyOCR — Ready-to-Use OCR for 80+ Languages programmatically. Authenticate with an API key or session — see Authorize an agent.
# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/easyocr-multilingual-ocr
# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/easyocr-multilingual-ocr/check \
-H "Content-Type: application/json" \
-d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'
# CLI
npx ai-supply add easyocr-multilingual-ocr
# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/easyocr-multilingual-ocr/install \
-H "Authorization: Bearer $AIM_KEY"
# MCP tool
install_listing({ "slug": "easyocr-multilingual-ocr" })OpenAPI spec →Curated mirror — latest upstream source. See the repository for tagged releases.