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

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,486
Reaction score
1,133
It does label it in BI, but only in the local console. Hopefully it gets added to UI3 and the mobile app.


Sent from my iPhone using Tapatalk
Where? I'm not seeing any label

I'm on bi 5.2.7.12

On my bi clips it says external
 
Last edited:

pmcross

Pulling my weight
Joined
Jan 16, 2017
Messages
371
Reaction score
185
Location
Pennsylvania
Where? I'm not seeing any label

I'm on bi 5.2.7.12

On my bi clips it says external
I don’t believe that it’s supported in the version that you’re running. Upgrade to the latest stable version, 5.2.9.23 and then give it a try.


Sent from my iPhone using Tapatalk
 

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,486
Reaction score
1,133
I don’t believe that it’s supported in the version that you’re running. Upgrade to the latest stable version, 5.2.9.23 and then give it a try.


Sent from my iPhone using Tapatalk
I upgraded to the even higher stable version 5.3 something and don't see anything

Although I'm not sure where its supposed to appear on BI
 

pmcross

Pulling my weight
Joined
Jan 16, 2017
Messages
371
Reaction score
185
Location
Pennsylvania
I upgraded to the even higher stable version 5.3 something and don't see anything

Although I'm not sure where its supposed to appear on BI
It should show in the local BI console on the alerts view. There should be the detected object type and the confidence level on each alert.


Sent from my iPhone using Tapatalk
 

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,486
Reaction score
1,133
It should show in the local BI console on the alerts view. There should be the detected object type and the confidence level on each alert.


Sent from my iPhone using Tapatalk
Not on mine.. anyone have an example?
 

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,486
Reaction score
1,133
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
This url is taking me to deepstack activation page and not this one:
signal=green
profile=1
lock=0
camera=Front Porch
 

thebaoster

n3wb
Joined
Jan 19, 2016
Messages
4
Reaction score
5
Not sure if it's possible to run Multiple AITool. The reason why I wanted to do this is I want certain camera to send messages to certain telegram group. Like my front door only to me but my front cam to my neighbors groups.
 

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
276
Location
Sydney
Not sure if it's possible to run Multiple AITool. The reason why I wanted to do this is I want certain camera to send messages to certain telegram group. Like my front door only to me but my front cam to my neighbors groups.
Yes, installed in different folders. You only require 1 instance of DeepStack though.
 

Warptrooper

Pulling my weight
Joined
Jun 17, 2020
Messages
321
Reaction score
153
Location
Toronto
Dumb question. Is it possible to make this work for Milestone. I don't want to switch to BI since I am very impressed with Milestone performance so far.
 

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
276
Location
Sydney
Dumb question. Is it possible to make this work for Milestone. I don't want to switch to BI since I am very impressed with Milestone performance so far.
Which aspect?
Yes, if you use this to monitor "SnapShot" Folder and send responding to events when detecting Key Events such as "People", then post to Telegram (along with a picture) or making Web Call to services such as IFTTT.

To trigger camera recording, only when detecting a specific events (eg: person). I have said earlier, I don't endorse this use case, but in theory Milestone does support limited API's, so it is likely you could get it to work, if you understand their URL format and payload and the feature is available. Along with Telegram events, I make a web-call to BI to create an alert with a Memo text, eg: Person, Car, (mainly cosmetic only as BI doesn't let you filter by memo's)

My opinion only, do what suits your use case.

PS: Last year I would have agreed that the Performance (not features) of Milestone were way ahead, but now BI supports and uses Sub-Streams and H.265 HW Intel Decoding. The playback performance in BI feels far superior.
Although I do use Blue Iris, I personally feel the playback features like "smart search" in Milestone are leaps and bounds ahead of anything BI offers. That being said, I don't think it's a feature I do not personally require as Group Playback, multiple cams at high-speed has addressed my needs to-date.

NX Witness is still miles ahead of BI and Milestone, the AI gives you so much granular control, it's just cost prohibitive if you have multiple cameras. I would recommend some have overlapping cameras than waste that money on expensive software licenses, ~$190 per cam in my Region for the Pro features. But again, if you don't use those features, spend that money on more and better cameras.
 

WEKurtz

n3wb
Joined
Jul 22, 2020
Messages
1
Reaction score
0
Location
USA
I was hoping someone could assist with this issue. Here is the setup: BI and AI tool running on a first gen i7 (920 - so no AVX )running win 10. Deepstack noavx running in docker on a synology 918+ (I could run it on the i7 but not sure if it will work properly because of the pre AVX processor) Anyway the log shows the following:

[22.07.2020, 09:11:50.603]: Starting analysis of C:\BlueIris\AIinput/Frontsd.20200722_091150560.jpg
[22.07.2020, 09:11:50.613]: (1/6) Uploading image to DeepQuestAI Server
[22.07.2020, 09:11:50.623]: (2/6) Waiting for results
[22.07.2020, 09:11:50.632]: (3/6) Processing results:
[22.07.2020, 09:11:50.648]: System.NullReferenceException | Object reference not set to an instance of an object. (code: -2147467261 )
[22.07.2020, 09:11:50.656]: ERROR: Processing the following image 'C:\BlueIris\AIinput/Frontsd.20200722_091150560.jpg' failed. Failure in AI Tool processing the image.
[22.07.2020, 09:13:35.396]: Loading time line from cameras/history.csv ...
[22.07.2020, 09:13:35.406]: Loading confidence-frequency chart from cameras/history.csv ...

I saw someone had a similar issue, in msg #252 and the issue seems to have been that vision-detection was not running. I am very much unskilled in this area, and do not know how to enable this function while this is running in docker on a synology nas. If anyone has any knowledge of this, I would be grateful if you could share it. Thank you.
 

pmcross

Pulling my weight
Joined
Jan 16, 2017
Messages
371
Reaction score
185
Location
Pennsylvania
I was hoping someone could assist with this issue. Here is the setup: BI and AI tool running on a first gen i7 (920 - so no AVX )running win 10. Deepstack noavx running in docker on a synology 918+ (I could run it on the i7 but not sure if it will work properly because of the pre AVX processor) Anyway the log shows the following:

[22.07.2020, 09:11:50.603]: Starting analysis of C:\BlueIris\AIinput/Frontsd.20200722_091150560.jpg
[22.07.2020, 09:11:50.613]: (1/6) Uploading image to DeepQuestAI Server
[22.07.2020, 09:11:50.623]: (2/6) Waiting for results
[22.07.2020, 09:11:50.632]: (3/6) Processing results:
[22.07.2020, 09:11:50.648]: System.NullReferenceException | Object reference not set to an instance of an object. (code: -2147467261 )
[22.07.2020, 09:11:50.656]: ERROR: Processing the following image 'C:\BlueIris\AIinput/Frontsd.20200722_091150560.jpg' failed. Failure in AI Tool processing the image.
[22.07.2020, 09:13:35.396]: Loading time line from cameras/history.csv ...
[22.07.2020, 09:13:35.406]: Loading confidence-frequency chart from cameras/history.csv ...

I saw someone had a similar issue, in msg #252 and the issue seems to have been that vision-detection was not running. I am very much unskilled in this area, and do not know how to enable this function while this is running in docker on a synology nas. If anyone has any knowledge of this, I would be grateful if you could share it. Thank you.
Try the following command in Docker:

sudo docker run -e VISION-DETECTION=True -v localstorage:/datastore \-p 80:5000 deepquestai/deepstack
 

Tinbum

Pulling my weight
Joined
Sep 5, 2017
Messages
448
Reaction score
126
Location
UK
I apologize if I missed it but it's really hard to search through this thread. I have everything set up and working perfectly, thank you for this awesome tool! I was wondering if there was an easy (programmatic) way to enable/disable the Telegram messaging functionality. A flaw I discovered today while my wife and I were sitting outside on the patio is that I was getting constant alerts as it detected a person. It wasn't wrong, but I would like a way to turn that off with a physical button. I have buttons I can pipe into Home Assistant/Node-RED I just need to know how to make changes to the settings and disable motion alerts. Thanks so much!!
I do it in BI profiles. Set up a different profile to use in BI when you are on the patio. In the camera settings in BI, for the camera that looks onto the patio, send a different named image to the AI folder, (or none), and have a camera set up in AItool to look at that image but ignore people.

I use this for when I'm at home and I still want to get an alert if a car comes on the drive but not when I'm walking on it. But then on a night I want to get notifications for cars and people. See post number 110 of this thread
 

Attachments

Last edited:

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
276
Location
Sydney
I do it in BI profiles. Set up a different profile to use in BI when you are on the patio. In the camera settings in BI, for the camera that looks onto the patio, send a different named image to the AI folder, (or none), and have a camera set up in AItool to look at that image but ignore people.

I use this for when I'm at home and I still want to get an alert if a car comes on the drive but not when I'm walking on it. But then on a night I want to get notifications for cars and people. See post number 110 of this thread
I do something similiar, but use the GeoFencing Feature of BI to change profiles.


When "HOME" the home profile applies. Then within the "HOME" profile, I still have alerts configured, but disable "SNAPSHOTS" on the Cams I don't want to receive Telegram Alerts.
Then when I leave the "AWAY" profile is applied with Snapshots re-enabled. I also have "Night" profiles.

I have also tested this approach with with different AITool.exe Instances (different install folders), with different snapshot folders. So when your away the profile sends snapshots into the AITool folder that alerts on everything ect...

I rolled back most of this though, to keep it simple. I just wanted to play and see what is possible.
 

Coloscott

Young grasshopper
Joined
Dec 13, 2018
Messages
33
Reaction score
3
Location
United States
I've searched this thread (it's long so I may have missed something) but didn't find anything that gave me any clues. I installed AI engine along with AI Tools, and integrated with BI as per the instructions but I am getting a lot of false positives. I have people, cars, and trucks, dogs, cats selected. I'm running the Windows version. Any help on what to look for or tweak would be appreciated.


AI Tool 1.67 preview 7
BI 5.3.1.1
Windows 10 Pro
Dell i7 6700 3.4 GHz
48 GB RAM

Here is an example of what I see in the logs which fires an alert from BI to my email but there is no motion in the video or jpg

[23.07.2020, 13:35:19.037]: Starting analysis of G:\aiinput\DWNSD.20200723_133456402.jpg
[23.07.2020, 13:35:19.047]: (1/6) Uploading image to DeepQuestAI Server
[23.07.2020, 13:35:20.231]: (2/6) Waiting for results
[23.07.2020, 13:35:20.236]: (3/6) Processing results:
[23.07.2020, 13:35:20.242]: Detected objects:
[23.07.2020, 13:35:20.257]: (6/6) Camera DWNSD caused a false alert, nothing detected.
[23.07.2020, 13:35:20.266]: Adding false to history list.

Thanks in advance for any ideas.

Scott
 

neile

Getting the hang of it
Joined
May 15, 2020
Messages
132
Reaction score
67
That's how it should work. BlueIris is sending a broader set of images over than actually contain the objects you care about. The AI system evaluates what BlueIris sends and ignores things that don't actually have what you're looking for in it.
 

Coloscott

Young grasshopper
Joined
Dec 13, 2018
Messages
33
Reaction score
3
Location
United States
That's how it should work. BlueIris is sending a broader set of images over than actually contain the objects you care about. The AI system evaluates what BlueIris sends and ignores things that don't actually have what you're looking for in it.
Then why am I getting BI alerts?
 
Top