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

Not on mine.. anyone have an example?

Are you passing the memo in the URL in AI Tool to BI?


Sent from my iPhone using Tapatalk
 
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
 
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.
 
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.
 
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.
 
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.
 
  • Like
Reactions: GentlePumpkin
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.
 
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
 
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

  • gate1.png
    gate1.png
    41.6 KB · Views: 56
  • gate3.png
    gate3.png
    29.3 KB · Views: 55
Last edited:
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.
 
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
 
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.
 
Do you have motion detection off in main camera and on in the clone?
Yes, motion is detection is turned off on the main HD feed cameras but it IS turned on for the cloned low resolution feed clones. Does it need to be off for them as well? I thought from the step by steps it needed to be on? The step by step instructions did say to turn the clones detection to a very sensitive setting. I can try turning the clones detection off too.
 
Yes, motion is detection is turned off on the main HD feed cameras but it IS turned on for the cloned low resolution feed clones. Does it need to be off for them as well? I thought from the step by steps it needed to be on? The step by step instructions did say to turn the clones detection to a very sensitive setting. I can try turning the clones detection off too.
Clone needs to be on
 
I'm sad to admit I've spent the past 5 hours trying to get DeepStack to work and I have had zero luck. I tried running the Windows version and python kept crashing repeatedly. I saw in the troubleshooting section the recommendation was to just run as a Docker. So I rolled my sleeves up and created a brand new Ubuntu virtual machine in Hyper-V, installed Docker, then ran the docker using DeepStack's instructions. For some reason I am not getting prompted to activate when I browse to the website - it keeps telling me the brand new docker instance is already activated. When I do see AI Tools communicating to DeepStack, I'm getting either 403 or 401 error messages.

It can't/shouldn't be this hard... what in the world am I doing wrong?

Annotation 2020-07-23 163221.png
 
Clone needs to be on
So, the clones did have motion turned on as you indicate is necessary. I looked at the motion alert in the BI console and the ones I have configured to use AI are being triggered by External so that AI suite is sending false positives which trigger the alerts to go out. Not sure where to go from here.
 
So, the clones did have motion turned on as you indicate is necessary. I looked at the motion alert in the BI console and the ones I have configured to use AI are being triggered by External so that AI suite is sending false positives which trigger the alerts to go out. Not sure where to go from here.
Maybe post some pics of ai tool setup and history results