Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear a6d8e4fc3f readme updates 2021-01-26 21:40:33 -06:00
Blake Blackshear 2cc9a15f6a handle scenario with empty cache 2021-01-26 21:40:33 -06:00
Blake Blackshear 151f9fb2ee add qsv support to amd64 image 2021-01-26 21:40:33 -06:00
Blake Blackshear 32fb76b3d1 add num_threads fixes #322 2021-01-26 21:40:33 -06:00
Blake Blackshear 8d52e2635a optimize clips fixes #299 2021-01-26 21:40:33 -06:00
Blake Blackshear f20e1f20a6 add post_capture option 2021-01-26 21:40:33 -06:00
Blake Blackshear af8594c5c6 re-crop to the object rather than the region 2021-01-26 21:40:33 -06:00
Blake Blackshear 899d41f361 allow runtime drawing settings for mjpeg and latest 2021-01-26 21:40:33 -06:00
Blake Blackshear 7dc6382c90 allow the mask to be a list of masks 2021-01-26 21:40:33 -06:00
Blake Blackshear e8009c2d26 adding version endpoint 2021-01-26 21:40:33 -06:00
Blake Blackshear 3bc7cdaab6 configurable motion and detect settings 2021-01-26 21:40:33 -06:00
Blake Blackshear 724d8187c6 update gitignore 2021-01-26 21:40:33 -06:00
Blake Blackshear 8f68df60c7 fix test 2021-01-26 21:40:33 -06:00
Blake Blackshear 6af3cb6134 switch default threshold to .7 2021-01-26 21:40:33 -06:00
Blake Blackshear 2ff0c3907f allow process clips to output a csv of scores 2021-01-26 21:40:33 -06:00
Blake Blackshear dd102ff01d allow db path to be customized 2021-01-26 21:40:33 -06:00
Blake Blackshear f20b1d75e6 add telegram example 2021-01-26 21:40:33 -06:00
Blake Blackshear a4b88ac4a7 fix process clip 2021-01-26 21:40:33 -06:00
Blake Blackshear 93b9d586d2 handle empty string args 2021-01-26 21:40:33 -06:00
Blake Blackshear 41dd4447cc allow region to extend beyond the frame 2021-01-26 21:40:33 -06:00
Blake Blackshear a63ff1bb99 swap width and height to reduce confusion 2021-01-26 21:40:33 -06:00
Blake Blackshear d5e3b59245 updating compose example to reduce confusion 2021-01-26 21:40:33 -06:00
Blake Blackshear d0470fffcc allow defining model shape and switch to mobiledet as default model 2021-01-26 21:40:33 -06:00
Blake Blackshear 5053305e17 add model dimensions to config 2021-01-26 21:40:33 -06:00
Blake Blackshear 708c3278bf make shm consistent with compose 2021-01-26 21:40:33 -06:00
Blake Blackshear afd8aefac2 readme cleanup fixes #332 2021-01-26 21:40:33 -06:00
Blake Blackshear 3c07767138 handle and warn if roles dont match enabled features 2021-01-26 21:40:33 -06:00
Blake Blackshear 953c442f13 camera recommendations 2021-01-26 21:40:33 -06:00
Blake Blackshear e147852878 catch all psutil errors 2021-01-26 21:40:33 -06:00
Blake Blackshear db7ee6cfb3 clarify height width and fps 2021-01-26 21:40:33 -06:00
Blake Blackshear 3b41b6cc33 readme updates 2021-01-26 21:40:33 -06:00
Blake Blackshear 5e79888370 tweak screenshots 2021-01-26 21:40:33 -06:00
Blake Blackshear a6aa9bdd59 readme updates 2021-01-26 21:40:33 -06:00
Blake Blackshear d78b7cc110 set ffmpeg image versions 2021-01-26 21:40:33 -06:00
Blake Blackshear e7cdace0ab comment you zeroconf 2021-01-26 21:40:33 -06:00
Blake Blackshear f60eb4e977 fix flask logger config 2021-01-26 21:40:33 -06:00
Blake Blackshear 7aecf6c6de fix graceful exits 2021-01-26 21:40:33 -06:00
Blake Blackshear 75d62096a6 better exception handling 2021-01-26 21:40:33 -06:00
Blake Blackshear 7c44994070 fix default args 2021-01-26 21:40:33 -06:00
Blake Blackshear f49f3fd9c3 fix fontconfig issue 2021-01-26 21:40:33 -06:00
Blake Blackshear 5ea86d636c doc updates 2021-01-26 21:40:33 -06:00
Blake Blackshear 4c6e90717a update some default config values 2021-01-26 21:40:33 -06:00
Blake Blackshear d60ca9d783 log level configuration 2021-01-26 21:40:33 -06:00
Blake Blackshear d304718ea0 no need to write jpg disk 2021-01-26 21:40:33 -06:00
Blake Blackshear c787c8948e dont delete the recordings directory 2021-01-26 21:40:33 -06:00
Blake Blackshear 62728ef7fb default save_clips objects 2021-01-26 21:40:33 -06:00
Blake Blackshear 47e256f03d add logging for directory creation 2021-01-26 21:40:33 -06:00
Blake Blackshear 527db52d5e exit on config errors 2021-01-26 21:40:33 -06:00
Blake Blackshear f78b2c48a7 add zeroconf discovery 2021-01-26 21:40:33 -06:00
Blake Blackshear 90c965a32a optional android notification aspect ratio 2021-01-26 21:40:33 -06:00
Blake Blackshear d4afcde6c9 reduce min timestamp size 2021-01-26 21:40:33 -06:00
Blake Blackshear 257de89ce4 publish object counts rather than on/off 2021-01-26 21:40:33 -06:00
Blake Blackshear 735cc3962b make directories constants 2021-01-26 21:40:33 -06:00
Blake Blackshear feb42181de cleanup empty directories 2021-01-26 21:40:33 -06:00
Blake Blackshear f5c4bfa7b4 serve up recordings with nginx 2021-01-26 21:40:33 -06:00
Blake Blackshear 65ddd91855 add recording maintenance 2021-01-26 21:40:33 -06:00
Blake Blackshear 6d7d838613 add record settings to config 2021-01-26 21:40:33 -06:00
Blake Blackshear 5edf7b7f00 fix log timeout 2021-01-26 21:40:33 -06:00
Blake Blackshear 117569830d ensure zones dont have the same name as a camera 2021-01-26 21:40:33 -06:00
Blake Blackshear d62aec7287 graceful exit of subprocesses 2021-01-26 21:40:33 -06:00
Blake Blackshear 4e0cf3681e add multiple streams per camera 2021-01-26 21:40:33 -06:00
Blake Blackshear d98751102a fix fontconfig error 2021-01-26 21:40:33 -06:00
Blake Blackshear 1acbeb813e add support for rebroadcasting as rtmp 2021-01-26 21:40:33 -06:00
Blake Blackshear b87ec752cf avoid null error 2021-01-26 21:40:33 -06:00
Blake Blackshear 753df31fa6 minimize logging 2021-01-26 21:40:33 -06:00
Blake Blackshear bd77b74689 oops 2021-01-26 21:40:33 -06:00
Blake Blackshear 810c23d8ee only publish end events for true positives 2021-01-26 21:40:33 -06:00
Blake Blackshear 34d9b2983e ensure all events are cleaned up 2021-01-26 21:40:33 -06:00
Blake Blackshear 63c5c8412a publish events like a change feed 2021-01-26 21:40:33 -06:00
Blake Blackshear 60207723d1 pull from memory if event in progress 2021-01-26 21:40:33 -06:00
Blake Blackshear f4117ad096 add endpoint for event thumbnail 2021-01-26 21:40:33 -06:00
Blake Blackshear 8bed4e9970 add service to get by id 2021-01-26 21:40:33 -06:00
Blake Blackshear f72eaf781c add zones to summary data 2021-01-26 21:40:33 -06:00
Blake Blackshear e9ecc20a36 sleep in the right place 2021-01-26 21:40:33 -06:00
Blake Blackshear addfa2a32d manage events for unlisted cameras 2021-01-26 21:40:33 -06:00
Blake Blackshear 0dad9bc393 add event cleanup thread 2021-01-26 21:40:33 -06:00
Blake Blackshear 5155875a72 add clip retention to config 2021-01-26 21:40:33 -06:00
Blake Blackshear 4ed1217366 use localtime in group by 2021-01-26 21:40:33 -06:00
Blake Blackshear 50e898a684 new http endpoints 2021-01-26 21:40:33 -06:00
Blake Blackshear 251c7fa982 add parameters to event query 2021-01-26 21:40:33 -06:00
Blake Blackshear 00c75e9f98 only save events when a clip is created 2021-01-26 21:40:33 -06:00
Blake Blackshear 1b5b02d286 add bas64 encoded thumbnail to the database 2021-01-26 21:40:33 -06:00
Blake Blackshear 946d655cee check for None value thumbnail_data 2021-01-26 21:40:33 -06:00
Blake Blackshear d56710b0b5 only set thumbnail data if object is a true positive 2021-01-26 21:40:33 -06:00
Blake Blackshear 0cf78277b5 add some debug logging to frame cache 2021-01-26 21:40:33 -06:00
Blake Blackshear ce2a583ff9 dont use a property 2021-01-26 21:40:33 -06:00
Blake Blackshear 84bddad30e attempt to fix missing thumbs 2021-01-26 21:40:33 -06:00
Blake Blackshear 0ff682504a better frame handling for best images 2021-01-26 21:40:33 -06:00
Blake Blackshear 5d5984166f cleanup false_positive attribute 2021-01-26 21:40:33 -06:00
Blake Blackshear b825eb44fe ensure some valid thumbnail is available 2021-01-26 21:40:33 -06:00
Blake Blackshear 7015eb66f2 don't save thumbnails for false positives 2021-01-26 21:40:33 -06:00
Blake Blackshear 494eeb16a5 cleanup 2021-01-26 21:40:33 -06:00
Blake Blackshear 692fdc8d5d reduce logging 2021-01-26 21:40:33 -06:00
Blake Blackshear ec1a8ebd4a fixes 2021-01-26 21:40:33 -06:00
Blake Blackshear 59daa6597b update nginx config 2021-01-26 21:40:33 -06:00
Blake Blackshear 3941ce4ad1 stop writing json file to disk 2021-01-26 21:40:33 -06:00
Blake Blackshear aff87d4372 create tracked object class and save thumbnails 2021-01-26 21:40:33 -06:00
Blake Blackshear 373ca87887 maintain thumbnail frames for tracked objects 2021-01-26 21:40:33 -06:00
Blake Blackshear 03c855ecbe sort imports 2021-01-26 21:40:33 -06:00
Blake Blackshear 3a3cb24631 naming threads and processes for logs 2021-01-26 21:40:33 -06:00