ocr-and-documents

Extract text, tables, and structured data from PDFs and scanned documents using OCR and layout analysis tools.

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

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 text and structured data from diverse document formats, including scanned PDFs, images, and complex layouts that standard text-based parsers cannot handle.

Core Features & Use Cases

  • Intelligent Extraction: Choose between lightweight text extraction or high-quality OCR for scanned documents and complex equations.
  • Versatile Format Support: Process PDFs, DOCX, PPTX, and images with specialized tools for tables and layout analysis.
  • Use Case: Use this skill to convert a batch of scanned research papers into clean Markdown files or to extract specific tables from a financial report for further analysis.

Quick Start

Use the ocr-and-documents skill to extract all text and tables from the provided document 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 a scanned PDF document?

To extract text from a scanned PDF, you need OCR and layout analysis tools that recognize characters from images. This skill uses marker-pdf for high-accuracy OCR to digitize scanned documents and complex layouts into clean text.

What is the best way to extract tables from a DOCX or PDF file?

The best way to extract tables from a DOCX or PDF file is using specialized layout analysis tools. This skill leverages pymupdf and python-docx to identify and extract structured table data from various document formats for further analysis.

Can I use this to convert research papers into Markdown files?

Yes, you can convert research papers into Markdown files by processing PDFs through text extraction and layout analysis. The skill uses pymupdf4llm to parse complex academic documents and output clean, structured Markdown.

Does text extraction work with PowerPoint presentations?

Yes, text extraction works with PowerPoint presentations by utilizing format-specific parsers. The skill integrates python-pptx to extract text and structured data from PPTX files, supporting versatile document format processing.

What is the difference between lightweight and high-accuracy OCR extraction?

Lightweight text extraction uses pymupdf for fast parsing of standard digital PDFs, while high-accuracy OCR uses marker-pdf for scanned documents and complex equations. The choice depends on whether your source documents are native digital files or image-based scans.

Why does standard text extraction fail on complex document layouts?

Standard text extraction fails on complex layouts because it lacks layout analysis to understand structural elements like tables and columns. This skill uses advanced OCR and layout tools to correctly interpret and extract structured data from challenging formats.