Commit Graph

2086 Commits

Author SHA1 Message Date
blakeblackshear
0514eeac03 switch to a thread for object detection 2019-03-27 20:44:57 -05:00
blakeblackshear
a074945394 missing param and updated readme 2019-03-27 06:55:32 -05:00
blakeblackshear
a26d2217d4 implement min person size again 2019-03-27 06:45:27 -05:00
blakeblackshear
200d769003 removing motion detection 2019-03-27 06:17:00 -05:00
blakeblackshear
48aa245914 convert docker build to x86 2019-03-26 05:44:33 -05:00
blakeblackshear
ada8ffccf9 fix for queue size growing too large 2019-03-25 20:35:44 -05:00
blakeblackshear
bca4e78e9a use a queue instead 2019-03-25 06:24:36 -05:00
blakeblackshear
7d3027e056 looping over all regions with motion. ugly, but working 2019-03-20 07:11:38 -05:00
blakeblackshear
c406fda288 fixes 2019-03-19 06:29:58 -05:00
blakeblackshear
8ff9a982b6 start the detection process 2019-03-18 07:48:04 -05:00
blakeblackshear
f2c205be99 prep frames for object detection in a separate process 2019-03-18 07:24:24 -05:00
blakeblackshear
862aa2d3f0 only resize when needed 2019-03-17 20:12:31 -05:00
blakeblackshear
8bae05cfe2 first working version, single region and motion detection disabled 2019-03-17 09:03:52 -05:00
blakeblackshear
de9c3f4d74 wait 5 seconds to clear the motion flag 2019-03-15 20:16:19 -05:00
blakeblackshear
c12e19349e only cleanup old objects when motion is detected so stationary objects are still detected 2019-03-15 20:15:41 -05:00
blakeblackshear
afb70f11a8 switch mqtt to a binary on/off instead of sending a message for each score 2019-03-12 20:54:43 -05:00
blakeblackshear
85259ca00c add support for mqtt user/pass. closes #7 2019-03-09 13:41:35 -06:00
blakeblackshear
1a55008cd5 update readme 2019-03-05 21:42:09 -06:00
blakeblackshear
2bf4820dc6 update readme 2019-03-03 10:04:27 -06:00
blakeblackshear
e597a08a66 prevent unnecessary early exit from loop 2019-03-02 15:20:53 -06:00
blakeblackshear
5dc76803d6 cleanup 2019-02-28 06:49:27 -06:00
blakeblackshear
80f7e998ae resend availability if disconnected 2019-02-28 06:30:34 -06:00
blakeblackshear
df7b90e367 store the best recent person image and reconnect the RTSP stream if unable to grab several consecutive frames 2019-02-27 20:55:07 -06:00
blakeblackshear
2e3c9da650 manage 2 seconds worth of motion frames for processing 2019-02-26 20:29:52 -06:00
blakeblackshear
89c03c4455 update readme 2019-02-25 20:34:04 -06:00
blakeblackshear
c5e4bc275c update readme 2019-02-25 20:30:18 -06:00
blakeblackshear
86f5d8128d initial refactoring 2019-02-25 20:27:02 -06:00
blakeblackshear
9186634c60 update readme 2019-02-25 06:48:31 -06:00
blakeblackshear
039782ad2e add min person area per region 2019-02-25 06:48:01 -06:00
blakeblackshear
bf6d6c3796 make debug a env var 2019-02-24 08:41:03 -06:00
blakeblackshear
b4e5c812ce switch to a queue for detected objects and expire objects after 1 second 2019-02-24 08:13:36 -06:00
blakeblackshear
122a1666ca just save images when a person is detected 2019-02-23 07:43:14 -06:00
blakeblackshear
5258803cd7 only save images of persons 2019-02-22 21:03:47 -06:00
blakeblackshear
9486a321c6 update masks 2019-02-21 06:45:36 -06:00
blakeblackshear
bff1826bf5 only write the first motion frame 2019-02-20 17:44:51 -06:00
blakeblackshear
19323ac957 only clear the flag and notify if it was set 2019-02-20 17:43:27 -06:00
blakeblackshear
aeece7b98c handle RTSP stream errors 2019-02-20 07:12:07 -06:00
blakeblackshear
a73760989c clarify comment 2019-02-20 07:11:49 -06:00
Blake Blackshear
eded4d172f
Merge pull request #5 from blakeblackshear/motion_masking
Motion masking
2019-02-20 06:21:22 -06:00
blakeblackshear
496b96b4f7 make motion detection less sensitive to rain
reduces the significance of fast moving objects and prioritizes objects that overlap in location across. multiple frames
2019-02-20 06:20:52 -06:00
blakeblackshear
f54fa2e56c add the ability to apply a masking image 2019-02-19 21:15:57 -06:00
Blake Blackshear
2929773c10
Merge pull request #4 from blakeblackshear/thread_signals
Thread signals
2019-02-19 06:48:15 -06:00
blakeblackshear
c43d83be20 update readme 2019-02-19 06:47:37 -06:00
blakeblackshear
b6547de82c adjust debugging params and alpha for background averaging 2019-02-19 06:47:00 -06:00
blakeblackshear
290150603e remove debug time 2019-02-17 20:36:01 -06:00
blakeblackshear
03c57bf67d use a condition to signal to the mqtt publisher that objects were parsed 2019-02-17 13:12:27 -06:00
blakeblackshear
42ff739cea move mqtt motion publishing into separate thread 2019-02-17 12:59:51 -06:00
blakeblackshear
92e1833def use a condition to notify when object detection has run 2019-02-17 12:32:19 -06:00
blakeblackshear
957bd2adeb use events to signal when motion is detected 2019-02-17 12:12:48 -06:00
blakeblackshear
8525f05f29 get a lock when copying frame for mjpeg stream 2019-02-17 11:54:40 -06:00