From 8990b552bccb75e2c26de25e91bbe5ec6cd0ff99 Mon Sep 17 00:00:00 2001 From: Matthew Hill Date: Sat, 7 Jun 2014 13:37:16 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. From 3255ccab59cf2c38bbdd2b580dc10fc814b8c309 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 10 Jun 2014 17:00:33 -0500 Subject: [PATCH 2/2] Added alprd.conf upstart config --- alprd.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 alprd.conf 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 +