Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear 0e6eca7cd6 Update to latest url for tensorflow lite wheel 2020-03-02 06:11:19 -06:00
Blake Blackshear 91415f7e9d if the detections dont come back in 10s, give up 2020-03-01 20:32:32 -06:00
Blake Blackshear 0f66a8cb41 call the restart function and handle errors better in the detection process 2020-03-01 18:45:07 -06:00
Blake Blackshear 04ef6ac30e clarify mqtt password readme 2020-03-01 18:45:07 -06:00
Blake Blackshear ab42a9625d readme updates 2020-03-01 07:47:22 -06:00
Blake Blackshear 30ad0e30f8 allow mqtt password to be set by env var 2020-03-01 07:23:56 -06:00
Blake Blackshear 7bad89c9bf update benchmark script to mirror actual frigate use 2020-03-01 07:16:56 -06:00
Blake Blackshear f077c397f4 improve detection processing and restart when stuck 2020-03-01 07:16:49 -06:00
Blake Blackshear cc729d83a8 handle ffmpeg process failures in the camera process itself 2020-02-26 19:02:12 -06:00
Blake Blackshear c520b81e49 add a few print statements for debugging 2020-02-25 20:37:12 -06:00
Blake Blackshear 9c304391c0 dont kill the camera process from the main process 2020-02-25 20:36:30 -06:00
Blake Blackshear 9a12b02d22 increase the buffer size a bit 2020-02-24 20:05:30 -06:00
Blake Blackshear 7686c510b3 add a few more metrics to debug 2020-02-23 18:11:39 -06:00
Blake Blackshear 2f5e322d3c cleanup the plasma store when finished with a frame 2020-02-23 18:11:08 -06:00
Blake Blackshear 1cd4c12104 dont redirect stdout for plasma store 2020-02-23 15:53:17 -06:00
Blake Blackshear 1a8b034685 reset detection fps 2020-02-23 15:53:00 -06:00
Blake Blackshear da6dc03a57 dont change dictionary while iterating 2020-02-23 11:18:00 -06:00
Blake Blackshear 7fa3b70d2d allow specifying the frame size in the config instead of detecting 2020-02-23 07:56:14 -06:00
Blake Blackshear 1fc5a2bfd4 ensure missing objects are expired even when other object types are in the frame 2020-02-23 07:55:51 -06:00
Blake Blackshear 7e84da7dad Fix watchdog last_frame calculation 2020-02-23 07:55:16 -06:00
Blake Blackshear 128be72e28 cleanup 2020-02-22 09:15:29 -06:00
Blake Blackshear aaddedc95c update docs and add back benchmark 2020-02-22 09:10:37 -06:00
Blake Blackshear ba919fb439 fix watchdog 2020-02-22 09:10:37 -06:00
Blake Blackshear b1d563f3c4 check avg wait before dropping frames 2020-02-22 09:10:37 -06:00
Blake Blackshear 204d8af5df fix watchdog restart 2020-02-22 09:10:37 -06:00
Blake Blackshear b507a73d79 improve watchdog and coral fps tracking 2020-02-22 09:10:37 -06:00
Blake Blackshear 66eeb8b5cb dont log http requests 2020-02-22 09:10:37 -06:00
Blake Blackshear efa67067c6 cleanup 2020-02-22 09:10:37 -06:00
Blake Blackshear aeb036f1a4 add models and convert speed to ms 2020-02-22 09:10:37 -06:00
Blake Blackshear 74c528f9dc add watchdog for camera processes 2020-02-22 09:10:34 -06:00
Blake Blackshear f2d54bec43 cleanup old code 2020-02-22 09:09:36 -06:00
Blake Blackshear f07d57741e add a min_fps option 2020-02-22 09:06:46 -06:00
Blake Blackshear 2c1ec19f98 check plasma store and consolidate frame drawing 2020-02-22 09:06:46 -06:00
Blake Blackshear 6a9027c002 split into separate processes 2020-02-22 09:06:43 -06:00
Blake Blackshear 60c15e4419 update tflite to 2.1.0 2020-02-22 09:05:26 -06:00
Blake Blackshear 03dbf600aa refactor some classes into new files 2020-02-22 09:05:26 -06:00
Blake Blackshear fbbb79b31b tweak process handoff 2020-02-22 09:05:26 -06:00
Blake Blackshear 496c6bc6c4 Mostly working detection in a separate process 2020-02-22 09:05:26 -06:00
Blake Blackshear 869a81c944 read from ffmpeg 2020-02-22 09:05:26 -06:00
Blake Blackshear 5b1884cfb3 WIP: revamp to incorporate motion 2020-02-22 09:05:26 -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
Blake Blackshear 0c6717090c implement filtering and switch to NMS with OpenCV 2020-02-22 09:03:00 -06:00
Blake Blackshear f5a2252b29 cleanup imports 2020-02-22 09:03:00 -06:00
Blake Blackshear 02efb6f415 fixing a few things 2020-02-22 09:03:00 -06:00
Blake Blackshear 5b4c6e50bc dedupe detected objects 2020-02-22 09:03:00 -06:00
Blake Blackshear 9cc46a71cb working dynamic regions, but messy 2020-02-22 09:03:00 -06:00
Blake Blackshear be1673b00a process detected objects in a queue 2020-02-22 09:03:00 -06:00
Blake Blackshear b6130e77ff label threads and implements stats endpoint 2020-02-22 09:03:00 -06:00
Blake Blackshear 4180c710cd refactor resizing into generic priority queues 2020-02-22 09:03:00 -06:00
Blake Blackshear ab3e70b4db check to see if we have a frame before trying to send 2020-01-02 07:39:57 -06:00
Blake Blackshear d90e408d50 set the current object status to off when expired 2020-01-02 07:39:57 -06:00
Blake Blackshear 6c87ce0879 cache the computed jpg bytes to reduce cpu usage 2020-01-02 07:39:57 -06:00
Blake Blackshear b7b4e38f62 slow down the preview feed to lower cpu usage 2020-01-02 07:39:57 -06:00
Blake Blackshear 480175d70f add color map to use different colors for different objects 2020-01-02 07:39:57 -06:00
Blake Blackshear bee99ca6ff track and report all detected object types 2020-01-02 07:39:57 -06:00
Blake BlackshearandGitHub 5c01720567 Update README.md 2019-12-12 08:08:32 -06:00
Blake BlackshearandGitHub 262f45c8bc Update sponsorship option 2019-12-11 06:35:17 -06:00
Blake Blackshear 3a3afe14bf change the ffmpeg config for global defaults and overrides 2019-12-08 16:03:23 -06:00
Blake Blackshear 01f058a482 clarify optional properties 2019-12-08 16:03:23 -06:00
Blake Blackshear d899ef158e fix datestamp positioning 2019-12-08 16:03:23 -06:00
Blake Blackshear 39d64f7ba7 add health check and handle bad camera names 2019-12-08 16:03:23 -06:00
Blake Blackshear f148eb5a7b add some comments for regions 2019-12-08 16:03:23 -06:00
Blake Blackshear 297e2f1c0c allow mqtt client_id to be set for multi frigate setups 2019-12-08 16:03:23 -06:00
Blake Blackshear e818744d81 print the frame time on the image 2019-12-08 08:55:54 -06:00
Blake Blackshear ceedfae993 add max person area 2019-12-08 07:17:18 -06:00
Blake Blackshear e13563770d allow full customization of input 2019-12-08 07:06:52 -06:00
Blake Blackshear a659019d1a move config example 2019-12-08 07:06:52 -06:00
blakeblackshear ba71927d53 allow setting custom output params and setting the log level for ffmpeg 2019-08-25 08:54:19 -05:00