ocr-and-documents

Extract text from PDFs, scanned documents, images, and office files.

247|22|Updated Dec 11, 2024
One-click install
npx skills add https://github.com/graniet/kheish --skill ocr-and-documents-graniet
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/graniet/kheish/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/graniet/kheish --skill ocr-and-documents-graniet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf, pymupdf4llm, marker-pdf, and includes scripts (resource) components.

What problem does it solve?

Manually extracting text from PDFs, scanned documents, and images is time-consuming and error-prone, especially for large batches or complex layouts like tables, equations, and OCR-required scanned files.

Core Features & Use Cases

  • Multi-format text extraction: Supports text-based PDFs, scanned/OCR documents, DOCX, PPTX, EPUB, and image files.
  • Dual extraction modes: Lightweight pymupdf for fast, dependency-minimal text-based PDF processing, and high-accuracy marker-pdf for OCR, equation recognition, and complex layout analysis.
  • Use case: Researchers can quickly extract full text from Arxiv papers, while administrative teams can batch-process scanned invoices into editable, structured text.

Quick Start

Use the ocr-and-documents skill to extract all text from your attached scanned PDF document and save it as a clean markdown file.

Frequently Asked Questions about ocr-and-documents

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

FAQPage Schema
How do I extract text from scanned PDF documents and images?▼

To extract text from scanned PDFs and images, this Skill uses high-accuracy OCR processing via marker-pdf to recognize text, equations, and complex layouts, outputting clean structured markdown.

What is the best way to parse Arxiv papers with complex tables and equations?▼

Parsing Arxiv papers with complex tables and equations is handled by the high-accuracy extraction mode, which uses marker-pdf for precise OCR, equation recognition, and layout analysis.

Does this text extraction tool support office file formats like DOCX and PPTX?▼

Yes, this text extraction tool supports multi-format parsing for DOCX, PPTX, EPUB, and image files, alongside standard text-based and scanned PDF documents.

Can I batch process scanned invoices for administrative tasks?▼

You can batch process scanned invoices for administrative digitization by applying OCR extraction to convert complex scanned layouts into editable, structured text files.

Why use lightweight pymupdf versus high-accuracy marker-pdf for PDF text extraction?▼

Use lightweight pymupdf for fast, dependency-minimal processing of text-based PDFs, whereas marker-pdf is necessary for scanned documents requiring OCR and complex layout analysis.