fix tesseract libs for openalpr installer

merge-requests/63/head
Moe 2019-03-04 11:31:09 -08:00
parent cdf2e6f8c8
commit d1e9aac26c
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ if ! [ -x "$(command -v opencv_version)" ]; then
else
echo "OpenCV found... : $(opencv_version)"
fi
# get tesseract repo because ubuntu repo is serving a broken version
sudo add-apt-repository ppa:alex-p/tesseract-ocr -y
sudo apt-get update
# this includes all the ones missing from OpenALPR's guide.
sudo apt install libtesseract-dev git cmake build-essential libleptonica-dev -y
sudo apt install liblog4cplus-dev libcurl3-dev -y