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

I got avx working on my i7 8700 but I had to enable some options in the bios like Hyperthreading and Trusted execution.Virtualization was already enabled . I don't know which option got it to work. But I still get the little boxes when starting deepquest. However I ran it overnight and it is still working. So maybe a red herring. My CPU is very low like 4-7% now and when processing max 25% but I only run 3 cams 1 4K and 2 2MP. However even with the low cpu load my times in deepquest is 800ms to 1.6 secs. I tried lowering the resolution in BI from 100% to 50% but only a small difference. I don't have the res change in BI yet. Everything running on a Dell Optiplex 7060 i 7 8700

With avx or with GPU, mine works for a few hours (maybe a day), but when I have those boxes it basically crashes at some point and the AITool gets errors saying it can't send the pics to Deepstack even though deepstack if activated.

I'm using the noavx version and so far so good the last couple of days.

Processing time per image is around 1.2 seconds or so, not sure if that's good or not. Was about half that with the GPU selection, and if I recall, about the same when I used the standard version (not the "noavx") version.
 
With avx or with GPU, mine works for a few hours (maybe a day), but when I have those boxes it basically crashes at some point and the AITool gets errors saying it can't send the pics to Deepstack even though deepstack if activated.

I'm using the noavx version and so far so good the last couple of days.

Processing time per image is around 1.2 seconds or so, not sure if that's good or not. Was about half that with the GPU selection, and if I recall, about the same when I used the standard version (not the "noavx") version.
Where do u get the no avx version. And is that deep stack no avx or docker no avx.
 
Where do u get the no avx version. And is that deep stack no avx or docker no avx.


To add to the above post,

To install the normal version with NoAVX on port 81:

docker pull deepquestai/deepstack:noavx

docker run --restart=always -e VISION-DETECTION=True -v localstorage:/datastore -p 81:5000 --name deepstack deepquestai/deepstack:noavx
 
i have problem with the tigger URL. I get a html Login page. No direct Login .. when i disable webserver session i get a browser Login .. not accept the login in my URL ... why ?
AND
Upload not working .. i can acces to interface i see my API is accept ...


[06.08.2020, 15:35:58.409]: (1/6) Uploading image to DeepQuestAI Server
[06.08.2020, 15:37:38.420]: System.Threading.Tasks.TaskCanceledException | Eine Aufgabe wurde abgebrochen. (code: -2146233029 )
[06.08.2020, 15:37:38.428]: ERROR: Processing the following image 'C:\BlueIris\aiinput\HOF.20200806_152528657.jpg' failed. Can't reach DeepQuestAI Server at
im using windows and disable firewall ..

In Deepstack i see log from my Browser ! But not from AItool ... i also test deepstack with http in AItool .. all not working
 
Last edited:
Sounds like it is running as a service if after rebooting per your message above "docker was just starting up again" after you logged in?

That's how it works on my install.

Alternatively if you right click on the whale icon in the bottom right, click settings. Should have a check mark next to "start docker desktop when you log in"
No, it's not running while the user is logged off, therefore it's not running as a service. AiTool is running as a service using nssm it appears. I have to login and then it starts. I wanted to avoid this since the desktop uses like 11% CPU or something like that. Wanted to be complete logged off and running.
 
Love this tool and it has been SUPER useful. Is there a way to donate to the project?

And of course, a couple of enhancement requests. ;-) I would love to be able to:

View history for a specific camera only instead of the entire list of cameras would make it much easier to fine tune cameras.

It would be awesome if the GUI automatically displayed the "last image processed". Might be a bit cpu intensive, but would also be very helpful.

Thanks thanks thanks!
 
If docker would only run while you were logged off...

Come on, someone has to have figured this out. I saw some saying this works but I cannot reproduce it. If you are completely logged off, Docker will NOT run. I even tried it with NSSM as well, no dice. AiTool runs as a service (no login required). I get the logs saying it can't reach DeepStack because Docker won't turn on unless you login.
 
If docker would only run while you were logged off...

Come on, someone has to have figured this out. I saw some saying this works but I cannot reproduce it. If you are completely logged off, Docker will NOT run. I even tried it with NSSM as well, no dice. AiTool runs as a service (no login required). I get the logs saying it can't reach DeepStack because Docker won't turn on unless you login.

I have docker running when logged off, don’t think I did anything special except to specify that DQ should restart on the command line when I installed DQ.

Do you have a service called Docker something, have a look, I have the service running under the same credentials as that of my BI service.
 
I have docker running when logged off, don’t think I did anything special except to specify that DQ should restart on the command line when I installed DQ.

Do you have a service called Docker something, have a look, I have the service running under the same credentials as that of my BI service.
yeah, that's weird. It's in there. But DS isn't up when I'm logged off. The Log On tab of services has the local system account checked.
 
I have docker running when logged off, don’t think I did anything special except to specify that DQ should restart on the command line when I installed DQ.

Do you have a service called Docker something, have a look, I have the service running under the same credentials as that of my BI service.
i just changed it to the same logon as bi and restarted. Nothing. Still isn't up while off. I'm on Windows 10 Pro, not server FYI
 
i just changed it to the same logon as bi and restarted. Nothing. Still isn't up while off. I'm on Windows 10 Pro, not server FYI

Hang on a minute just going to logon to my PC and check.

All I have is —restart always as an option when I ran DQ, nothing else.
 
Last edited:
Hang on a minute just going to logon to my PC and check.

All I have is —restart always as an option when I ran DQ, nothing else.
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.
 
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.
well that's a bust. That alwaysup program also failed to start it up - something about permissions even though i used my super user rights. This is such a PITA. I'll now have to autologin to make sure $^#%^! docker runs and take the 12% desktop CPU hit...grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
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.
 
no idea ? Now i have install Docker same .. i have test with 2 Win 10 PCs
I can access all ( Windows or Docker in my Browser ) i see deepstack and activate. Local or with local IP adress no problems .. but AItool not connect to deepstack !! on 2 win 10 Pcs .. why ?? Disable firewall.

failed. Can't reach DeepQuestAI Server at

I can open this link im browser i get 404 but in deepstack log is see my 404 log. With AITOOL i see nothing.
 
no idea ? Now i have install Docker same .. i have test with 2 Win 10 PCs
I can access all ( Windows or Docker in my Browser ) i see deepstack and activate. Local or with local IP adress no problems .. but AItool not connect to deepstack !! on 2 win 10 Pcs .. why ?? Disable firewall.

failed. Can't reach DeepQuestAI Server at

I can open this link im browser i get 404 bu or t in deepstack log is see my 404 log. With AITOOL i see nothing.
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.