Install command:
brew install ocrmypdf

Adds an OCR text layer to scanned PDF files


License: MPL-2.0

/api/formula/ocrmypdf.json (JSON API)

/api/bottle/ocrmypdf.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
Apple Silicon big sur

Current versions:

stable 12.3.1

Depends on:

ghostscript 9.54.0 Interpreter for PostScript and PDF
jbig2enc 0.29 JBIG2 encoder (for monochrome documents)
leptonica 1.81.1 Image processing and image analysis library
libffi 3.3 Portable Foreign Function Interface library
libpng 1.6.37 Library for manipulating PNG images
pillow 8.3.1 Friendly PIL fork (Python Imaging Library)
pngquant 2.15.1 PNG image optimizing utility
pybind11 2.7.0 Seamless operability between C++11 and Python
python@3.9 3.9.6 Interpreted, interactive, object-oriented programming language
qpdf 10.3.2 Tools for and transforming and inspecting PDF files
tesseract 4.1.1 OCR (Optical Character Recognition) engine
unpaper 6.1 Post-processing for scanned/photocopied books

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
rust 1.53.0 Safe, concurrent, practical language


Installs (30 days)
ocrmypdf 2,369
Installs on Request (30 days)
ocrmypdf 2,368
Build Errors (30 days)
ocrmypdf 0
Installs (90 days)
ocrmypdf 6,984
Installs on Request (90 days)
ocrmypdf 6,979
Installs (365 days)
ocrmypdf 32,232
Installs on Request (365 days)
ocrmypdf 32,200
Fork me on GitHub