Commit Graph

128 Commits

Author SHA1 Message Date
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
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
f3376a83d6 merged shared memory objects and regions and set color of bounding box based on motion 2019-02-10 14:25:17 -06:00
blakeblackshear
ab1fda3a0e add mqtt and update readme 2019-02-10 12:00:52 -06:00
blakeblackshear
ebd15489b0 add support for a minimum object size 2019-02-09 20:38:11 -06:00
blakeblackshear
80dbed8055 integrate object detection with motion detection 2019-02-09 10:17:07 -06:00
blakeblackshear
53c9a7368d rework object detection to watch the motion flag 2019-02-09 09:15:55 -06:00
blakeblackshear
5d894f006a basic motion detection working 2019-02-09 08:51:11 -06:00
blakeblackshear
d8f27658f8 create shared value for motion detection 2019-02-09 07:32:49 -06:00
blakeblackshear
0359e2d2a1 dynamic number of processes based on selected regions 2019-02-04 07:07:13 -06:00
blakeblackshear
623a3044fb multiple hard coded processes 2019-02-04 06:34:32 -06:00
blakeblackshear
072997736c parse the objects into a global array in a separate thread 2019-02-04 06:18:49 -06:00
blakeblackshear
b91c24bf8f crop the frame and calculate the coordinates in the subprocess and add labels to the image 2019-02-02 08:16:35 -06:00
blakeblackshear
11af9bb953 wip: focus on dynamic region and delay drawing until viewing 2019-02-01 21:38:13 -06:00
blakeblackshear
a976403edc got bounding boxes repositioned for full frame 2019-02-01 06:57:03 -06:00
blakeblackshear
98ce5a4a59 wip: just detect objects in a specific area 2019-02-01 06:35:48 -06:00
blakeblackshear
7e3d2f6611 reduce CPU usage 2019-02-01 06:35:10 -06:00
blakeblackshear
72393be6d6 initial commit 2019-01-26 08:02:59 -06:00