ocr-and-documents

Extract text from PDFs and scanned documents using OCR.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/lxh755818-bot/obsidian-vault --skill ocr-and-documents-lxh755818-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/lxh755818-bot/obsidian-vault/tree/main/backup/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/lxh755818-bot/obsidian-vault --skill ocr-and-documents-lxh755818-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the challenge of converting PDFs and scanned documents into editable text, enabling efficient text extraction and processing.

Core Features & Use Cases

  • PDF Text Extraction: Extract text from PDFs using both pymupdf and marker-pdf, with options for OCR and advanced layout analysis.
  • Scanned Document OCR: Convert scanned documents into text using marker-pdf's OCR capabilities.
  • Document Parsing: Extract tables, metadata, and images from PDFs.
  • Use Case: Quickly convert a stack of scanned receipts into a digital spreadsheet for easier record-keeping.

Quick Start

Use the ocr-and-documents skill to extract text from a scanned document 'scanned_receipt.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 PDF documents using OCR?

To extract text from scanned PDF documents, this Skill uses marker-pdf's OCR capabilities to convert scanned images into editable text. It supports advanced layout analysis and batch processing for administrative workflows requiring text conversion.

Can I extract tables and metadata from PDFs along with the text?

Yes, you can extract tables, metadata, and images from PDFs during document parsing. The Skill uses pymupdf and marker-pdf to capture structural elements, enabling comprehensive data extraction beyond plain text.

What is the best way to batch process a stack of scanned receipts into digital text?

The best way to batch process scanned receipts is using this Skill's batch processing options. It applies marker-pdf OCR to convert multiple scanned documents into digital text, ideal for record-keeping and spreadsheet creation.

Does marker-pdf support advanced layout analysis for complex PDF text extraction?

Yes, marker-pdf supports advanced layout analysis for complex PDF text extraction. The Skill utilizes this alongside pymupdf to ensure precise text conversion from PDFs with intricate structural formatting.

Why use pymupdf and marker-pdf together for document parsing?

Using pymupdf and marker-pdf together provides comprehensive document parsing. pymupdf handles direct text and metadata extraction, while marker-pdf adds OCR capabilities for scanned documents, ensuring precise text conversion across formats.

Do I need Python libraries installed to convert scanned documents to editable text?

Yes, you need the pymupdf, pymupdf4llm, and marker-pdf Python libraries installed to convert scanned documents to editable text. These dependencies enable the OCR and advanced parsing features used for text extraction.