Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

ocr-and-documents

Étoiles3
Forks5
Mis à jour16 juillet 2026 à 07:21

Extract text from PDFs, scans, and images. Two tiers: (1) fast, dependency-free text-LAYER extraction with PyMuPDF (import fitz) — already a core dependency — for born-digital PDFs that already contain selectable text; and (2) high-accuracy OCR + structured layout (Markdown/JSON with headings, tables, math, reading order) via the external marker-pdf CLI (marker_single / marker) for scanned/image-only PDFs or when you need clean Markdown. LOAD whenever the user wants to pull text out of a PDF/scan/image, 'OCR this', convert a PDF to Markdown/text/JSON, extract tables or a specific page range from a document, or read a document that has no copy-pasteable text. Decision rule: try the PyMuPDF text layer FIRST (instant, free, no models); only fall back to marker-pdf OCR when the text layer is empty/garbled (image-only scan) or the user needs layout-faithful Markdown/tables. PyMuPDF needs nothing extra; marker-pdf is a heavy external tool (PyTorch + Surya OCR model weights, optional GPU) installed on demand via pip

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly