Index of every page on this site: llms.txt
All skills
redfox-data avatar

/pdf-image-text-extractor

@e5375fe
Run it yourself

PDF & image OCR text extractor — extract text from PDFs and images with original format preserved. Scanned PDFs auto-rendered for AI vision recognition (no tesseract/rapidocr needed); tables structured via pymupdf find_tables (no pdfplumber needed); supports batch directory processing (PDF + images in one shot). Use when extracting text from PDFs or images, performing OCR, processing scanned documents, extracting PDF tables, batch-processing folders, or converting to editable text.

  • 7 files
  • 54.7 KB
  • MIT
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/redfox-data/redfox-agent-plugins/pdf-image-text-extractor

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈1.4k tokens on demand. Your agent reads this file only when SKILL.md points to it.

PDF & Image Text Extractor / pdf-image-text-extractor

English | 简体中文


Overview

Upload an image or PDF and automatically recognize and extract the text content within. It supports scanned-PDF recognition, structured table extraction, and batch directory processing, preserving the original structure and layout for clear, readable output.

Core Value

  • Instant recognition: Upload an image or PDF—no extra steps needed, text extraction happens automatically.
  • Zero extra dependencies: Scanned recognition and table extraction require no OCR engine or table library—ready to use out of the box.
  • Format preservation: Paragraph structure and heading hierarchy are retained wherever possible, so results are ready to use.
  • Completely free: Only a free API Key is needed for permission verification—no credits deducted.

Intended Users

  • 📄 Office workers — Quickly extract text from scanned documents, contracts, and reports—no more manual retyping.
  • 📊 Finance / operations — Turn PDF tables into Markdown in one click, ready to paste.
  • 📚 Students / researchers — Pull content from academic PDFs for easier note-taking and citation.
  • ✍️ Content creators — Grab text references from image assets to speed up your workflow.

Features

Core Capabilities

  • Image text extraction: Upload an image to recognize all text within it—titles, body text, annotations, and more.
  • PDF text extraction: Automatically parses text from PDF pages, processing multi-page documents in one pass.
  • Scanned-PDF recognition: Automatically detects text-less scanned pages, renders them as high-resolution images, and recognizes them with AI vision—no OCR engine to install.
  • Structured table extraction: Automatically recognizes tables in PDFs and outputs them as Markdown tables, preserving row and column structure.
  • Batch directory processing: Pass in a directory path to process all PDF and image files inside in one go.
  • Structured output: Results are presented in clean Markdown format for easy copying or exporting.

API Key Acquisition & Security

  • This skill requires the environment variable: REDFOX_API_KEY.
  • REDFOX_API_KEY is issued by RedFoxHub (https://redfox.hk).
  • Register at RedFoxHub to obtain REDFOX_API_KEY.
  • Configure REDFOX_API_KEY on your device before using this skill.
  • Before providing a key, confirm its source, scope of use, validity period, and whether it can be reset or revoked.
  • Never hardcode or expose the key in plaintext in code, prompts, logs, or output files.

Usage Guide

Simply describe what you need in natural language—no commands to memorize.

Quick Reference

Intent Example phrase Result
Extract text from an image Upload an image and say "extract the text" Automatically recognizes and outputs all text in the image
Extract text from a PDF Upload a PDF and say "convert this PDF to text" Parses all pages and outputs with paragraph structure preserved
Recognize a scanned PDF Upload a scan and say "recognize this scanned document" Renders scanned pages as images and recognizes the text
Extract PDF tables "Extract the tables from this PDF" Outputs structured Markdown tables, ready to paste
Batch processing "Extract text from all files in this folder" Processes every PDF and image in the directory in one go
Save extraction results "Save the extracted text" Generates a Markdown file for later use

Output Example

After extraction, you'll see content similar to this:

## Page 1

All the entanglements we've been through
And the regrets we've carried
None of it is meaningless

---

## Page 2

| Product | Units | Revenue |
| --- | --- | --- |
| Alpha | 1200 | 36000 |
| Beta | 860 | 25800 |

Multi-page PDFs are separated by --- between pages; tables are output as standard Markdown tables.


Use Cases

Scenario Role Example question Benefit
Document digitization Office worker "Turn this contract PDF into text" Skip manual retyping and digitize documents in seconds
Scanned recognition Office / archivist "Recognize the text in this scanned document" No OCR software to install—AI recognizes it directly
Table extraction Finance / operations "Extract the tables from this report PDF" Get Markdown tables directly for easy downstream processing
Archive management Individual user "Extract text from all files in this folder" Process a whole directory in one pass, saving time and effort
Literature review Student / researcher "Extract the content from this paper PDF" Makes note-taking, citation, and searching easier

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at e5375fe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago
compatibility
Requires Python 3.9+ with pymupdf>=1.23.0 and requests>=2.28.0
Other metadata
metadata
{
  "author": "Redfox Data",
  "version": "2.1.0",
  "display-name-en": "PDF & Image Text Extractor",
  "homepage": "https://redfox.hk/skills/pdf-image-text-extractor",
  "dependency-python": "pymupdf>=1.23.0, requests>=2.28.0"
}

README badge

README badge for redfox-data/redfox-agent-plugins/pdf-image-text-extractor