ocr-and-documents

Extract text from PDFs, scans, and images using OCR backends.

13|3|Updated May 12, 2026
One-click install
npx skills add https://github.com/kevinnft/ai-agent-skills --skill ocr-and-documents-kevinnft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/kevinnft/ai-agent-skills/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/kevinnft/ai-agent-skills --skill ocr-and-documents-kevinnft

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The skill automates the extraction of text from PDFs, scanned documents, and images using OCR and document parsing tools to convert content into searchable, editable text.

Core Features & Use Cases

  • OCR-based text extraction from scanned PDFs and images with layout-aware output
  • Markdown or plain-text conversion preserving structure for research, reporting, and archiving
  • Use Case: Convert a batch of scanned invoices into searchable text and extract key fields for indexing

Quick Start

Provide a PDF or scanned document and I will extract its text using OCR.

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 a scanned PDF and convert it to markdown?

This skill automates text extraction from scanned PDFs and images using OCR, preserving document layout for tables and images, and outputs searchable markdown or plain text for research and administrative workflows.

Can I extract text from scanned invoices for indexing and archiving?

Yes, you can extract text from scanned invoices for indexing and archiving. The skill automates OCR-based text capture from diverse formats, preserving structural layout to enable reliable field extraction and searchable text conversion.

Does this OCR tool preserve tables and images during PDF text extraction?

Yes, this OCR tool preserves tables and images during PDF text extraction. It uses layout-aware parsing through marker-pdf and pymupdf backends to maintain structural integrity when converting documents into markdown or text outputs.

What is the best way to convert PDFs into searchable text locally?

The best way to convert PDFs into searchable text locally is using this skill's pymupdf and marker-pdf backends. It applies OCR to scanned documents and images, ensuring reliable text capture without requiring external cloud processing.

Do I need pymupdf or marker-pdf to extract text from scanned documents?

You do not need to manually configure pymupdf or marker-pdf to extract text from scanned documents. The skill handles these dependencies internally to automate OCR, table handling, and image layout preservation for your text outputs.

Why does OCR text extraction fail on complex document layouts?

OCR text extraction can struggle with complex document layouts if the parsing backend lacks layout-aware capabilities. This skill mitigates that by using marker-pdf and pymupdf4llm to preserve tables, images, and structural formatting during markdown conversion.