CLI OCR

PHOTO EMBED

Mon Aug 16 2021 03:55:49 GMT+0000 (Coordinated Universal Time)

Saved by @jmbenedetto #bash

ocrmypdf “$1” “$1”
content_copyCOPY

$1 represents the file being treated by Hazel. ocrmypdf must be installed first using brew or conda.

https://github.com/jbarlow83/OCRmyPDF