Skip to content

Instantly share code, notes, and snippets.

@corysolovewicz
Created December 20, 2019 00:30
Show Gist options
  • Save corysolovewicz/a7b2b943b6032621ce6096122f4ddcc0 to your computer and use it in GitHub Desktop.
Save corysolovewicz/a7b2b943b6032621ce6096122f4ddcc0 to your computer and use it in GitHub Desktop.
Brew instructions for building OpenALPR on MacOS using opencv v3
brew install tesseract opencv@3 log4cplus
git clone https://github.com/openalpr/openalpr.git
cd openalpr/src
mkdir build
cd build
export OpenCV_DIR="/usr/local/opt/opencv@3/"
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_MACOSX_RPATH=true -DCMAKE_CXX_FLAGS="-std=c++11"
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment