mirror of
https://gitlab.com/Shinobi-Systems/ShinobiCE.git
synced 2025-03-09 15:40:15 +00:00
Shinobi CE officially lands on Gitlab
This commit is contained in:
commit
f1406d4eec
431 changed files with 118157 additions and 0 deletions
31
INSTALL/openalpr-gpu-easy.sh
Normal file
31
INSTALL/openalpr-gpu-easy.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Install prerequisites
|
||||
# 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
|
||||
sudo apt install libleptonica-dev -y
|
||||
sudo apt install libcurl4-openssl-dev -y
|
||||
sudo apt install liblog4cplus-dev -y
|
||||
sudo apt install beanstalkd -y
|
||||
sudo apt install openjdk-8-jdk -y
|
||||
|
||||
# Clone the latest code from GitHub
|
||||
git clone https://github.com/openalpr/openalpr.git
|
||||
|
||||
# Setup the build directory
|
||||
cd openalpr/src
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
# setup the compile environment
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc –DCOMPILE_GPU=1 -D WITH_GPU_DETECTOR=ON ..
|
||||
|
||||
# compile the library
|
||||
make
|
||||
|
||||
# Install the binaries/libraries to your local system (prefix is /usr)
|
||||
sudo make install
|
||||
|
||||
# Test the library
|
||||
wget http://plates.openalpr.com/h786poj.jpg -O lp.jpg
|
||||
alpr lp.jpg
|
||||
rm lp.jpg
|
Loading…
Add table
Add a link
Reference in a new issue