Indra OCR is a CPU-oriented document OCR and parsing tool developed by Datalab. It converts PDFs and images into Markdown, plain text, or JSON containing recognized lines, bounding boxes, layout blocks, labels, reading order, confidences, rotation, and skew information. It can use a digital PDF's text layer where it passes checks and OCR only missing content, or OCR every page.
The pipeline uses ONNX Runtime models without PyTorch to detect lines, recognize text, classify blocks such as headings, lists, tables, captions, footnotes, headers, and forms, and order them for reading. Its local viewer displays page overlays, Markdown, source lines, JSON, confidences, and per-stage timings. An optional math mode recognizes mathematical lines and emits inline LaTeX.
The Python package and CLI are distributed under Apache 2.0, while the model weights use a modified OpenRAIL-M license with additional commercial-use conditions. The models are downloaded from Hugging Face on first use; the repository reports a model size of about 18 MB. OCR support covers Latin, Cyrillic, Greek, Devanagari, Bengali, and Chinese scripts, while other scripts can be processed through digital PDF text layers. The project documents limitations for handwriting, degraded scans, complex tables, vertical text, and some scripts in scanned images.