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

If you extract the contents of AI Tool and copy it into the directory where AI Tool resides (don't copy the cameras folder) your cameras settings will stay.

Unfortunately I don't because I had to roll back to an older version of BI due to bugs in the new release. The version that I am running now doesn't include the new memo feature.

The more I tweak, the more I'm liking this AI tool better than Sentry. The only "knock" is I do like the "S" that Sentry put on BI, so hopefully they fix whatever issue this was!


Just for info.

For some reason, some weeks ago, when I tried to run aitool.exe it looked as if the program was starting but then nothing happened and no errors. It would run ok as a service though so I didn't worry about it.

Today I tried to run another exe file and same thing. Anyway looking into that I found what was causing it.

How are you running AITool as service? I don't see that option anywhere in AITool?
 
Also, anyone figure out a way to start Deepstack with Windows when the server is rebooted? Always have to remember to open it, set port to 81, choose the right detection, copy and paste API key...ugh!
 
  • Like
Reactions: Cameraguy
Also, anyone figure out a way to start Deepstack with Windows when the server is rebooted? Always have to remember to open it, set port to 81, choose the right detection, copy and paste API key...ugh!
Same here
 
Also, anyone figure out a way to start Deepstack with Windows when the server is rebooted? Always have to remember to open it, set port to 81, choose the right detection, copy and paste API key...ugh!

This is why I run Docker Desktop and run the docker version of DQ, doing this also lowered my overall CPU usage.
 
The more I tweak, the more I'm liking this AI tool better than Sentry. The only "knock" is I do like the "S" that Sentry put on BI, so hopefully they fix whatever issue this was!




How are you running AITool as service? I don't see that option anywhere in AITool?

There is a memo function, not used it myself but that is supposed to add memo text to clips?
 
Have a read of this post for info on the URL to use for memo text

 
This is why I run Docker Desktop and run the docker version of DQ, doing this also lowered my overall CPU usage.
I try to install docker on my pc and I keep getting this pop-up when starting the docker see attached picture


gonna try all this tonight

 

Attachments

  • Screenshot_20200715-091234_Messenger.jpg
    Screenshot_20200715-091234_Messenger.jpg
    106 KB · Views: 35
Last edited:
Also, anyone figure out a way to start Deepstack with Windows when the server is rebooted? Always have to remember to open it, set port to 81, choose the right detection, copy and paste API key...ugh!
I have it running as services, so it auto starts on reboot.

It's 3 services depending on each other to start in correct order.

C:\DeepStack\redis\redis-server.exe

C:\DeepStack\interpreter\python.exe ../intelligence.py -MODE=Medium -VFACE=False -VSCENE=False -VDETECTION=True

C:\DeepStack\server\server.exe" -VISION-FACE=False -VISION-SCENE=False -VISION-DETECTION=True -ADMIN-KEY= -API-KEY= -PORT=88
 
Last edited:
  • Like
Reactions: Bisquit4407
I try to install docker on my pc and I keep getting this pop-up when starting the docker see attached picture


gonna try all this tonight


Did you try the suggestions to install the hyper-v feature and enable virtualisation in the BIOS?

For me, my BI PC is on W10 2004 which now has support for WSL2 (windows subsytem for Linix 2) which is what I opted to use. Did have a right royal struggle to enable virtualisation in the BIOS though as I run headless and the PC is in the loft but eventually found a HP utility that allows you to change BIOS options from the command line, so used that, then restarted, then installed Docker which enabled WSL2 etc....
 
Did you try the suggestions to install the hyper-v feature and enable virtualisation in the BIOS?

For me, my BI PC is on W10 2004 which now has support for WSL2 (windows subsytem for Linix 2) which is what I opted to use. Did have a right royal struggle to enable virtualisation in the BIOS though as I run headless and the PC is in the loft but eventually found a HP utility that allows you to change BIOS options from the command line, so used that, then restarted, then installed Docker which enabled WSL2 etc....
I haven't tried it yet. Its working so well right now I'm affraid to screw it up messing with it haha

But I do want deepstack to run as a service and not have to manually restart everytime there is a reboot..

Approximately how much cpu did it save you..
My bi runs around 30 cpu but kicks into the 90s when deepstack is working on analyzing a photo
 
I haven't tried it yet. Its working so well right now I'm affraid to screw it up messing with it haha

But I do want deepstack to run as a service and not have to manually restart everytime there is a reboot..

Approximately how much cpu did it save you..
My bi runs around 30 cpu but kicks into the 90s when deepstack is working on analyzing a photo

I have 4 cameras on BI right now, 3 of them set up with deepstack/AI tool. BI typically uses around 15% CPU on average, deepstack and AI are neglible when not processing an image, and deepstack jumps to around 25% while processing images. With my ALPR service running, total CPU averages around 25-30% then spikes by another 25% when running deepstack. So far so good!
 
I have it running as services, so it auto starts on reboot.

It's 3 services depending on each other to start in correct order.

C:\DeepStack\redis\redis-server.exe

C:\DeepStack\interpreter\python.exe ../intelligence.py -MODE=Medium -VFACE=False -VSCENE=False -VDETECTION=True

C:\DeepStack\server\server.exe" -VISION-FACE=False -VISION-SCENE=False -VISION-DETECTION=True -ADMIN-KEY= -API-KEY= -PORT=88

So you've manually added that into your Startup routine via the sc command?

 
Take a look at the very first post in this thread.
Hmmm...thought when I read it it said Docker was required, will have another read!
 
So you've manually added that into your Startup routine via the sc command?

Actually I used nssm (version 2.24-101-g897c7ad from NSSM - the Non-Sucking Service Manager

It also supports redirect console output to log files, which is great.

Sendt fra min SM-G973F med Tapatalk
 
I haven't tried it yet. Its working so well right now I'm affraid to screw it up messing with it haha

But I do want deepstack to run as a service and not have to manually restart everytime there is a reboot..

Approximately how much cpu did it save you..
My bi runs around 30 cpu but kicks into the 90s when deepstack is working on analyzing a photo

I posted in this thread before but from memory on my i5-6500 using DQ for Windows, my CPU would be pegged in the high 60s and then spike and sit at 100% making it unusable.

Now the CPU idles at 21% and rises to around 45% when processing images.
 
I posted in this thread before but from memory on my i5-6500 using DQ for Windows, my CPU would be pegged in the high 60s and then spike and sit at 100% making it unusable.

Now the CPU idles at 21% and rises to around 45% when processing images.
Cool I'm gonna have to try and get docker to work
 
I have it running as services, so it auto starts on reboot.

It's 3 services depending on each other to start in correct order.

C:\DeepStack\redis\redis-server.exe

C:\DeepStack\interpreter\python.exe ../intelligence.py -MODE=Medium -VFACE=False -VSCENE=False -VDETECTION=True

C:\DeepStack\server\server.exe" -VISION-FACE=False -VISION-SCENE=False -VISION-DETECTION=True -ADMIN-KEY= -API-KEY= -PORT=88
Actually I used nssm (version 2.24-101-g897c7ad from NSSM - the Non-Sucking Service Manager

It also supports redirect console output to log files, which is great.

Sendt fra min SM-G973F med Tapatalk

Thanks, so just so I get it:

1. Do we need to insert credentials in the login tab for each (i.e., select "this account") or just leave it as local system account?
2. For python.exe, do we add exactly this into the arguments cell below: ../intelligence.py -MODE=Medium -VFACE=False -VSCENE=False -VDETECTION=True
3. For server.exe, is this what we add into the arguments cell: c../intelligence.py -MODE=Medium -VFACE=False -VSCENE=False -VDETECTION=True

Not sure if the ".." in the python argument and the initial quotes in the server.exe argument were there on purpose.

4. Anything else required in any of the other tabs?

1594900826675.png

1594900904524.png
 
I posted in this thread before but from memory on my i5-6500 using DQ for Windows, my CPU would be pegged in the high 60s and then spike and sit at 100% making it unusable.

Now the CPU idles at 21% and rises to around 45% when processing images.
I tried using docker and deepstack. I kept getting this error. I even went as far as uninstalling deepstack on windows. Kept getting the error of being used by another process.. any ideas?
 

Attachments

  • received_327860748219919.jpeg
    received_327860748219919.jpeg
    298.4 KB · Views: 44