Works with the AI Agents you already use

    Local Indic Document OCR

    by Peddareddygari Praneeth Reddy

    1

    Local Python-based OCR pipeline for English and Hindi document extraction with offline translation support.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Local Indic Document OCR

    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

    FilePurposeDescription
    ocr_text.txtRaw TextFull unstructured text extracted from the image.
    layout_blocks.jsonGeometryCoordinates for headers, paragraphs, and tables.
    extracted_fields.jsonKey-Value DataStructured fields like Invoice Number and Date.
    result.jsonMetadataContains 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

    1. Review extracted_fields.json to confirm the Total Amount value.
    2. If you need this in Hindi, I can run the offline translation pipe using your local Argos package.
    3. Check retrieval_chunks.json if 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

    1. Environment setup Create a virtual environment and install the package along with language-specific Tesseract data.
    2. Backend selection Configure the pipeline to use stub for validation or tesseract for production image processing.
    3. Execution Run the CLI tool specifying input paths, language codes (eng, hin), and target output directories.
    4. Data inspection Parse the generated result.json and extracted_fields.json to 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill solves privacy and accuracy concerns by processing English and Hindi documents locally on your hardware. Unlike cloud APIs, it keeps sensitive data offline and provides layout analysis and error metrics (CER/WER) that prevent the hallucinations common in generic LLM prompting.

    You will receive the full Python source code for the pipeline, pre-configured adapters for multiple OCR backends, local translation modules, and documentation on how to set up the localized environments for English and Hindi processing.

    Yes, the skill is specifically optimized for air-gapped environments. It supports local translation using Argos Translate or IndicTrans2 models, ensuring your document workflows remain 100% offline without requiring internet-based translation APIs.

    You will need Python 3.10 or higher. Additionally, you must have Tesseract OCR and its Hindi language data files installed on your system's PATH, as these serve as the primary engines for the image-to-text extraction process.

    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.