Commit Graph

967 Commits

Author SHA1 Message Date
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
blakeblackshear
b67f323215 use a lock and condition to signal to motion detection processes 2019-02-17 11:52:56 -06:00
blakeblackshear
284a96d5c7 update readme 2019-02-17 10:37:11 -06:00
blakeblackshear
a84f88c5a5 comments 2019-02-17 10:36:09 -06:00
blakeblackshear
2b0ebfa354 draw contours and area on image for motion debugging 2019-02-17 10:34:48 -06:00
blakeblackshear
d9d3937a0f reset motion counter when no contours exist 2019-02-17 08:00:35 -06:00
blakeblackshear
7d4cfe43ad WIP: debug images 2019-02-17 07:27:11 -06:00
blakeblackshear
f7c8b742e8 increase min confidence to .5 2019-02-17 07:26:09 -06:00
blakeblackshear
861539e8b5 require a minimum of 3 consecutive motion frames to try and reduce false positives from rain 2019-02-16 15:05:58 -06:00
blakeblackshear
225f434718 reduce motion timeout to 2 seconds 2019-02-16 15:04:31 -06:00
blakeblackshear
6bdacffa2e reduce the motion detection timeout to 5 seconds 2019-02-10 20:09:25 -06:00
blakeblackshear
a3c5dd91a1 use a topic prefix and implement last will messages 2019-02-10 14:43:21 -06:00
blakeblackshear
d43c17238c update readme 2019-02-10 14:25:30 -06:00
blakeblackshear
f3376a83d6 merged shared memory objects and regions and set color of bounding box based on motion 2019-02-10 14:25:17 -06:00
Blake Blackshear
30c223711d
Merge pull request #3 from blakeblackshear/mqtt
Mqtt
2019-02-10 12:01:47 -06:00
blakeblackshear
ab1fda3a0e add mqtt and update readme 2019-02-10 12:00:52 -06:00
blakeblackshear
83c9b8fb7a add mqtt to dockerfile 2019-02-10 08:03:12 -06:00
Blake Blackshear
e997591e70
Merge pull request #2 from blakeblackshear/motion_detection
Motion detection
2019-02-09 20:40:49 -06:00
blakeblackshear
ebd15489b0 add support for a minimum object size 2019-02-09 20:38:11 -06:00
blakeblackshear
51e8a8300f add imutils to container 2019-02-09 20:37:46 -06:00