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

Bottle JSON API: /api/bottle/ocrmypdf.json

Formula code: ocrmypdf.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 13.4.2

Depends on:

ghostscript 9.56.1 Interpreter for PostScript and PDF
jbig2enc 0.29 JBIG2 encoder (for monochrome documents)
libffi 3.4.2 Portable Foreign Function Interface library
libpng 1.6.37 Library for manipulating PNG images
pillow 9.1.1 Friendly PIL fork (Python Imaging Library)
pngquant 2.17.0 PNG image optimizing utility
pybind11 2.9.2 Seamless operability between C++11 and Python
python@3.9 3.9.12 Interpreted, interactive, object-oriented programming language
qpdf 10.6.3 Tools for and transforming and inspecting PDF files
tesseract 5.1.0 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.59.0 Safe, concurrent, practical language

Analytics (macOS):

Installs (30 days)
ocrmypdf 1,466
Installs on Request (30 days)
ocrmypdf 1,467
Build Errors (30 days)
ocrmypdf 2
Installs (90 days)
ocrmypdf 6,943
Installs on Request (90 days)
ocrmypdf 6,944
Installs (365 days)
ocrmypdf 31,177
Installs on Request (365 days)
ocrmypdf 31,169

Analytics (Linux):

Installs (30 days)
ocrmypdf 11
Installs on Request (30 days)
ocrmypdf 12
Build Errors (30 days)
ocrmypdf 0
Installs (90 days)
ocrmypdf 38
Installs on Request (90 days)
ocrmypdf 40
Installs (365 days)
ocrmypdf 144
Installs on Request (365 days)
ocrmypdf 140
Fork me on GitHub