Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear 918386bdc1 use a random string in the object id instead of the index 2020-08-01 18:20:44 -05:00
Blake Blackshear a8c0fadf95 make pre_capture time configurable 2020-08-01 18:20:44 -05:00
Blake Blackshear 6dc7b8f246 typo 2020-08-01 18:20:44 -05:00
Blake Blackshear 71f6f0bee4 typo 2020-08-01 18:20:44 -05:00
Blake Blackshear a00afb61c0 add warning about cache to config 2020-08-01 18:20:44 -05:00
Blake Blackshear 5dbe6c5f36 add mqtt messages to readme 2020-08-01 18:20:44 -05:00
Blake Blackshear 16732aa5b3 update example config 2020-08-01 18:20:44 -05:00
Blake Blackshear 3d2f1437e4 filter objects before triggering events 2020-08-01 18:20:44 -05:00
Blake Blackshear fbe721c860 remove vsync drop because it breaks segment 2020-08-01 18:20:44 -05:00
Blake Blackshear 7383db60b0 save clips for tracked objects 2020-08-01 18:20:44 -05:00
Blake Blackshear 53ccc903da switch to MIT license 2020-07-26 12:07:47 -05:00
Blake Blackshear 9d1f9f35e5 fix model paths 2020-07-26 12:07:47 -05:00
Blake Blackshear c1f522ff54 fix box merging 2020-07-26 12:00:46 -05:00
Blake Blackshear f29ee6165f add proxmox tip 2020-07-01 07:49:01 -05:00
Blake Blackshear ec6432cc5f add hardware section and fix typos 2020-07-01 07:49:01 -05:00
Blake Blackshear 743116a733 install tzdata 2020-06-02 05:25:02 -05:00
Blake Blackshear 8e77cf25d9 handle ffmpeg process hangs that dont exit ffmpeg 2020-06-02 05:25:02 -05:00
Blake Blackshear 7d33e03943 ensure detection_start doesnt change values between conditions 2020-06-02 05:25:02 -05:00
Blake Blackshear 0c44666c89 drop plasma store stderr logs 2020-06-02 05:25:02 -05:00
Blake Blackshear ddaa746807 resize to aspect ratio of frame 2020-06-02 05:25:02 -05:00
Blake Blackshear 760e1ffe1d skip frames in the capture thread instead 2020-06-02 05:25:02 -05:00
Blake Blackshear 15b4024715 expose frame time at each step of processing 2020-06-02 05:25:02 -05:00
Blake Blackshear 4ee200a81c move ffmpeg capture to a separate thread and use a queue 2020-06-02 05:25:02 -05:00
Blake Blackshear e37eba49ff make object processor resilient to plasma failures 2020-06-02 05:25:02 -05:00
Blake Blackshear 6de8e3bd1f remove sharedarray references 2020-06-02 05:25:02 -05:00
Blake Blackshear 3a9781c4f8 handle various scenarios with external process failures 2020-06-02 05:25:02 -05:00
Blake Blackshear a60b9211d2 allow specifying debug view fps and size 2020-03-03 20:26:53 -06:00
Blake Blackshear 777fb1d5d1 Update to latest url for tensorflow lite wheel 2020-03-03 20:26:53 -06:00
Blake Blackshear 8e9110f42e if the detections dont come back in 10s, give up 2020-03-03 20:26:53 -06:00
Blake Blackshear c80137e059 call the restart function and handle errors better in the detection process 2020-03-03 20:26:53 -06:00
Blake Blackshear 2768e1dadb clarify mqtt password readme 2020-03-03 20:26:53 -06:00
Blake Blackshear 2fbba01577 readme updates 2020-03-03 20:26:53 -06:00
Blake Blackshear e7c536ea31 allow mqtt password to be set by env var 2020-03-03 20:26:53 -06:00
Blake Blackshear 1734c0569a update benchmark script to mirror actual frigate use 2020-03-03 20:26:53 -06:00
Blake Blackshear a5bef89123 improve detection processing and restart when stuck 2020-03-03 20:26:53 -06:00
Blake Blackshear d8aa73d26e handle ffmpeg process failures in the camera process itself 2020-03-03 20:26:53 -06:00
Blake Blackshear 791409d5e5 add a few print statements for debugging 2020-03-03 20:26:53 -06:00
Blake Blackshear 01bf89907d dont kill the camera process from the main process 2020-03-03 20:26:53 -06:00
Blake Blackshear 8e73c7e95e increase the buffer size a bit 2020-03-03 20:26:53 -06:00
Blake Blackshear 088bd18adb add a few more metrics to debug 2020-03-03 20:26:53 -06:00
Blake Blackshear 2e8c7ec225 cleanup the plasma store when finished with a frame 2020-03-03 20:26:53 -06:00
Blake Blackshear 9340a74371 dont redirect stdout for plasma store 2020-03-03 20:26:53 -06:00
Blake Blackshear 5998de610b reset detection fps 2020-03-03 20:26:53 -06:00
Blake Blackshear dfabff3846 dont change dictionary while iterating 2020-03-03 20:26:53 -06:00
Blake Blackshear 76a7a3bad5 allow specifying the frame size in the config instead of detecting 2020-03-03 20:26:53 -06:00
Blake Blackshear a3fa97dd52 ensure missing objects are expired even when other object types are in the frame 2020-03-03 20:26:53 -06:00
Blake Blackshear 1d2a41129c Fix watchdog last_frame calculation 2020-03-03 20:26:53 -06:00
Blake Blackshear 956298128d cleanup 2020-03-03 20:26:53 -06:00
Blake Blackshear e6892d66b8 update docs and add back benchmark 2020-03-03 20:26:53 -06:00
Blake Blackshear 6ef22cf578 fix watchdog 2020-03-03 20:26:53 -06:00
Blake Blackshear 3e6f6edf7e check avg wait before dropping frames 2020-03-03 20:26:53 -06:00
Blake Blackshear 81c5b96ed7 fix watchdog restart 2020-03-03 20:26:53 -06:00
Blake Blackshear 6f6d202c99 improve watchdog and coral fps tracking 2020-03-03 20:26:53 -06:00
Blake Blackshear 2fc389c3ad dont log http requests 2020-03-03 20:26:53 -06:00
Blake Blackshear 05951aa7da cleanup 2020-03-03 20:26:53 -06:00
Blake Blackshear bb8e4621f5 add models and convert speed to ms 2020-03-03 20:26:53 -06:00
Blake Blackshear 04e9ab5ce4 add watchdog for camera processes 2020-03-03 20:26:53 -06:00
Blake Blackshear 1089a40943 cleanup old code 2020-03-03 20:26:53 -06:00
Blake Blackshear 68c3a069ba add a min_fps option 2020-03-03 20:26:53 -06:00
Blake Blackshear 80b9652f7a check plasma store and consolidate frame drawing 2020-03-03 20:26:53 -06:00
Blake Blackshear 569e07949f split into separate processes 2020-03-03 20:26:53 -06:00
Blake Blackshear ffa9534549 update tflite to 2.1.0 2020-03-03 20:26:53 -06:00
Blake Blackshear c539993387 refactor some classes into new files 2020-03-03 20:26:53 -06:00
Blake Blackshear 8a572f96d5 tweak process handoff 2020-03-03 20:26:53 -06:00
Blake Blackshear 24cb3508e8 Mostly working detection in a separate process 2020-03-03 20:26:53 -06:00
Blake Blackshear 3f34c57e31 read from ffmpeg 2020-03-03 20:26:53 -06:00
Blake Blackshear 4c618daa90 WIP: revamp to incorporate motion 2020-03-03 20:26:53 -06:00
Blake Blackshear cd057370e1 fallback to opencv to detect resolution and allow config to specify 2020-02-22 09:03:00 -06:00
Blake Blackshear 6263912655 use ffprobe to get frame shape (fixes #87) 2020-02-22 09:03:00 -06:00
Blake Blackshear af247275cf make timestamp on snapshots configurable (fixes #88) 2020-02-22 09:03:00 -06:00
Blake Blackshear 1198c29dac make watchdog timeout configurable per camera (fixes #95) 2020-02-22 09:03:00 -06:00
Blake Blackshear 169603d3ff attempt to fix regions in process key error 2020-02-22 09:03:00 -06:00
Blake Blackshear dc7eecebc6 clarify config 2020-02-22 09:03:00 -06:00
Blake Blackshear 0dd4087d5d switch base image back to ubuntu:18.04 2020-02-22 09:03:00 -06:00
Blake Blackshear 6ecf87fc60 update config example 2020-02-22 09:03:00 -06:00
Blake Blackshear ebcf1482f8 remove region in process when skipping 2020-02-22 09:03:00 -06:00
Blake Blackshear 50bcf60893 switch to opencv headless 2020-02-22 09:03:00 -06:00
Blake Blackshear 38efbd63ea add camera name to ffmpeg log messages 2020-02-22 09:03:00 -06:00
Blake Blackshear 50bcad8b77 skip regions when the queue is too full and add more locks 2020-02-22 09:03:00 -06:00
Blake Blackshear cfffb219ae switch back to stretch for hwaccel issues 2020-02-22 09:03:00 -06:00
Blake Blackshear 382d7be50a check correct object 2020-02-22 09:03:00 -06:00
Blake Blackshear f43dc36a37 cleanup 2020-02-22 09:03:00 -06:00
Blake Blackshear 38e7fa07d2 add a label position arg for bounding boxes 2020-02-22 09:03:00 -06:00
Blake Blackshear e261c20819 let the queues get as big as needed 2020-02-22 09:03:00 -06:00
Blake Blackshear 3a66e672d3 notify mqtt when objects deregistered 2020-02-22 09:03:00 -06:00
Blake Blackshear 2aada930e3 fix multiple object type tracking 2020-02-22 09:03:00 -06:00
Blake Blackshear d87f4407a0 switch everything to run off of tracked objects 2020-02-22 09:03:00 -06:00
Blake Blackshear be5a114f6a group by label before tracking objects 2020-02-22 09:03:00 -06:00
Blake Blackshear 32b212c7b6 fix mask filtering 2020-02-22 09:03:00 -06:00
Blake Blackshear 76c8e3a12f make a copy 2020-02-22 09:03:00 -06:00
Blake Blackshear 16f7a361c3 fix object filters 2020-02-22 09:03:00 -06:00
Blake Blackshear 634b87307f group by label before suppressing boxes 2020-02-22 09:03:00 -06:00
Blake Blackshear 1d4fbbdba3 update all obj props 2020-02-22 09:03:00 -06:00
Blake Blackshear 65579e9cbf add thread to write frames to disk 2020-02-22 09:03:00 -06:00
Blake Blackshear 49dc029c43 merge boxes by label 2020-02-22 09:03:00 -06:00
Blake Blackshear 08174d8db2 fix color of best image 2020-02-22 09:03:00 -06:00
Blake Blackshear 5199242a68 remove unused current frame variable 2020-02-22 09:03:00 -06:00
Blake Blackshear 725dd3220c removing pillow-simd for now 2020-02-22 09:03:00 -06:00
Blake Blackshear 10dc56f6ea revamp dockerfile 2020-02-22 09:03:00 -06:00
Blake Blackshear cc2abe93a6 track objects and add config for tracked objects 2020-02-22 09:03:00 -06:00