ocr-and-documents

Extract text, tables, and images from PDFs and scanned files using OCR.

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/zeronx798/demo-hermes-agent --skill ocr-and-documents-zeronx798
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/zeronx798/demo-hermes-agent/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/zeronx798/demo-hermes-agent --skill ocr-and-documents-zeronx798

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the challenge of extracting information from diverse document formats, including scanned PDFs, images, and complex layouts, which standard text-based tools cannot process.

Core Features & Use Cases

  • Intelligent Extraction: Uses lightweight tools for text-based PDFs and high-quality OCR models for scanned documents or complex layouts.
  • Versatile Parsing: Supports PDF, DOCX, PPTX, XLSX, HTML, and EPUB formats with options for table extraction and image retrieval.
  • Use Case: You can use this to convert a stack of scanned paper invoices into structured Markdown or JSON data, or to extract specific tables from a multi-page research paper.

Quick Start

Use the ocr-and-documents skill to extract all text and tables from the local file named report.pdf.

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 PDFs and images?

To extract text from scanned PDFs, this skill uses high-fidelity OCR and layout analysis via marker-pdf to process complex document structures and convert them into structured text output.

Can I extract tables from multi-page research papers?

Yes, you can extract tables from research papers by using the versatile parsing capabilities, which support table extraction and image retrieval from multi-page documents for structured data output.

Does this OCR and document extraction approach support DOCX and PPTX files?

Yes, document extraction supports DOCX and PPTX files alongside PDF, XLSX, HTML, and EPUB formats, using lightweight text-based parsing for native files and OCR for scanned content.

What is the best way to batch process scanned invoices into structured data?

Batch processing scanned invoices into Markdown or JSON data is achieved by applying the intelligent extraction pipeline, which uses OCR to convert stacks of documents into structured outputs.

When should I use lightweight parsing instead of OCR for PDF extraction?

Use lightweight parsing with pymupdf for text-based PDFs, and switch to high-fidelity OCR with marker-pdf only when processing scanned documents or complex layouts that standard tools cannot read.

What dependencies do I need to extract images from complex document layouts?

Extracting images from complex layouts requires installing marker-pdf for high-fidelity OCR and layout analysis, alongside pymupdf, python-docx, and python-pptx for versatile format parsing.