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

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

Formula code: ocrmypdf.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 14.0.0

Depends on:

freetype 2.12.1 Software library to render fonts
ghostscript 9.56.1 Interpreter for PostScript and PDF
jbig2enc 0.29 JBIG2 encoder (for monochrome documents)
libpng 1.6.38 Library for manipulating PNG images
pillow 9.2.0 Friendly PIL fork (Python Imaging Library)
pngquant 2.17.0 PNG image optimizing utility
pybind11 2.10.0 Seamless operability between C++11 and Python
python@3.10 3.10.6 Interpreted, interactive, object-oriented programming language
qpdf 11.1.0 Tools for and transforming and inspecting PDF files
tesseract 5.2.0 OCR (Optical Character Recognition) engine
unpaper 7.0.0 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.63.0 Safe, concurrent, practical language

Analytics (macOS):

Installs (30 days)
ocrmypdf 3,030
Installs on Request (30 days)
ocrmypdf 3,025
Build Errors (30 days)
ocrmypdf 2
Installs (90 days)
ocrmypdf 8,376
Installs on Request (90 days)
ocrmypdf 8,374
Installs (365 days)
ocrmypdf 32,247
Installs on Request (365 days)
ocrmypdf 32,242

Analytics (Linux):

Installs (30 days)
ocrmypdf 21
Installs on Request (30 days)
ocrmypdf 21
Build Errors (30 days)
ocrmypdf 0
Installs (90 days)
ocrmypdf 58
Installs on Request (90 days)
ocrmypdf 58
Installs (365 days)
ocrmypdf 186
Installs on Request (365 days)
ocrmypdf 184
Fork me on GitHub