Hello everyone,
I have been using BI for few years now and since the beginning I am not able to fix this one issue I am having. I am running motion detection + CPAI to detect when a person walk in the cameras field of view. Both the notification from BI and MQTT alert are delayed by at least 10 seconds. The issue seems related to my configuration, because CPAI is reporting < 100ms usually for detection.
Here is my object detection settings: https://imgur.com/a/9aYEvfY
The Trigger tab: https://imgur.com/OLMGj3q
and the AI configuration under Alert tab: https://imgur.com/MtMW7hw
And under "On Alert", I have the notification/mqtt setup.
I suspect it is one of those settings tabs that I am not configuring properly. I would like to get a notification as soon as CPAI confirms there is a person in the field of view. I also don't want to get multiple notifications if one person is passing by.
Delay to trigger alert - settings related?
Re: Delay to trigger alert - settings related?
Hello,
When I look at my .DAT files from BI-CPAI, I can see that from the first call to the first custom model to the last call to the last custom model, up to 15-16 seconds pass. The alert will not be confirmed and you will not be notified until the last custom model is processed, by default. This is even though the CPAI server processing times are 50-100ms on my GPU. BI must be doing many things between CPAI calls.
I think you can try two things to make the notification faster:
1. Reduce the number of custom models to only 1-2 most relevant ones;
2. Try to set up a "hot" label in the Confirm list, as the manual suggests:
Hot objects may be specified in the to confirm box to immediately confirm the alert and
then cancel any outstanding analyses. For this, the confidence must begin with a 0, such as
person:0 or person:080.
When I look at my .DAT files from BI-CPAI, I can see that from the first call to the first custom model to the last call to the last custom model, up to 15-16 seconds pass. The alert will not be confirmed and you will not be notified until the last custom model is processed, by default. This is even though the CPAI server processing times are 50-100ms on my GPU. BI must be doing many things between CPAI calls.
I think you can try two things to make the notification faster:
1. Reduce the number of custom models to only 1-2 most relevant ones;
2. Try to set up a "hot" label in the Confirm list, as the manual suggests:
Hot objects may be specified in the to confirm box to immediately confirm the alert and
then cancel any outstanding analyses. For this, the confidence must begin with a 0, such as
person:0 or person:080.