Works with the AI Agents you already use
Local Indic Document OCR
Local Python-based OCR pipeline for English and Hindi document extraction with offline translation support.
$10
Local Indic Document OCR
Example session with this skill installed
Run the OCR pipeline on ./docs/invoice.png using the tesseract backend. It is an English document. Save results to ./output/v1.
- Read your context and instructions
- Compiled the local indic document
The OCR process is complete. I used the tesseract backend for English extraction. All files are saved in the ./output/v1 directory.
Extraction Results
| File | Purpose | Description |
|---|---|---|
ocr_text.txt | Raw Text | Full unstructured text extracted from the image. |
layout_blocks.json | Geometry | Coordinates for headers, paragraphs, and tables. |
extracted_fields.json | Key-Value Data | Structured fields like Invoice Number and Date. |
result.json | Metadata | Contains a confidence score of 0.92 and WER of 0.05. |
Field Summary
- Invoice ID: INV-9902 (Confidence: High)
- Date: 2023-11-15 (Confidence: High)
- Total Amount: $1,250.00 (Confidence: Medium - Verify currency symbol)
- Vendor: IndicTech Solutions (Confidence: High)
Next steps
- Review
extracted_fields.jsonto confirm the Total Amount value. - If you need this in Hindi, I can run the offline translation pipe using your local Argos package.
- Check
retrieval_chunks.jsonif you plan to index this document for a local search system.
Connects securely to your tools. The creator never sees your data.
About this skill
Processing sensitive documents using cloud OCR exposes private data. This skill provides a localized pipeline for extracting text and structured data from English and Hindi documents on your own hardware.
What it does
- Multi-backend OCR Support for Tesseract, EasyOCR, and PaddleOCR adapters to handle image-based text extraction.
- Field extraction Identifies and isolates specific data points into structured JSON documents.
- Layout analysis Generates layout blocks and retrieval-friendly chunks for downstream RAG or search indexing.
- Offline translation Translates extracted English text to Hindi using local Argos or IndicTrans2 models without internet access.
- Quality metrics Reports Character Error Rate (CER) and Word Error Rate (WER) to evaluate extraction reliability.
How it works
- Environment setup Create a virtual environment and install the package along with language-specific Tesseract data.
- Backend selection Configure the pipeline to use
stubfor validation ortesseractfor production image processing. - Execution Run the CLI tool specifying input paths, language codes (
eng,hin), and target output directories. - Data inspection Parse the generated
result.jsonandextracted_fields.jsonto verify confidence scores and identifies.
Frameworks & tools
Built with Python 3.10+. Integrates Tesseract OCR for image processing and Argos Translate or IndicTrans2 for local machine translation.
Why this beats prompting it yourself
Prompting an LLM to "perform OCR" on an image often leads to hallucinations or skipped lines. This skill provides a reproducible CLI pipeline that generates specific layout blocks and confidence metrics that generic prompts cannot provide.
Use cases
- Extracting text from Hindi government IDs or forms while keeping data on-disk.
- Generating searchable chunks from local PDF archives for private RAG systems.
- Benchmarking OCR accuracy by comparing CER and WER across different backends.
- Automated local translation of technical documentation into Hindi script.
Known limitations
Requires Python 3.10. Tesseract and Hindi language data must be pre-installed on the system PATH. PDF processing requires manual confirmation of rasterization compatibility.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
- Software
Python 3.10+
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.