OCR
Tesseract OCR
Build tesseract
Install leptonica[1]:
# https://stackoverflow.com/questions/40067547/glibtool-on-macbook
brew install libtool automake
git clone https://github.com/DanBloomberg/leptonica.git
cd leptonica
./autogen.sh
./configure
make
sudo make install
Install tesseract-ocr:
git clone https://github.com/tesseract-ocr/tesseract.git
cd tesseract
./autogen.sh
./configure
make
sudo make install