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

@balucanb yes recreate cameras folder for now.
@WildDoktor detais tab, aitool.exe will show true usage of app. The other python instances are deepstack working on your machine which is likely using most cpu
Thanks, you're correct of course; other ython instances are seperate from ai tools.
Funny enough, now the TaskManager is the thing taking up 46% of the CPU. Sheesh!
 
Thank you! Is there any possible way you could limit your DeepStack install to under 1GB to simulate what it would be like so I could get an idea of what the response time would be? If it is too much of a hassle, don't bother. I am just worried that I go purchase a NCS2 and find out it ends up worse on my Pi4 than the VM.
Sorry for the delayed response here. I just checked and my Pi is using 460 MB total for memory usage, so I believe that you will be fine with 1 GB.
 
Since the triggers happen before the file copy, Blue Iris as a result does not use the markup alert image in the jpeg field.

Please have a look.

Thank you.
Problematic, how does the AITool keep them in history, so i can grab it? Also is it meant to work this way or is it a bug?
Furthermore I tried manually on my browser to test trigger url with the new parameter &jpeg=path :

As result it did triggered but without with incorrect image. It didn't use this "C:\BlueIris\AIalert\Cam1.20201005_100246640.jpg" image i specified on the URL. What's the correct way of using a custom image with url triggers?
 
boy do I feel dumb

Yep. Good point.
.


I got this notification that I thought would have been masked out by my custom mask. On looking at the mask though it only covers some of the van so perhaps the same is happening with yours.
View attachment 71897

View attachment 71896
I got this notification that I thought would have been masked out by my custom mask. On looking at the mask though it only covers some of the van so perhaps the same is happening with yours.
View attachment 71897

View attachment 71896
 

Attachments

  • mask.PNG
    mask.PNG
    334.7 KB · Views: 45
Problematic, how does the AITool keep them in history, so i can grab it? Also is it meant to work this way or is it a bug?
Furthermore I tried manually on my browser to test trigger url with the new parameter &jpeg=path :

As result it did triggered but without with incorrect image. It didn't use this "C:\BlueIris\AIalert\Cam1.20201005_100246640.jpg" image i specified on the URL. What's the correct way of using a custom image with url triggers?

@Andygds007 - you might not have the latest version of BI if its not even working manually. It was only released last week.

@aesterling @aralos1999 @Andygds007 - A few things will be fixed related to this in the next version when I have a chance to release. [ImagePath] and the new [ImagePathEscaped] will reflect the copied image location rather than a TEMP folder. And since this used in a URL I think the [ImagePathEscaped] should be used rather than imagepath. Also, the image will be copied before triggering the URL.
 
  • Like
Reactions: aesterling
@Andygds007 - you might not have the latest version of BI if its not even working manually. It was only released last week.

@aesterling @aralos1999 @Andygds007 - A few things will be fixed related to this in the next version when I have a chance to release. [ImagePath] and the new [ImagePathEscaped] will reflect the copied image location rather than a TEMP folder. And since this used in a URL I think the [ImagePathEscaped] should be used rather than imagepath. Also, the image will be copied before triggering the URL.
AMAZING, thank you so much. Sounds good, i will stay tuned. And i will update BI to test it out.
 
@aesterling @aralos1999 @Andygds007 - A few things will be fixed related to this in the next version when I have a chance to release. [ImagePath] and the new [ImagePathEscaped] will reflect the copied image location rather than a TEMP folder. And since this used in a URL I think the [ImagePathEscaped] should be used rather than imagepath. Also, the image will be copied before triggering the URL.

Is it possible to also do the file copy file before triggering the Run Program function? Currently file copy is after the Run Program trigger. IMHO, file copy should be the first action.

Please kindly consider this.

Thanks.
 
I decided to give this a try and so far I have just about everything functioning with a few exceptions. AI version 1.67, BI5.3.3.3. My only issues are I do not seem to get BI Mobile app notifications any more which isnt a big deal but I also cant seem to get Telegram notifications either. I am not using any duplicate cameras just the single camera set up as per this guide. I do need to get some sort of notification working to alert me of positive alerts.

Any help would be appreciated,

Thanks
 
I decided to give this a try and so far I have just about everything functioning with a few exceptions. AI version 1.67, BI5.3.3.3. My only issues are I do not seem to get BI Mobile app notifications any more which isnt a big deal but I also cant seem to get Telegram notifications either. I am not using any duplicate cameras just the single camera set up as per this guide. I do need to get some sort of notification working to alert me of positive alerts.

Any help would be appreciated,

Thanks

Did you experience issues with the Telegram setup part or do you get an error in the log related to the Telegram upload?

Or are just the Telegram push notifications not appearing when Telegram is closed? -> disable battery optimizations for Telegram
 
Did you experience issues with the Telegram setup part or do you get an error in the log related to the Telegram upload?

Or are just the Telegram push notifications not appearing when Telegram is closed? -> disable battery optimizations for Telegram

I likely just do not have the telegram end set up right . I had issues getting the chat id and may still not have that right>
 
Sorry for the delayed response here. I just checked and my Pi is using 460 MB total for memory usage, so I believe that you will be fine with 1 GB.
No problem at all for the delay, I understand how other things can come first! I do thank you a ton for sharing that though, it puts my mind at ease and helps me move forward with more confidence. I actually just purchased the NCS2 and it should be here at the end of the week, I'll run an initial test on my Pi4 with a spare SD before ripping it out of Garage service. heh I can accomplish the same task in the garage with a Shelly, let the Pi use its brawn elsewhere and stop eating the CPU on my server for AI.
 
  • Like
Reactions: pmcross
Can somebody please point me to an explanation of the "trigger url" box? (Nevermind; I found the explanation in the BI help file.)

I'm a bit confused as to how it works / where it (the trigger box in ai tools) works in the big picture of me getting an alert and my hd stream starting to and stopping record.

The specific things I'm trying to fix (and I don't know if these are ai tool things or BI things):
When I walk outside in front of the camera, stop, move around, wave at the camera, I never get an alert. Same with when my family leaves or arrives. But passers-by get recorded. ???
When I get an sms (or mms, i've tried both), it rarely shows the subject of the alert. A few posts back @aesterling mentioned [ImagePath]; so I setup an image path, and I'm getting images with boxes in the path, but I've added &path=g:\alertimages to the end of my triggers and I don't get those images in my texts.
Another thread suggested setting up email alerts; I did that, but I only get the images in email that I get in my texts.

My trigger urls look like this (ip, port, and un/pw have been removed in these examples):

http://ip:port/admin?camera=hd1&trigger&user=user&pw=password&jpeg=G:\AlertImages
http://ip:port/admin?camera=hd1&flagalert=1&trigger&memo=summary&user=user&pw=password&jpeg=G:\AlertImages

So, what are these triggers actually doing?
UPDATE: I did find that the triggers are BI, not aitools. In the BI help file, under administration, under Direct image and video requests. I'm going to look thru these in more detail and see if my triggers are correct; or at least why these specific ones were suggested in the BI setup video I used as a guide.

Please forgive my ignorance. I've been an IT professional for 30 years, but I've been struggling to get bi/aitools working since I installed it. Quite embarrassing, I assure you!
 
Last edited:
@balucanb yes recreate cameras folder for now.
@WildDoktor detais tab, aitool.exe will show true usage of app. The other python instances are deepstack working on your machine which is likely using most cpu
So @Chris Dodge I trashed everything, re installed the original gentlepumpkin , then downloaded the latest (I think) VorlonCD version. got it all set up and now it no longer throws the error when I draw a mask- YAY! Thanks. However...if you want to change that custom mask or just delete it I don't see anyway to do this from within the AI-Tool GUI. Am I correct or just missing something?
 
So @Chris Dodge I trashed everything, re installed the original gentlepumpkin , then downloaded the latest (I think) VorlonCD version. got it all set up and now it no longer throws the error when I draw a mask- YAY! Thanks. However...if you want to change that custom mask or just delete it I don't see anyway to do this from within the AI-Tool GUI. Am I correct or just missing something?

Within AITool go to cameras/ draw mask custom and click 'clear' and then 'OK'
If it's a mask from the original GentlePumpkin AITool you have to remove the file (png image) from the Cameras folder.
 
Within AITool go to cameras/ draw mask custom and click 'clear' and then 'OK'
If it's a mask from the original GentlePumpkin AITool you have to remove the file (png image) from the Cameras folder.
@Tinbum thanks but it is not a mask that was already there from the original, once I got everything loaded again I went into cameras/ draw mask custom and was trying to see if once I drew a mask if it was going to work or error out, it worked and when I tried to clear the mask that I drew it would not/will not clear.
 
For those of you who may be interested, I'm playing with using the AI Tool to review CCTV from any NVR or DVR

Thread is here.

 
  • Like
Reactions: balucanb
@Tinbum thanks but it is not a mask that was already there from the original, once I got everything loaded again I went into cameras/ draw mask custom and was trying to see if once I drew a mask if it was going to work or error out, it worked and when I tried to clear the mask that I drew it would not/will not clear.
Read my first paragraph.