[tool] [tutorial] Free AI Person Detection for Blue Iris

Whats everyone doing not to get multiple notifications? So if my kids and i are outside the front, will i keep getting triggered alerts? Whats a good way around this?
Thanks,
 
Whats everyone doing not to get multiple notifications? So if my kids and i are outside the front, will i keep getting triggered alerts? Whats a good way around this?
Thanks,
I have a profile defined in BI that I changed the fire to never under the alerts tab for each camera for this profile for when I cut grass, etc. and don't want to receive alerts. I set my time to 120 minutes, but you can set this to whatever you prefer.
 
I have a profile defined in BI that I changed the fire to never under the alerts tab for each camera for this profile for when I cut grass, etc. and don't want to receive alerts. I set my time to 120 minutes, but you can set this to whatever you prefer.

And what do you have to trigger that 120 min exemption? DO you use HA? Do you manually set that? or is it on an automation (on garage door open or something)
 
Whats everyone doing not to get multiple notifications? So if my kids and i are outside the front, will i keep getting triggered alerts? Whats a good way around this?
Thanks,
My solution uses Home Assistant. When I am home I have a profile with no alerts as soon as I leave the profile switches to one with alerts. I was using this method before this tool and still have it implemented as I generally don't need the alerts while home. The same could be achieved with the BlueIris geo location options in the app.
 
My solution uses Home Assistant. When I am home I have a profile with no alerts as soon as I leave the profile switches to one with alerts. I was using this method before this tool and still have it implemented as I generally don't need the alerts while home. The same could be achieved with the BlueIris geo location options in the app.

Thanks; I also have a full blown HA in motion but im thinking even while home, its good to know who is walking up to the door as i have a tablet in the kitchen wall that lights up when someone is at the door. Currently i have a 5 min cool down in BI between alerts. But i really want to go with the AI solution, but in order for this to work nice, i would need to change the cool down to like 5 sec, so that the AI can process all images alerts. Now when i am just outside while my wife is inside, the alerts will go nuts!
 
And what do you have to trigger that 120 min exemption? DO you use HA? Do you manually set that? or is it on an automation (on garage door open or something)
I set this inside BI under the settings-->Profiles tab under temp time. I then manually change to this profile in BI and it changes back to whatever profile should be set after the defined time expires or I can switch the profile back manually.
 
I set this inside BI under the settings-->Profiles tab under temp time. I then manually change to this profile in BI and it changes back to whatever profile should be set after the defined time expires or I can switch the profile back manually.

Pretty manual work.. If your stepping outside, to start changing profiles..
 
Pretty manual work.. If your stepping outside, to start changing profiles..

Aside from having AI to detect and not alert on familiar faces, I’m not sure how else you’d achieve what you’re wanting to do. You want to receive alerts when you’re home but not when you walk outside and you want to automate this somehow. Even IF there was AI to detect familiar faces and not alert for certain faces, you’d have to get a clear picture of your face in order not to trigger, which many of your cameras likely can’t produce based on location, etc. Sentry is working on familiar face detection, which hasn’t been integrated into BI yet. Certain Nest cameras have familiar face alerts that are only accurate about half of the time.


Sent from my iPhone using Tapatalk
 
running into issues with masking out a road in front of my house - so went an followed the guide and masked the street but.. When a person rings the bell, the street view is behind them and as a result their top half of the body is masked! Not sure what other are doing here for this. Example image attached
 

Attachments

  • 1.PNG
    1.PNG
    157.1 KB · Views: 78
You can still use the all of the motion detection functions of BI. DeepStack just helps it be a little smarter. So have you tried setting up zones in BI? You might be able to set a zone crossing so that it only triggers the ai if someone comes near the porch. That's what I'm doing with my porch cam, which used to trigger all the time from shadows and bushes.
 
You can still use the all of the motion detection functions of BI. DeepStack just helps it be a little smarter. So have you tried setting up zones in BI? You might be able to set a zone crossing so that it only triggers the ai if someone comes near the porch. That's what I'm doing with my porch cam, which used to trigger all the time from shadows and bushes.

The trigger in BI is ok, but with the new AI tool, i have the street in the back masked out and when BI sets the trigger off - the AI took is not able to detect a person because the top half of the person gets cut off due to the masking (its 2D)
 
I run Deepquest on my Windows 10 BI computer. In AITool, the Deepstack URL is localhost:80. Everything works just fine.

I installed Deepstack on another computer, 192.168.0.9 and in AITool I changed the Deepstack URL to 192,168.0.9:80

It doesn’t work and I get this error:

[03.09.2019, 18:47:13]: ERROR: Processing the image C:\BlueIris\aiinput/aiBYCam.20190903_184710895.jpg failed. Can't reach DeepQuestAI Server at localhost:81.

Has anyone been able to get AITool to communicate with Deepstack on a Windows computer that is different than the BI computer?

It almost looks like “localhost“ was hard coded in AITlol and the port is changeable.
 
Last edited:
I run Deepquest on my Windows 10 BI computer. In AITool, the Deepstack URL is localhost:80. Everything works just fine.

I installed Deepstack on another computer, 192.168.0.9 and in AITool I changed the Deepstack URL to 192,168.0.9:80

It doesn’t work and I get this error:

[03.09.2019, 18:47:13]: ERROR: Processing the image C:\BlueIris\aiinput/aiBYCam.20190903_184710895.jpg failed. Can't reach DeepQuestAI Server at localhost:81.

Has anyone been able to get AITool to communicate with Deepstack on a Windows computer that is different than the BI computer?

It almost looks like “localhost“ was hard coded and the port is changeable.

I was able to get Deepstack to run on a separate Windows machine. The catch here is that you need to have Visual C++ installed on the Windows box that is running Deepstack, see post #338 in this thread. Also, to run Deepstack on Windows, your processor needs to support AVX. If your processor doesn’t support AVX, then you’ll need to run Deepstack on a Linux box with the noavx tag in Docker. Deepstack doesn’t support the noavx tag on Windows...yet. This feature is coming soon based on a few articles that I read from the Deepstack forums.


Sent from my iPhone using Tapatalk
 
  • Like
Reactions: fenderman
I've tried everything I can think of, but am still unable to get this to work.
  • DeepStack installed through Home Assistant running through VirtualBox on a Windows machine. When I do this I get, the "Can't reach DeepQuestAI Server at 192.168.1.100:85" error. I get the Activated screen when I go to the site.
  • DeepStack installed through Docker on an iMac. When I do this I get the "System.NullReferenceException | Object reference not set to an instance of an object. (code: -2147467261 )...Failure in AI Tool processing the image." error.

Any insight would be greatly appreciated.
 
I've tried everything I can think of, but am still unable to get this to work.
  • DeepStack installed through Home Assistant running through VirtualBox on a Windows machine. When I do this I get, the "Can't reach DeepQuestAI Server at 192.168.1.100:85" error. I get the Activated screen when I go to the site.
  • DeepStack installed through Docker on an iMac. When I do this I get the "System.NullReferenceException | Object reference not set to an instance of an object. (code: -2147467261 )...Failure in AI Tool processing the image." error.

Any insight would be greatly appreciated.

I’m guessing that AVX support isn’t passed through Virtual Box to the VM. Have you tried running Deepstack with the noavx tag?


Sent from my iPhone using Tapatalk
 
After installing both:


It is working. Thanks.
 
  • Like
Reactions: pmcross
Today i tested this tool some more as i masked the steet out which is in front of my door. Issues is, if i mask the street in the back, it also masks the person standing at the door as the street is right behind them... not sure how others are doing this

Also; if a person walking on the sidwalk shadow with the bright sub sets off the trigger in BI - AI will then look at the picture and see a person and alert me. To me this is false.
 
Today i tested this tool some more as i masked the steet out which is in front of my door. Issues is, if i mask the street in the back, it also masks the person standing at the door as the street is right behind them... not sure how others are doing this

Also; if a person walking on the sidwalk shadow with the bright sub sets off the trigger in BI - AI will then look at the picture and see a person and alert me. To me this is false.
The only thing I can think of to improve your situation is to set a mask on the first Blue Iris camera to only detect motion in the very small area that is your porch. When people step onto the porch it will generate the picture that the AI will then process. Then unmask enough of the deepstack image so it can identify them as a person. It just seems like your camera angle is very poor and captures too much false positive area for all the requirements you seem to have about what you don't want to get alerts for.