ocr-and-documents

Extract text from PDFs and scanned documents using pymupdf and marker-pdf.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Quickly convert text from PDFs, scanned documents, and image-based content into searchable, editable text using lightweight PDF extraction with pymupdf and OCR via marker-pdf.

Core Features & Use Cases

  • OCR-based text extraction for scanned PDFs and images using marker-pdf
  • Lightweight text extraction from standard PDFs with pymupdf
  • Optional outputs in Markdown or JSON and support for image extraction via included scripts
  • Use Case: convert archival research PDFs into searchable notes and extract embedded tables or images when needed

Quick Start

Run the python script to extract text from a local 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 image-based documents?▼

You can extract text from scanned PDFs using marker-pdf for OCR, which converts image-based documents into searchable and editable text suitable for research and archival workflows.

What is the best way to pull text out of a standard PDF without OCR?▼

For standard PDFs, pymupdf provides lightweight text extraction directly from the document layer, yielding searchable text quickly without the overhead of running OCR processing.

Can I extract tables and images from PDFs alongside the text?▼

Yes, the included scripts support optional image and table extraction from PDFs, allowing you to capture embedded visual content and structured data alongside the extracted text.

Does marker-pdf output Markdown or JSON formats for extracted document text?▼

Yes, the document extraction scripts support optional outputs in Markdown or JSON formats, enabling structured data conversion and integration into downstream data-collection pipelines.

When should I use pymupdf instead of marker-pdf for PDF text extraction?▼

Use pymupdf for lightweight text extraction from standard, text-based PDFs, whereas marker-pdf is necessary for OCR processing of scanned pages and image-based documents where text is not embedded.