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

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,485
Reaction score
1,122
Hmmm...so today there is a friend's car parked in my driveway. Trigger has been going off like crazy. Didn't think of this "issue", but there's been bugs of some sort flying by the camera, causing a motion trigger, then when AI Tool looks at it, it sees the car there and triggers an alert. How are folks combating that? Adjusting the min duration time?


View attachment 65987
View attachment 65988
Yea neighbor sometimes parks in yard and something else triggers camera and it sees a vehicle and has the ai send alert. I blackout small area their car is parked

Your situation is a little more difficult might have to use Zones
 

pmcross

Pulling my weight
Joined
Jan 16, 2017
Messages
371
Reaction score
185
Location
Pennsylvania
Here check it out Telegram – a new era of messaging
I see the Ai tool has a build in setting to send alerts to it. I started to set it up. You can set up your own two way bot to communicate back and forth with the Ai tool to send you short videos when alerts of detected. I think it may be a little quicker than the app(Bi) I notice my app(Bi) is delayed sometimes .

Sent from my SM-G965U using Tapatalk
I use Telegram to receive alerts from AI Tool in addition to push and text messages from BI (depending on which profile is selected) and Telegram is much faster, typically 3 to 5 seconds faster than BI notifications.


Sent from my iPhone using Tapatalk
 

shannondalebreaux

Getting the hang of it
Joined
Jun 6, 2018
Messages
82
Reaction score
29
Location
louisana
I am currently trying to config telegram on mine I have my token and chat ID and it's giving me error AI tool can't load to my telegram. Any ideas? Also can you get short video clips of the alert are is just images?

Sent from my SM-G965U using Tapatalk
 

IAmATeaf

Known around here
Joined
Jan 13, 2019
Messages
3,287
Reaction score
3,252
Location
United Kingdom
@pbc I’ve configured AITools to not detect cars and then on the main triggered cam also have motion detection enabled with a zone which covers just the front of the cars. This way when the car move the main camera gets triggered and records.
 

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,485
Reaction score
1,122
Sure, here is the URL to put AI Tool. Note that you need to be running newer than version 5.2.7.12 n BI and version 1.67 Preview 3 in AI Tool (I believe). This will flag the alert as well as input what object was detected when looking at alerts from the BI console.

IP/admin?camera=CAM SHORT NAME&flagalert=1&trigger&memo=[summary]&user=username&pw=password
anyone get the memos to work? I cant see a 1.67 version of ai tool
 

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,485
Reaction score
1,122
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:

Tinbum

Pulling my weight
Joined
Sep 5, 2017
Messages
446
Reaction score
126
Location
UK
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
 

dnsource

n3wb
Joined
Apr 10, 2018
Messages
21
Reaction score
3
Location
Miami, FL
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:

IAmATeaf

Known around here
Joined
Jan 13, 2019
Messages
3,287
Reaction score
3,252
Location
United Kingdom
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.
 

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,485
Reaction score
1,122
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
 

dnsource

n3wb
Joined
Apr 10, 2018
Messages
21
Reaction score
3
Location
Miami, FL
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
 

pmcross

Pulling my weight
Joined
Jan 16, 2017
Messages
371
Reaction score
185
Location
Pennsylvania
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
 

dnsource

n3wb
Joined
Apr 10, 2018
Messages
21
Reaction score
3
Location
Miami, FL
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

pmcross

Pulling my weight
Joined
Jan 16, 2017
Messages
371
Reaction score
185
Location
Pennsylvania
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
 

dnsource

n3wb
Joined
Apr 10, 2018
Messages
21
Reaction score
3
Location
Miami, FL
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?
 

pmcross

Pulling my weight
Joined
Jan 16, 2017
Messages
371
Reaction score
185
Location
Pennsylvania
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
 

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,485
Reaction score
1,122
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.
 
Top