Commit Graph
100 Commits
Author SHA1 Message Date
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
blakeblackshear 04fed31eac increase watchdog timeout to 10 seconds 2019-08-25 08:54:19 -05:00
blakeblackshear ebaa8fac01 tweak input params and gracefully kill ffmpeg 2019-08-25 08:54:19 -05:00
blakeblackshear 2ec45cd1b6 send the best person frame over mqtt for faster updates in homeassistant 2019-08-25 08:54:19 -05:00
blakeblackshear 700bd1e3ef use a thread to capture frames from the subprocess so it can be killed properly 2019-07-30 19:11:22 -05:00
blakeblackshear aea4dc8724 a few fixes 2019-07-30 19:11:22 -05:00
blakeblackshear 12d5007b90 add required packages for VAAPI 2019-07-30 19:11:22 -05:00
blakeblackshear 8970e73f75 comment formatting and comment out mask in example config 2019-07-30 19:11:22 -05:00
blakeblackshear 1ba006b24f add some comments to the sample config 2019-07-30 19:11:22 -05:00
blakeblackshear 4a58f16637 tweak the label position 2019-07-30 19:11:22 -05:00
blakeblackshear 436b876b24 add support for ffmpeg hwaccel params and better mask handling 2019-07-30 19:11:22 -05:00
blakeblackshear a770ab7f69 specify a client id for frigate 2019-07-30 19:11:22 -05:00
blakeblackshear 806acaf445 update dockerignore and debug option 2019-07-30 19:11:22 -05:00
blakeblackshear 8fee8f86a2 take_frame config example 2019-07-30 19:11:22 -05:00
blakeblackshear 59a4b0e650 add ability to process every nth frame 2019-07-30 19:11:22 -05:00
blakeblackshear 834a3df0bc added missing scripts 2019-07-30 19:11:22 -05:00
blakeblackshear c41b104997 extra ffmpeg params to reduce latency 2019-07-30 19:11:22 -05:00
blakeblackshear 7028b05856 add a benchmark script 2019-07-30 19:11:22 -05:00
blakeblackshear 2d22a04391 reduce verbosity of ffmpeg 2019-07-30 19:11:22 -05:00
blakeblackshear baa587028b use a regular subprocess for ffmpeg, refactor bounding box drawing 2019-07-30 19:11:22 -05:00
blakeblackshear 2b51dc3e5b experimental: running ffmpeg directly and capturing raw frames 2019-07-30 19:11:22 -05:00
blakeblackshear 9f8278ea8f working odroid build, still needs hwaccel 2019-07-30 19:11:22 -05:00
Blake BlackshearandGitHub 56b9c754f5 Update README.md 2019-06-18 06:19:13 -07:00
Blake BlackshearandGitHub 5c4f5ef3f0 Create FUNDING.yml 2019-06-18 06:15:05 -07:00
Blake BlackshearandGitHub 8c924896c5 Merge pull request #36 from drcrimzon/patch-1
Add MQTT connection error handling
2019-05-15 07:10:53 -05:00
Blake BlackshearandGitHub e791d6646b Merge pull request #34 from blakeblackshear/watchdog
0.1.2
2019-05-11 07:43:09 -05:00
blakeblackshear 3019b0218c make the threshold configurable per region. fixes #31 2019-05-11 07:39:27 -05:00
blakeblackshear 6900e140d5 add a watchdog to the capture process to detect silent failures. fixes #27 2019-05-11 07:16:15 -05:00
Blake BlackshearandGitHub 911c1b2bfa Merge pull request #32 from tubalainen/patch-2
Clarification on username and password for MQTT
2019-05-11 07:14:19 -05:00
Blake BlackshearandGitHub f4587462cf Merge pull request #33 from tubalainen/patch-3
Update of the home assistant integration example
2019-05-11 07:14:01 -05:00
blakeblackshear dbcfd109f6 fix missing import 2019-05-10 06:19:39 -05:00
Blake BlackshearandGitHub f95d8b6210 Merge pull request #26 from blakeblackshear/mask
add the ability to mask the standing location of a person
2019-05-01 06:43:32 -05:00
blakeblackshear 4dacf02ef9 add the ability to mask the standing location of a person 2019-04-30 20:35:22 -05:00
Blake BlackshearandGitHub 3e803b6a03 Merge pull request #20 from blakeblackshear/edgetpu
edgetpu
2019-03-30 08:28:36 -05:00
blakeblackshear 7a7f507781 update diagram 2019-03-30 08:22:41 -05:00
blakeblackshear e0b9b616ce cleanup and update readme 2019-03-30 07:58:31 -05:00
blakeblackshear 4476bd8a13 log capture process pid 2019-03-29 21:18:20 -05:00
blakeblackshear 5aa3775c77 create a camera object for each camera in the config 2019-03-29 21:14:24 -05:00
blakeblackshear edf0cd36df add back flask endpoints 2019-03-29 21:02:40 -05:00
blakeblackshear 0279121d77 WIP: convert to camera class 2019-03-29 20:49:27 -05:00
blakeblackshear 8774e537dc implementing a config file for a single camera 2019-03-28 07:30:58 -05:00
blakeblackshear 0514eeac03 switch to a thread for object detection 2019-03-27 20:44:57 -05:00
blakeblackshear a074945394 missing param and updated readme 2019-03-27 06:55:32 -05:00
blakeblackshear a26d2217d4 implement min person size again 2019-03-27 06:45:27 -05:00
blakeblackshear 200d769003 removing motion detection 2019-03-27 06:17:00 -05:00
blakeblackshear 48aa245914 convert docker build to x86 2019-03-26 05:44:33 -05:00
blakeblackshear ada8ffccf9 fix for queue size growing too large 2019-03-25 20:35:44 -05:00
blakeblackshear bca4e78e9a use a queue instead 2019-03-25 06:24:36 -05:00
blakeblackshear 7d3027e056 looping over all regions with motion. ugly, but working 2019-03-20 07:11:38 -05:00
blakeblackshear c406fda288 fixes 2019-03-19 06:29:58 -05:00
blakeblackshear 8ff9a982b6 start the detection process 2019-03-18 07:48:04 -05:00
blakeblackshear f2c205be99 prep frames for object detection in a separate process 2019-03-18 07:24:24 -05:00
blakeblackshear 862aa2d3f0 only resize when needed 2019-03-17 20:12:31 -05:00
blakeblackshear 8bae05cfe2 first working version, single region and motion detection disabled 2019-03-17 09:03:52 -05:00
blakeblackshear de9c3f4d74 wait 5 seconds to clear the motion flag 2019-03-15 20:16:19 -05:00
blakeblackshear c12e19349e only cleanup old objects when motion is detected so stationary objects are still detected 2019-03-15 20:15:41 -05:00
blakeblackshear afb70f11a8 switch mqtt to a binary on/off instead of sending a message for each score 2019-03-12 20:54:43 -05:00
blakeblackshear 85259ca00c add support for mqtt user/pass. closes #7 2019-03-09 13:41:35 -06:00
blakeblackshear 1a55008cd5 update readme 2019-03-05 21:42:09 -06:00
blakeblackshear 2bf4820dc6 update readme 2019-03-03 10:04:27 -06:00