mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-08 00:20:20 +08:00
Merge branch 'master' of bitbucket.org:wts-dev/openalpr-wts into wts
This commit is contained in:
@@ -100,8 +100,8 @@ OpenALPR compiles and runs on Linux, Mac OSX and Windows.
|
|||||||
|
|
||||||
OpenALPR requires the following additional libraries:
|
OpenALPR requires the following additional libraries:
|
||||||
|
|
||||||
- Tesseract OCR v3.x (https://code.google.com/p/tesseract-ocr/)
|
- Tesseract OCR v3.0.3 (https://code.google.com/p/tesseract-ocr/)
|
||||||
- OpenCV v2.4.x (http://opencv.org/)
|
- OpenCV v2.4.8+ (http://opencv.org/)
|
||||||
|
|
||||||
After cloning this GitHub repository, you should download and extract Tesseract and OpenCV source code into their own directories. Compile both libraries.
|
After cloning this GitHub repository, you should download and extract Tesseract and OpenCV source code into their own directories. Compile both libraries.
|
||||||
|
|
||||||
|
24
alprd.conf
Normal file
24
alprd.conf
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# alprd - OpenALPR daemon
|
||||||
|
#
|
||||||
|
# OpenALPR daemon detects license plate in the background
|
||||||
|
|
||||||
|
description "OpenALPR daemon"
|
||||||
|
author "Matt Hill"
|
||||||
|
|
||||||
|
start on filesystem and static-network-up
|
||||||
|
stop on runlevel [016]
|
||||||
|
|
||||||
|
expect fork
|
||||||
|
|
||||||
|
respawn
|
||||||
|
respawn limit 5 30
|
||||||
|
|
||||||
|
env uid=watchtower
|
||||||
|
env gid=watchtower
|
||||||
|
|
||||||
|
env DAEMON=/usr/local/bin/alprd
|
||||||
|
env DAEMON_ARGS="-l /var/log/watchtower/alprd.log"
|
||||||
|
env PIDFILE=/var/run/alprd.pid
|
||||||
|
|
||||||
|
exec start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --chuid $uid:$gid -- $DAEMON_ARGS
|
||||||
|
|
Reference in New Issue
Block a user