diff --git a/README.md b/README.md index 26251c2..029963d 100644 --- a/README.md +++ b/README.md @@ -100,8 +100,8 @@ OpenALPR compiles and runs on Linux, Mac OSX and Windows. OpenALPR requires the following additional libraries: - - Tesseract OCR v3.x (https://code.google.com/p/tesseract-ocr/) - - OpenCV v2.4.x (http://opencv.org/) + - Tesseract OCR v3.0.3 (https://code.google.com/p/tesseract-ocr/) + - 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. diff --git a/alprd.conf b/alprd.conf new file mode 100644 index 0000000..265fd8e --- /dev/null +++ b/alprd.conf @@ -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 +