Dedicated NVR vs BlueIris with DeepStack?

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
Hi guys, I have a few not so smart cameras a few years old. I run BlueIris at the moment on pretty weak PC pushing it to the extreme edge.
I want to upgrade to gain some AI capabilities. I am good with IT stuff.
My question is. If you were in my position, would you get dedicated NVR such as Dahua to would you get good PC and use existing BI with DeepStack?

What are the pros and cons? I haven't played with DeepStack yet but it looks like it can do some decent stuff but may not be in it's prime time yet?

Thank, Charles
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,690
Location
New Jersey
In terms of flexibility Blue Iris is the choice. If you want it "KISS" then an NVR.

DeepStack works fine with people, cars and some animals. It isn't great if you want facial recognition. In any case it's best to use a dedicated NVidia GPU to handle the DeepStack processing. A GPU works much faster and, to me, more accurately than a CPU can, even a 12th generation CPU. A Quadro with as many cores and as much memory as possible will work, but a 103, 1060 or better will work even better. It all depends on your budget. CUDA capable cards are in the crazy price range right now.
 

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
It isn't great if you want facial recognition.
Is it because it is not mature enough yet or is it some king of limitation?
In any case it's best to use a dedicated NVidia GPU to handle the DeepStack processing. A GPU works much faster and, to me, more accurately than a CPU can, even a 12th generation CPU. A Quadro with as many cores and as much memory as possible will work, but a 103, 1060 or better will work even better. It all depends on your budget. CUDA capable cards are in the crazy price range right now.
Thanks for the tip. It's good to know. I don't worry too much about money but I want to make good decision.
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,690
Location
New Jersey
The problem with DeepStack and facial recognition that I see is that you, basically, need to develop your own model. A model is a collection of captures that get analyzed and stored for use by DeepStack. The more captures for each face in the model, under varying conditions of angles and lighting, the more accurate it can be. That's where the problem comes from. You need to spend hours saving captures for use with DeepStack.

Another thing to consider with facial recognition is that it is normally used with a dedicated camera that always gets a good, full face shot. In reality it is far different than what you see on TV or in the movies.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,428
Reaction score
47,548
Location
USA
Are you doing every optimization in the wiki including substreams?

What i# and CPU version to you have
 

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
Are you doing every optimization in the wiki including substreams?

What i# and CPU version to you have
I know my BI PC is way underpowered. See specs below (attached picture). I have 4 cameras now. 2 of them 4K, recording to NAS with the essential stuff on this PC. I also run Home Automation software on it. So not ideal at all. It works but I know it is pushing the limits and if I want to use DeepStack I will have to upgrade for sure!
 

Attachments

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,690
Location
New Jersey
Ae you running sub streams on the cameras? If not do so. It will lower CPU utilization by a factor of 50% or so.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,428
Reaction score
47,548
Location
USA
What is your CPU%

A member here is running 18 cameras on that CPU at 14% CPU and recently started adding DeepStack to a few of the cameras. Substreams are a must, even more so with a 3rd gen.

A cheap $100ish P400 or GT1030 graphics card could be added to offload DeepStack if it struggles.
 

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
The problem with DeepStack and facial recognition that I see is that you, basically, need to develop your own model. A model is a collection of captures that get analyzed and stored for use by DeepStack. The more captures for each face in the model, under varying conditions of angles and lighting, the more accurate it can be. That's where the problem comes from. You need to spend hours saving captures for use with DeepStack.
That's not good.. :-(

I like the idea of having more flexibility with BI and DeepStack.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,428
Reaction score
47,548
Location
USA
I can assure you that creating your own model for facial recognition for DeepStack will be more successful than the NVR doing it...you cannot train the NVR, but you can DeepStack.

Most of us have found that facial recognition is more gimmicky and novelty than anything else. If you have to put in 5 or 10 or 15 or 35 pictures or more of yourself in the system for it to recognize it is you...then you shouldn't expect much.... My success rate was under 5% so I moved on to other things LOL.

It can work in certain situations like a business that requires everyone to stop in front of the camera and the camera is at head height. Outside of that, the percentage of being accurate is probably not going to be super high. You will get a lot of false "confirmations" doing a search.

Someone here posted once how horrible it was inside his house identifying his neighbors and others as him. Another guy his kids and wife were being tagged as him.

Unless you spend the big bucks that casinos and airports have LOL.

Heck even in ideal situations like a business with the camera at ideal height and optimal lighting it fails....

 

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
What is your CPU%

A member here is running 18 cameras on that CPU at 14% CPU and recently started adding DeepStack to a few of the cameras. Substreams are a must, even more so with a 3rd gen.

A cheap $100ish P400 or GT1030 graphics card could be added to offload DeepStack if it struggles.
See attached screen shot. Maybe I need to look into optimization regardless of the future upgrade.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,428
Reaction score
47,548
Location
USA
See this thread:


And the optimizations:

 

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
I can assure you that creating your own model for facial recognition for DeepStack will be more successful than the NVR doing it...you cannot train the NVR, but you can DeepStack.

Most of us have found that facial recognition is more gimmicky and novelty than anything else. If you have to put in 5 or 10 or 15 or 35 pictures or more of yourself in the system for it to recognize it is you...then you shouldn't expect much.... My success rate was under 5% so I moved on to other things LOL.

To be honest I don't care too much about face recognition. As long as I can use some AI on my dumb camera to eliminate most of the false motion detections (rain, snow, cloud shadows etc.)

I live in the mountains so do some training for wildlife besides recognizing people and cars would be nice. That is why I am asking about DeepStack.
 

Attachments

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
See this thread:


And the optimizations:

I'll check it out..
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,428
Reaction score
47,548
Location
USA
To be honest I don't care too much about face recognition. As long as I can use some AI on my dumb camera to eliminate most of the false motion detections (rain, snow, cloud shadows etc.)

I live in the mountains so do some training for wildlife besides recognizing people and cars would be nice. That is why I am asking about DeepStack.
Yeah, DeepStack can do that very well if all you care about is a trigger for person or vehicle as an example. It is when you want to to recognize you and unlock your front door and turn off your alarm that it will struggle.

And then yes you could train it for any wildlife that is not already in the model. You would be SOL with an NVR for that.
 

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
Yeah, DeepStack can do that very well if all you care about is a trigger for person or vehicle as an example. It is when you want to to recognize you and unlock your front door and turn off your alarm that it will struggle.

And then yes you could train it for any wildlife that is not already in the model. You would be SOL with an NVR for that.
That was I was thinking. I was leaning towards to BI and DeepStack as I want to get hands on something else than NVR. The best way to learn is to have it physically and experiment.

That said, I wanted to check first with some of you here with experience.
 

Charles_CO

Young grasshopper
Joined
May 4, 2022
Messages
35
Reaction score
14
Location
Denver
It is when you want to to recognize you and unlock your front door and turn off your alarm that it will struggle.
I guess for that I could always get good smart camera with alarm output (relay) wires and get it connected alarm system and have that processed with home automation system.. I think there would be way to deal with that.
 
Top