Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear a89dddcafa add camera processors 2021-01-26 21:40:33 -06:00
Blake Blackshear 75973fd4c0 add detected_frames_processor 2021-01-26 21:40:33 -06:00
Blake Blackshear 514036f9d1 add detector processes 2021-01-26 21:40:33 -06:00
Blake Blackshear 36fbedab20 init db/http/mqtt 2021-01-26 21:40:33 -06:00
Blake Blackshear 180baeba50 app container and config schema 2021-01-26 21:40:33 -06:00
Blake Blackshear cce82fe2a5 move primary script into the module 2021-01-26 21:40:33 -06:00
Blake Blackshear 5512bb2e06 saving events and simple endpoint 2021-01-26 21:40:33 -06:00
Blake Blackshear be1fcbbdf8 basic database model and api endpoint 2021-01-26 21:40:33 -06:00
Blake Blackshear 422cd52049 store events in tinydb 2021-01-26 21:40:33 -06:00
Blake Blackshear d67a56d37e update events model 2021-01-26 21:40:33 -06:00
Blake BlackshearandGitHub 4b3b702459 Update bug_report.md 2020-11-15 14:51:20 -06:00
Blake BlackshearandGitHub 34439699ae tweak logo 2020-10-26 10:05:26 -05:00
Blake Blackshear 64b63142b1 start the frame rate tracker 2020-10-26 08:01:18 -05:00
Blake Blackshear cee1ab000b make ffmpeg pid available for cache maintenance (fixes #271) 2020-10-26 08:01:18 -05:00
Blake Blackshear 3ff98770c1 link to mjpeg documentation 2020-10-26 06:36:03 -05:00
Blake Blackshear b6f7940b10 hwaccel docs 2020-10-25 14:30:36 -05:00
Blake Blackshear 75312602aa add support for iHD driver 2020-10-25 14:30:36 -05:00
Blake Blackshear 75977128f0 ensure dummy frame is in yuv shape 2020-10-25 14:30:36 -05:00
Blake Blackshear eafde6c677 capture ffmpeg in a dedicated process 2020-10-25 14:30:36 -05:00
Blake Blackshear da0598baef disable flask warning 2020-10-25 14:30:36 -05:00
Blake Blackshear 35ba5e2f7c improve frame memory management 2020-10-25 14:30:36 -05:00
Blake Blackshear 49258d6dbe tweaks for recent issues 2020-10-24 08:52:40 -05:00
Blake Blackshear 5a081e4f00 docs rewrite 2020-10-24 08:23:16 -05:00
Blake Blackshear 4feae472e9 reformatting and fixing typos 2020-10-23 06:56:06 -05:00
Blake Blackshear dd86e4f317 fix clips path and check for symlinks 2020-10-19 07:01:31 -05:00
Blake Blackshear 4db285a875 remove reference to stable 2020-10-18 14:12:25 -05:00
Blake Blackshear 939d1ba091 use global and ensure dirs exist 2020-10-18 13:47:13 -05:00
Blake Blackshear 0fe8d486d9 make cache/clips dirs configurable 2020-10-18 13:47:13 -05:00
Blake Blackshear a3cb02af5c sync arch names with hassio 2020-10-18 13:47:13 -05:00
Blake Blackshear 45a6b8452c allow config file to be specified by env var and allow json 2020-10-18 13:47:13 -05:00
Blake Blackshear 9d594cc640 allow setting config file location via env var 2020-10-18 13:47:13 -05:00
Blake Blackshear 59e41ae1ac update sample config 2020-10-18 13:47:13 -05:00
Blake Blackshear c6ed16465b move the timestamp to bottom 2020-10-18 13:47:13 -05:00
Blake Blackshear 8f14b36f5a tweak size 2020-10-18 13:47:13 -05:00
Blake Blackshear b6c2491e3b use the actual original shape 2020-10-18 13:47:13 -05:00
Blake Blackshear 8e31d04d90 scale font of timestamp dynamically 2020-10-18 13:47:13 -05:00
Blake Blackshear bf93fbb357 add ability to draw bounding boxes/timestamps on snapshots 2020-10-18 13:47:13 -05:00
Blake Blackshear c064b244db handle empty best frames 2020-10-18 13:47:13 -05:00
Blake Blackshear 0280610e96 fix detector cleanup 2020-10-18 13:47:13 -05:00
Blake Blackshear 4363623c45 reduce zone filter bouncing 2020-10-18 13:47:13 -05:00
Blake Blackshear c960914ec3 prevent the camera process from hanging 2020-10-18 13:47:13 -05:00
Blake Blackshear 9ecc80b443 syntax error 2020-10-18 13:47:13 -05:00
Blake Blackshear 3e146de0a2 update docs 2020-10-18 13:47:13 -05:00
Blake Blackshear bee54c39dc update default detectors 2020-10-18 13:47:13 -05:00
Blake Blackshear 623d138d60 use dictionary for detectors for sensors 2020-10-18 13:47:13 -05:00
Blake Blackshear 76befc1249 only draw during debug 2020-10-18 13:47:13 -05:00
Blake Blackshear 7d683ef399 cleanup frame queue 2020-10-18 13:47:13 -05:00
Blake Blackshear e4da3822b1 cleanup detection shms 2020-10-18 13:47:13 -05:00
Blake Blackshear 12c4cd77c5 only convert pix_fmt when necessary 2020-10-18 13:47:13 -05:00
Blake Blackshear a611cbb942 use yuv420p pixel format for motion 2020-10-18 13:47:13 -05:00
Blake Blackshear f946813ccb support multiple coral devices (fixes #100) 2020-10-18 13:47:13 -05:00
Blake Blackshear 49fca1b839 print stacktraceon segfaults 2020-10-18 13:47:13 -05:00
Blake Blackshear 54cb4a2180 prevent frame from being deleted while in use 2020-10-18 13:47:13 -05:00
Blake Blackshear 9954e3b11e build ffmpeg in separate container 2020-10-18 13:47:13 -05:00
Blake Blackshear 82692b0ddc arm64 ffmpeg cleanup 2020-10-18 13:47:13 -05:00
Blake Blackshear 9d4fdec12f arm64 ffmpeg build 2020-10-18 13:47:13 -05:00
Blake Blackshear ed72c995ef ffmpeg 4.3.1 build for amd64 2020-10-18 13:47:13 -05:00
Blake Blackshear 66c77d1157 base image build cleanup 2020-10-18 13:47:13 -05:00
Blake Blackshear 40c322ad47 arm64 support 2020-10-18 13:47:13 -05:00
Blake Blackshear 83f1e0d713 add rpi dockerfile 2020-10-18 13:47:13 -05:00
Blake Blackshear 2d89044bd3 update dockerfiles for amd64 2020-10-18 13:47:13 -05:00
Blake Blackshear dc4d24c2b9 Base dockerfile for building wheels 2020-10-18 13:47:13 -05:00
Blake Blackshear d5fb20c524 refactor dockerfile 2020-10-18 13:47:13 -05:00
Blake Blackshear 7e92e8bfe8 fix shared memory store usage for events 2020-10-18 13:47:13 -05:00
Blake Blackshear efdcfcef97 cleanup 2020-10-18 13:47:13 -05:00
Blake Blackshear 574ee2a46f update detection handoff to use shared memory 2020-10-18 13:47:13 -05:00
Blake Blackshear ec4d048905 upgrade to python3.8 and switch from plasma store to shared_memory 2020-10-18 13:47:13 -05:00
Blake Blackshear b063099b2a fix zone filters fixes #218 2020-10-11 11:38:32 -05:00
Blake Blackshear 2937dac4c3 update config merging and example config 2020-10-11 11:38:32 -05:00
Blake BlackshearandGitHub 7c283a1805 remove affiliate links 2020-10-08 07:26:02 -05:00
Blake Blackshear 309c0dcda3 proper handling of crop param (fixes #208) 2020-09-20 20:58:10 -05:00
Blake Blackshear b35cc01035 allow the best image timeout to be configurable 2020-09-18 07:14:44 -05:00
Blake Blackshear 6e79a5402e Readme updates 2020-09-17 07:37:27 -05:00
Blake Blackshear a989f8daaf update readme 2020-09-17 07:37:27 -05:00
Blake Blackshear 7880d24b29 prevent the cache from growing indefinitely 2020-09-17 07:37:27 -05:00
Blake Blackshear fdc8bbf72d move zone config under each camera 2020-09-17 07:37:27 -05:00
Blake Blackshear 005e188d38 continue if frames not in frame manager 2020-09-17 07:37:27 -05:00
Blake Blackshear adcc3e9b98 copy obj so crop doesnt change 2020-09-17 07:37:27 -05:00
Blake Blackshear 5fe201da25 avoid processing broken frames 2020-09-17 07:37:27 -05:00
Blake Blackshear 974f7bd0df fix mqtt snapshot 2020-09-17 07:37:27 -05:00
Blake Blackshear 780ae7cd4f allow specifying labels to save clips for 2020-09-17 07:37:27 -05:00
Blake Blackshear 50e568b84c allow setting size and cropping of snapshots and best.jpg endpoint 2020-09-17 07:37:27 -05:00
Blake Blackshear 1ce993051e add support for polygon masks 2020-09-17 07:37:27 -05:00
Blake Blackshear 69406343ee allow setting the camera fps if needed 2020-09-17 07:37:27 -05:00
Blake Blackshear 1c33b8acb2 handle mask files that failed to read 2020-09-17 07:37:27 -05:00
Blake Blackshear 5e77436d39 fix coral fps value 2020-09-17 07:37:27 -05:00
Blake Blackshear e26308a05b print score info 2020-09-17 07:37:27 -05:00
Blake Blackshear c16ee3186f fix masks 2020-09-17 07:37:27 -05:00
Blake Blackshear fedeeab561 fix watchdog 2020-09-17 07:37:27 -05:00
Blake Blackshear bfcaabecfa fix var name 2020-09-17 07:37:27 -05:00
Blake Blackshear 606fa6f6d5 once a true positive always a true positive 2020-09-17 07:37:27 -05:00
Blake Blackshear 6a8d8bf53d dont trigger zones for false positives 2020-09-17 07:37:27 -05:00
Blake Blackshear 1f81cba706 only save a clip if its not a false positive 2020-09-17 07:37:27 -05:00
Blake Blackshear 5db7b242aa another fix 2020-09-17 07:37:27 -05:00
Blake Blackshear 0b7f65e227 fixes 2020-09-17 07:37:27 -05:00
Blake Blackshear 2f758af097 allow setting specific edgetpu in config 2020-09-17 07:37:27 -05:00
Blake Blackshear f64320a464 remove invalid tests 2020-09-17 07:37:27 -05:00
Blake Blackshear 3e87ef6426 update pip 2020-09-17 07:37:27 -05:00
Blake Blackshear acb75fa02d refactor and reduce false positives 2020-09-17 07:37:27 -05:00
Blake Blackshear ea4ecae27c Refactor with a working false positive test 2020-09-17 07:37:27 -05:00