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

haha i saw that, but nope I'm still confused. I guess I'll just re-read everything. I think i'm further away from what I was trying to figure out. So what exactly changed in AI Tool from 1.65 to 1.67 in regards to the suggested method of implementation?
OK forget all about versions at it is just confusing you. State what you would like to achieve and I will try and guide you.
 
@Village Guy I guess i'll go back to the original question: I am using, I THINK , cloned cameras (Amcrest with 2 streams). I don't really have space limitations, but seems wildly inefficient to continuously record 16 4k cams. What I thought I was doing was taking stills from the SD stream, sending them to a folder monitored by AI Tool which would then tell the HD stream to record a clip when a relevant event is observed. The 1st post in the thread suggests that I should be using flags as of v1.67 as the preferred method, but you're saying it shouldn't really matter and that flags are only useful if you are continuously recording?
 
@Village Guy I guess i'll go back to the original question: I am using, I THINK , cloned cameras (Amcrest with 2 streams). I don't really have space limitations, but seems wildly inefficient to continuously record 16 4k cams. What I thought I was doing was taking stills from the SD stream, sending them to a folder monitored by AI Tool which would then tell the HD stream to record a clip when a relevant event is observed. The 1st post in the thread suggests that I should be using flags as of v1.67 as the preferred method, but you're saying it shouldn't really matter and that flags are only useful if you are continuously recording?
V1.67 is aimed at folks that would like to have a configuration without cloned cameras. It only works when your setup is to record continously.
V1.67 is also compatible with cloned cameras!

Stream selection is a BI function NO CONNECTION with aitool. When BI is setup for dual stream it can save a CH1 hd stream as a clip when triggered.
 
AHHHHHHHH! THANK YOU! I was just rereading Post #1. It seems to say that the recommended method is NOW continuous recording with flags being sent, but itmakes so much more sense if it's really just an added feature. I don't really understand how the flag feature works in practice but at least now I realize it's def not my issue. This does create a new question. Why am I even saving jpegs from the SD stream, seems like (and you suggested) that having AI Tool analyze High def images would be better and doesn't seem like it would require that much extra space for the jpegs.

I'll forumate where I'm going next but thanks so much for taking the time to get me to understanding this much.
 
For each camera in AI tool, do you need a cancel URL for MQTT cancel to fire? I have my trigger URLs working, but don't have a cancel URL config. Although I would like the MQTT cancel to fire. Also if does fire is it timed? Thanks

1605831815355.png
 
I feel like a real goon for asking this but how do I install Chris Dodge's latest version, the one with the Masking feature @Village Guy mentioned? I followed the advice of unzipping and overwriting but it's a completely different file structure from what I installed on the first page.
 

Attachments

  • 2020-11-19 20_49_51-Release.png
    2020-11-19 20_49_51-Release.png
    130.2 KB · Views: 25
  • 2020-11-19 20_50_53-src.png
    2020-11-19 20_50_53-src.png
    14.2 KB · Views: 25
I feel like a real goon for asking this but how do I install Chris Dodge's latest version, the one with the Masking feature @Village Guy mentioned? I followed the advice of unzipping and overwriting but it's a completely different file structure from what I installed on the first page.
You downloaded the source. You need the files found here:

Look for the one named AITOOL-VORLONCD.zip

Sent from my Pixel 3 using Tapatalk
 
  • Like
Reactions: seth-feinberg
@Village Guy I guess i'll go back to the original question: I am using, I THINK , cloned cameras (Amcrest with 2 streams).

Cloned cameras is within BI and nothing to do with the actual camera you have.

Clone means 'copy' so in BI you set up a camera and then copy it. It in effect lets you have 2 setups for 1 camera, one to send images to AITool and then one to do what AITool wants it to do. (BI also doesn't use double the CPU processing for them)
 
You downloaded the source. You need the files found here:

Look for the one named AITOOL-VORLONCD.zip

Sent from my Pixel 3 using Tapatalk


Ahhhh thank you!

Cloned cameras is within BI and nothing to do with the actual camera you have.

Clone means 'copy' so in BI you set up a camera and then copy it. It in effect lets you have 2 setups for 1 camera, one to send images to AITool and then one to do what AITool wants it to do. (BI also doesn't use double the CPU processing for them)

Thank you so much for that explanation. I had moved on and thought it was not important to fully understand but now I do and it was honestly bothering me. So i have cloned my cameras with 2 substreams in BI, what does dual stream mean then? just the fact that my cameras can record 2 different resolutions at a time?
 
Ahhhh thank you!



Thank you so much for that explanation. I had moved on and thought it was not important to fully understand but now I do and it was honestly bothering me. So i have cloned my cameras with 2 substreams in BI, what does dual stream mean then? just the fact that my cameras can record 2 different resolutions at a time?
Send 2 different resolutions at the same time.
 
  • Like
Reactions: seth-feinberg
haha I feel like such an idiot and that I'm going around in circles. I've set up 2 streams for each Camera in the Camera's (amcrest) interface, and I have 2 different streams loaded into BI for each of these Cameras (the main 4k stream and the SD substream). Did I clone these cameras?

I'm learning a lot from this thread viewing and recording different quality streams but haven't quite gotten my answer...
 
You did not clone the cameras, you used the integrated dual cam recording feature. Cloning cameras would be if you had DOUBLE INSTANCES of each camera in BI, each at a different resolution.
This guide is very very good, if a tiny smidge outdated: danecreekphotography/node-deepstackai-trigger

Oh thank you so much, i've been googling like a mad man and coming up empty, Then i tried the Blue Iris Manual in it's hundreds of pages of glory. thank you very much, hopefully this will keep me away til i have a much less banal question.
 
I'd appreciate it if someone that's confident they have their authentication setting dialed in could share a screen shots of their settings to effectively use the username / password configured URL so server isn't left unsecure on LAN.

Here's a example of what I have working.

3.PNG
 
Last edited:
Thanks @GreyTheOld ! That tutorial was based on The Hook Up video that I set things up with so I was close, but that tutorial still highlighted a few things that I had either missed or were new (like adding the substream to the HD camera setup, which coincidently ALSO helped me understand my Dual Stream vs Cloned cam confusion!).

However, I still feel like this step:
2020-11-20 14_46_04-Integrating with BlueIris · danecreekphotography_node-deepstackai-trigger ...png
and this step:
2020-11-20 14_46_16-Integrating with BlueIris · danecreekphotography_node-deepstackai-trigger ...png

seem to create "double instances" of each camera in BI each at a different resolution. But I've followed the guide twice (and clearly you did too) and if you say that's not cloning that good enough for me!

On another note, after firing up the latest version of AI Tool from Chris Dodge, I have an error in my Log: another instance is already running, is this common on upgrade? related to the custom service i set up for AI Tool from the first post?

edit: the hyperlinks I originally included seemed to cause some problems so I just attached some screenshots.
 
I'm not familiar enough to answer with confidence however my system is working at this moment however I'm struggling hard on telegram alerts.

The tutorial DOES clone and DOES USE DUAL STREAMS. I think that probably adding the second url to the HD cam is probably an attempt to save cpu but doesn't actually do anything. I PREFER this method because I like the granularity of being able to have cameras with different names and thus different triggers, plus not ALL my cams are dual-stream capable.

Re: Remote access authentication here's me:
1605925236495.png


1605925319961.png

For Trigger URL's, the [Camera] variable doesn't seem to work for me in any format of Long or sho
rt name of the camera, so I just hardcoded it in the URL:
 

Attachments

  • 1605925319909.png
    1605925319909.png
    43.6 KB · Views: 21
  • Like
Reactions: seth-feinberg
Reporting back that I got telegram working, I was using the wrong chat ID.
Steps:
Message @BotFather to make a bot. Name it whatever.
Send /token and get the Token
Then go to the telegram menu and make a new group chat, then add your @botname_bot to it
Then send at least one message. Doesn't matter what you send.
Now if you're lazy, copy your Token and go here: Get Telegram Chat ID - CodeSandbox
Paste your key, press go...It'll return the number, make sure it has a - in front.

In AiTool settings page, paste in your Token and chat ID in, then in the actions page on each individual camera make sure to check "send alert images to Telegram".

Fin!

Caveat: I'm getting a number of failed to send errors, but I think it's a frequency issue. All cameras are reliably sending images.
 
Is anyone else using POST when triggered instead of RECORD when triggered having a issue with Blue Iris not deleting jpegs once the folder reaches limit set in Clips & Archiving? Or is anyone successful maintaining folder size limit using that method?

Wondering if something was updated and changed in BI at some point so working for others but not me. Im still running 5.2.7.12 and it appears that BI isn't updating the db and keeping a eye on file size of AI_Input folder when using the post method.
 
Last edited: