ocr-and-documents

Extract text from PDFs and scanned documents using OCR and parsing libraries.

1|1|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/linfordWu/owls --skill ocr-and-documents-linfordwu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/linfordWu/owls/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/linfordWu/owls --skill ocr-and-documents-linfordwu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Extract text from PDFs and scanned documents using OCR and parsing tools, enabling searchable archives and data extraction across formats like PDF, DOCX, and PPTX.

Core Features & Use Cases

  • Remote URL extraction with web_extract for online documents.
  • Local extraction using pymupdf for text-based PDFs and marker-pdf for OCR-rich scans, with optional Markdown/structured output.
  • Supports DOCX and PPTX via related tooling for integrated document workflows.
  • Use cases include converting research papers, invoices, and reports into searchable text for indexing and analysis.

Quick Start

Feed a local PDF to extract text and get Markdown output.

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 and convert it to Markdown?

Use marker-pdf for OCR-rich scans and pymupdf4llm to produce structured Markdown output from scanned PDFs. This handles mixed document formats reliably for searchable archives and data analysis.

Can I extract text from remote PDF and DOCX files via a URL?

Yes, you can extract text from remote PDF and DOCX files via a URL using the web_extract dependency. It fetches online documents and passes them to pymupdf or marker-pdf for parsing and Markdown extraction.

What is the best way to parse text-based PDFs versus scanned documents?

Use pymupdf for text-based PDFs and marker-pdf for scanned document OCR. Applying the correct parsing library to each document type ensures reliable text extraction across mixed formats.

Does pymupdf support extracting text from PPTX and DOCX files?

Yes, the extraction workflow supports DOCX and PPTX files via related tooling alongside pymupdf. It integrates these formats into document workflows to produce searchable text and structured Markdown outputs.

Why does my PDF text extraction return garbled or empty results?

PDF text extraction returns garbled results when using a text parser on scanned documents. Apply marker-pdf for OCR processing on scans instead of standard parsing to extract searchable text accurately.