What do you want to do?
4 use cases
-
Turn a folder of scanned PDFs into markdown files
Batch-convert scanned PDFs to one markdown file each, using all CPU cores.
- REPO
datalab-to/indra - Research
- Intermediate
View prompt
In the repo datalab-to/indra, install indra-ocr with pip and run `indra-ocr <folder>/*.pdf --out results/`. Expected output: one .md file per input PDF in results/. Verify that each .md file is non-empty and that the CLI exit code is 0, or list the files that failed.
- REPO
-
Get OCR lines and boxes as JSON for a data pipeline
Extract each line with its box, confidence, and layout label as JSON.
- REPO
datalab-to/indra - Research
- Intermediate
View prompt
Using the repo datalab-to/indra, install indra-ocr and run `indra-ocr <input-file> --format json` on <input-file>. Expected output: JSON with lines (box, text, confidence) and blocks (label, bbox, text) per page. Verify that the block labels in the output match the labels listed in the README, such as Text, Table, and Form.
- REPO
-
Check OCR results on each page in a local viewer
Drop in a scan and see lines, blocks, and reading order drawn over the page.
- REPO
datalab-to/indra - Research
- Beginner
View prompt
In the repo datalab-to/indra, install indra-ocr and start `indra-ocr-viewer --port 8765`. Expected output: a local web page at http://localhost:8765 that shows OCR lines and layout blocks for a dropped file. Verify that the page loads and that line confidences are visible.
- REPO
-
Read mixed-language and handwritten scans in one run
OCR scans in many scripts and handwriting, with a CJK-only or RTL-only fallback when needed.
- REPO
datalab-to/indra - Research
- Advanced
View prompt
Using the repo datalab-to/indra, install indra-ocr and run `indra-ocr <file>.pdf --mode ocr --timings` on <file>.pdf. Expected output: markdown with the text in each script and per-page timings on stderr. Verify the text for each script against the source page, since handwriting accuracy is limited.
- REPO
What people are building with Indra
-
Built withGitHub
Ported Indra OCR to WebAssembly so it runs in the browser with no server
A TypeScript API on npm turns PDFs and images into text, Markdown and JSON with lines, bounding boxes, reading order and timings, all inside the browser.
By @RyanCasas on GitHub
-
Built withGitHub
Built a Paperless-ngx parser plugin that runs Indra OCR on the CPU
The Paperless-ngx 3.x plugin replaces Tesseract with Indra OCR on ONNX Runtime and produces searchable PDF/A archives with a text layer, with no extra service to run.
By @Pacman1984 on GitHub
-
Built withGitHub
Ported Indra OCR 1.1.2 to C# and .NET with the same CLI and viewer
A C# and .NET port of Indra OCR on NuGet keeps the same command line, local viewer and output as the original, with no Python needed.
By @cnbluefire on GitHub
-
Built withGitHub
Built Indra OCR Web, document OCR that runs fully in the browser with ONNX Runtime Web
Document recognition and layout parsing run 100% on device in the browser through WebAssembly and ONNX Runtime Web, using the Indra OCR model weights.
By @FireTable on GitHub
-
Built withGitHub
Swapped Tesseract for Indra OCR in Paperless-ngx with an OCRmyPDF plugin
An OCRmyPDF engine plugin runs Indra OCR instead of Tesseract and ships in a Paperless-ngx image, so Paperless keeps its skip, redo and force modes while only the recognition engine changes.
By @maksimkurb on GitHub
Real builds shared on X, Hacker News, Reddit, DEV and GitHub, summed up by Deduped from each post and its links; each card links to the original post. See what people are building with other repos
Quick start with Indra
- Check you have what it needs: Python 3.10 or newer (the README says it is tested on Linux and macOS); pip to install the indra-ocr package; An internet connection for the first run, which downloads about 76 MB of models from Hugging Face.
- Open datalab-to/indra on GitHub and read the README and license.
- Run
pip install indra-ocr. - Move the scanned PDFs into one folder and open a terminal in that folder.
- Run
indra-ocr *.pdf --out results/to write one .md file per input. - Open a few files in results/ and compare them with the original pages.
These steps come from our top use case, Turn a folder of scanned PDFs into markdown files, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for datalab-to/indra
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forPeople with scanned PDFs or photographed pages who need searchable text on a laptop or CPU-only server, and developers who want OCR output with boxes and layout labels in their own pipelines.
- Why it is hot1.6k stars on GitHub as of Nov 6, 2026, launched Oct 13, 2026
- LanguagePython
- Sourcegithub.com/datalab-to/indra · Back to Hot repos
Requirements
- Python 3.10 or newer (the README says it is tested on Linux and macOS)
- pip to install the indra-ocr package
- An internet connection for the first run, which downloads about 76 MB of models from Hugging Face
- The PDFs or images to read
Add this badge to your README
Maintain Indra? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/datalab-to-indra/?utm_source=github&utm_medium=badge&utm_campaign=datalab-to-indra)
HTML
<a href="https://dedupedai.com/use-cases/datalab-to-indra/?utm_source=github&utm_medium=badge&utm_campaign=datalab-to-indra"><img src="https://dedupedai.com/badge/datalab-to/indra.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Indra
What is Indra?
Indra OCR is a CPU-based OCR tool that turns PDFs and images into markdown, text, or JSON with boxes, layout blocks, and reading order. It is an open-source project on GitHub: https://github.com/datalab-to/indra.
How do I use Indra?
Run pip install indra-ocr; then Move the scanned PDFs into one folder and open a terminal in that folder; run indra-ocr *.pdf --out results/ to write one .md file per input. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Indra for?
People with scanned PDFs or photographed pages who need searchable text on a laptop or CPU-only server, and developers who want OCR output with boxes and layout labels in their own pipelines.
What can I do with Indra?
4 use cases so far, for example: Turn a folder of scanned PDFs into markdown files; Get OCR lines and boxes as JSON for a data pipeline; Check OCR results on each page in a local viewer. Each has steps and a copy-paste agent prompt.
What do I need to run Indra?
Python 3.10 or newer (the README says it is tested on Linux and macOS); pip to install the indra-ocr package; An internet connection for the first run, which downloads about 76 MB of models from Hugging Face; The PDFs or images to read.
What are alternatives to Indra?
Other hot AI repos in Research: Deep Tutor, Local Deep Research, Project Nomad, Nanochat, We Knora.
Is Indra safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.