ocr-and-documents

Extracts text from PDFs and scanned images using OCR tools like marker-pdf and pymupdf.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/Simon-Copilot-Studio/ai-content-hub --skill ocr-and-documents-simon-copilot-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/Simon-Copilot-Studio/ai-content-hub/tree/main/productivity/ocr-and-documents
Command: npx skills add https://github.com/Simon-Copilot-Studio/ai-content-hub --skill ocr-and-documents-simon-copilot-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill helps you extract readable text from PDFs and scanned documents, eliminating manual transcription and enabling downstream processing.

Core Features & Use Cases

  • Remote extraction with web_extract to convert PDFs from URLs into text or Markdown.
  • Local extraction using pymupdf for text-based PDFs and marker-pdf for OCR-based scans (90+ languages, layout-aware).
  • DOCX and PPTX compatibility guidance (better results when using dedicated tools for Word and slides).

Quick Start

Start by extracting from a remote URL with web_extract, then fall back to pymupdf for text-based PDFs or marker-pdf for OCR-based scans.

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, this skill applies marker-pdf, which is layout-aware and supports over 90 languages. It automatically selects the appropriate OCR-based extractor for scanned documents to convert images into readable text.

What is the best way to extract text from a PDF URL?

The best way to extract text from a PDF URL is using the web_extract method. This skill prioritizes web_extract as the first step to fetch remote PDFs and convert them directly into text or Markdown format.

Does pymupdf work for text extraction from native text-based PDFs?

Yes, pymupdf works for text extraction from native text-based PDFs. This skill uses pymupdf specifically for local text-based PDF files, while reserving marker-pdf for OCR-based scans to ensure accurate document processing.

Can I extract text from DOCX and PPTX files with this tool?

You can extract text from DOCX and PPTX files, but this skill provides compatibility guidance rather than direct parsing. It recommends using dedicated external tools for Word and slides to achieve better extraction results.

When should I use marker-pdf instead of pymupdf for document processing?

You should use marker-pdf instead of pymupdf for document processing when handling OCR-based scans. The skill selects pymupdf for local text-based PDFs and switches to marker-pdf for scanned documents requiring layout-aware OCR.