Install command:
brew install ocrmypdf

Adds an OCR text layer to scanned PDF files


License: MPL-2.0

Formula JSON API: /api/formula/ocrmypdf.json

Formula code: ocrmypdf.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
Intel sonoma
64-bit linux

Current versions:

stable 16.1.1

Depends on:

freetype 2.13.2 Software library to render fonts
ghostscript 10.02.1 Interpreter for PostScript and PDF
img2pdf 0.5.1 Convert images to PDF via direct JPEG inclusion
jbig2enc 0.29 JBIG2 encoder (for monochrome documents)
libpng 1.6.43 Library for manipulating PNG images
pillow 10.2.0 Friendly PIL fork (Python Imaging Library)
pngquant 3.0.3 PNG image optimizing utility
pybind11 2.11.1 Seamless operability between C++11 and Python
python-cryptography 42.0.5 Cryptographic recipes and primitives for Python
python@3.12 3.12.2 Interpreted, interactive, object-oriented programming language
qpdf 11.9.0 Tools for and transforming and inspecting PDF files
tesseract 5.3.4 OCR (Optical Character Recognition) engine
unpaper 7.0.0 Post-processing for scanned/photocopied books


Installs (30 days)
ocrmypdf 2,630
ocrmypdf --HEAD 3
Installs on Request (30 days)
ocrmypdf 2,630
ocrmypdf --HEAD 3
Build Errors (30 days)
ocrmypdf 0
Installs (90 days)
ocrmypdf 8,818
ocrmypdf --HEAD 14
Installs on Request (90 days)
ocrmypdf 8,816
ocrmypdf --HEAD 14
Installs (365 days)
ocrmypdf 29,263
ocrmypdf --HEAD 36
Installs on Request (365 days)
ocrmypdf 29,260
ocrmypdf --HEAD 36
Fork me on GitHub