Install command:
brew install pdfsandwich

Generate sandwich OCR PDFs from scanned file


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

/api/bottle/pdfsandwich.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
Apple Silicon big sur

Current versions:

stable 0.1.7
head ⚡️ HEAD

Revision: 4

Depends on:

exact-image 1.0.2 Image processing library
ghostscript 9.55.0 Interpreter for PostScript and PDF
imagemagick 7.1.0-10 Tools and libraries to manipulate images in many formats
poppler 21.10.0 PDF rendering library (based on the xpdf-3.0 code base)
tesseract 4.1.1 OCR (Optical Character Recognition) engine
unpaper 6.1 Post-processing for scanned/photocopied books

Depends on when building from source:

gawk 5.1.0 GNU awk utility
ocaml 4.12.0 General purpose programming language in the ML family


Installs (30 days)
pdfsandwich 77
Installs on Request (30 days)
pdfsandwich 76
Build Errors (30 days)
pdfsandwich 0
Installs (90 days)
pdfsandwich 202
Installs on Request (90 days)
pdfsandwich 201
Installs (365 days)
pdfsandwich 1,368
Installs on Request (365 days)
pdfsandwich 1,366
Fork me on GitHub