ocrmypdf

Installation
SKILL.md

OCRmyPDF — Core OCR Guide

Overview

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched or copy-pasted. It uses Tesseract OCR, supports 100+ languages, produces PDF/A by default, and distributes work across all CPU cores.

For image processing (deskew, rotate, clean), see the ocrmypdf-image skill. For optimization and PDF/A options, see ocrmypdf-optimize. For batch/Docker/scripting, see ocrmypdf-batch. For Python API and plugins, see ocrmypdf-api.

Installation

One-liner installs (recommended)

OS Command
Debian / Ubuntu apt install ocrmypdf
Fedora dnf install ocrmypdf tesseract-osd
macOS (Homebrew) brew install ocrmypdf
macOS (MacPorts) port install ocrmypdf
FreeBSD pkg install py-ocrmypdf
Related skills

More from teachingai/full-stack-skills

Installs
1
GitHub Stars
381
First Seen
Apr 6, 2026