ocrmypdf

Install command:
brew install ocrmypdf

Adds an OCR text layer to scanned PDF files

https://ocrmypdf.readthedocs.io/en/latest/

License: MPL-2.0

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

Formula code: ocrmypdf.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 16.10.0

Revision: 1

Depends on:

cryptography 44.0.2 Cryptographic recipes and primitives for Python
freetype 2.13.3 Software library to render fonts
ghostscript 10.05.0 Interpreter for PostScript and PDF
img2pdf 0.6.0 Convert images to PDF via direct JPEG inclusion
jbig2enc 0.30 JBIG2 encoder (for monochrome documents)
libheif 1.19.7 ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
libpng 1.6.47 Library for manipulating PNG images
pillow 11.1.0 Friendly PIL fork (Python Imaging Library)
pngquant 3.0.3 PNG image optimizing utility
pybind11 2.13.6 Seamless operability between C++11 and Python
python@3.13 3.13.2 Interpreted, interactive, object-oriented programming language
qpdf 12.0.0 Tools for and transforming and inspecting PDF files
tesseract 5.5.0 OCR (Optical Character Recognition) engine
unpaper 7.0.0 Post-processing for scanned/photocopied books

Depends on when building from source:

pkgconf 2.4.3 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
ocrmypdf 3,903
ocrmypdf --HEAD 5
Installs on Request (30 days)
ocrmypdf 3,903
ocrmypdf --HEAD 5
Build Errors (30 days)
ocrmypdf 4
Installs (90 days)
ocrmypdf 9,060
ocrmypdf --HEAD 18
Installs on Request (90 days)
ocrmypdf 9,060
ocrmypdf --HEAD 18
Installs (365 days)
ocrmypdf 30,514
ocrmypdf --HEAD 62
Installs on Request (365 days)
ocrmypdf 30,514
ocrmypdf --HEAD 62
Fork me on GitHub