{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "datalab-to-indra--review-ocr-output-in-local-viewer",
 "repo": "datalab-to/indra",
 "repo_url": "https://github.com/datalab-to/indra",
 "repo_slug": "datalab-to-indra",
 "title": "Check OCR results on each page in a local viewer",
 "page_title": "How to check OCR results on each page in a local viewer with Indra",
 "summary": "Drop in a scan and see lines, blocks, and reading order drawn over the page.",
 "who": "A reviewer who must verify OCR accuracy on a few important pages before relying on the text, and who should not upload them to a web service.",
 "problem": "Text output alone hides which lines were misread or placed in the wrong reading order.",
 "outcome": "A browser view at localhost showing each page with its lines, layout blocks, confidences, and the markdown source.",
 "steps": [
  "Run `pip install indra-ocr`.",
  "Run `indra-ocr-viewer` and open http://localhost:8765 in a browser.",
  "Drop in a PDF or an image; each page shows its lines and layout blocks over the page.",
  "Toggle lines, blocks, and reading order to find misread text or wrong order.",
  "Over SSH, forward the port with `ssh -N -L 8765:localhost:8765 host` as the README describes."
 ],
 "agent_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.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The viewer's files stay on your machine according to the README, but the first run still downloads the models from Hugging Face.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/datalab-to-indra/review-ocr-output-in-local-viewer/",
 "md": "https://dedupedai.com/use-cases/datalab-to-indra/review-ocr-output-in-local-viewer/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/datalab-to-indra--review-ocr-output-in-local-viewer.json",
 "api_version": "v1"
}
