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

spammenotinoz

Pulling my weight
Joined
Apr 4, 2019
Messages
208
Reaction score
128
Location
Sydney
I'm intrigued by your comment. Can you share your reasoning for recording static video. Are you inferring that capturing video 30 seconds before an event along with the WHOLE event being recorded is in some way inferior to recording continously. Is it a legal requirement in your country?
I think this has been covered to death before, but you do what's best for you.

Parking legal requirements because they vary by region, it comes down to reliability and introducing more points of failure.
Just search this site for motion events issues. I have had BI set to trigger on the slightest alerts, as well as triggering ONVIF trigger and when it comes to an event, the always recording cameras have ALWAYS provided more insight.
With the low cost of storage and modern compression vs the price you pay to run BI + Camera's really worth the risk of missing events? Only you can answer that.
PS: I have many cameras at home, overlapping and not all are constant recording, that is how I know.
 
Joined
May 15, 2016
Messages
12
Reaction score
3
@spammenotinoz
Indeed you have expressed your opinion many times. With respect my post was addressed to @columbusgeek!
Same answer really. I have been a user since early BI4. I thought I had it all figured out, triggers working well with my testing, and still had a $700 diesel tuner stolen from my truck. Nothing picked up the individual on cameras, of which I have many. Nothing got triggered and I had no continuous footage to review. Lesson learned. Now Sentry flags things for my convenience, (possibly replaced by OPs tool) and footage is also collected continuously and chopped into hour-long chunks for specific cameras. I've never missed an event now, even if the automated side of things malfuncitons.
 

Village Guy

Pulling my weight
Joined
May 6, 2020
Messages
220
Reaction score
100
Location
UK
Same answer really. I have been a user since early BI4. I thought I had it all figured out, triggers working well with my testing, and still had a $700 diesel tuner stolen from my truck. Nothing picked up the individual on cameras, of which I have many. Nothing got triggered and I had no continuous footage to review. Lesson learned. Now Sentry flags things for my convenience, (possibly replaced by OPs tool) and footage is also collected continuously and chopped into hour-long chunks for specific cameras. I've never missed an event now, even if the automated side of things malfuncitons.
Thanks for your feedback. Your bottom line seems to be reliability based upon an earlier unfortunate experience. On the basis of 'don't fix it if it is not broken' I can understand that.
 

Village Guy

Pulling my weight
Joined
May 6, 2020
Messages
220
Reaction score
100
Location
UK
AITool Version 2.0.703.7716

I have attached a link below to the latest version of AITOOL for anyone that would like to test the new version and unable to compile it yourself. Please be aware this version is in BETA it is NOT released!

Please discuss / post issues here

At this time I recommend you NOT delete the default camera. I have found it deletes the next camera in the list and reinstates the default.

Download Link
 
Last edited:

Locoblade

n3wb
Joined
Dec 24, 2017
Messages
11
Reaction score
3
Hi all

I've used BI for a while with a small 2 fairly low res camera setup recording 24/7 and relying on BI triggers to bookmark events but having moved house recently and installed some additional cameras I realised I needed to be smarter at what was being recorded in full definijtion and came across AITools setup via The Hookup Youtube vid.

Anyway, I've got everything set up and I thought detection was working pretty well after some initial teething issues, but this evening my wife returned home driving in the dark and despite the camera being triggered and the jpg analysed, this was determined to be a false alarm despite having car ticked and 0% lower confidence limit. Is there anything I can do to help eliminate these missed events where a car's headlights are coming towards the camera and presumably the AI isn't seeing the car's outline to make a positive ID?



Thanks
 

spammenotinoz

Pulling my weight
Joined
Apr 4, 2019
Messages
208
Reaction score
128
Location
Sydney
Hi all

I've used BI for a while with a small 2 fairly low res camera setup recording 24/7 and relying on BI triggers to bookmark events but having moved house recently and installed some additional cameras I realised I needed to be smarter at what was being recorded in full definijtion and came across AITools setup via The Hookup Youtube vid.

Anyway, I've got everything set up and I thought detection was working pretty well after some initial teething issues, but this evening my wife returned home driving in the dark and despite the camera being triggered and the jpg analysed, this was determined to be a false alarm despite having car ticked and 0% lower confidence limit. Is there anything I can do to help eliminate these missed events where a car's headlights are coming towards the camera and presumably the AI isn't seeing the car's outline to make a positive ID?



Thanks
Resolution is fine, but increase the bit-rate (quality) of whatever stream you are sending to AI Tool, there is a lot of artifacting.
Experiment with exposure options such as HLC.
Experiment with contrast. That angle detecting a car at night 100% of the time will be tough
 

seth-feinberg

Young grasshopper
Joined
Aug 28, 2020
Messages
54
Reaction score
4
Here you go but there is nothing special in the setup of these. I have copied both Master & CloneView attachment 82812View attachment 82813
So the top one that uses the [UK] Home profile is the Master and the one takes jpegs and sends them to AI Tool on ALL motion? And the bottom one that uses the [Spain] Home profile is Clone and the one that is triggered by AI Tool confirmed events?

along the same line: Which logical camera profile do you mark Clone Master on the general tab?

edit: what does the "Also re-triggers" button do?
 
Last edited:

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
1,086
Reaction score
253
I'm testing both Pushover and Telegram for notifications. Pushover is working but Telecom isn't. Any tips on getting it to work? Thanks!
 
Joined
Nov 17, 2020
Messages
16
Reaction score
8
Location
USA
Just out of curiosity, has anybody heard any rumors about "AITool" type functionality eventually getting built directly into Blue Iris? I know BI has a service of its own, but surely the writing is on the wall regarding what the customers want (and Sentry isn't it) so I think the motivation is there, just wondering if we've heard anything.

Note: I'm not talking about the AI server, just the middleman service of passing photos and results back and forth.
 

Village Guy

Pulling my weight
Joined
May 6, 2020
Messages
220
Reaction score
100
Location
UK
So the top one that uses the [UK] Home profile is the Master and the one takes jpegs and sends them to AI Tool on ALL motion? And the bottom one that uses the [Spain] Home profile is Clone and the one that is triggered by AI Tool confirmed events?

along the same line: Which logical camera profile do you mark Clone Master on the general tab?

edit: what does the "Also re-triggers" button do?
Sorry I should have shown them with the same profile which how they operate. My system is programmed with three profiles 1. Home UK 2. Home Spain 3. Away from home. I have cameras installed both in the UK and Spain and connected to the one BI system using LAN to LAN. The surveillance system is automated using a small program that I have written using Tasker for Android. It enables the system to automatically select a profile depending on my location. It is similar to BI geofencing but allows me to support my two locations and three profiles.

In reference to choosing the Clone or Master as your trigger it is totally your choice it makes no difference to the operation. If you have more than one camera I propose you choose and then stick to it to avoid confusion. Presently my Master is set to receive external commands and the Clone is the Trigger but it could be reversed. So long as you have camera profile for generating a trigger and another to except the external command you are all set.

Re-triggers enable video to be captured as one file. For example if AITOOL sends an External trigger, it will stop recording in 60 seconds in my setup. If AITOOL continues to send External trigger events with the 60 second period, it will cause the timer to be reset. For example, when my gardener is working in the yard I will often have a video file 1 hour long covering the whole period he is working.
 

spammenotinoz

Pulling my weight
Joined
Apr 4, 2019
Messages
208
Reaction score
128
Location
Sydney
Just out of curiosity, has anybody heard any rumors about "AITool" type functionality eventually getting built directly into Blue Iris? I know BI has a service of its own, but surely the writing is on the wall regarding what the customers want (and Sentry isn't it) so I think the motivation is there, just wondering if we've heard anything.

Note: I'm not talking about the AI server, just the middleman service of passing photos and results back and forth.
BI already has that functionality today (sending images to Sentry and LPR). I assume the biggest blocker would be any current commercial agreements (if any) with Sentry.
From a financial point though, it would be risky to pass images directly to DeepStack, They would need something far more reliable and out of Beta.
Even with a robust AI engine the support costs to manage user expectations would be insane. No offence, but it's not like BI has decent support (from BlueIris). I have logged many support calls over the years, and I never never received a single response. Any issues\queries have been resolved via Forums or just work arounds until fixed.
 

Locoblade

n3wb
Joined
Dec 24, 2017
Messages
11
Reaction score
3
Thanks, I'm currently taking stills from the 640x480 substream hence the relatively low image quality, thats already running at its highest bitrate and framerate so not sure I can improve that but I'll have a play with the exposire and contrast. The road comes from the left of shot and the car will do a right-left S turn onto the drive so should give a reasonable side shot at some point, but maybe my trigger interval means it's missing the "money shot".

Resolution is fine, but increase the bit-rate (quality) of whatever stream you are sending to AI Tool, there is a lot of artifacting.
Experiment with exposure options such as HLC.
Experiment with contrast. That angle detecting a car at night 100% of the time will be tough
 

wittaj

Known around here
Joined
Apr 28, 2019
Messages
4,612
Reaction score
5,891
Location
USA
For AI to work it needs to be able to clearly see and make out the object. That picture being blinded by headlights means the car is dark so it isn't seeing the car. As someone else mentioned, some HLC could help that. Bumping up brightness could as well. Does the camera have built in AI as that would probably result in higher probability since it is analyzing video as opposed to a picture?
 

spammenotinoz

Pulling my weight
Joined
Apr 4, 2019
Messages
208
Reaction score
128
Location
Sydney
Thanks, I'm currently taking stills from the 640x480 substream hence the relatively low image quality, thats already running at its highest bitrate and framerate so not sure I can improve that but I'll have a play with the exposire and contrast. The road comes from the left of shot and the car will do a right-left S turn onto the drive so should give a reasonable side shot at some point, but maybe my trigger interval means it's missing the "money shot".
Frame Rate Doesn't Need to be high.
 

Locoblade

n3wb
Joined
Dec 24, 2017
Messages
11
Reaction score
3
Thanks, there's no AI on the cameras unfortunately, mostly cheap RLC-410 Reolinks at the moment. Obviously I understand it's tricky because of being blinded by headlights but naievely thought perhaps it might even recognise that pattern of 2 lights and a reflective thing in the middle as a car without needing to see the outline :D

Not a massive issue, I've not had time to play with settings and see the result but I've now got a second camera in that vascinity from another angle so I might set them up to trigger as a group so there's twice the chance of catching that type of incident.

For AI to work it needs to be able to clearly see and make out the object. That picture being blinded by headlights means the car is dark so it isn't seeing the car. As someone else mentioned, some HLC could help that. Bumping up brightness could as well. Does the camera have built in AI as that would probably result in higher probability since it is analyzing video as opposed to a picture?
 

spammenotinoz

Pulling my weight
Joined
Apr 4, 2019
Messages
208
Reaction score
128
Location
Sydney
Thanks, there's no AI on the cameras unfortunately, mostly cheap RLC-410 Reolinks at the moment. Obviously I understand it's tricky because of being blinded by headlights but naievely thought perhaps it might even recognise that pattern of 2 lights and a reflective thing in the middle as a car without needing to see the outline :D

Not a massive issue, I've not had time to play with settings and see the result but I've now got a second camera in that vascinity from another angle so I might set them up to trigger as a group so there's twice the chance of catching that type of incident.
Okay, those cameras are actually not too bad, with that much artifacting I bet you are using RTSP, move to RTMP (for some reason with Reolinks rtmp is more stable and less artifacting)
I believe the format is as follows;
rtmp:/192.168.1.100/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=password
rtmp:/192.168.1.100/bcs/channel0_sub.bcs?channel=0&stream=0&user=admin&password=password

On some the sub-stream is
rtmp:/192.168.1.100/bcs/channel0_sub.bcs?channel=0&stream=1&user=admin&password=password

Link to the doco
 
Top