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

Is there anything that can be done for this false positive? it happens a lot at night and can't be masked as it will render the entire camera useless because of the huge area.
It is also so strange that the confidence level is so high.

View attachment 69338

Try masking just the tree or the porch light and see if that makes a difference. It should be off to the side enough that your camera would still trigger if a legitimate person was standing at the door.
 
Super happy to see this UI3 improvement in the latest Blue Iris update! Now we can see the [Summary] text for each clip!!!
 

Attachments

  • Annotation 2020-08-26 103402.png
    Annotation 2020-08-26 103402.png
    117.9 KB · Views: 98
What did you do to get it working? Might be of help to others with the same/similar issues?

...setup the default camera in AI Tool to point to my hd camera...

I had to modify the default camera in AI Tool (and keep the name "default"), because AI Tool won't acknowledge any other camera I add. (And if I delete the default camera, I just get errors that there's no default camera.) But once I modified the default camera with my HD camera trigger, bingo...it's working!
 
I've been thinking about the integration of DeepStack with Blue Iris and I'm not convinced that it's a good idea. Depending on the developers involved, there can be greater innovation and quicker progress in an open source project. You mentioned that Ken announced his intentions to integrate with other AI solutions last year but GentlePumpkin is the only one I know of that has produced a product. Other developers have been working behind the scenes adding features and enhancements. The VorlonCD fork added a lot of new features and there's more to come. classObject is working on dynamic masking so that a stationary object such as a car doesn't trigger an alert every time the camera sees motion. Something that is greatly needed in AI Tool. I'm grateful for the work that talented programmers are putting into this project.

The downside of Open Source is that if the developers lose interest or no longer have the time to donate to the project then the project can stagnate. This has happened with a few Open Source products that I've used in the past.

I don't know if it would even be worthwhile for Ken to integrate DeepStack and all the features in, and coming to, AI Tool. He could not take the project and put it in his commercial product so he would have to rewrite all the code himself which would be a lot of work, and he probably wouldn't make any more money on Blue Iris unless he increased the price. Also, if DeepStack integration was in Blue Iris then the development of AI Tool might slow and we could lose innovation.

A better way to go could be for Ken to provide support for the AI Tool project by providing things in Blue Iris that might make AI Tool integrate more smoothly, and if he had the time he could be a contributor to the project. AI Tool's success adds value to Blue Iris so it's in Ken's best interest for the project to succeed. He gets the value without having to rewrite all the code himself. I guess one down side could be that since the code is Open Source then some competitor to Blue Iris could also use AI Tool, but at the moment Blue Iris doesn't seem to have a direct competitor. Not when you consider the price range and features.

You can check out some of the things being developed here.

Dynamic masking by classObject · Pull Request #38 · gentlepumpkin/bi-aidetection

Many updates by VorlonCD · Pull Request #32 · gentlepumpkin/bi-aidetection

I'm trying out the latest one by VorlonCD, now with the dynamic mask, and it's absolutely brilliant.
 
Is there anything that can be done for this false positive? it happens a lot at night and can't be masked as it will render the entire camera useless because of the huge area.
It is also so strange that the confidence level is so high.

I'm not sure what DS sees that it thinks is a person. The box is drawn over a very wide area so it must think the person is pretty big, and as wide as they are tall. :-)

If masking small areas doesn't work for you then put something on the ground in the middle of the highlighted area just to change the scene a bit. Maybe a kid's tricycle or a lawn ornament. Just something that you have laying around to break up the scene.

There's a DeepStack beta available that is said to have a better detection engine so perhaps it would work better for you, but I don't think it's available for Windows.

DeepStack Beta Release
 
There's a DeepStack beta available that is said to have a better detection engine so perhaps it would work better for you, but I don't think it's available for Windows.

DeepStack Beta Release

Its been working for me in windows for the last week or so and it does give different detection. I've found it much more sensitive and will bring up people where the old one didn't.
 
My BI alerts are still alerting with all motion even know the AI tool is correctly identifying triggers.

Also do you guys record continuously or just when triggered?
 
My BI alerts are still alerting with all motion even know the AI tool is correctly identifying triggers.

Also do you guys record continuously or just when triggered?

Many are recording continuously and flagging alerts. Personally I only record alerted intervals which presently requires the use of a clone camera for each camera to the best of my knowledge.
 
Hey, I am having some pretty good success with blue iris, deep stack and AI tools,., so far i really like it!!! been using it for about 2 months and have it installed on 2 properties..

however I am currently working on eliminating the alerts from blue iris and ONLY show the alerts from AI Tools.. proving to be quite challenging. if anyone has some tips or has been successful at accomplishing this let me know..

SO far I have tried the following

NO Trigger ALert Image - but set camera to take snapshot ever 2 seconds when motion is detected.. AI sees the image but then the alert is sent to phone with no alert image.. flagged or not

try to dump the "alert" folder instantly and only show alerts from the aiInput folder.. not working to my theory

Right now the best solutions is just click on "flagged " on the alerts screen, however I have some people that dont like that and get confused by the 1500 alert images that pop up...

im still working away on this.. (i should start a post of my own.. lol just wanted to chime in that the software works great..)

Thanks!!
 
In my case I'm happy to have both the flagged AI and motion alert images in the list. I use the motion images to look for critters that AI might not pick up. We have rabbits, raccoons, coyotes, deer, and even bear roaming in our yard day and night. To see only AI flagged images I just check the Flagged Only box so it's easy to ignore the motion alert images if you want to.


Ohh.... maybe this is what i NEED to do to avoid having 1500 alerts and 12 flagged alerts... will attempt now!! Thanks for sharing!!
 
Are you compiling it yourself? I'm interested in testing the branch but not sure how to go about it.
Yes.

It's actually quite easy- I didn't know how to do it till a few days ago and I couldn't find a good write up so with a bit of experimenting I found this worked..

Others may know of a much better and easier way. I think you can miss out the github bit and do it all in VS2019

Download Github desktop and set up an account and download the repository to your computer.
Download Visual Studio 2019
Open the repository you have on your computer from Github in Visual Studio 2019
Click on the repository file and then 'build'.

In the window you will see where the files are. (in the debug folder).
Copy and paste into the AITool folder after deleting (backup first) all the files except 'camera folder, Json files, log file and zipped files'.
 
Last edited:
ok. so i got it to work.. however.....

my parents HATE the alerts screen.. he says it too confusing to have alerts shown by camera and then beneath it show by time....

however with the duplicated camera setup i now have only alerts that AI detects.. cool. thats good.. not can I also have them flag the alerts.. that way he can still click on "flagged" so that we can see only alerts which are organized by time... as we like to follow a persons path , where they are going..


so im going to see if i can set a cloned & flagged setup... at least untill the ios app gets an update and we are able to customize the alerts screen with what we want to see.
 
I am not getting any flagged alerts in BI and I periodically am seeing this error in the log
ERROR: Could not trigger URL ''

I am running the BI webserver on port 80 and the docker container on port 81.


i had some issues with BI on port 80,, so I use port 81 for blue iris and 82 for deep stack.. however i run windowed version, i have to ensure to enter 82 every time i start it.. not sure for the docker, however I would make sure its reachable at localhost.. you can always try the local ipaddress


Thius is my url
***&pw=***
 
i had some issues with BI on port 80,, so I use port 81 for blue iris and 82 for deep stack.. however i run windowed version, i have to ensure to enter 82 every time i start it.. not sure for the docker, however I would make sure its reachable at localhost.. you can always try the local ipaddress


Thius is my url
&pw=
Thanks for the reply.

So when you copy and paste your trigger url into the browser what happens? I just get an access denied window in the browser and do not see anything flagged in BI
 
well.. because he can affoard it!! lol yea, we have 6 12tb WD purples.. ( i personally have 1, lol, I still record, but in 2k and i get about a weeks worth of history) he was 21 days.. so with 4k cameras we needed to have plenty of storage.. but yes..

we both record 24/7 just in the event.. AI or BI misses something, but we know something happened... we can rewind... kinda like a lighting storm... lighting strike might not trigger something in back ground, but its fun to watch, lol