Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear 89e3c2e4b1 store has_clip and has_snapshot on events 2021-01-26 21:40:33 -06:00
Blake Blackshear c770470b58 add database migrations 2021-01-26 21:40:33 -06:00
Blake Blackshear a9afa303a2 turn off snapshots via mqtt 2021-01-26 21:40:33 -06:00
Blake Blackshear e5399ae07a enable turning clips on and off via mqtt 2021-01-26 21:40:33 -06:00
Blake Blackshear 80a5a7b129 cleanup save_Clips/clips inconsistency 2021-01-26 21:40:33 -06:00
Blake Blackshear 9dc97d4b6b add jpg snapshots to disk and clean up config 2021-01-26 21:40:33 -06:00
Blake Blackshear 6f5f5c9461 add clips endpoint to readme 2021-01-26 21:40:33 -06:00
Blake Blackshear fc04bc6046 better mask error handling 2021-01-26 21:40:33 -06:00
Blake Blackshear 9f504253fb fix tmpfs 2021-01-26 21:40:33 -06:00
Blake Blackshear 961997e078 remove redundant error output 2021-01-26 21:40:33 -06:00
Blake Blackshear 363594a9a2 use CACHE_DIR constant 2021-01-26 21:40:33 -06:00
Blake Blackshear 247e2677f3 enable mounting tmpfs volume on start 2021-01-26 21:40:33 -06:00
Blake Blackshear 5b5159f4dd docs and issue template 2021-01-26 21:40:33 -06:00
Blake Blackshear bc8b85860c update process clip for latest changes 2021-01-26 21:40:33 -06:00
Blake Blackshear 44d45c5880 publish event updates on zone change 2021-01-26 21:40:33 -06:00
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