Commit Graph

447 Commits

Author SHA1 Message Date
Blake Blackshear
1c010461a1 avoid null error 2020-12-05 08:42:34 -06:00
Blake Blackshear
e205ac3ebf minimize logging 2020-12-05 08:42:34 -06:00
Blake Blackshear
1f92b41b6b oops 2020-12-05 08:42:34 -06:00
Blake Blackshear
38980d9730 only publish end events for true positives 2020-12-05 08:42:34 -06:00
Blake Blackshear
ce5718c871 ensure all events are cleaned up 2020-12-05 08:42:34 -06:00
Blake Blackshear
7032379f75 publish events like a change feed 2020-12-05 08:42:34 -06:00
Blake Blackshear
459da05263 pull from memory if event in progress 2020-12-05 08:42:34 -06:00
Blake Blackshear
a4c9ef0021 add endpoint for event thumbnail 2020-12-05 08:42:34 -06:00
Blake Blackshear
082f4b0886 add service to get by id 2020-12-05 08:42:34 -06:00
Blake Blackshear
da43041fc4 add zones to summary data 2020-12-05 08:42:34 -06:00
Blake Blackshear
d3f4fd3f47 sleep in the right place 2020-12-05 08:42:34 -06:00
Blake Blackshear
e37f61689a manage events for unlisted cameras 2020-12-05 08:42:34 -06:00
Blake Blackshear
95c5009711 add event cleanup thread 2020-12-05 08:42:34 -06:00
Blake Blackshear
b852515e18 add clip retention to config 2020-12-05 08:42:34 -06:00
Blake Blackshear
6509f0f3d4 use localtime in group by 2020-12-05 08:42:34 -06:00
Blake Blackshear
edeea09d5c new http endpoints 2020-12-05 08:42:34 -06:00
Blake Blackshear
df9950434c add parameters to event query 2020-12-05 08:42:34 -06:00
Blake Blackshear
dec652a75f only save events when a clip is created 2020-12-05 08:42:34 -06:00
Blake Blackshear
5d8a9f304b add bas64 encoded thumbnail to the database 2020-12-05 08:42:34 -06:00
Blake Blackshear
202432a4e6 check for None value thumbnail_data 2020-12-05 08:42:34 -06:00
Blake Blackshear
da244fd390 only set thumbnail data if object is a true positive 2020-12-05 08:42:34 -06:00
Blake Blackshear
4156a192b3 add some debug logging to frame cache 2020-12-05 08:42:34 -06:00
Blake Blackshear
799c939bb0 dont use a property 2020-12-05 08:42:34 -06:00
Blake Blackshear
dd9b8d5f41 attempt to fix missing thumbs 2020-12-05 08:42:34 -06:00
Blake Blackshear
c25f3c45df better frame handling for best images 2020-12-05 08:42:34 -06:00
Blake Blackshear
8f08fc1491 cleanup false_positive attribute 2020-12-05 08:42:34 -06:00
Blake Blackshear
18e04f8fa3 ensure some valid thumbnail is available 2020-12-05 08:42:34 -06:00
Blake Blackshear
a1afd9fe55 don't save thumbnails for false positives 2020-12-05 08:42:34 -06:00
Blake Blackshear
2c9675133d cleanup 2020-12-05 08:42:34 -06:00
Blake Blackshear
020562a5f6 reduce logging 2020-12-05 08:42:34 -06:00
Blake Blackshear
93e1bd4cf7 fixes 2020-12-05 08:42:34 -06:00
Blake Blackshear
71b16f76db update nginx config 2020-12-05 08:42:34 -06:00
Blake Blackshear
68354a20b0 stop writing json file to disk 2020-12-05 08:42:34 -06:00
Blake Blackshear
b99059f27b create tracked object class and save thumbnails 2020-12-05 08:42:34 -06:00
Blake Blackshear
6c28a1f57c maintain thumbnail frames for tracked objects 2020-12-05 08:42:34 -06:00
Blake Blackshear
7cb4afbc14 sort imports 2020-12-05 08:42:34 -06:00
Blake Blackshear
2b58ac2a50 naming threads and processes for logs 2020-12-05 08:42:34 -06:00
Blake Blackshear
0ec3d54293 use a queue for logging 2020-12-05 08:42:34 -06:00
Blake Blackshear
8fccc0e078 create typed config classes 2020-12-05 08:42:34 -06:00
Blake Blackshear
04a97b9890 add nginx and change default file locations 2020-12-05 08:42:34 -06:00
Blake Blackshear
410e84991d config setup 2020-12-05 08:42:34 -06:00
Blake Blackshear
79875b7ff9 add watchdog 2020-12-05 08:42:34 -06:00
Blake Blackshear
8a3b124b48 add back all endpoints 2020-12-05 08:42:34 -06:00
Blake Blackshear
f9b48711fe add event processor 2020-12-05 08:42:34 -06:00
Blake Blackshear
98c0fca0d2 add capture processes 2020-12-05 08:42:34 -06:00
Blake Blackshear
631c98afac add camera processors 2020-12-05 08:42:34 -06:00
Blake Blackshear
e499067b25 add detected_frames_processor 2020-12-05 08:42:34 -06:00
Blake Blackshear
3ff790d05c add detector processes 2020-12-05 08:42:34 -06:00
Blake Blackshear
4dab8c517b init db/http/mqtt 2020-12-05 08:42:34 -06:00
Blake Blackshear
e16d0f110c app container and config schema 2020-12-05 08:42:34 -06:00