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
64-bit linux
Apple Silicon big sur

Current versions:

stable 12.7.0

Revision: 1

Depends on:

ghostscript 9.55.0 Interpreter for PostScript and PDF
jbig2enc 0.29 JBIG2 encoder (for monochrome documents)
leptonica 1.82.0 Image processing and image analysis library
libffi 3.4.2 Portable Foreign Function Interface library
libpng 1.6.37 Library for manipulating PNG images
pillow 8.4.0 Friendly PIL fork (Python Imaging Library)
pngquant 2.15.1 PNG image optimizing utility
pybind11 2.8.0 Seamless operability between C++11 and Python
python@3.9 3.9.7 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.55.0 Safe, concurrent, practical language


Installs (30 days)
ocrmypdf 3,032
Installs on Request (30 days)
ocrmypdf 3,028
Build Errors (30 days)
ocrmypdf 0
Installs (90 days)
ocrmypdf 8,331
Installs on Request (90 days)
ocrmypdf 8,327
Installs (365 days)
ocrmypdf 32,922
Installs on Request (365 days)
ocrmypdf 32,894
Fork me on GitHub