How to properly set up Frigate for best results

  Рет қаралды 86,738

Home Automation Guy

Home Automation Guy

Күн бұрын

Frigate uses AI to detect people and other objects in your IP camera streams without sending any of your data or video footage to the cloud.
❤️ Found this video useful and want to support the channel? I'd love a donation at paypal.me/homeautomationguy
In this video I show you how I have set up Frigate to reliably detect people, dogs and cats in my camera streams. It actually works better than my previous Google Nest and Unifi video detection systems! I've achieved this by tweaking the Frigate configuration file to get the best results.
More videos in this series:
1. Frigate Basics: • Local Security Camera ...
2. Tweaking Frigate to get the best performance (This video): • How to properly set up...
3. Integrating Frigate into Home Assistant: • Frigate and Home Assis...
Links:
Frigate Documentation: docs.frigate.video/
Installing Frigate Video: • Local Security Camera ...
My Frigate Configuration File: www.homeautomationguy.io/home...
I cover these Frigate concepts:
00:00 - Intro
01:57 - Objects
03:06 - Camera Stream Roles
05:24 - Snapshots & Recordings
06:48 - Putting it all together
07:39 - How Frigate's AI detection works
08:46 - CPU & TPU Detectors
11:07 - Hardware Acceleration
11:44 - Motion Masks
14:14 - Reducing False Positives
14:53 - Zones

Пікірлер: 100
@jakemessner7845
@jakemessner7845 2 жыл бұрын
You mentioned that Frigate detection would need to work harder if you want to detect more types of objects. Each frame goes through a single algorithm that performs classification at the very end. Classification has minimal cost compared to the steps that preceded it. I don't think anyone should be discouraged from detecting as many object types as they want. The realistic additional overhead is minimal.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Thanks for the clarification! I misinterpreted the docs
@lipefas
@lipefas 2 жыл бұрын
Excelent job with the thorough explanation. I had no idea what Frigate was before this video and now I'm hooked.
@GarethEdwards1979
@GarethEdwards1979 Жыл бұрын
Thank you so much for this and you first video on frigate also. I was having a real frustrating time getting my config file sorted and watching your video where you frequently referred back to your config file were life saving. There is so much noise about Frigate online which is confusing for me and also for many others out there if you search for it....a lot of confusion....so again, thank you so much for your clear and easy to follow videos
@bat3332
@bat3332 2 жыл бұрын
As far as I know you are the only guy who do a companion blog guide along with your video which is quite useful
@kraigmeares8286
@kraigmeares8286 Жыл бұрын
This was the exact walkthrough I needed to get my config set up! Thanks!
@Kliptrech26Rg001
@Kliptrech26Rg001 2 жыл бұрын
Your videos help a lot in the use of FRIGATE, I basically managed to learn most of the things you showed in the video and I find your content about FRIGATE + HOMEASSISTANT super interesting, there are few content creators who really talk easily and practically about this topic . Your videos demonstrate in practice how to solve problems, you won + 1 subscriber from Brazil, congratulations.
@try-that
@try-that 2 жыл бұрын
Great video, there are not enough Frigate video's on KZfaq yet. Looking forward to more on Frigate
@jaredbater6229
@jaredbater6229 2 жыл бұрын
This video series saved me a LOT of time. Thank you so much!
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Glad it helped!
@ghkpr
@ghkpr 10 ай бұрын
what a great video! straight to the point, very well explained, easy to follow, thanks a lot, subbed!
@ganstagirs
@ganstagirs Ай бұрын
the best I've watched on this topic
@MarkGhali
@MarkGhali 2 жыл бұрын
Alan, your videos are so good! you need deserve more subs for sure! Keep at it!
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I appreciate that! Thank you!
@joudatfd
@joudatfd 2 жыл бұрын
Hi, nice video. Just checked my knowledge and setup of frigate using it ;) You are lucky to get the Coral, i'm looking for some M.2 version for months. Looking forward to the notification part. I guess i will learn something here and correct my setup.
@Dorff_Meister
@Dorff_Meister Жыл бұрын
Thanks. I'm finally getting around to trying out Frigate.
@jakemessner7845
@jakemessner7845 2 жыл бұрын
"Any corner of the bounding box around the object touches into the zone itself, then it considers the object to have entered that zone." Close, but only the bottom center point of the bounding box is used, effectively reducing bounding boxes to a single point. This can lead to some fairly funny looking zones to accomplish your desired behavior.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Well that answers a lot of the questions I had about some weird behaviour I observed. Thanks for chiming in with the extra information!
@making-memories-nl
@making-memories-nl 11 ай бұрын
Again a good session 2. Thanks again.
@bigoper
@bigoper Жыл бұрын
Just PERFECT! Thank you!!!
@ChiefIdeasOfficer
@ChiefIdeasOfficer 2 жыл бұрын
LOVE the Silicon Valley hotdog reference 😂
@michaelandrews4783
@michaelandrews4783 11 ай бұрын
Great detailed overview ! If frigate had user management it would be the perfect ip camera application
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
That's a fair request. I firewall mine off and manage access to the streams through Home Assistant users
@tclemos
@tclemos 6 ай бұрын
Amazing video, thanks for sharing!
@hillebrandstreet1882
@hillebrandstreet1882 Жыл бұрын
OHH MY G O D ... BEST Frigate / Home Assistant videos !!! many good videos out their also , BUT your really good thank you so much Home Automation Guy I have been struggling with only frigate Reducing false positives and I'm new to Yaml or yml . Thanks to your video i now not only know what to do but actually have a better much better understanding , also extra knowledge on the frigate.yml configuration … Thank you from Down Under
@bogorad
@bogorad 2 жыл бұрын
Brilliant, thank you!
@florianosabatini4016
@florianosabatini4016 10 ай бұрын
Very professional and nice
@tableswood6911
@tableswood6911 Жыл бұрын
Great video. Thanks.
@Siliconpixel
@Siliconpixel 4 ай бұрын
Nice video - thanks :)
@michaelstellrot2487
@michaelstellrot2487 11 ай бұрын
Very informative and dead on target!👍
@AA-dg4oo
@AA-dg4oo 2 жыл бұрын
Awesome 😎
@andrewlindner5243
@andrewlindner5243 Жыл бұрын
Thank you!!!!!!!!!!!!
@altra8911
@altra8911 Жыл бұрын
Awesome video. Absolutely great pacing and levels of in depth explanation, your videos are very much changing real world business for the better. But i must mention, is the title supposed to be spelled "frigage"? Sorry to be that guy
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Thank you for being that guy! I did not realise my typo, thanks for pointing it out! It's been fixed now
@davidvankan2023
@davidvankan2023 2 жыл бұрын
Great Video... i run Home Assistant (HASS OS) on proxmox and frigate inside HA. Can you create a video how to add a external USB drive to HA OS and how i can set it up that Frigate write the files (recordings) to the external drive ?.
@vaughanza
@vaughanza Жыл бұрын
Thanks for great video. Could you give me some suggestions as to why I am getting no events ? I see the live stream etc , I have roles : detect, rtmp and I have record enabled ? Can not understand why I am getting not events thanks
@Kiloptero
@Kiloptero Жыл бұрын
thanks again! a question.. im moving to a house.. looking for cameras and the reolink looks great.. due the constrain of chips its dif to get a coral.. its really needed to have a good frigate system? reolink has a integrated people and pet detection
@richardstrange8127
@richardstrange8127 Жыл бұрын
Is there any videos that cover installing vs code in docker and possibly linking it with HA supervised
@StuartSwindellC
@StuartSwindellC 9 ай бұрын
Great video Alan, just a question of Rasp Pi4. If your video monitoring is inside your house (for when you are away) so monitoring for example entry zone where little or no movement can be detected in normal condition, do you think the Pi would be up to the job? I was going to base my home assistant on PI HW :)
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I don't think it would perform very well on a Pi, but you might be able to get away with it if you have a Google Coral TPU. I would suggest trying it and seeing, if you already have the Pi hardware!
@rene3508
@rene3508 Жыл бұрын
Thank you Alan for your great videos! I have trouble setting up my zones. More precisely, an event is still triggered when a car drives past on the street. But my parking Zone is not the street. Do you have a hint for me?
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
That's hard to troubleshoot from here. Hopefully Frigate's debug screen can help show you what's going on?
@BACRULES
@BACRULES Жыл бұрын
Nice video. my plan is to have camera around the house, But i dont know what i will need for hardware. now i am running on a NUC. But after i watch you other video about rack pc. i will need one:D But what hardware. Will ha i5 do? or is it better to go for a i7?
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
I ran it on an Intel i5 NUC for years without any problems
@kmschwem
@kmschwem Жыл бұрын
Does it allow for detection of a generic non-fixed object. I'd like the ability to detect moving objects that aren't fixed (e.g. trigger on an unknown object moving across the frame but not a tree blowing in the wind).
@NextGenManufacturingSoftware
@NextGenManufacturingSoftware 2 жыл бұрын
Great information. I'm just starting and trying to figure out if I use Protect (I have Unifi ecosystem with UDM Pro) or go the Frigate route. Problem with Unifi is that I will have to pay crazy prices for cameras if I want 4k ($449) or I can get 4 Amcrest cameras for the same price. But then I would need to build a good VM on my ESXi or take my HP Gen 7 and install Frigate on its base. Not sure the best option between Unifi and Frigate. For Frigate it looks like the TPUs are $400 right now if you get them on eBay - that is a lot if you need/want 1 per camera. Any thoughts on my dilemma?
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I don't think you need 1 TPU per camera. Why not start with Frigate and a CPU detector on the hardware you already have, and one Amcrest camera to see how it works for you and use that to help make the decision? It's always best to try before you commit all that money!
@lameddie7298
@lameddie7298 2 жыл бұрын
Hi, do u have any idea if Frigate can be run on Nividia Jetson nano?
@patrickpaganini
@patrickpaganini 2 жыл бұрын
This looks really good. Everybody seems to be recommending Blue Iris - but at least this is open source. You use Unifi I think? Do you still use unifi protect in conjunction with frigate (I've heard people say the protect phone app is good) or do you just use frigate now?
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I use the Unifi protect app when I want to view my cameras in real-time. The app is really good at scrubbing through historical footage too. I use Frigate when I want to see what objects were detected without having to go through all the footage.
@ryanandrewbaker
@ryanandrewbaker 2 жыл бұрын
I don't think anyone is recommending blue iris in 2022. Historically it was great, but it's past it now. Frigate is where it's at.
@greglonnon
@greglonnon Жыл бұрын
"I don't like cats..." says the guy that has a tiger picture in the background... Thanks for the video, good demo/configuration of frigate.
@DjLundbladh
@DjLundbladh Жыл бұрын
Can you please do a update wit h the new restream go2rtc? :)
@cong8973
@cong8973 2 жыл бұрын
Hi, can you do a video on how to setup google coral M.2 Accelerator B+M key into Raspberry Pi4 running Home Assistant with Frigate? My Google Coral M.2 accelerator is coming in a few weeks time.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Take a look at the Frigate documentation, in the Detectors area. There are a lot of examples in there for M.2 TPUs
@jdurhamify
@jdurhamify Жыл бұрын
Do you know why the Media folder that frigate is saving recordings is creating and saving files under tomorrow's date?
@AsyrafAkira
@AsyrafAkira 6 ай бұрын
Hi, is it possible to save clip and recording into external USB? I only found articles about containers using network storage but I'm currently using HAOS😅
@yankee-in-london
@yankee-in-london 2 жыл бұрын
Is the TPU just another name for a GPU? I'd have assumed that it was and my i7 NUC in LA (and one ordered for London) definitely has a decentish GPU. Did you compare the performance of your TPU versus of the GPU on your NUC? Also wondering if the object detection of a Reolink camera could serve as the motion detector and then hand filtered motion events to Frigate's object detection. Just looking to take advantage of hardware I have. My NUC sits in an area which people sometimes sleep in so trying to keep fan noise to a minimum.
@Ronaaronhunt
@Ronaaronhunt 2 жыл бұрын
Yes, with the HA integration it can act as a motion sensor. A TPU isn't exactly a GPU. A TPU will outperform a GPU at these tasks dollar for dollar.
@yankee-in-london
@yankee-in-london 2 жыл бұрын
@@Ronaaronhunt really? what characteristics does a TPU have over a GPU?
@mryo-yobzh9485
@mryo-yobzh9485 2 жыл бұрын
@@yankee-in-london That's said at 9:32. TPUs are ASICs (application specific integrated circuits) and as the name implies, they were made for the sole purpose of running AI code. It's like the VPU (video processing unit), while you can decode and encode videos with your cpu, even your smartphone's VPU will vastly outperform it. That's why you can watch the latest 4k atmos hdr movie with almost 0% cpu usage and a long battery life. On intel platform it's called Quicksync and that's what was mistakenly called "gpu" at 11:11.
@RickFarris
@RickFarris 2 жыл бұрын
You know what I'd like, Alan? I'd like to be able to tell when the UPS truck or the FedEx truck comes by. Can we do that? Not just any truck...
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
That's a great idea - I would like that too now! Frigate are working on the ability to upload your own snapshots and classify them as your own type of object, so this should be possible in the future. I think it might be a Premium, paid for feature though. I'll keep my eye out for any solutions to this, and if I figure it out I'll make a video.
@IamDraaky
@IamDraaky 2 жыл бұрын
Do you have any IP camera suggestions that do not require a subscription and are local network only?
@try-that
@try-that 2 жыл бұрын
I use Reolink and Amcrest, the Amcrest cameras I flash Dauhu firmware. Works very really well. I put my cameras on a network with no Internet access apart for NTP if I can't make it use my firewall NTP.
@julesrandolph6301
@julesrandolph6301 2 ай бұрын
In my 5x1080P cameras setup, I had my CPU load down from 35% to 5% just by adding motion masks to ignore camera embedded timestamps 😅!
@HomeAutomationGuy
@HomeAutomationGuy 2 ай бұрын
Haha oh wow! Good move!
@jeriellopez4927
@jeriellopez4927 7 ай бұрын
No ui to setup config or detect cameras?
@Mickenaslund
@Mickenaslund Жыл бұрын
Hello! I have a coral accelerator that I don't know how to install. Have you made a video on this?
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Not yet!
@Mickenaslund
@Mickenaslund Жыл бұрын
@@HomeAutomationGuy Hello ! Will you be doing this in the near future?
@davidsiebrecht8612
@davidsiebrecht8612 2 жыл бұрын
Is it possible to use Frigate with a Ring doorbell camera?
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I am not sure! But I don't think so.
@radul476
@radul476 Жыл бұрын
So the cameras only start recording and write the information on you hard disk when your conditions are met? Otherwise they are not saving anything on the hard disk, right?
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Correct. But you can tweak all of that behaviour in the configuration file
@radul476
@radul476 Жыл бұрын
@@HomeAutomationGuy Ty!
@walkertron
@walkertron Жыл бұрын
11:17 “GPU won’t speed up detection” - I thought this was the purpose of the Nvidia TensorRT detector option? Has anyone tried that, I’d love to use my old 1050 Ti instead of paying $120 for a Coral, if it works decent enough
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
I'm not sure if that's compatible with Frigate
@TalZac
@TalZac 2 жыл бұрын
I will save This until I get Google Coral - Accelerator I do not know when it will arrive,.
@Flos_tech_lounge
@Flos_tech_lounge Жыл бұрын
Are you still using your unifi cameras for that?
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Yep
@roystervi
@roystervi Жыл бұрын
you have a docker install?
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
I did
@roystervi
@roystervi Жыл бұрын
@@HomeAutomationGuy I saw a home assistant but not a docker install. can you share the link to the vid TIA
@MikeDent
@MikeDent 2 жыл бұрын
Lots of objects but sadly not packages.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
No packages.... Yet!
@nemmeh
@nemmeh Жыл бұрын
Says he doesn't like cats. Also has a picture of a giant cat looking over his shoulder.
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Are tigers cats? I guess you're technically correct...
@jowjowosv
@jowjowosv Жыл бұрын
great video... Thanks 👍 But you're wrong about cats🐈 😊 they are wonderful creatures if they are neutralized
@nurmukhamedartykaly4005
@nurmukhamedartykaly4005 6 ай бұрын
Does anybody in 2024 have a luck to install Ubuntu and install edgetpu drivers?
@logicfacts9964
@logicfacts9964 Жыл бұрын
And who told you that recognition of more different objects means more work/load/time or whatever? It's not true! If you don't understand such basic things I very doubt you can set options optimally
@Integr8d
@Integr8d Жыл бұрын
Not hot dog
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
🌭
@calebjpryor
@calebjpryor 2 жыл бұрын
I just pray tech scalpers will stop buying up all the coral devices. $400+ on ebay isn't a fair price on a $60 device.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Yeh. It's a shame. Hopefully they continue to make them when the chip shortage gets better
@edbouhl3100
@edbouhl3100 Жыл бұрын
Prices are finally starting to crack. There are several USB Corals listed currently on EBay below $200. I just bought one for $105. I think the manufacturer is getting ready to ship which would explain the change.
@motog7playphone169
@motog7playphone169 Жыл бұрын
great website to reel u in yet half the time it doesnt work and requires home assistant to get anywhere with it. if u dont like really who the fuck is portforwarding in 2022? who is sitting on their ass 24/7 watching the events page for things that happen? oem nvr is the way to go. dont give into this gimmik, such a pain to get working right
Local Security Camera Recording with Frigate NVR
13:47
Home Automation Guy
Рет қаралды 133 М.
UNO!
00:18
БРУНО
Рет қаралды 3,1 МЛН
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 36 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН
Don't Overlook This Slot
15:54
Hardware Haven
Рет қаралды 561 М.
Almost EVERYONE is Wasting Money on Dash Cams.
17:32
Linus Tech Tips
Рет қаралды 10 МЛН
Tracking my CAT with AI!  Feat. Object Detection in Frigate and Viseron NVR
17:54
The BEST Self-Hosted CCTV Solution With AI Object Detection?
26:16
Jim's Garage
Рет қаралды 75 М.
ESPHome room presence detection with Format-BLE-Tracker
15:15
Home Automation Guy
Рет қаралды 20 М.
Frigate on a Proxmox LXC
11:11
Home Automation Guy
Рет қаралды 71 М.
Ditch Your Ring Subscription with Frigate and Scrypted
15:29
Technithusiast
Рет қаралды 24 М.
I Spy, with my Little Pi...
23:46
Jeff Geerling
Рет қаралды 302 М.
Easy Aqara bed sensor vs ESPHome
15:59
Home Automation Guy
Рет қаралды 118 М.
The best and worst decisions I made for my smart home
17:03
Home Automation Guy
Рет қаралды 49 М.
Best the best 2024❤️ Subscribe
0:14
Hayot Sinovlari
Рет қаралды 5 МЛН
СУШИ ИЗ АРБУЗА//ПРОВЕРКА РЕЦЕПТА
0:24
ОЛЯ ПЕРЧИК
Рет қаралды 1,5 МЛН
Fast and Furious: New Zealand 🚗
0:29
How Ridiculous
Рет қаралды 45 МЛН
ToRung short film: 🐶puppy is hungry🥹
0:32
ToRung
Рет қаралды 30 МЛН