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

astroshare

Getting the hang of it
Joined
Dec 18, 2020
Messages
76
Reaction score
41
Location
Florida Panhandle
I got one flagged alert this morning and then they stopped, even though I can see in AI TOOL that it has positive detections. Is something wrong with my setup in AI TOOL?

View attachment 78952

EDIT: I've rolled back to 5.3.7.5 and will report back if it's working again
Seems to be flagging correctly, but the clip shows 0 seconds

Capture1.PNG
 

seth-feinberg

Young grasshopper
Joined
Aug 28, 2020
Messages
87
Reaction score
15
Cloning a camera is just adding a new camera and choosing the copy from existing camera option. If the clone has identical streams to the original, it doesn't use extra bandwidth or resources. You then would modify the trigger section of the clone, identical to Rob's method, but chosing never record and only using it to take snapshots.
Ahhh ty! I think it finally clicked. So, since it has to be the same resolution to be a clone, were people adding the low res substream to the main camera, and THEN cloning in BI to record 24/7 and take snapshots? The answer to this question actually leads me to the next part of your followup post:

Deepstack uses less CPU time and processes a lot quicker with the smaller images compared to the time Blue Iris uses to resize the image.
Big time saving if you can send Deepstack the resized image and it works out okay for your situation
Would it then make sense to turn the substream of my camera (like IN the cameras settings, e.g. Amcrest) into a 720p stream (it's SD right now) and enact the method above (but without 24/7 recording)? That way BI isn't converting anything, and AI/DS isn't being fed a JPEG greater than 720p and I can record 4k on confirmed alerts still?

In any event, thanks so much for everything. I'm still (very slowly) plowing through this thread, I'm at like 70/150 and i'd say the last 3 pages worth of info is worth 10-15 pages in the 60s/70s....
 

MrPie

n3wb
Joined
Oct 6, 2020
Messages
11
Reaction score
0
Location
chile
Hello, this program have been doing well for me. But after some time I started getting this errors on the log file:

Camera has no mask, the object is OUTSIDE of the masked area.
System.Threading.Tasks.TaskCanceledException | A task was canceled. (code: -2146233029 )

This always occurs after checking the object is outside the masked area.
I've read a lot about this error but wasn't able to find a solution.

Is anyone else getting this error?
It's curious that I used this program for about 2-3 months without getting this error, not even once, but after some time I started getting it quite often.
Hopefully someone here can help me with this issue.

Thanks!
 

seth-feinberg

Young grasshopper
Joined
Aug 28, 2020
Messages
87
Reaction score
15
An awful lot has changed with AITool and Deepstack since the first pages.:)
I'm getting better at skipping over tech support posts to find the info nuggets!

Edit: OOO chris dodge just showed up, I'm at The Two Towers section of the saga!
 
Last edited:
Joined
Jan 22, 2018
Messages
25
Reaction score
14
Anyone trying the DOODS object AI with the latest version of AI Tools? I'd like to compare it to Deepstack and AWS Rekognition. I have it installed in Docker on my QNAP but I haven't been able to get it running just yet. Thanks
I fired up an instance of DOODS in Docker and oh boy did it give me a whole lot of false positives. Way more 'people' in an image than there were. I'll give it some more images later today or tomorrow and see if I can tweak it at all.
 
Last edited:

Nico777

n3wb
Joined
Nov 14, 2020
Messages
1
Reaction score
0
Location
USA
Thanks @Chris Dodge, I can't seem to find a way to set the environment variable so that is enabled when it starts on the QNAP in the Docker container. Maybe someone else knows how to do that. Yes, I turned off the Windows version just to make sure it was only trying to go to the QNAP. Thanks
If you're still struggling with this, I found that I received the same error when I had VISION-DETECTION set to TRUE instead of True. For some reason having it in all caps made it not work for me.
Hope you get it working!
 

Sireone

Young grasshopper
Joined
Jul 29, 2016
Messages
32
Reaction score
5
Is it possible to have BlueIris send email alerts with AI Tool image attachments? I know AI Tool can send to Telegram, but currently don't see an option to email alerts.
 

kosh42efg

n3wb
Joined
Aug 14, 2020
Messages
29
Reaction score
13
Is it possible to have BlueIris send email alerts with AI Tool image attachments? I know AI Tool can send to Telegram, but currently don't see an option to email alerts.
I'd say that's a bit too deep as you'd need SMTP authentication details, etc. If I wanted that info likely look to MQTT and Node Red.
 

Vettester

Getting comfortable
Joined
Feb 5, 2017
Messages
740
Reaction score
693
Is it possible to have BlueIris send email alerts with AI Tool image attachments? I know AI Tool can send to Telegram, but currently don't see an option to email alerts.
You can do this within BI. I have it to setup to send to PushOver, but they can also be sent directly to an email account.

File_000 (1).png
 

JL-F1

Getting the hang of it
Joined
Jun 12, 2020
Messages
118
Reaction score
71
Location
USA
When using the old school clone camera method, what is the purpose of the continuous low res stream recording?
 

manstess

n3wb
Joined
Jan 6, 2021
Messages
2
Reaction score
0
Location
UK
I have a cam set up on its side to view a narrow passage so doesnt make sense to have it horizontally. deepstack doesnt seem to be able to recognise people if image is not oriented correctly ie if its on its side. There is no way in my cam setting to rotate only flip/mirror. If I use the rotate function in BI then when it captures jpg on motion to send to AITools the image is all distorted as the resolution is wrong. eg. I have it set to capture 640x480 but it could do with actually being 480x640 if you get me? The result of the distorted image is then lower success rate of detection with deepstack. I need it to record in portrait and also capture jpg correctly in portrait for it to work! Any help appreciated!
 

MrPie

n3wb
Joined
Oct 6, 2020
Messages
11
Reaction score
0
Location
chile
Hey guys, so I'm the only one having the System.Threading.Tasks.TaskCanceledException error after recognizing the object is outside the masked area?
It doesn't occur all the time but very often.

Camera has no mask, the object is OUTSIDE of the masked area.
System.Threading.Tasks.TaskCanceledException | A task was canceled. (code: -2146233029 )
 

steveaware

n3wb
Joined
Jan 6, 2021
Messages
1
Reaction score
0
Location
Switzerland
Hi everybody

I'm new here and just got BI to run yesterday. Now I wanted to install DeepQuestAI but their SingUp and SignIn pages are gone. Are they still "alive"?

Thanks in advance
 

kosh42efg

n3wb
Joined
Aug 14, 2020
Messages
29
Reaction score
13
Hi everybody

I'm new here and just got BI to run yesterday. Now I wanted to install DeepQuestAI but their SingUp and SignIn pages are gone. Are they still "alive"?

Thanks in advance
Very much so, but making the move to becoming open source. VorlonCD's fork of the original AI Tool is the one most of us use.
 

Sireone

Young grasshopper
Joined
Jul 29, 2016
Messages
32
Reaction score
5
You can have AI TOOL send you the image to your Telegram app. Don't think BI can do it.
Got it!!! You CAN have BI send the image. Using AI Tools 2.0, if I enable Merge Annotations Into Images and set the trigger URL with the &jpeg=[ImagePathEscaped] appended, it copies the updated images to the BI Alerts folder. No need to enable 'Copy alert images to folder' in AI Tools either. This image is then used by BI to send via the Alerts setting (which only has Extern selected). This can be Email, SMS FTP etc.

I did however noticed that this does not work 100% of the time and I would an alert email with no annotations. When I checked the Alerts folder, all the images have annotations, so this might be something buggy with BI itself, but it does seem to work!

<user>&pw=<password>&flagalert=1&memo=[summary]&jpeg=[ImagePathEscaped]

Snap109.jpg
 

Sireone

Young grasshopper
Joined
Jul 29, 2016
Messages
32
Reaction score
5
Another option I got working is to use the 'Run external program' option and use a third party SMTP mailer called sendEmail.exe. This actually allows you to use the AI Tools variables in the email body.

E:\Support\Blueiris\sendEmail.exe -f blueiris@somedomain.com -t me@somedomain.com -u "Blue Iris Alert - [camera]" -m "Motion detected on camera: [camera], [SummaryNonEscaped]" -o message-content-type=html -a [ImagePath] -s smtp.somedomain.com.
 
Top