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

You need to upgrade to PRO can't do it on home edition is my understanding. Just Google it it'll break it down
They do have a win 10 Home version but for some reason I can't get WSL 2 to install.
 
I have a parked car in my driveway, and blue iris set to take a snapshot every 4 seconds. Should the car be triggering an alert every time it analyzes an image?
Or I have blue iris set to only take snapshots when motion is detected. the falling snow is triggering the snapshots, then it sees a car and throws an alert.

How can I make it only alert when a car that is in motion is in the scene?

1609375785508.png
 
Last edited:
I have a parked car in my driveway, and blue iris set to take a snapshot every 4 seconds. Should the car be triggering an alert every time it analyzes an image?
Or I have blue iris set to only take snapshots when motion is detected. the falling snow is triggering the snapshots, then it sees a car and throws an alert.

How can I make it only alert when a car that is in motion is in the scene?

View attachment 78178
Go to BlueIris alerts and uncheck all motion zones. Make sure that only external is checked (Ai Tools/Deppstack is external).
 
Ya, only external is checked.

The camera is seeing motion (snow falling), it's triggering a snapshot to be taken and put into the folder, deepstack is saying there is a car in the picture, and it's telling BI to record. The car isn't moving though.
 
Ya, only external is checked.

The camera is seeing motion (snow falling), it's triggering a snapshot to be taken and put into the folder, deepstack is saying there is a car in the picture, and it's telling BI to record. The car isn't moving though.
Deepstack knows nothing about the movement, it looks only at still pictures. It's like a filter. If you record the street where cars are parked then my sugjestion unselect "car" in AI Tools. Otherwise, you will get alerts each time deepstack sees a car.
 
i want to know when cars pull into my driveway and drive down my road though lol. Thought this was going to solve all my false alert problems :(
 
i want to know when cars pull into my driveway and drive down my road though lol. Thought this was going to solve all my false alert problems :(
There is an option in AI Tool dynamic masking but I don't know how it works, never tried. Probably it can create "temporary" a mask after it sees a car in the same location for several minutes. Masked area won't trigger alert
 
No. BI after motion saves the picture in folder and AI Tool looks in this folder for a new pics, when AI Tool finds a new pic in this folder it sends it to Deepstact to analyze. BlueIris doesn't talk to AI/Deppstack.
 
  • Like
Reactions: austwhite
I might have missed this somewhere, but has there been a Deepstack release for Windows that can either run as a service or auto-start on boot?
I've tried googling and not found anything on this.
I am trying to move away from running it in a virtual machine and running everything natively in Windows.
 
That would be nice
Could be nice coming from AITools or AITool sending the co-ordinates via MQTT to another program. I'd want to know the movement of a detected person as an example, rather than just Blue Iris stating random movement co-ordinates. Blue Iris natively can't tell the difference between a plastic bag blowing across or a human. Blue Iris just provides a snapshot of an image. Deepstack does the hard work and AItool is an interface that uses Deepstacks data.

Edit: I do realise AITool is a little more than that. I am just putting it simply :)
 
On to your description of my dream scenario, why would I even need to clone the camera in that instance? sorry if this is a dumb question, but If I'm recording 4k clips when a 4k jpeg is identified as relevant by AI Tool, what would I need the low res stream for?

Personally, I don't actually find the 24/7 low-res recording of much use and I am moving away from it.
You can run all this without cloning cameras and on one camera using version 1.67 or the latest pre-release from VorlonCD. Without a clone, you still save all the motion, but it will only flag recordings with detected objects/persons. If you are okay with this and have the storage space, there is a description how to do it on the first page of this thread using AITool 1.67 or higher. It's pretty simple. You just setup motion recording as normal in Blue Iris, but make it quite sensitive. Then just add the saving JPEG every few seconds to the same camera you record with so AITool has something to send to Deepstack so recordings can be flagged.

As I only want to record the events specifically flagged by AItools/Deepstack and not every motion event, I will still use a cloned camera setup and hide the clones.
The advantage of actual cloned camera over Rob's (The Hookup) setup. The cloned camera uses no extra bandwidth or CPU time. As long as the clone has identical streams to the main camera it is cloned from, it will use no extra resources.
The low res stream Rob uses doesn't use much in resource, but it all adds up if you have several camera's and the low-res JPEGs can sometimes be less accurate, especially if you have a camera observing a wide area, say a camera that is up on the second floor looking out over a yard.
 
I have spent the last 2 hours trying to catch up on this thread. I had been running 1.67 but recently found VoloranCD 2.0. I installed it and started having issues with Deepstack (running in Docker). I was able to fix those issues.

My question, I saw a couple posts that recommended using Deepstack Windows (in my case CPU). Is the Windows better than Docker? I did try installing Windows but could kept getting errors that I could not figure out how to fix. I tried finding install information on this thread but at over 147 pages and just short of 3,000 posts, that seems nearly impossible. I saw posts saying to use @Chris Dodge 's instructions but could never find them, even reaching all of his posts (which are over 50).

Should I worry about using Deepstack Windows or just keep using Docker? (I'm running Windows on a Dell PoweEdge Server so plenty of power).
If yes, can anyone help me with the install?
Can we get some important posts pinned somewhere or something so people can find the instructional posts easier?
 
  • Like
Reactions: seth-feinberg
Should I worry about using Deepstack Windows or just keep using Docker? (I'm running Windows on a Dell PoweEdge Server so plenty of power).
If yes, can anyone help me with the install?
If Docker works for you then no need to go to windows.
I am still running Deepstack as a Docker container on a Ubuntu virtual machine and no issues with it. As long as your network is reasonable, it shouldn't be an issue.
I think Windows Deepstack is good if you want to run everything on the one Windows machine, but if you can run up Docker in a VM that seems to be maybe a better option in most cases.

I have a spare Gen6 core i7 with 32GB RAM at the moment so I am going to runup a complete standalone with BI Deepstack and AItool all on Windows for comparison, but I don't expect it to be any faster.
 
Last edited:
  • Like
Reactions: seth-feinberg
Should I worry about using Deepstack Windows or just keep using Docker? (I'm running Windows on a Dell PoweEdge Server so plenty of power).
If yes, can anyone help me with the install?
Can we get some important posts pinned somewhere or something so people can find the instructional posts easier?

I run the Windows version of DS on my BI machine and on my personal workstation. I see no reason to add additional layer of complexity by using Docker. I also run a Jetson Nano which uses Docker. The first version of Windows DS that I used started with a GUI and the Gui could not be minimized. However the VorlonCD version of AI Tool will start and stop DS without the GUI. I'm now running the very recently released version of DS for Windows and I start it with a powershell script. Running the latest DS for Windows is pretty straight forward. Just install and run. The earlier version had to be activated.
 
  • Like
Reactions: seth-feinberg
I run the Windows version of DS on my BI machine and on my personal workstation. I see no reason to add additional layer of complexity by using Docker. I also run a Jetson Nano which uses Docker. The first version of Windows DS that I used started with a GUI and the Gui could not be minimized. However the VorlonCD version of AI Tool will start and stop DS without the GUI. I'm now running the very recently released version of DS for Windows and I start it with a powershell script. Running the latest DS for Windows is pretty straight forward. Just install and run. The earlier version had to be activated.
Does the latest Windows version allow auto start on boot without AItools calling it? I have noticed some people (not all, but includes myself on my setup) have some issues with the Pre-Release versions from VorlonCD and need to revert to the more stable 1.65 or 1.67 release.

Edit: As a note, if one is all ready running a server environment with VM's then Deepstack on docker is not really anymore complex than what already is running :)
 
  • Like
Reactions: seth-feinberg
Does the latest Windows version allow auto start on boot without AItools calling it? I have noticed some people (not all, but includes myself on my setup) have some issues with the Pre-Release versions from VorlonCD and need to revert to the more stable 1.65 or 1.67 release.

Edit: As a note, if you are all ready running a server environment with VM's then Deepstack on docker is not really anymore complex than what already is running :)
I start DS with a single line in a PowerShell script. I don't have it in my startup folder but you should be able to put it there and have it start on login.

deepstack --VISION-DETECTION True --PORT 5050

Most people don't run Blue Iris in a VM so the easiest way to run DS on the surveillance computer is to run the Windows version. I spread the AI load across three DS machines. The BI computer, my personal desktop, and a Jetson Nano. In my case using Windows Docker would add complexity. But you are correct, if you are already running Docker in Windows then you aren't adding any more complexity. However, one problem that you might encounter is if you want to use a GPU. It may be more difficult to get working in Windows Docker than with the native Windows application. I have not checked to see if AI Tool will start the new version of Windows DS as it does with the older version.
 
I start DS with a single line in a PowerShell script. I don't have it in my startup folder but you should be able to put it there and have it start on login.

deepstack --VISION-DETECTION True --PORT 5050

Most people don't run Blue Iris in a VM so the easiest way to run DS on the surveillance computer is to run the Windows version. I spread the AI load across three DS machines. The BI computer, my personal desktop, and a Jetson Nano. In my case using Windows Docker would add complexity. But you are correct, if you are already running Docker in Windows then you aren't adding any more complexity. However, one problem that you might encounter is if you want to use a GPU. It may be more difficult to get working in Windows Docker than with the native Windows application. I have not checked to see if AI Tool will start the new version of Windows DS as it does with the older version.

That is true and I see the benefit of standalone BI if you have a lot of high def / 4K cameras for sure. I will likely be upgrading some cameras soon and when I do that I will run BI bare metal on a dedicated PC, but I will likely keep Deepstack running in the VM. I might even toy with running two Deepstack servers if VorlonCD's version runs better on the new machine :).

Edit: Just off topic for this reply, but if you do run fully in Windows and run BI as a service, you might find a performance increase by setting Windows Processor Scheduling to adjust for best performance for background services. Obviously this will only be suitable if the machine is dedicated to being a server setup and you run most things as a service.
Open sysdm.cpl and under Advanced -> Performance -> Advanced you will find the setting.
 
Last edited: