Need help starting AI

Dec 13, 2018
77
6
USA
This is all pretty new to me, I've used NVR/POE cameras for a decade but finally jumped to a blue iris system the past 6 months to dabble with it. I'm no software engineer but pretty tech oriented. I've just been using basic BI alerts for motion events, but I'd really like to try the human/animal detection stuff. I get alot of false alerts/events on my outdoor cameras to the point i had to turn off push notifications on them. Someone recommended I use codeproject and I got the server started but they sent me this FAQ and I mean the 3rd step in where it says to setup triggers and hit the AI tab.. I dont have that on my version. I see this FAQ is from 2023, its tough that blue iris moves stuff around when I'm trying to follow FAQs or videos on how to set things up and I hit a wall. I would just like to start with basic human detection alerts

This is the FAQ I was told to follow but like i said hit a wall when I dont have an AI tab in my triggers section

Anything more updated you recommend I follow to setup?
 
1st question is what BI version are you on?

2nd question is what cameras do you have - do they have built-in AI?
 
1st question is what BI version are you on?

2nd question is what cameras do you have - do they have built-in AI?
I am on 5.9.9.23

I've got a couple cheap amcrest ones that were like $60 from microcenter that I use in places I'm not really concerned about but I have a IPC-T28IR that I'm using for my main one at the front of the house, which I will be swapping with a IPC-T54IR-AS-S3 1/1.8" that I bought. I'm not sure how the built in AI really works, I tried messing with the SMD stuff but couldnt figure out how to carry over the alerts to blue iris, which is why I am seeking out this type of AI.
 
SMD is crap and not many people use it. It is just as poor as standard motion detection.

IVS rules is where it is at.


GETTING CAMERA TRIGGERS INTO BI

Go into the camera GUI 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).

Make sure MD and SMD are turned OFF in the camera.

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".

1729872550455.png




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 OR "ONVIF/CAMERA EVENTS" based on which BI version you have. Turn off BI Motion Detection if you don't want to use it:

1729872617699.png






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) and select ONVIF and External check boxes.

1729872667440.png




On the "On alert..." actions, select how you want to be alerted (email, push, SMS, etc.)
 
SMD is crap and not many people use it. It is just as poor as standard motion detection.

IVS rules is where it is at.


GETTING CAMERA TRIGGERS INTO BI

Go into the camera GUI 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).

Make sure MD and SMD are turned OFF in the camera.

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".

1729872550455.png




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 OR "ONVIF/CAMERA EVENTS" based on which BI version you have. Turn off BI Motion Detection if you don't want to use it:

1729872617699.png






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) and select ONVIF and External check boxes.

1729872667440.png




On the "On alert..." actions, select how you want to be alerted (email, push, SMS, etc.)
Thanks I actually did mess with the IVS on the cam gui, then just went no where. I dont have much time to mess with it but I will follow this tonight and see if I can get it working. Thank you, you were the one who helped me when I was setting up my system. I owe you a steak dinner
 
SMD is crap and not many people use it. It is just as poor as standard motion detection.

IVS rules is where it is at.


GETTING CAMERA TRIGGERS INTO BI

Go into the camera GUI 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).

Make sure MD and SMD are turned OFF in the camera.

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".

1729872550455.png




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 OR "ONVIF/CAMERA EVENTS" based on which BI version you have. Turn off BI Motion Detection if you don't want to use it:

1729872617699.png






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) and select ONVIF and External check boxes.

1729872667440.png




On the "On alert..." actions, select how you want to be alerted (email, push, SMS, etc.)

I followed all of this step by step and its not triggering any events in BI still hmm, does the camera need to have an SD installed for it to work?
 
I followed all of this step by step and its not triggering any events in BI still hmm, does the camera need to have an SD installed for it to work?

No it does not need an SD card for it to work.

Post screenshots from the camera GUI so we can confirm the IVS is on and then screenshots of your settings in BI. It is probably something simple.

And you did hit the find/inspect again?
 
No it does not need an SD card for it to work.

Post screenshots from the camera GUI so we can confirm the IVS is on and then screenshots of your settings in BI. It is probably something simple.

And you did hit the find/inspect again?

Yep I did the find/inspect again. Cam GUI motion detection is OFF, same with SMD

Screenshot 2025-03-24 162443.pngScreenshot 2025-03-24 162512.pngScreenshot 2025-03-24 162409.pngScreenshot 2025-03-24 162355.pngScreenshot 2025-03-24 162210.pngScreenshot 2025-03-24 162443.pngScreenshot 2025-03-24 162512.pngScreenshot 2025-03-24 162409.pngScreenshot 2025-03-24 162355.pngScreenshot 2025-03-24 162210.pngScreenshot 2025-03-24 162443.png
 
OK that all looks correct.

That is a pretty limited IVS rule. Have you confirmed it actually triggers in the camera GUI - you watch it live and watch the line change red and a red box around the object when it is triggered? And if so, it isn't triggering in BI?

You have to think of the IVS rule in 3D - so in your image, it is possible for the truck and a person to go under the IVS rule and not trigger. It works best when the entire object crosses the line.
 
OK that all looks correct.

That is a pretty limited IVS rule. Have you confirmed it actually triggers in the camera GUI - you watch it live and watch the line change red and a red box around the object when it is triggered? And if so, it isn't triggering in BI?

You have to think of the IVS rule in 3D - so in your image, it is possible for the truck and a person to go under the IVS rule and not trigger. It works best when the entire object crosses the line.

I guess I kind of figured if anything moves past that line it would trigger? I haven't watched it live in the camera GUI I'll try to organize that later today. My alerts for regular BI motion are working, just not the IVS ones
 
Yeah, I suspect the IVS isn't actually being triggered.

When you test it later, turn off BI motion.
 
  • Like
Reactions: Zipsort
In UI3, the clip thumbnail will say "RuleEngine/LineCrossing" if a camera tripwire caused the event.

Capture.JPG

You're hitting on one of the big disadvantages of using BI over an NVR, in that the NVR real-time display and playback shows the trip lines, and indicates when they're triggered. Many years ago, IVS events were recorded in the camera log, but that feature disappeared in newer models. If you just want to test, you can log into the camera's web page, which will show the tripwires, and have an assistant walk through them while you're watching. Alternatively, you can just look through the camera's SD card recordings if you have an SD card inserted.
 
In UI3, the clip thumbnail will say "RuleEngine/LineCrossing" if a camera tripwire caused the event.

View attachment 217970

You're hitting on one of the big disadvantages of using BI over an NVR, in that the NVR real-time display and playback shows the trip lines, and indicates when they're triggered. Many years ago, IVS events were recorded in the camera log, but that feature disappeared in newer models. If you just want to test, you can log into the camera's web page, which will show the tripwires, and have an assistant walk through them while you're watching. Alternatively, you can just look through the camera's SD card recordings if you have an SD card inserted.

Well, I turned on SMD.. and Im now getting ONVIF alerts on my push. Seems like its working. Nothing "human" or "vehicle" detected, though. Just motion alerts it seems
 
Keep in mind SMD is going to trigger for a lot more than human and vehicle.

It will only show "human or vehicle" if you set up the memo tab of the appropriate trigger in BI to report that.

1743294768623.png
 
Keep in mind SMD is going to trigger for a lot more than human and vehicle.

It will only show "human or vehicle" if you set up the memo tab of the appropriate trigger in BI to report that.

View attachment 217996

How do I know which one of those is human or vehicle? Unter "Contains" or Attribute? Neither of them really say.

Is there any reason I'd rather run SMD over Blue Iris built in motion? I am currently getting SMD alerts because of snow falling
 
Of course you are getting alerts from SMD for snow falling - most here have found that SMD sucks as an alert tool and isn't really that smart and produces way too many false positives.

BI motion provides way more granular level than camera SMD.

But you really shouldn't use SMD or BI motion for real time alerts and you need to use IVS instead since your 54IR supports it.

You make two rules - say tripwire for person and intrusion zone for vehicle and then you trigger each one and see which rule is which and then put person or vehicle in the memo.

1743302062472.png
 
Of course you are getting alerts from SMD for snow falling - most here have found that SMD sucks as an alert tool and isn't really that smart and produces way too many false positives.

BI motion provides way more granular level than camera SMD.

But you really shouldn't use SMD or BI motion for real time alerts and you need to use IVS instead since your 54IR supports it.

You make two rules - say tripwire for person and intrusion zone for vehicle and then you trigger each one and see which rule is which and then put person or vehicle in the memo.

View attachment 218001

Yeah for my one property I got the driveway BI motion MOSTLY dialed in, only get alerts when people or vehicles come up it. Every so often some wind will mess with the lighting an give me a false positive. I'm at a second property with a new server right now, and this is the one I got SMD working. Pretty sure IVS isn't trigging though. I'll keep messing with it.. my iOS push says "ONVIF-IsMotion="true"

Weird, right as I wrote that I just got a new push I havent seen yet "ONVIF-RuleEngine/CellMotionDetector" , but it was false positive, nothing was moving
 
Of course you are getting alerts from SMD for snow falling - most here have found that SMD sucks as an alert tool and isn't really that smart and produces way too many false positives.

BI motion provides way more granular level than camera SMD.

But you really shouldn't use SMD or BI motion for real time alerts and you need to use IVS instead since your 54IR supports it.

You make two rules - say tripwire for person and intrusion zone for vehicle and then you trigger each one and see which rule is which and then put person or vehicle in the memo.

View attachment 218001
Hey brotha, for the 54ir, do you have any advice on how to... improve the image quality? It looks so grainy. Like some of my amcrest cameras honestly produce a more clear picture.