ocr-and-documents

Extract text, tables, metadata, and images from PDFs and scanned documents.

3|1|Updated Apr 19, 2024
One-click install
npx skills add https://github.com/guccang/blogclaw --skill ocr-and-documents-guccang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/guccang/blogclaw/tree/main/cmd/hermes-agent/vendor/hermes_runtime/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/guccang/blogclaw --skill ocr-and-documents-guccang

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the challenge of extracting readable text and structured information from PDFs, scanned documents, and complex files that are difficult to process manually.

Core Features & Use Cases

  • PDF Text Extraction: Extract text, metadata, pages, tables, and images from standard PDF documents using lightweight parsing tools.
  • OCR and Layout Analysis: Process scanned PDFs and visually complex documents with advanced OCR, equation handling, and layout-aware conversion.
  • Use Case: Convert research papers, scanned records, reports, and archived documents into searchable Markdown or structured output for analysis and reuse.

Quick Start

Use the ocr-and-documents skill to extract all text from the attached PDF report.

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?

Extract text from a scanned PDF document by applying OCR workflows and layout-aware conversion to process scanned pages into searchable Markdown. This handles visually complex files, equations, and tables that standard text parsing cannot read.

What is the best way to convert a research paper PDF to Markdown?

The best way to convert a research paper PDF to Markdown is using layout-aware OCR and document parsing tools. This extracts text, metadata, and tables from complex layouts and transforms them into structured Markdown output for analysis.

Does PyMuPDF support extracting tables and images from standard PDFs?

Yes, PyMuPDF supports extracting tables and images from standard PDFs. It uses lightweight parsing tools to extract text, metadata, pages, and images from text-based PDF documents without requiring OCR capabilities.

Can I use OCR to parse archived documents with complex layouts?

Yes, you can use OCR to parse archived documents with complex layouts. Advanced OCR workflows apply layout analysis and equation handling to convert scanned records and archived files into searchable text or structured output.

When do I need OCR instead of standard PDF text extraction?

You need OCR instead of standard PDF text extraction when processing scanned documents or image-heavy files. Standard parsing extracts embedded text from digital PDFs, while OCR is required for scanned pages and visually complex documents.

What are the limitations of OCR and document parsing for PDF conversion?

Limitations of OCR and document parsing include potential inaccuracies with highly irregular layouts or low-quality scans. While advanced OCR handles equations and tables, extremely degraded archived documents may still produce imperfect text extraction results.