ocrmypdf-image
Installation
SKILL.md
OCRmyPDF — Image Processing Guide
Overview
OCRmyPDF includes powerful image processing capabilities to improve scan quality before OCR. These tools help fix skewed pages, remove noise, clean borders, and enhance readability.
For core OCR functionality, see the ocrmypdf skill. For optimization and PDF/A options, see ocrmypdf-optimize. For batch/Docker/scripting, see ocrmypdf-batch.
Deskew
Deskew corrects pages that are slightly rotated (e.g., from feed scanner skew).
# Auto deskew (recommended)
ocrmypdf --deskew input.pdf output.pdf
# Force deskew even if rotation is minimal
ocrmypdf --deskew --force-ocr input.pdf output.pdf