ocr-and-documents

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

Updated Sep 1, 2021
One-click install
npx skills add https://github.com/unclehowell/unclehowell --skill ocr-and-documents-unclehowell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/unclehowell/unclehowell/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/unclehowell/unclehowell --skill ocr-and-documents-unclehowell

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manual extraction of text, tables, and images from PDFs, scanned documents, and other file formats is slow and error‑prone, limiting productivity for research, analysis, and content repurposing.

Core Features & Use Cases

  • Remote extraction: Uses web_extract for URLs to obtain markdown without local dependencies.
  • Lightweight local extraction: pymupdf handles text‑based PDFs, tables, and images quickly.
  • High‑quality OCR & complex layout: marker-pdf processes scanned PDFs, equations, forms, and multilingual text when advanced extraction is required.
  • Example: A researcher pulls abstracts and full texts from dozens of arXiv papers, extracting searchable text and tables for a literature review.

Quick Start

Ask the OCR skill to extract all text from the file 'report.pdf' and return it as plain text.

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 using OCR?

To extract text from a scanned PDF using OCR, use marker-pdf for high-quality extraction of complex layouts, equations, and forms. This approach processes multilingual text and returns searchable content without manual transcription.

What is the best way to extract text from text-based PDFs?

The best way to extract text from text-based PDFs is using lightweight pymupdf, which quickly handles text, tables, and images. It provides fast text extraction for research and content repurposing without needing heavy OCR processing.

Can I extract text from remote PDFs using a URL?

Yes, you can extract text from remote PDFs using the web_extract feature to obtain markdown directly from URLs. This allows document processing without requiring local file dependencies or manual downloads.

When do I need marker-pdf instead of pymupdf for PDF text extraction?

You need marker-pdf instead of pymupdf when processing scanned PDFs, equations, forms, or multilingual text that requires advanced OCR. For simple text-based PDFs, pymupdf is the faster and more lightweight option.

Does this PDF text extraction method support tables and images?

Yes, this PDF text extraction method supports tables and images using both pymupdf for lightweight local extraction and marker-pdf for complex layouts. It handles document processing for research, analysis, and content repurposing tasks.