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.54.0 Interpreter for PostScript and PDF
imagemagick 7.1.0-4 Tools and libraries to manipulate images in many formats
poppler 21.07.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 71
Installs on Request (30 days)
pdfsandwich 70
Build Errors (30 days)
pdfsandwich 0
Installs (90 days)
pdfsandwich 242
Installs on Request (90 days)
pdfsandwich 241
Installs (365 days)
pdfsandwich 1,456
Installs on Request (365 days)
pdfsandwich 1,454
Fork me on GitHub