Skip to content

AI Tools sometimes takes a full minute to trigger Blue Iris camera(s) #58

@Caddyman68

Description

@Caddyman68

I have Blue Iris running on a Windows machine; I just upgraded to an I5-9600k with 16G memory mainly to use this awesome (potentially?) program. My original setup of 8 cameras is working the same as always. I followed "the Hookup" tutorial and set up 4 of these cameras with an RTSP sub and main stream (8 profiles). I have version 1.67 preview 7 of AI Tools. According to the log it is processing the image in less than a second (wonderful) but somehow the trigger to the High res camera (main RTSP stream) takes about a minute to trigger. It would stand to reason that something is up on the Blue Iris end, but I don't know where to ask if that's the case.
More info: DeepStack is running in a Docker container via Portainer add-on in Home Assistant which is running on VirtualBox on the same computer as Blue Iris. The IP addresses are the same (192.168.X.X) for BI, Home Assistant, AI Tools, DeepStack and VB (so also Portainer), but it is 172.17.x.x for the DeepStack "Network-bridge". Is this a normal setup? - I assume it is since I followed Rob's tutorial. I noticed that versions above 1.65 have a different installation method as outlined by Gentle Pumpkin. I assume that the old method should still work too? I tried one camera with the new method and it didn't work either.
Entering the 1st URL in a web browser returns this result immediately:
signal=green
profile=1
lock=0
camera=Garage HR

Here is the log entry for that camera:
[06.04.2021, 12:51:55.292]:
[06.04.2021, 12:51:55.292]: Starting analysis of D:\AIinput\GarageLR.20210406_125155475.jpg
[06.04.2021, 12:51:55.292]: (1/6) Uploading image to DeepQuestAI Server
[06.04.2021, 12:51:56.621]: (2/6) Waiting for results
[06.04.2021, 12:51:56.622]: (3/6) Processing results:
[06.04.2021, 12:51:56.622]: Detected objects:person (78.72%),
[06.04.2021, 12:51:56.622]: (4/6) Checking if detected object is relevant and within confidence limits:
[06.04.2021, 12:51:56.623]: person (78.72%):
[06.04.2021, 12:51:56.629]: Checking if object is outside privacy mask of GarageLR:
[06.04.2021, 12:51:56.630]: Loading mask file...
[06.04.2021, 12:51:56.630]: ->Camera has no mask, the object is OUTSIDE of the masked area.
[06.04.2021, 12:51:56.630]: person (78.72%) confirmed.
[06.04.2021, 12:51:56.630]: The summary:person (78.72%)
[06.04.2021, 12:51:56.631]: (5/6) Performing alert actions:
[06.04.2021, 12:51:56.631]: trigger url: http://192.168.X.X:80/admin?trigger&camera=Garage_HR&user=Dave&pw=69BI69
[06.04.2021, 12:51:56.637]: trigger url: http://192.168X.X:80/admin?camera=Garage_HR&flagalert=1&trigger&memo=person%20(78.72%25)&user=Dave&pw=69BI69
[06.04.2021, 12:51:56.639]: -> 2 trigger URLs called.
[06.04.2021, 12:51:56.642]: (6/6) SUCCESS.
[06.04.2021, 12:51:56.642]: Adding detection to history list.
On this trigger, the video lagged 18 seconds. I set a 20 second pre-buffer, but it still didn't catch any action.
Please advise if this is something you can help with or if you have another source to help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions