Skip to content

Instantly share code, notes, and snippets.

@garrypolley
Created October 4, 2014 21:19
Show Gist options
  • Select an option

  • Save garrypolley/c918fd7f99d0f4f4d831 to your computer and use it in GitHub Desktop.

Select an option

Save garrypolley/c918fd7f99d0f4f4d831 to your computer and use it in GitHub Desktop.
install steps for openalpr. trying ot help out at hackmizzou

Install system dependencies:

  • Note I have a lot of c libraries already installed from Python development
  • cmake
  • leptonica

Dir setup:

mkdir ~/src
mkdir ~/src/hackmizzou
cd ~/src/hackmizzou
``

Get code:

``sh
git clone https://code.google.com/p/tesseract-ocr/
git clone https://github.com/Itseez/opencv.git
git clone https://github.com/openalpr/openalpr.git

Compile code

tesseract-ocr

cd tesseract-ocr
./autogen.sh
./configure
make
make install # this may not be needed.

opencv

cd ~/src/hackmizzou/opencv
cmake
make
make install

Modify the openalpr CMakeLists.txt to point to the two made projects

cd ~/src/hackmizzou/openalpr/src
cmake
make
make install  # no idea here this a guess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment