Datalab releases Indra OCR, a 1M-parameter OCR model that runs on CPU
Datalab has released Indra OCR, a 1M-parameter OCR[1] model that runs on CPU and turns PDFs and images into markdown, text, or JSON with boxes, labels, and reading order for every line and block. It uses ONNX Runtime[2] instead of PyTorch, reads handwriting and more than 80 languages, handles scans that are sideways, upside down, or tilted, and on digital PDFs reads the text layer and only OCRs what is missing. On the OmniParseBench[3] benchmark it scores 66.7 (71.4 with --math) versus 58.4 for PaddleOCR's full PP-StructureV3 pipeline, and its text score of 46.7 beats PaddleOCR's PP-OCR models at 35.8 and Tesseract at 19.3. It processes about 44 pages per second on 32 CPU cores, 15 times faster than Tesseract and 10 times faster than the PP-OCR text models on the same machine and pages, and about 210 ms per page on 4 cores, with the default models totaling about 76 MB. The code is Apache 2.0, while the weights use a modified OpenRAIL-M[4] license that is free for research, personal use, and startups under $20M in funding or revenue, but cannot be used competitively with Datalab's API.
Read the original huggingface.coDiscussion on Hugging Face
Sources
-
Hugging Face
datalab-to/indra-ocr







