The Ultimate Guide to BlueIris and Deepstack - Part 1
HTML-код
- Опубликовано: 8 сен 2024
- In part 1 of this 3-part series, I cover how to install and configure BlueIris NVR and Deepstack for AI object detection. Part 2 will cover adding cameras to BlueIris and configuring object detection using Deepstack, and part 3 will cover adding the Home Assistant integration and configuring notifications and automations.
If you'd like to support the channel, you can do so by becoming a Patron at / fasthowto
This episode's t-shirt: amzn.to/3nMzlvs
BlueIris: amzn.to/41Cpfgc
Deepstack: github.com/joh...
CUDA toolkit: developer.nvid...
cuDNN: developer.nvid...
Intel NUC 11 Enthusiast: amzn.to/3Bdj31P
BI/DS Rig:
Video card: amzn.to/3BbAWxU
RAM: amzn.to/3HTvOlN
CPU: amzn.to/3LUHZQR
CPU cooler: amzn.to/42DFJoh
mainboard: amzn.to/3LUK679
M.2 SSD: amzn.to/42pF5dC
14TB SATA: amzn.to/3VPeZyc
Case: amzn.to/3B9XrUd
Power supply: amzn.to/3puss2v
Video editing rig:
Video card: amzn.to/3LUIpXr
RAM: amzn.to/3BbLVYv
CPU: amzn.to/3phRsK7
CPU cooler: amzn.to/42CX93I
mainboard: amzn.to/41nzOCa
M.2 SSD: amzn.to/3nOaqYA
Case: amzn.to/3Mh85io
Power Supply: amzn.to/44Ps9zg
Some of my favorite home automation things:
Aqara temperature and humidity sensor (zigbee): amzn.to/3X2ubr3
Aqara water leak sensor (zigbee): amzn.to/3JkWH3P
Aqara door & window sensor (zigbee): amzn.to/3Ril7N7
Aqara mini switch (zigbee): amzn.to/3HlmmGK
Aqara motion sensor (zigbee): amzn.to/3kV2eDS
Conbee II Zigbee stick: amzn.to/40pORfx
Zigbee and Zwave combo stick: amzn.to/3yuqPTG
USB extension for Zigbee/Zwave sticks: amzn.to/3ySQGVL
Intel Nuc: amzn.to/3JcVivA
KASA outdoor outlet (wifi): amzn.to/3XOLoFl
KASA indoor outlet HS103 (wifi): amzn.to/3XOLVai
KASA single pole dimmer HS220 (wifi): amzn.to/3HgOaft
KASA single pole switch HS200 (wifi): amzn.to/3HHNEsC
KASA three way switch HS210(wifi): amzn.to/3kSZ0ks
KASA three way dimmer KS230 (wifi): amzn.to/3kQm2s8
Shelly 2.5 relay switch (wifi): amzn.to/40drGon
Honeywell T9 thermostat (wifi, homekit): amzn.to/3WOVvsD
Honeywell T9 remote zone sensor: amzn.to/3jfr5Sw
Sonoff S31 Lite smart plug (zigbee): amzn.to/3HDsb3U
Sonoff S31 smart plug with power monitoring (wifi): amzn.to/40fkvMk
Sengled bulbs (zigbee): amzn.to/3JH95vl
August 4th generation WiFi smart lock: amzn.to/3ksXZj3
Motorola MoCA Adapters: amzn.to/41h9LxI
Tripp Lite UPS: amzn.to/3M6sHJu
Tripp Lite extended runtime battery expansion: amzn.to/46DJiwC
Zooz Titan water shutoff valve: amzn.to/3slCB3v
My studio gear:
Cameras & equipment:
Canon 90D (primary and secondary cameras): amzn.to/3WOvmKz
Canon EF 24mm f/1.4 L II USM (primary lens): amzn.to/448iD8Q
Canon EF 24-105mm f/4 L IS USM: amzn.to/3QVqCBR
Canon EF 28mm f/1.8 USM: amzn.to/3DkPvAH
Canon EF 50mm f/1.4 USM: amzn.to/3jinlQk
Canon EF-S 17-55 f/2.8 IS USM: amzn.to/3kRZgQK
Canon AC adapter: amzn.to/3RgogNC
Canon DC coupler: amzn.to/3HcmTuK
Lexar Pro 128GB SDXC cards: amzn.to/3Drg7jA
ProGrade SD card reader: amzn.to/3HmPRYQ
Lowepro ProTactic 450 camera bag: amzn.to/3DoJras
Manfrotto 055 CX Pro tripod: amzn.to/3XOaMei
Manfrotto 055LC leveling center column: amzn.to/40aYm1R
Manfrotto MVH502AH fluid head: amzn.to/40eyOkw
Manfrotto 055 PRO3 aluminum tripod: amzn.to/3uu9pYT
Mics & Audio:
Rode NTG-3B (primary mic): amzn.to/3kGEbIL
Rode SM4-R shockmount: amzn.to/3Y8zo1m
Rode Videomic NTG (on-camera mic): amzn.to/3S9heNg
Shure SM7B (desk mic): amzn.to/3wEnX5H
Zoom H4n pro 4-track digital recorder: amzn.to/3Y365x6
Zoom F6 digital field recorder: amzn.to/3ZWxjHa
Cloudlifter for Shure SM7B: amzn.to/3Z31tqO
TASCAM DR-10 lav recorder: amzn.to/3kRvGLb
Rode lav mic: amzn.to/46ZFUM2
Windjammer for lav mics: amzn.to/3HFPDNM
Neewer boom arm mic stand: amzn.to/3WH8YCI
Rode PSA1+ boom arm for SM7B: amzn.to/3ODqM0l
Adam A7V studio monitors: amzn.to/48f1Pzp
Focusrite Scarlett 4i4 audio interface: amzn.to/49aFIva
Pig Hog 1/4" TRS to XLR: amzn.to/3OEhD7O
GLS XLR cables: amzn.to/3kXb97K
Lighting:
Aputure Amaran 100x lights: amzn.to/40dJqQp
Aputure Light Dome SE: amzn.to/40dJBex
Light stands: amzn.to/3Rethq2
Green screen: amzn.to/3jcOjJ3
Hair light: amzn.to/3RkyzQW
Rim light: amzn.to/3qlynb7
#homeassistant
#smarthome
#smarthouse
#howto
#tutorial
#BlueIris
#deepstack
#security
At least a year later, most of this info is still pertinent... great job at putting all this together...I would have loved this a few years ago when I fell down the BI wabbit hole.... On to the next video(my system is complete, but this is good viewing)
Thank you for the kind words, and thanks for watching!
Hi, this is Jagan from India, I'm using blueIris for 3 years, Thanks for the video. The video is very detailed.
y DeepStack, y not codeproject.
Because Deepstack is tried and true, and codeproject is not - and Deepstack does what I need it to do.
Love the shirt!!!!
Thank you, and thanks for watching!!
Would there be a downside to having your HOAS in a virtual machine on the same computer that is running blueIris? Is there a benefit to having a dedicated home assistant machine and keeping blueIris on a separate computer? Your videos are awesome and you are excellent at communicating everything. I look forward to all the content. Thank you!
As with everything else, the answer is "it depends". There are always pros and cons with every decision we make. Being able to sort this one out will involve you making a list of what the underlying hardware would be - CPU, RAM, GPU, storage, etc. Then figuring how how many cameras you'll have, and at what resolution, etc. Will you be using DeepStack? Do you have a GPU or will you be using CPU? Those questions will determine how busy the hardware will be, which will tell you how much capacity is left to run some type of virtualization on top of that then, and THEN the amount of power that will be left for the HA VM.
*Generally speaking*, running HA as a VM on top of a Windows OS is something that I'd only do for a lab or test/dev environment. I do it a lot here to have a "clean" install for making videos. The reason I don't like it for a "production" system is because of Windows updates.
I made a whole video about the different ways to run HA, pros & cons. If you haven't checked that out yet, it's worth a watch.
Great question, and thanks for watching!
@@fasthowto
If it is not too much trouble and digging around, considering your experience, would you be able to quickly tell if my computer will be too busy just by reading the information that I am providing for my machine? I have an MSI laptop with an intel core i7-10710U CPU @1.1 GHz 1.61 GHz, 32 GB RAM, 64 bit processor, two GPUs. The first GPU is an intel UHD graphics and the other is NVIDA GeForce GTX 1650 with Max-Q Design. The latter has 4 GB GPU dedicated memory and 16 GB shared with the UHD Graphics UHD for a total of 20 GPU memory. I will have 4 cameras running. Deepstack can be optional but ideally incorporated. I did get a chance to see your video on a deep look at hardware for HAOS. For me personally the occasional Windows updates will not a deal breaker for HAOS. What do you think? I should be okay? Are there other limitations besides the windows update for running a VM for HA? I really don't want to spend $200 on a NUC and more money on another dedicated machine for BlueIris/deepstack. Perhaps I may be able to save more on electricity with two dedicated machines because they may run more optimally, but will i save that much more? I am planning on looking into your videos with a lot more detail once i figure this hardware issue out, so forgive my ignorance on any technical language errors. Let me know how I can support you and your channel further. I have shared liked and subscribed so far.
The cameras would be the highest quality possible. I need to do research on the cameras as well.
@@jessegill1987 That proc is a 6-core, so you should be fine in terms of performance, and you should be fine with the RAM and graphics cards as well. In a perfect world, you would be running this on an SSD. The biggest issue with a laptop for Blue Iris is where you will store camera feeds. The amount of storage available to Blue Iris is the limiting factor for how long you can retain footage.
Windows updates are the primary concern with running HA as a VM on top of Windows, so if you're fine with occasional outages due to that, then no problem. Other considerations are the same as any other type of VM - access to hardware, USB passthru, etc. Nothing that can't be overcome, just some additional config needed.
You certainly have powerful enough hardware to build it the way you want, and you should be fine. If at some point down the road you find that things aren't running as fast as you'd like, or that you'd prefer HA to be on dedicated hardware, you can always buy a NUC at that time and move HA there. That laptop should be able to continue running Blue Iris and Deepstack without a problem, as long as there is storage available to accommodate your footage retention time.
As for supporting the channel - thank you! You may find some value in becoming a Patron over on Patreon.com. There's a link in the description of this video, and also in my channel About info. I post all the code for my videos on Patreon, so you can download it instead of having to type it all in. I also periodically post copies of my entire config there, you can get early access to ad-free videos there before they are posted on RUclips. There are several levels of membership, with progressively more benefits including Discord access, so please feel free to choose whatever one best meets your needs and budget, and thank you for your support!!! :)
@@fasthowto
Excellence! Thank you!!!. I will definitely check it out and spread the word.
Can you run DeepStack on a separate machine? I've had BlueIris running on an old i5-62XX nuc and experienced lengthy Deepstack response times and was wondering if I could offload DeepStack to my desktop with my Nvidia 4080.
technically, you can. In theory, you would just change the IP address of the deepstack server to the IP and port number of your desktop system. However, I've never done it. Plus, that means your camera system relies on having TWO machines powered on 24x7. So TWO UPSs. IMO, easier to build a dedicated BI/DS server with even a 1070 or 1080 in it. That way it's one system that has to stay on, one UPS to make sure it stays on, etc.
? what if the video card is AMD vega in regard to invidia for cuda toolkit Im on a NUC8i7HVK
Cuda is nvidia only.
Do you know what is the mean probability of person detection? I mean what is the percentage [%] value resulted by the frame AI analisys from which using a larger model returns a lower value for non-person and a higher value for person targets?
I don't know the answer, but you're looking at it wrong anyway. You want a high value for EVERYTHING. Why would you want it to only be able to identify a cat or a dog with 20% certainty?
And small help ... is it possible to get the sensor in home assistant triggers only when a human is detected in BlurIris
Home assistant integration will be covered in part 3, so stay tuned! Thanks for watching!
I noticed that similar to me that you have a UDM pro like me. Any reason why you did not use the UDM pro with unifi cameras. It seems that it would be more cost effective for me to use my UDM pro and POE switch with unifi cameras. That way I only need to use a spare hard drive in my UDM pro which I already have.
The list of reasons why I'm getting rid of unifi cameras - including doorbells - is long. Believe me when I tell you that the BI/DS solution is not only cheaper (if you build a normal BI server and don't go overboard like I did - but I built it from "spare parts", essentially, so.... ?), but it's also FAR superior in terms of object detection, much more flexible in terms of notification, far more reliable, and not prone to garbage firmware releases that break everything. I think that about sums it up. Great question, and thanks for watching!
Thir Cams are not user freindly, and the cost is crazyyyyy.....
@@tyrice24earl You can say that again....
i have arc a750 what alternative software for gpu should i use
Did you watch the video?
@@fasthowto i would be very appreciated
I'm not familiar with the arc cards since I don't have one, and I'm not familiar with any of the other camera/AI software either unfortunately. The way I operate is to generally do lots and lots of research ahead of time, and then buy what I think will best meet my needs. I don't try out lots and lots of different things - unless they are free, in which case I will evaluate several different products before deciding. But if it's going to cost me money - buy once, cry once.
Best of luck!
so how do I add a camera? lol
Watch part 2. Lol