AI Person detection images too late

Post Reply
bhups
Posts: 2
Joined: Sat May 22, 2021 4:02 pm

AI Person detection images too late

Post by bhups »

I have BI set to save JPGs and videos and also to send email alerts when a person is detected in zone A
The images which are saved and those which are emailed are always about 15-20 seconds later than when a person should be detected.

Could someone advise how I can get the captures of persons as soon as they are detected?
2024-09-02 11_24_45-Clipboard.png
2024-09-02 11_24_45-Clipboard.png (34.9 KiB) Viewed 2081 times
2024-09-02 11_27_59-CCTV-NVR (cctv-nvr) - VNC Viewer.png
2024-09-02 11_27_59-CCTV-NVR (cctv-nvr) - VNC Viewer.png (33.31 KiB) Viewed 2081 times
User avatar
TimG
Posts: 2676
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: AI Person detection images too late

Post by TimG »

Just a thought, for the email alert, won't the required AI objects of "person,cat,dog" mean that all three of them have to be there to trigger it ? I use a similar one for MQTT with "person" there to ensure my outside drive lights ONLY turn on if there is a person there - not a car, cat, dog etc. By my logic, I would need three separate Alerts to cover person, cat and dog, and they could each have their own specific message.

Also, if you get it to add the leading edge images, does that change anything ?
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
User avatar
Pogo
Posts: 652
Joined: Tue Jul 18, 2023 7:21 pm
Location: Reportedly in the Area

Re: AI Person detection images too late

Post by Pogo »

Your alerts seem to have a few built in delays.

Attaching 10 real time images every 2 seconds as your default along with the buffering and pre-record stuff would seem to prolong the process even further. Why not just send 1 image when a trigger is activated and eliminate everything else? Maybe consider SMS or MMS or even Pushover for faster alerts?

Try changing 'When Alerted' to 'When Triggered'.

Change folder to 'New'. That's where you'll generally realize the greatest efficiency with alert images.

Try 'trigger leading-edge image' as the attachment and kill the 10 real time images selection.

This should theoretically speed things up on the Blue Iris end, though no guarantees on the email side.

But if CPAI is also in the mix trying to sort it all out before anything happens, I'd put money on that being the main problem and would eliminate that part of the process before anything just to determine its effect one way or another if nothing else.
atreyu
Posts: 59
Joined: Fri Nov 27, 2020 7:22 pm

Re: AI Person detection images too late

Post by atreyu »

TimG wrote: Mon Sep 02, 2024 7:22 pm Just a thought, for the email alert, won't the required AI objects of "person,cat,dog" mean that all three of them have to be there to trigger it ?
I use person,dog,cat,unknown on my AI "To confirm" trigger. It will fire the MQTT alert on any of those (not only all of those). Then my lights turn on, if it's within sunset and sunrise.

You can also send &MEMO in the payload to send the AI detection and do that determination on your receiving end.
User avatar
TimG
Posts: 2676
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: AI Person detection images too late

Post by TimG »

Thank you for the clarification. We are all learning :D
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Post Reply