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

TRAVMO.

n3wb
Joined
Mar 5, 2020
Messages
5
Reaction score
7
Location
Sacramento
Is this AITOOLS built-in to BI or a completely new implementation?
I started experimenting with it last night and while it is nice to have direct integration, its still limited compared to AI Tools. Its the first release, so i'm hopeful we'll see more features/refinements over time, but its a great start. Finally something that doesn't add another subscription, yet brings value.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,428
Reaction score
47,544
Location
USA
Keep in mind that AI Tools and many of these other AI platforms are based off of the Deepstack engine.

Right now BI only brings us Deepstack implementation. In time it may bring over AI Tools or another one, or BI may create their own set of tools to run native to BI, or it may say this is sufficient for the majority of the users...
 

Eastwood

n3wb
Joined
Mar 14, 2018
Messages
21
Reaction score
0
I started experimenting with it last night and while it is nice to have direct integration, its still limited compared to AI Tools. Its the first release, so i'm hopeful we'll see more features/refinements over time, but its a great start. Finally something that doesn't add another subscription, yet brings value.
Working on reading this thread.. what are the big things AI Tools does that BI's implementation doesn't? Is it possible to have it ignore my cars??
 

jz3082

Young grasshopper
Joined
Dec 13, 2019
Messages
78
Reaction score
22
Location
Oklahoma, US
Working on reading this thread.. what are the big things AI Tools does that BI's implementation doesn't? Is it possible to have it ignore my cars??
AiTools offers these main features.

Options for the program to dynamically mask out cars once parked until moved.

You can create a static mask for an area to ignore certain objects. Both types of masks have scheduling capabilities.

You can set detection thresholds for each object type.

MQTT topic and payload customization.

Thresholds can be different for for each type of alert. Detection thresholds can also be schedule based.

Can use other AI analysis services other than DeepStack or in combination with DeepStack.
 

OgRoar

Getting the hang of it
Joined
Apr 1, 2021
Messages
31
Reaction score
32
Location
US
Hello!

Very happy to have this resource. I've been working on it for a few days and can't seem to get past this point. Seems Python is giving an error at startup. I can't find that file it's looking for either. Did I miss a setup step for Python?

Thank you

Debug: DeepStack>> Init: File "../init.py", line 9, in <module>
DeepStack>> C:\DeepStack\interpreter\python.exe: can't open file '../intelligence.py': [Errno 2] No such file or directory
 
Joined
Jun 7, 2019
Messages
3
Reaction score
0
Location
USA
I'm sorry you seldomly hear things from my end and thankfull VorlonCD is doing such a great job! Today, I got myself a Jetson Nano running too and I'm sharing the install process to help everyone who hasn't yet become friends with linux terminal entirely ;).

Guide to set up Deepstack on the Nvidia Jetson Nano 2GB
Thanks for the tutorial! I was able to set it up using your instructions. I'm using the 4GB Jetson and it took 10 seconds for the first analysis and 700 to 800 ms for the rest. Are you also getting similar speeds?
 
Joined
Apr 2, 2021
Messages
1
Reaction score
0
Location
south africa
Hello!

Very happy to have this resource. I've been working on it for a few days and can't seem to get past this point. Seems Python is giving an error at startup. I can't find that file it's looking for either. Did I miss a setup step for Python?

Thank you

Debug: DeepStack>> Init: File "../init.py", line 9, in <module>
DeepStack>> C:\DeepStack\interpreter\python.exe: can't open file '../intelligence.py': [Errno 2] No such file or directory
Im having the exact same problem, so please let me know if you have figured it out.
 
Joined
Sep 21, 2020
Messages
12
Reaction score
11
Location
UK
I'm sorry you seldomly hear things from my end and thankfull VorlonCD is doing such a great job! Today, I got myself a Jetson Nano running too and I'm sharing the install process to help everyone who hasn't yet become friends with linux terminal entirely ;).

Guide to set up Deepstack on the Nvidia Jetson Nano 2GB

1. Getting Started with Jetson Nano 2GB Developer Kit
2. Getting Started with Jetson Nano 2GB Developer Kit
-> install in headless mode
Thank for this excellent guide to setting up the Jetson Nano. I purchased one to take some of the load off my BI server PC but it works so well that I have removed deepstack from my BI server completely! I have 15 cameras of mixed makes most of which are 1080. JPG quality for AITool is set to 90%. Typically I'm getting deepstack timings of 400ms in "high" mode. (It's connected via ethernet)

Hopefully, the inclusion of currently limited support in BI for deepstack won't put VorlonCD off further development. Having the ability to tailor our setups with the huge variety of options and settings will never be included in an program like BI and if it was it would probably be an extra subscription!

Thank you GentlePumpkin and VorlonCD for a brilliant program.
 

cryppie

n3wb
Joined
Nov 12, 2017
Messages
6
Reaction score
1
Hello!

Very happy to have this resource. I've been working on it for a few days and can't seem to get past this point. Seems Python is giving an error at startup. I can't find that file it's looking for either. Did I miss a setup step for Python?

Thank you

Debug: DeepStack>> Init: File "../init.py", line 9, in <module>
DeepStack>> C:\DeepStack\interpreter\python.exe: can't open file '../intelligence.py': [Errno 2] No such file or directory
Im having the exact same problem, so please let me know if you have figured it out.
I have the same problem. For a workaround you can run DeepStack prior to opening AITool.

deepstack.exe --VISION-SCENE=False --VISION-DETECTION=True --VISION-FACE=False --PORT 81
 

OgRoar

Getting the hang of it
Joined
Apr 1, 2021
Messages
31
Reaction score
32
Location
US
I ended up fixing the python error by delete the file sin this cache folder. I did on a whim. Seemed like my error message was pulling from a dead/corrupt DB.

I cleared the files that were inside: C:\DeepStack\windows_packages\pycache
 

paxy455

n3wb
Joined
Apr 9, 2021
Messages
1
Reaction score
0
Location
at
hi, I am using the AiTool for a long time now,
but after update with version AITool-VorlonCD-v2.0.1014
the Trigger URLs in Actions do not work correct anymore,
if you enter multiple URLs - sometimes only one, sometimes none trigger.
Can you please check this?
 

ri3eboi

n3wb
Joined
Feb 20, 2018
Messages
6
Reaction score
0
First of all, this is a great initiative, I just found out about it and had to set my BI up to do this, and after a few hours of reconfiguration, things are working great, the people/auto detection is so much better now.

My setup:
BI version 4 with 8x outdoor IP camera running on Windows Server
Docker DeepStackAI running on my Synology NAS
Vorlon-2.0.1068 running on Windows Server

I have a logging issue in AI Tool (Vorlon-2.0.1068) where I constantly get the following error, once every couple of seconds, everything is working fine otherwise. I am not sure why AI Tool constantly tries to set Registry.
Insufficient system resources exist to complete the requested service.; [IOException] (In Global.SaveRegSetting(String name, Object value, String SubKey):1715 > Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind) > Win32.RegistryKey.Win32Error(Int32 errorCode, String str))
 

Senor Pibb

Getting the hang of it
Joined
May 22, 2020
Messages
77
Reaction score
36
Location
Greer, SC
hi, I am using the AiTool for a long time now,
but after update with version AITool-VorlonCD-v2.0.1014
the Trigger URLs in Actions do not work correct anymore,
if you enter multiple URLs - sometimes only one, sometimes none trigger.
Can you please check this?
i am had the same issue with v2.0.1015 It would send alerts through Telegram, but BI would not alert sometimes. Other times it would. I went back to 2.0.527.7681 built on 1/11/2021 and i think it is working again. I think it was my settings after upgrade, but not sure.
 

wudwork

n3wb
Joined
Feb 15, 2018
Messages
11
Reaction score
0
I had similar woes then learned the URL was pointing to wrong IP address. I checked the variables and found the BlueIrisURL was for my NIC that was only inside camera subnet. In BlueIris, Settings > Web Server, internal, I changed the IP to NIC that was visible to AiTools and that got the alerts working as AiTools could now find BI.
 

chris.h

n3wb
Joined
Mar 2, 2021
Messages
7
Reaction score
1
Location
australia
Im trying to upgrade my notifications from home assistant, the issue being cropped images in the notification.
standard processed image is 640x480 (sent from AItool via MQTT to HA), the notification on my phone is 640x240 i think.. if the detection is right at the top or right down the bottom i cant see it..

So to try and mitigate this ive setup 2 camera proxies for each camera where there is a high or low crop and using a template based on the position of the detection I decide which proxy to send on the notification, its a very ugly setup

Is there a simpler way to achieve this? or would it be possible to have an option to set the MQTT image size and have the detection centred on the image?
 

GatVlieg

n3wb
Joined
Feb 24, 2017
Messages
8
Reaction score
2
Location
Isla de Muerte
From appearances, and as a long time lurker, this topic/thread has slowed down drastically since BI has added native Deepstack support. Personally I have not looked into the native support capabilities as BI runs on 1 system and the AI / Deepstack on another etc.

Is continued development of the AI Tool being planned in light of the above?
 
Top