image-ocr

Extracts text and structured data from images using OCR engines.

3|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/legout/pi-config --skill image-ocr-legout
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-ocr
Source: https://github.com/legout/pi-config/tree/main/installed-skills/image-ocr
Command: npx skills add https://github.com/legout/pi-config --skill image-ocr-legout

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytesseract, pillow, opencv-python, easyocr, paddlepaddle, paddleocr, google-cloud-vision, boto3, pymupdf, pdf2image, anthropic.

What problem does it solve?

This skill solves the challenge of digitizing text from non-editable sources like images, screenshots, and scanned documents, enabling you to convert visual information into structured, machine-readable data.

Core Features & Use Cases

  • Multi-Engine Support: Choose between local tools like Tesseract and EasyOCR for privacy, or cloud APIs like Google Vision and AWS Textract for high-accuracy document parsing.
  • Advanced Preprocessing: Includes built-in image enhancement techniques like deskewing, binarization, and noise reduction to ensure the highest possible OCR accuracy.
  • Structured Extraction: Go beyond raw text by extracting key-value pairs, tables, and form data from complex documents like invoices and receipts.

Quick Start

Use the image-ocr skill to extract all text from the provided image file and return it as a clean string.

Frequently Asked Questions about image-ocr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text from a scanned document or image?

To extract text from a scanned document or image, you can use OCR engines like Tesseract, EasyOCR, or cloud APIs that convert visual information into structured, machine-readable data. The process involves image preprocessing, text recognition, and confidence-based validation to ensure high-quality output.

Can I extract structured data like key-value pairs from invoices?

Yes, you can extract structured data like key-value pairs, tables, and form data from complex documents such as invoices and receipts. This goes beyond raw text extraction, enabling you to digitize and structure visual information for downstream business logic.

Does this OCR approach support multilingual document digitization?

Yes, this OCR approach supports multilingual document digitization, allowing you to convert visual information from diverse languages into structured, machine-readable data. It handles various use cases including invoice parsing and handwriting recognition across multiple languages.

What is the best way to parse text from a PDF file?

The best way to parse text from a PDF file is by using OCR libraries that support PDF processing, converting the non-editable visual content into clean, machine-readable text strings. This enables the digitization of text from scanned documents and images embedded within PDFs.