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

You need to go to the project home on github and then look at the recent releases.
Ok thanks..
Anyone have them working? If so post a pic to see what it looks like on alerts

Also anyone know if there has been a way to run deepstack as a service. Mine shutoff this morning and it took me a few hours to notice when I wasn't getting any alerts for a few hours
 
Last edited:
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.

unblock.jpg
 
I am on day 2 trying to get this sorted out. I have a dedicated computer on port 83 deepstack in a dockers container. I have Ai tool version 1.67 preview 7 on my Blue Iris server. I tested server ip and it connects without a problem through out the network. I have also tried a couple of other versions of the Ai tool, changed ports and had no luck


This is the error I'm getting:
Deepstack URL: "Server IP":83
ERROR: Processing the following image 'D:\AiInput\frontdoorsd.20200713_122740575.jpg' failed. Failure in AI Tool processing the image.


UPDATE:
changed the deepstack URL to: Localhost:81 and got this error:
[13.07.2020, 13:51:54]: ERROR: Processing the following image 'D:\AiInput/frontdoorsd.20200713_135154244.jpg' failed. Can't reach DeepQuestAI Server at 192.168.2.77:81.
[13.07.2020, 13:52:10]: ERROR: Processing the following image 'D:\AiInput/frontdoorsd.20200713_135149239.jpg' failed. Can't reach DeepQuestAI Server at 192.168.2.77:5000.
[13.07.2020, 13:52:31]: ERROR: Processing the following image 'D:\AiInput/frontdoorsd.20200713_135154244.jpg' failed. Can't reach DeepQuestAI Server at 192.168.2.77:5000.
[13.07.2020, 13:52:40]: ERROR: Can't write to cameras/history.csv!

docker: docker run -e VISION-SCENE=True -v localstorage:/datastore -p 81:5000 deepquestai/deepstack:noav
 
Last edited:
Ok thanks..
Anyone have them working? If so post a pic to see what it looks like on alerts

Also anyone know if there has been a way to run deepstack as a service. Mine shutoff this morning and it took me a few hours to notice when I wasn't getting any alerts for a few hours

I you running DQ for Windows? If so then currently there isn’t a way that I found. This is why I moved over to Docker, so I now run Docker Desktop and then DQ as a docker container.
 
I you running DQ for Windows? If so then currently there isn’t a way that I found. This is why I moved over to Docker, so I now run Docker Desktop and then DQ as a docker container.
I'm running deepstack on windows.. i couldn't get docker to install and run
 
Can you access the folder that the images are in from the DQ box?

The image files on my docker deepstack server? if so, how do I get to the folder?


The DQ server is getting some type of connection from my BI server

docker:

Jul 13 19:17:01 f94c77d5aca7 CRON[20588]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
[GIN] 2020/07/13 - 19:21:27 | 404 | 900ns | 172.17.0.1 | GET /manager/html
[GIN] 2020/07/13 - 19:30:07 | 200 | 37.2µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:30:17 | 200 | 15.3µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:30:22 | 200 | 41.2µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:31:36 | 200 | 15µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:31:41 | 200 | 65.1µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:33:27 | 200 | 22.7µs | 172.17.0.1 | POST /v1/vision/detection
 
The image files on my docker deepstack server? if so, how do I get to the folder?


The DQ server is getting some type of connection from my BI server

docker:

Jul 13 19:17:01 f94c77d5aca7 CRON[20588]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
[GIN] 2020/07/13 - 19:21:27 | 404 | 900ns | 172.17.0.1 | GET /manager/html
[GIN] 2020/07/13 - 19:30:07 | 200 | 37.2µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:30:17 | 200 | 15.3µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:30:22 | 200 | 41.2µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:31:36 | 200 | 15µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:31:41 | 200 | 65.1µs | 172.17.0.1 | POST /v1/vision/detection
[GIN] 2020/07/13 - 19:33:27 | 200 | 22.7µs | 172.17.0.1 | POST /v1/vision/detection
Does your CPU that Deepstack is running on support AVX? If it doesn't this is what happens; receiving an error from AI Tool that is can't reach Deepstack. Try the following commands to pull down and run the noavx version of Deepstack:

sudo docker pull deepquestai/deepstack:noavx

sudo docker run -e VISION-DETECTION=True -v localstorage:/datastore \-p 80:5000 deepquestai/deepstack:noavx
 
Does your CPU that Deepstack is running on support AVX? If it doesn't this is what happens; receiving an error from AI Tool that is can't reach Deepstack. Try the following commands to pull down and run the noavx version of Deepstack:

sudo docker pull deepquestai/deepstack:noavx

sudo docker run -e VISION-DETECTION=True -v localstorage:/datastore \-p 80:5000 deepquestai/deepstack:noavx
Im not 100% sure how I can find out, here are the specs: i5-6400 CPU @ 2.7GHz

I actually have deepquestai/deepstack:noavx running (see attached)
 

Attachments

  • docker.PNG
    docker.PNG
    67.2 KB · Views: 34
Im not 100% sure how I can find out, here are the specs: i5-6400 CPU @ 2.7GHz

I actually have deepquestai/deepstack:noavx running (see attached)

That CPU supports AVX I believe. It’s odd that it works in Docker with noavx. What are you running as your Hypervisor? I’m thinking that it isn’t passing AVX support to the guest.


Sent from my iPhone using Tapatalk
 
That CPU supports AVX I believe. It’s odd that it works in Docker with noavx. What are you running as your Hypervisor? I’m thinking that it isn’t passing AVX support to the guest.


Sent from my iPhone using Tapatalk
I'm just running docker for windows

do i need to change the docker subnet in the settings?
 
I'm just running docker for windows

do i need to change the docker subnet in the settings?

I’m honestly not sure, sorry. Others here have had success running Docker in Windows, but I don’t believe that they had to change any settings to pass AVX to the guest.


Sent from my iPhone using Tapatalk
 
I’m honestly not sure, sorry. Others here have had success running Docker in Windows, but I don’t believe that they had to change any settings to pass AVX to the guest.


Sent from my iPhone using Tapatalk
I tried to run docker on windows and kept getting a error pop-up.
 
I stopped the docker, ended up going back to the Deepstack windows server APP and ran this script to Enable AVX : "bcdedit /set xsavedisable 0 "

ITS WORKING NOW!!! :headbang:
 
  • Like
Reactions: Cameraguy
Hello, I'm running DeepQuest Server on Win7 through Docker Toolbox. And I'm getting following error when trying to get response from DeepQuest Server:

[12.07.2020, 20:28:30.284]: Starting analysis of D:\BlueIris\AI Input\PARKOVKA_SD.20200712_202830268.jpg
[12.07.2020, 20:28:30.288]: (1/6) Uploading image to DeepQuestAI Server
[12.07.2020, 20:28:30.294]: (2/6) Waiting for results
[12.07.2020, 20:28:30.299]: (3/6) Processing results:
[12.07.2020, 20:28:30.305]: System.NullReferenceException |Object reference not set to an instance of an object.. (code: -2147467261 )
[12.07.2020, 20:28:30.310]: ERROR: Processing the following image 'D:\BlueIris\AI Input\PARKOVKA_SD.20200712_202830268.jpg' failed. Failure in AI Tool processing the image.

Docker is run with following command:
docker run -e VISION-DETECTION=True -v localstorage:/datastore -p 123:5000 \
deepquestai/deepstack

Docker QuickStart Terminal logs following text at the same time:

[GIN] 2020/07/12 - 17:43:04 | 403 | 26.446s | 192.168.99.1 | POST /v
1/vision/detection


What is wrong?
 
Hello, I'm running DeepQuest Server on Win7 through Docker Toolbox. And I'm getting following error when trying to get response from DeepQuest Server:

[12.07.2020, 20:28:30.284]: Starting analysis of D:\BlueIris\AI Input\PARKOVKA_SD.20200712_202830268.jpg
[12.07.2020, 20:28:30.288]: (1/6) Uploading image to DeepQuestAI Server
[12.07.2020, 20:28:30.294]: (2/6) Waiting for results
[12.07.2020, 20:28:30.299]: (3/6) Processing results:
[12.07.2020, 20:28:30.305]: System.NullReferenceException |Object reference not set to an instance of an object.. (code: -2147467261 )
[12.07.2020, 20:28:30.310]: ERROR: Processing the following image 'D:\BlueIris\AI Input\PARKOVKA_SD.20200712_202830268.jpg' failed. Failure in AI Tool processing the image.

Docker is run with following command:
docker run -e VISION-DETECTION=True -v localstorage:/datastore -p 123:5000 \
deepquestai/deepstack

Docker QuickStart Terminal logs following text at the same time:

[GIN] 2020/07/12 - 17:43:04 | 403 | 26.446s | 192.168.99.1 | POST /v
1/vision/detection


What is wrong?

This seems like an issue with AI Tool. What object types do you have selected in AI Tool?


Sent from my iPhone using Tapatalk