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

Joined
Oct 22, 2015
Messages
29
Reaction score
9
What setting would cause alerts to be sent without the subject being captured? I also see that in BI Alerts, that a car is being captured in the latter half of the frame, so I think the alert image being sent is after the car has passed.
 

Brendon06

Young grasshopper
Joined
Jan 20, 2019
Messages
33
Reaction score
16
Location
New Zealand
What setting would cause alerts to be sent without the subject being captured? I also see that in BI Alerts, that a car is being captured in the latter half of the frame, so I think the alert image being sent is after the car has passed.
You could try a longer cool down in bi and shorter in aitools maybe aitools is picking up something but bi has already captured another alert image and used that (being the latest) for alerts
 
Joined
Oct 22, 2015
Messages
29
Reaction score
9
You could try a longer cool down in bi and shorter in aitools maybe aitools is picking up something but bi has already captured another alert image and used that (being the latest) for alerts
I cross checked the alert image against the video in Bi and the image was taken 12 seconds afer the vehicle was fully in frame.

The cooldown in aitool is zero, in BI it's 3s, but changing it to 4s didn't seem to impact it.
 

bdaman

n3wb
Joined
Jan 26, 2021
Messages
1
Reaction score
0
Location
US
Can somebody point me to an accurate guide to using the Jetson for the ai device? I have followed the documentation on the Deepstack website and some other places just to get some errors. I can find other people with the same issue, but no real solutions
 

JamCam

n3wb
Joined
Oct 10, 2018
Messages
3
Reaction score
0
Location
US
Make sure you are not using the BI Alerts Folder.
Recommend setting up a new folder dedicated to store alerts for AI Tools (Blue Iris -> Clips and Archiving" ) then for the Camera select this folder in the Camera -> Record under JPEG Snapshots.
Do you have any examples of a before and after re-name to help determine what is re-naming the files?
Thanks. I made those changes, so we'll see how it goes now.
I would see a file go from Porch.20210128_065431.0.2.jpg to Porch.20210128_065431.0.2.592.jpg. This didn't always happen for every image, but when it did, the AI tool couldn't process it, and wouldn't show an image in the history tab.
 

Brendon06

Young grasshopper
Joined
Jan 20, 2019
Messages
33
Reaction score
16
Location
New Zealand
I cross checked the alert image against the video in Bi and the image was taken 12 seconds afer the vehicle was fully in frame.

The cooldown in aitool is zero, in BI it's 3s, but changing it to 4s didn't seem to impact it.
Sorry just wanna check, So you are only getting 1 image from bi on trigger and it is 12 sec late? the only thing I can think of is either make time in motion detection (how long motion has to go for before it will trigger) or a cross zone setting where it is crossing a zone just as it is going out of view. Is it just 1 camera or all cameras doing this? If it's just the 1 maybe you could try re adding it with fresh settings. Hope this was of some help I'm no expert
 

bat1939

n3wb
Joined
Sep 9, 2020
Messages
11
Reaction score
2
Location
United States
This maybe has already been asked but for those who are running Deepstack on Windows, are you using the Deepstack program or Docker version? Is there a performance difference between the two?
 

Village Guy

Pulling my weight
Joined
May 6, 2020
Messages
291
Reaction score
161
Location
UK
This maybe has already been asked but for those who are running Deepstack on Windows, are you using the Deepstack program or Docker version? Is there a performance difference between the two?
Docker is IMHO the best implementation for Windows. It has the advantage of being able to run newer Deepstack versions that have not released as a Windows app. Can't advise on performance as I never made a comparison.
 
Joined
Oct 22, 2015
Messages
29
Reaction score
9
Sorry just wanna check, So you are only getting 1 image from bi on trigger and it is 12 sec late? the only thing I can think of is either make time in motion detection (how long motion has to go for before it will trigger) or a cross zone setting where it is crossing a zone just as it is going out of view. Is it just 1 camera or all cameras doing this? If it's just the 1 maybe you could try re adding it with fresh settings. Hope this was of some help I'm no expert
It helped. I was able to get it working with this post but now alertsaren't working after upgrading to version 2.0627.7696. By the way, should URL result in "404 not found"
 

xjust

n3wb
Joined
Jan 19, 2021
Messages
22
Reaction score
3
Location
romania
Hi there,

Just installed this and seems to be running great
however when trying to setup "draw mask" for each camera , if i try to draw on the image, it resizes to about 1/4 of the original size and i dont know where to draw on the mask anymore.

anybody has this error?
i had blueiris resize the saved images from 1080p to 720p. but even after disabling that and clear all saved photos in aitool saved jpegs, it still doesnt work
 
Joined
Oct 22, 2015
Messages
29
Reaction score
9
If I manually trigger a camera in BI and it does successfully send me an email (as configured in the BI Alert tab) but when an actual alert is logged in BI Alerts but doesn't send me an email, what could be the problem? I'm using the most recent version of AITool and it does have the event logged in History, but under the Detection column it says "false alert"
 
Joined
Jan 21, 2021
Messages
3
Reaction score
1
Location
Somers CT
If I manually trigger a camera in BI and it does successfully send me an email (as configured in the BI Alert tab) but when an actual alert is logged in BI Alerts but doesn't send me an email, what could be the problem? I'm using the most recent version of AITool and it does have the event logged in History, but under the Detection column it says "false alert"
Is AI Tools set up to flag the alert? &flagalert=1 ? In my set up non flagged alerts don't cause BI On Alert actions like "send email" to fire off. False Alert would also mean it didnt match anything you have checked off for that camera in AI Tools.
 

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
274
Location
Sydney
If I manually trigger a camera in BI and it does successfully send me an email (as configured in the BI Alert tab) but when an actual alert is logged in BI Alerts but doesn't send me an email, what could be the problem? I'm using the most recent version of AITool and it does have the event logged in History, but under the Detection column it says "false alert"
Need to see your Alerts TAB but basically;

In BI -> Camera -> Alerts, you need to ensure the following;
In "Fire when": select "This camera is triggered"
You also need to select "Also re-triggers" (especially if you create JPEGS's on motion events)
Select: "Extern" in Trigger sources and zones (AI Tool fires of an API call via a URL these are EXTERNAL triggers.

If you are creating JPEGS on motion events, to avoid a loop of death, in Alerts ensure in Trigger Sources and Zones "Motion Zones" is DESELECTED.

To rule out AI Tool, always test BI by sending the Web request to BI in a web browser.
 

martyouel

n3wb
Joined
Jul 9, 2019
Messages
22
Reaction score
0
Location
test
Since I switched to trigger alert in BI from AI TOOL (so external alert), I realized that, in the BlueIris app on iphone, when we are on the "CAMERAS screen", the right column that shows the last ALERT do not report me the "real last alert".
It looks like the image is coming from the last alert that BI raised itself.
Is it possible to get the real last alert ? even if it coming from "external"?
 

suzukifd

n3wb
Joined
Mar 6, 2018
Messages
27
Reaction score
1
Updated Got this working . Using the beta of deepstack

Just got this setup. I am not running in docker. I have Deepstack,bi and AI tools by AITOOL-VORLONCD.
I am getting an error in AI tools when it sends an image to deepstack it looks like. I am running windows 10 Her are some updated logs


2021-02-02 21:19:51.355416|Info|AITOOLS.EXE|WaitForNextURL|127.0.0.1:80|driveway|None|---- Trying previously failed URL again after 30 seconds. (ErrCount=1, Setting 'MinSecondsBetweenFailedURLRetry'=30): 2021-02-02 21:19:51.355416|Debug|AITOOLS.EXE|ImageQueueLoop|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| Adding task for file 'driveway.20210202_211845251.jpg' (Image QueueTime='1.1' mins, URL Queue wait='29536ms', URLOrder=1 of 1, URLOriginalOrder=1) on URL '2021-02-02 21:19:51.355416|Debug|AITOOLS.EXE|DetectObjects|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| Starting analysis of C:\BlueIris\aiinput\driveway.20210202_211845251.jpg...|134|1||9
2021-02-02 21:19:51.369381|Debug|AITOOLS.EXE|IsValidImage|127.0.0.1:80|driveway|None| Image file is valid: driveway.20210202_211845251.jpg|135|2||11
2021-02-02 21:19:51.370381|Debug|AITOOLS.EXE|DetectObjects|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| (1/6) Uploading a 784552 byte image to DeepQuestAI Server at 2021-02-02 21:19:51.372379|Error|AITOOLS.EXE|DetectObjects|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. [IOException] Mod: <DetectObjects>d__31 Line:999:48|137|1||13
2021-02-02 21:19:51.373377|Debug|AITOOLS.EXE|DetectObjects|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| Total Time: 66114ms (Count=4, Min=2833ms, Max=66114ms, Avg=35749ms)|138|1||13
2021-02-02 21:19:51.373377|Debug|AITOOLS.EXE|DetectObjects|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| DeepStack (URL) Time: 1ms (Count=2, Min=1ms, Max=1ms, Avg=1ms)|139|1||13
2021-02-02 21:19:51.373377|Debug|AITOOLS.EXE|DetectObjects|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| File lock Time: 0ms (Count=1, Min=1ms, Max=1ms, Avg=1ms)|140|1||13
2021-02-02 21:19:51.373377|Debug|AITOOLS.EXE|DetectObjects|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| Image Queue Time: 66096ms (Count=4, Min=2775ms, Max=66096ms, Avg=35721ms)|141|1||13
2021-02-02 21:19:51.373377|Debug|AITOOLS.EXE|DetectObjects|127.0.0.1:80|driveway|driveway.20210202_211845251.jpg| Image Queue Depth: 2 (Count=16, Min=1, Max=15, Avg=8)|142|1||13
2021-02-02 21:19:51.373377|Info|AITOOLS.EXE|ImageQueueLoop|127.0.0.1:80|driveway|None|...Problem with AI URL: '' (URL ErrCount=2, max allowed of 5)|143|0||13

thanks
 
Last edited:

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
1,995
Reaction score
881
I'm currently running the version shown below. Is there a more recent build I can download somewhere? Thanks
Screen Shot 2021-02-02 at 11.12.42 PM.png
 

xjust

n3wb
Joined
Jan 19, 2021
Messages
22
Reaction score
3
Location
romania
how do we proceed if the camera is pointing towards a big glass door
im interested to detect only people inside the room
 

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
274
Location
Sydney
how do we proceed if the camera is pointing towards a big glass door
im interested to detect only people inside the room
Camera Placement is key and within AI Tool mask our the areas you don't want (Cameras -> Draw Mask -> Custom (highlight the areas to ignore)
Really need a sample pic, but I am assuming you don't want to detect people on the other side of the door and you can't move the camera and masking can't be used as it would also block detecting people in the room.

That's a tough one. I would again go back to moving the camera, frost the glass, really not sure what you expect AI Tool to be able to do in this instance.
Other than that perhaps consider a Philips HUE bridge with motion sensor, and fire off a PowerShell to trigger an External Trigger to BI to fire the camera when movement is detected in the room.
 

xjust

n3wb
Joined
Jan 19, 2021
Messages
22
Reaction score
3
Location
romania
there is no setting in aitool for limit of height of objects detected ?:)
i remember i tested another similar program that had ths feature
that would've solve the issue in my case
 
Top