Install command:
brew install ocrmypdf

Adds an OCR text layer to scanned PDF files


License: MPL-2.0

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

Formula code on GitHub

Current versions:

stable 11.5.0
bottle 🍾 big_sur, catalina, mojave

Depends on:

freetype 2.10.4 Software library to render fonts
ghostscript 9.53.3 Interpreter for PostScript and PDF
jbig2enc 0.29 JBIG2 encoder (for monochrome documents)
jpeg 9d Image manipulation library
leptonica 1.80.0 Image processing and image analysis library
libffi 3.3 Portable Foreign Function Interface library
libpng 1.6.37 Library for manipulating PNG images
pngquant 2.13.1 PNG image optimizing utility
pybind11 2.6.1 Seamless operability between C++11 and Python
python@3.9 3.9.1 Interpreted, interactive, object-oriented programming language
qpdf 10.1.0 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


Installs (30 days)
ocrmypdf 3,635
Installs on Request (30 days)
ocrmypdf 3,631
Build Errors (30 days)
ocrmypdf 17
Installs (90 days)
ocrmypdf 9,302
Installs on Request (90 days)
ocrmypdf 9,291
Installs (365 days)
ocrmypdf 27,791
Installs on Request (365 days)
ocrmypdf 27,758
Fork me on GitHub