ocr-and-documents

Extract text from PDFs, scanned documents, and images using OCR.

Updated May 8, 2026
One-click install
npx skills add https://github.com/gztcode/my-skills --skill ocr-and-documents-gztcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/gztcode/my-skills/tree/main/ocr-and-documents
Command: npx skills add https://github.com/gztcode/my-skills --skill ocr-and-documents-gztcode

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the problem of extracting text from a variety of document formats, such as PDFs, scanned documents, and images, making it easier to access and process text data.

Core Features & Use Cases

  • Text Extraction from PDFs: Automatically extract text from PDF documents, whether they are text-based or scanned images.
  • Document Parsing: Offers functionality for parsing and extracting data from various document formats, including DOCX and PPTX.
  • Use Case: Ideal for researchers, data analysts, or anyone who needs to process large volumes of text from different document types.

Quick Start

Use the ocr-and-documents skill to extract text from a local PDF file named 'example.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 images?

You can extract text from a local PDF file by invoking the skill with the file name. The skill handles local files, remote URLs, and batch processing to pull text from PDFs, scanned documents, and images automatically.

Can I parse text from DOCX and PPTX files?

Yes, you can parse and extract data from DOCX and PPTX files. The skill uses python-docx alongside pymupdf to handle various document formats, making it ideal for processing large volumes of text from different document types.

Does this PDF text extraction tool support remote URLs and batch processing?

Yes, the PDF text extraction tool supports remote URLs and batch processing. It is capable of handling local files and remote links to process multiple documents automatically for administrative workflows and research.

What is the best way to extract text from documents for data analysis?

The best way to extract text for data analysis is using a document parsing approach that integrates pymupdf4llm with OCR tools. This combination structures raw text from PDFs and images, preparing it for downstream research and analysis.

Why use pymupdf and marker-pdf for document parsing?

Pymupdf and marker-pdf are used for document parsing because they effectively handle both text-based and scanned PDFs. They provide robust text extraction capabilities for images and complex document layouts without losing structural data.