mirror of
https://gitlab.com/Shinobi-Systems/ShinobiCE.git
synced 2025-03-09 15:40:15 +00:00
Son Goku
- Rebased sql, test, web, defintions, languages, INSTALL, and libs folders.
This commit is contained in:
parent
24de55e45a
commit
d0b12e92e7
362 changed files with 21716 additions and 7018 deletions
|
@ -1,4 +1,17 @@
|
|||
# Install prerequisites
|
||||
DIR=`dirname $0`
|
||||
INSTALLERS_DIR="$DIR"
|
||||
echo "-----------------------------------"
|
||||
if ! [ -x "$(command -v opencv_version)" ]; then
|
||||
echo "Installing OpenCV"
|
||||
dos2unix $INSTALLERS_DIR/opencv-cuda.sh
|
||||
sh $INSTALLERS_DIR/opencv-cuda.sh
|
||||
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
|
||||
|
@ -28,4 +41,4 @@ sudo make install
|
|||
# Test the library
|
||||
wget http://plates.openalpr.com/h786poj.jpg -O lp.jpg
|
||||
alpr lp.jpg
|
||||
rm lp.jpg
|
||||
rm lp.jpg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue