BI Motion Sensors

C.S.Tech

n3wb
Joined
Oct 30, 2023
Messages
14
Reaction score
8
Location
South Florida
I'm curious as to which method of motion sensor would be more accurate in BI, built in software or data pulled from camera onvif? Secondly, does the data pulled from onvif get processed through AI (deepstack or codeproject) or is the AI processing limited to BI motion sensing? Can data from both sources be used or will this cause more issues than it solves?
 

actran

Getting comfortable
Joined
May 8, 2016
Messages
807
Reaction score
734
Yes, camera ONVIF events can be sent thru CP.AI.

But usually, if you are doing human/vehicle detection on the camera, it's not necessary to send it thru CP.AI because they are already really reliable, especially on most recent Dahua cameras.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,221
Reaction score
49,134
Location
USA
Regarding Camera AI, it has got so good that doing camera AI and then BI AI is kinda overkill and adds more complexity, time delay, and potential for issues.

Whether you use the camera AI or BI motion and then send to BI AI, there are scenarios in each situation that could cause the BI AI to miss it, in particular if the camera AI was slow to react, by the time BI AI gets a snapshot, the object may be out of view. People still have plenty of BI AI that shows up as nothing detected.

Whether to use camera AI or BI AI is obviously up to you, but of course, the AI in the camera may be more than sufficient for your needs without needing BI AI. Do you need the orange box around every object? Do you want to identify animals or logos? Or is just human or vehicle sufficient.

The camera AI is useful to many people, but BI has way more motion setting granularity than the cameras, and some people need that additional detail, especially if wanting AI for more than a car or person. For folks that want AI and alerts on animals or specifically a UPS truck then they need the additional AI.

There isn't really a best practice because every field of view is different and use case and needs are different.

To many here, BI motion without AI is more than adequate for what they do.

To many here, camera AI is more than adequate for what they do.

To many here, using the BI AI adds additional functionality that the above alone can not do.

It comes down to testing with each field of view and which one gives you the most consistent results.


While some of that third party stuff is cool like tagging was it a dog or a bear, I don't need all that fancy stuff. If my camera triggers BI to tag an alert for human or vehicle and BI can accomplish what I need by way of a text or email or push or whatever, that is sufficient for my needs. I just want to be alerted if a person or vehicle is on my property and the camera AI does a fine job with that.

However, I do run BI AI on one camera so that it knocks out headlight shine so that the alert image includes the vehicle. The camera AI will trigger for a car, but the alert image was always just the headlights.

The true test....I have found the AI of the cameras to work even in a freakin blizzard....imagine how much the CPU would be maxing out sending all the snow pictures for analysis to CodeProject LOL. My non-AI cams in BI were triggering all night. This picture was ran through Deepstack (without the IVS or red lines on it) and it failed to recognize a person in the picture, but the camera AI did. This pic says it all and the video had the red box over it even in complete white out on the screen:

1679354257954.png


See this thread on how using just Dahua AI may be sufficient for your needs:

Who uses Dahua AI capable cameras? Reliable AI for triggering events? Pro's/con's?
 

C.S.Tech

n3wb
Joined
Oct 30, 2023
Messages
14
Reaction score
8
Location
South Florida
Regarding Camera AI, it has got so good that doing camera AI and then BI AI is kinda overkill and adds more complexity, time delay, and potential for issues.

Whether you use the camera AI or BI motion and then send to BI AI, there are scenarios in each situation that could cause the BI AI to miss it, in particular if the camera AI was slow to react, by the time BI AI gets a snapshot, the object may be out of view. People still have plenty of BI AI that shows up as nothing detected.

Whether to use camera AI or BI AI is obviously up to you, but of course, the AI in the camera may be more than sufficient for your needs without needing BI AI. Do you need the orange box around every object? Do you want to identify animals or logos? Or is just human or vehicle sufficient.

The camera AI is useful to many people, but BI has way more motion setting granularity than the cameras, and some people need that additional detail, especially if wanting AI for more than a car or person. For folks that want AI and alerts on animals or specifically a UPS truck then they need the additional AI.

There isn't really a best practice because every field of view is different and use case and needs are different.

To many here, BI motion without AI is more than adequate for what they do.

To many here, camera AI is more than adequate for what they do.

To many here, using the BI AI adds additional functionality that the above alone can not do.

It comes down to testing with each field of view and which one gives you the most consistent results.


While some of that third party stuff is cool like tagging was it a dog or a bear, I don't need all that fancy stuff. If my camera triggers BI to tag an alert for human or vehicle and BI can accomplish what I need by way of a text or email or push or whatever, that is sufficient for my needs. I just want to be alerted if a person or vehicle is on my property and the camera AI does a fine job with that.

However, I do run BI AI on one camera so that it knocks out headlight shine so that the alert image includes the vehicle. The camera AI will trigger for a car, but the alert image was always just the headlights.

The true test....I have found the AI of the cameras to work even in a freakin blizzard....imagine how much the CPU would be maxing out sending all the snow pictures for analysis to CodeProject LOL. My non-AI cams in BI were triggering all night. This picture was ran through Deepstack (without the IVS or red lines on it) and it failed to recognize a person in the picture, but the camera AI did. This pic says it all and the video had the red box over it even in complete white out on the screen:

1679354257954.png


See this thread on how using just Dahua AI may be sufficient for your needs:

Who uses Dahua AI capable cameras? Reliable AI for triggering events? Pro's/con's?
Thanks for this, VERY INFORMATIVE! I have a stupid question, to push camera AI through to BI just simply enable onvif and disable BI motion sensor? Of course that would mean setting up motion sensor, etc. in the camera's webgui settings.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,221
Reaction score
49,134
Location
USA
Thanks for this, VERY INFORMATIVE! I have a stupid question, to push camera AI through to BI just simply enable onvif and disable BI motion sensor? Of course that would mean setting up motion sensor, etc. in the camera's webgui settings.
That would be correct.

For a Dahua camera (it is called IVS but whatever it is called in the camera you are using) set up the IVS rules within the camera and let it do its thing!

Go into the camera and set up smart plan with IVS, then go to the IVS screen and draw IVS rules (tripwire or intrusion box) and then select the AI you want it to trigger on (human or vehicle).

Then in BI, there are a few places you need to set this up in BI (assuming you already set up the IVS rules in the camera GUI):

In Camera configure setting check the box "Get ONVIF triggers".

Hit Find/Inspect on the camera setting to pull the coding for the triggers.

Go into Motion Setting and select the "Cameras digital input" box.

On the Alerts tab uncheck the Motions Zones tab (those are alerting you to any BI motion in those areas in Zones A thru H)

On the alerts tab set up how to be notified.
 
Top