ocr-and-documents

Extract text from PDFs, scans, and images via pymupdf and marker-pdf.

78|16|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/sheawinkler/hermes-agent-ultra --skill ocr-and-documents-sheawinkler
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/sheawinkler/hermes-agent-ultra/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/sheawinkler/hermes-agent-ultra --skill ocr-and-documents-sheawinkler

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Text extraction from PDFs, scans, and document images is error-prone and manual; this skill automates it using lightweight pymupdf for fast text extraction and marker-pdf for high-quality OCR when needed.

Core Features & Use Cases

  • Lightweight text extraction from text-based PDFs using pymupdf.
  • High-quality OCR and layout-aware extraction for scanned documents using marker-pdf.
  • Output formats include Markdown/text, with optional image extraction and table parsing for research, archiving, and data processing.

Use case: Researchers can convert scanned articles into searchable text with preserved structure, while admins can extract data from invoices or contracts for indexing.

Quick Start

Provide a PDF path or URL and run the extraction to get Markdown text and metadata.

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?▼

Extract text from scanned PDFs by applying OCR and layout-aware parsing using marker-pdf, which handles complex document structures and outputs the text as Markdown.

What is the best way to convert PDFs to Markdown while preserving tables?▼

Converting PDFs to Markdown with preserved tables is best handled using marker-pdf for high-quality OCR, ensuring structured output and accurate layout analysis for research and archiving.

Can I use pymupdf for fast text extraction from text-based PDFs?▼

Yes, you can use pymupdf for lightweight and fast text extraction from text-based PDFs, providing a quick method to pull raw text without running heavy OCR processing.

How do I parse invoices and contracts using OCR for data indexing?▼

Parse invoices and contracts using OCR by applying document parsing tools that perform layout analysis, extracting structured text and table data into Markdown for administrative indexing.

Does marker-pdf support extracting images and tables from academic papers?▼

Yes, marker-pdf supports high-quality OCR for academic papers, including the extraction and parsing of images, tables, and structured text output for research processing.

When should I use pymupdf instead of marker-pdf for document processing?▼

Use pymupdf for fast, lightweight text extraction from native digital PDFs, and switch to marker-pdf when you need high-quality OCR, layout awareness, or table parsing for scanned documents.