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

Try localhost or 127.0.0.1 also double check the configuration tab and make sure the path is in there to the aiinput directory. This tool sometimes corrupts its config file for some reason.
Okay i have test it on 2 Pcs. 127.0.0.1:89 or localhost:89 all not working
I have disable windows UAC but same. AITool not connecting to the API. Crazy ..

I can delete all but config is saved on registry ? Crazy "Synology NAS" Docker and local all not working but in the browser all okay.
 
I read a post somewhere that said that only windows server OS and enterprise version of Docker can run without a user login. Something to do with the regular version intended to be only for development purposes. There's a piece of paid for software called alwaysup that appears to be a more detailed version of nssm available that would run it. I may try a trial version soon. However it's $50. Kind of steep when BI is that much also.

Are you talking about DeepQuest here? When I originally set this up I installed DQ for Windows and found no way of autostarting it without logging, that and the fact that the Windows version killed my CPU was one of the reasons I moved over to Docker for Windows and WSL2 in Windows.
 
I've just checked my system again, for the service "Docker Desktop Service" for people having autostart problems what is it set to? Mine is Automatic and I use the same creds as that for my BI service.

When I then logon to the PC and manually run docker desktop from the icon on the desktop I get a message "Docker failed to initialise. Docker Desktop is already running. Close it in other session to continue."
 
Here is my fork with a bunch of enhancements if you would like to try it. Including DeepStack start/stop control (Windows version only) and a number of logging enhancements such as rotating out a main log file and deleting them after 60 days. Prob should lower that number and make it configurable though.

Backup the current folder and overwrite all the existing files. It will read the old settings and camera configuration.

I just tried this but reverted back :( Main issue being that I run AITools as a service and then occasionally logon to check, with your version if I run it as a service it then won't let me launch it when I logon to check, states that another copy is already running.
 
Are you talking about DeepQuest here? When I originally set this up I installed DQ for Windows and found no way of autostarting it without logging, that and the fact that the Windows version killed my CPU was one of the reasons I moved over to Docker for Windows and WSL2 in Windows.
Yes I'm running docker for windows and it doesn't autostart. At least the container didn't run but I think it's docker. And yes I have the creds set like yours.
 
I just tried this but reverted back :( Main issue being that I run AITools as a service and then occasionally logon to check, with your version if I run it as a service it then won't let me launch it when I logon to check, states that another copy is already running.

I put in that check because I found it too easy for more than one copy to be open, causing write errors to log files and history.csv since they were both sharing it.

Two copies both watching the same folders and updating the same history file most certainly should not be allowed.

Here is an update that allows a second instance to run, but limits functionality. To change any settings or have "live" viewing of log/history you would have to FIRST stop the service. A second running instance will NOT watch for changed images or do 'live' updates of the history and log tabs. Only the first running will do that.

The real solution is to convert aitools to a true service with a GUI component that displays all the info/updates but the service does all the real work. This would be a big task.

 
  • Like
Reactions: IAmATeaf
Just getting started and I'm getting this error.. any ideas?

docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"for\": executable file not found in $PATH": unknown.
I'm an idiot I was passing in the wrong argument. I had some extra crap at the end from Copy and paste error..

Now I'm onto the next issue.. AITool running as a service, but when I reboot Docker desktop comes up yelling that it is not running as a service. The command line docker restart doesn't appear to have worked. Thoughts??
 
How? This should be added to post 1..
Yes please enlighten us. There's one more thing in going to try when I get back. There was a check mark that said run when session starts that I had marked yes. Maybe if I mark that it won't start at login but at rebiit instead. I'm grasping at straws here.
 
Okay i have test it on 2 Pcs. 127.0.0.1:89 or localhost:89 all not working
I have disable windows UAC but same. AITool not connecting to the API. Crazy ..

I can delete all but config is saved on registry ? Crazy "Synology NAS" Docker and local all not working but in the browser all okay.

Do your PC’s processors support AVX? If not you’ll have this issue. If they don’t support AVX then you’ll need to run the noavx version of Deepstack.


Sent from my iPad using Tapatalk
 
How? This should be added to post 1..

Yes please enlighten us. There's one more thing in going to try when I get back. There was a check mark that said run when session starts that I had marked yes. Maybe if I mark that it won't start at login but at rebiit instead. I'm

I honestly don't remember doing anything special except making sure that the service Docker Desktop Service is set to Automatic so that it starts with the computer and I also changed the context that it runs under to the same account as the BI service.

This is my docker run command that I used
docker run --name="deepstack" -e TZ=Europe/London -e VISION-DETECTION=True -v localstorage:/datastore -p 8083:5000 --restart always deepquestai/deepstack

The way that's setup right now I can't logon and run docker desktop as it complains that it's already running.
 
I honestly don't remember doing anything special except making sure that the service Docker Desktop Service is set to Automatic so that it starts with the computer and I also changed the context that it runs under to the same account as the BI service.

This is my docker run command that I used
docker run --name="deepstack" -e TZ=Europe/London -e VISION-DETECTION=True -v localstorage:/datastore -p 8083:5000 --restart always deepquestai/deepstack

The way that's setup right now I can't logon and run docker desktop as it complains that it's already running.
Yuck.. it's not a container issue, that starts up right when docker starts. But when I get into windows, Docker is saying the service isn't running and asks if I would like to start it. Well sure, I hit yes and it goes, but why isn't the service starting?? :( I have it set to automatic, i changed login to the same local account as BI.. ugh
 
Yuck.. it's not a container issue, that starts up right when docker starts. But when I get into windows, Docker is saying the service isn't running and asks if I would like to start it. Well sure, I hit yes and it goes, but why isn't the service starting?? :( I have it set to automatic, i changed login to the same local account as BI.. ugh
What did I do? I just fixed it.. I'm not sure exactly what I did. I went into services.msc, and confirmed the Docker desktop service was set to automatic, I changed the login to my current w/password. Restarted the service, then rebooted. It appears to work?
 
Do your PC’s processors support AVX? If not you’ll have this issue. If they don’t support AVX then you’ll need to run the noavx version of Deepstack.


Sent from my iPad using Tapatalk



I don't know. Who can I download noavx version for win or only docker?
 
What did I do? I just fixed it.. I'm not sure exactly what I did. I went into services.msc, and confirmed the Docker desktop service was set to automatic, I changed the login to my current w/password. Restarted the service, then rebooted. It appears to work?
OH great except on the next reboot.. the whole thing crashed. FML. I think I'm punting on this.
 
So I am switching from Sentry and working to get DeepquestAI configured. Have a question on the DeepQuest server - how do I get this to autostart and run in the background when the PC is rebooted? I have setup AItool to run as a service but that does no good without the DeepQuest server. Will the NSSM tool work with this? I'm probably missing something obvious ...
 
So I am switching from Sentry and working to get DeepquestAI configured. Have a question on the DeepQuest server - how do I get this to autostart and run in the background when the PC is rebooted? I have setup AItool to run as a service but that does no good without the DeepQuest server. Will the NSSM tool work with this? I'm probably missing something obvious ...

If you are talking about DQ for Windows then I tried a load of things to get it to auto start and none worked which is why I moved over to docker. Docker also saves a load of CPU time as well
 
So I am switching from Sentry and working to get DeepquestAI configured. Have a question on the DeepQuest server - how do I get this to autostart and run in the background when the PC is rebooted? I have setup AItool to run as a service but that does no good without the DeepQuest server. Will the NSSM tool work with this? I'm probably missing something obvious ...
See [tool] [tutorial] Free AI Person Detection for Blue Iris
 
Ok, Regarding auto-starting Docker/DeepStack this is the only solution I could find:

I downloaded the latest AlwaysUp free trial software. Started it up, added Docker located in /Program Files/Docker/Docker/Frontend/Docker Desktop.exe (should be a 100+MB file)
Ticked the box at top (instead of running the application in Local System Account.....) and put in MY username and password into the boxes.
I then right clicked on the docker entry in AlwaysUp and started the service. You may or may not have to reboot.
That's it.

When I log back in, I get a message from the docker trying to start up saying it's already up (AlwaysUP makes sure of that).

This worked, along with using NSSM for AiTool. I suppose you could use this for AiTool too but I didn't want to rock the boat.

Now, I experimented with NSSM for Docker, using the exact same parameters that AlwaysUp spawned in services.msc, but it just wouldn't work at all. SO I guess I'll pay the $50 ransom to have AI detection.

I don't understand how others say "it just works for me". It does NOT for me. Latest Windows 10 Pro version on a Supermicro server with Xeon processor 8 core.