Commit Graph

56 Commits

Author SHA1 Message Date
Sam Dieck
52e9316afa Fixed frame memory management bug. Added worker thread sleep. 2017-11-29 01:02:44 -06:00
Sam Dieck
b4d3c519ff Added multi-threaded frame analysis to daemon 2017-11-18 23:09:25 -06:00
Matt Hill
cd2aab098f Tracking and deleting thread pointers 2016-08-18 08:33:14 -04:00
Bryon Gloden, CISSP®
2631c14c08 Update daemon.cpp
Sorry @matthill ! Although I made that change in https://github.com/openalpr/openalpr/pull/382 , I didn't test the library locally.

This new fix is building, and it is working when I test the library using:

wget http://i.imgur.com/pjukRD0.jpg -O lp.jpg
alpr lp.jpg
2016-07-21 14:08:35 -04:00
Bryon Gloden, CISSP®
426d863f90 Update daemon.cpp
[../openalpr-master/src/daemon.cpp:213]: (error) Memory leak: thread_upload
[../openalpr-master/src/daemon.cpp:216]: (error) Memory leak: thread_recognize

Found by https://github.com/bryongloden/cppcheck
2016-07-19 16:31:15 -04:00
Ryan Hunt
4f39f5d66e cleanup logging 2016-05-02 15:48:54 -06:00
Ryan Hunt
6511041bdf added alprd.config option for pattern 2016-05-02 14:55:14 -06:00
Matt Hill
95a0108bd8 Using a default alprd.conf file with an override in /etc/openalpr/alprd.conf 2016-03-21 16:51:55 -04:00
Matt Hill
1b8e640069 Fixed spelling mistakes in comments 2016-01-06 06:45:52 -05:00
Matt Hill
768ab11ecf Removed unsafe call from segfault catcher 2015-12-30 21:11:28 -05:00
Matt Hill
39c4756ce7 Changed Linux timestamp behavior. Explicitly using CLOCK_MONOTONIC_RAW and CLOCK_REALTIME 2015-03-16 23:13:06 -04:00
Matt Hill
c5c11accc1 Added company ID to output 2015-02-19 21:12:11 -05:00
Matt Hill
e6a06457b9 updated uploadPost prototype 2015-02-19 17:15:17 -05:00
Matt Hill
030ec56163 Reusing CURL object. Printing timing stats on upload thread 2015-02-19 17:04:54 -05:00
Matt Hill
88a052cb1b Using sleep_ms rather than usleep 2014-12-18 23:32:19 -05:00
Pranay Sharma
a9e1e16709 Added correct headers for the Daemon to POST json content 2014-12-18 17:38:14 -05:00
Matt Hill
6765d3088b Daemon supports changing config file location from command line 2014-11-01 10:22:12 -04:00
Matt Hill
85f52a6b8c Wrapped OpenALPR library in "alpr" namespace. Resolves issue #60. 2014-10-27 20:12:57 -04:00
Matt Hill
22b40b2b37 Moved topn value from command line argument to alprd config 2014-10-26 21:15:10 -04:00
Matt Hill
00127cbeb2 Moved alprd "Country" from a command line argument to daemon config file 2014-10-26 20:47:05 -04:00
Matt Hill
91f4988b43 Merge branch 'master' into v2.0
Conflicts:
	src/main.cpp
2014-10-23 17:26:52 -04:00
Matt Hill
ad9c338af0 Added segfault handler to daemon. Resolves issue #56 2014-10-22 21:24:39 -04:00
Matt Hill
4e5f82c3fb Fixed UUID str output bug for alprd 2014-10-05 16:44:58 -04:00
Matt Hill
396737bd3d Cleaned up API. No longer backwards compatible 2014-10-05 16:27:56 -04:00
Matt Hill
8f63d32cc6 Using site-camera-epochtime rather than random UUID. Removed UUID lib dependency 2014-10-01 08:39:44 -04:00
Matt Hill
aac6d61773 Added regions of interest to ALPR interface. Currently non-functional 2014-08-18 23:23:03 -04:00
Matt Hill
d76f122ad6 Organized "videobuffer" code into a video static library 2014-08-16 10:34:14 -04:00
Matt Hill
634c74f10d Fixed missing country argument for daemon 2014-07-25 08:07:45 -04:00
Matt Hill
4fde20b657 Improved daemon error logging 2014-07-10 18:17:18 -04:00
Matt Hill
2cce6af03a Updated default log file 2014-07-10 17:52:25 -04:00
Matt Hill
d31ff432cc Added clock parameter 2014-07-03 13:24:51 -04:00
Matt Hill
0562cf0f24 Added messages to DEBUG log 2014-07-03 13:24:03 -04:00
Matt Hill
f1d8be8d36 Added config parameter to control whether data is uploaded via POST 2014-07-03 13:23:06 -04:00
Matt Hill
c2c422d65f Added topN 2014-07-03 13:05:03 -04:00
Matt Hill
ce76e65e5d Updated config 2014-07-03 12:59:09 -04:00
Matt Hill
85d3112adb Updated config name 2014-07-03 12:51:23 -04:00
Matt Hill
decb4c863e Updated imports 2014-07-03 12:47:40 -04:00
Matt Hill
0c0a424b3b Replaced threading with forking. Performance is significantly improved 2014-07-03 12:16:42 -04:00
Matt Hill
4eb4cc2dd3 Sleep for longer when a connection cannot be established 2014-07-02 21:00:25 -04:00
Matt Hill
9814f40ca1 Updated error message 2014-07-02 19:49:58 -04:00
Matt Hill
06112af3e1 Added return false when data is not written 2014-07-02 19:48:59 -04:00
Matt Hill
1608886cba Added exception handling around Beanstalk 2014-07-02 19:25:07 -04:00
Matt Hill
6e8fcf4be4 Updated daemon to use new JSON format. Added processing time 2014-06-12 09:30:46 -04:00
Matt Hill
854043c715 Updated startup log 2014-06-09 17:05:06 -04:00
Matt Hill
01354189ae Added log statement for queue write failure 2014-06-08 15:00:30 -04:00
Matt Hill
70c05e5eb9 Using rolling log file with max size 2014-06-08 14:59:19 -04:00
Matt Hill
7ac5dbf1a0 Added logging library that functions in foreground and background (logs to file) 2014-06-08 14:57:16 -04:00
Matt Hill
19c87c1150 Added image width/height to uploaded json 2014-06-07 13:34:51 -04:00
Matt Hill
81bc97db86 Changed tube name to alprd. Updated site_id field in the JSON 2014-06-05 17:22:25 -04:00
Matt Hill
8d00c07219 Updated POSTS to work with web server 2014-06-04 18:43:09 -04:00