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

Chris Dodge

Pulling my weight
Joined
Aug 9, 2019
Messages
90
Reaction score
114
Location
massachusetts
@satoshi - View the log from the date you first ran the VorlonCD mod and search for these lines - they will show where the old config file and cameras files are loaded from on first load (or if no cameras are configured)

"First time load, reading old config file"
"No cameras loaded in settings, trying to load old camera files from"

The old config file can sometimes be be buried under C:\Users\username\Appdata\Local\WindowsFormsApp2\user.config, but I dont think cameras would ever load from there. on first run, If we find both AITOOLS.EXE.CONFIG and a USER.CONFIG, we take the most recently modified one to import settings from. So it may not always be the one from the EXE folder.

Cancel payload is triggered when Deepstack did not find anything, or it was masked out
 

satoshi

n3wb
Joined
Oct 28, 2017
Messages
11
Reaction score
0
@satoshi - View the log from the date you first ran the VorlonCD mod and search for these lines - they will show where the old config file and cameras files are loaded from on first load (or if no cameras are configured)

"First time load, reading old config file"
"No cameras loaded in settings, trying to load old camera files from"

The old config file can sometimes be be buried under C:\Users\username\Appdata\Local\WindowsFormsApp2\user.config, but I dont think cameras would ever load from there. on first run, If we find both AITOOLS.EXE.CONFIG and a USER.CONFIG, we take the most recently modified one to import settings from. So it may not always be the one from the EXE folder.

Cancel payload is triggered when Deepstack did not find anything, or it was masked out
thanks. i deleted the log by accident earlier so i can't tell.

A couple of more unrelated questions:

1. Is there a way to send the MQTT messages with retain flag?
2. Somehow the history tab is only showing older events. But newer ones are processed succesfully - is there something that i need to enable?
 

Chris Dodge

Pulling my weight
Joined
Aug 9, 2019
Messages
90
Reaction score
114
Location
massachusetts
thanks. i deleted the log by accident earlier so i can't tell.

A couple of more unrelated questions:

1. Is there a way to send the MQTT messages with retain flag?
2. Somehow the history tab is only showing older events. But newer ones are processed succesfully - is there something that i need to enable?
1. In the next release in a day or two, close the app, edit aitool.settings.json in notepad and search for "action_mqtt_retain_message" and set to true for each camera you need.
2. History tab has been overhauled for the next release too. It should fix missing items, and will actually show you skipped images due to cooldown or other failure.
 

sbarmen

n3wb
Joined
Sep 28, 2020
Messages
1
Reaction score
0
Location
Norway
Hello, I am struggling with the windows service. I have tried to set it up multiple times but when the service is running I get no activity at all. There is nothing happening in the log file, no detections or anything. I have tried to set it up with local services account, an admin account plus more. When I run the tool interactively it works just fine. I am running it on a windows 10 pro installation. Is there a way to start the service with more logging? Maybe an option to pass to the service directly?

I am running version 1.67 preview 7.
 

norbertt

n3wb
Joined
Sep 29, 2020
Messages
2
Reaction score
0
Location
Budapest
Hi guys

I reciving too many times this error:

ERROR: Can't write to cameras/history.csv!

Where can i found the problem and how can i fix it?

Thank you
 

kalyway

n3wb
Joined
Aug 23, 2020
Messages
4
Reaction score
2
Location
USA
Your latest release is completely stable for me (v1.68.8.30182 built on 9/28/2020). You've added so many new features to this update as well. I am impressed. Thank you for adding so many great things!
 

Tinbum

Pulling my weight
Joined
Sep 5, 2017
Messages
446
Reaction score
126
Location
UK
Hi guys

I reciving too many times this error:

ERROR: Can't write to cameras/history.csv!

Where can i found the problem and how can i fix it?

Thank you
Would help if you list the version you are running.
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
1,995
Reaction score
881
Your latest release is completely stable for me (v1.68.8.30182 built on 9/28/2020). You've added so many new features to this update as well. I am impressed. Thank you for adding so many great things!
Do you have a link to this release? Thanks
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
1,995
Reaction score
881
@Chris Dodge Any idea why I'm getting numerous occurences of this in my log? Thanks!

> Warning: It took a long time to add a history item @ 55054ms
 

WildDoktor

Young grasshopper
Joined
Aug 25, 2020
Messages
76
Reaction score
11
Location
USA
I just started getting this after rebooting my pc:

Error: The Start in/current directory is NOT the same as where
the EXE is running from:
c:\windows\system32
c:\aitool-vorloncd\

Does this mean I need to put the aitool.exe file in the system32 folder?

Actually, here are the entries from the log file:

[29.09.2020, 19:36:37]: InitializeBackend>> Error: The Start in/current directory is NOT the same as where the EXE is running from:
C:\WINDOWS\system32
C:\AITOOL-VORLONCD\
[29.09.2020, 19:36:37]: InitializeBackend>> Error: Access to the path './cameras' is denied. [UnauthorizedAccessException] Mod: InitializeBackend() Line:163:21
[29.09.2020, 20:13:47]: Start>> Error: 5 python.exe processes did not fully start in 10086ms
 

WildDoktor

Young grasshopper
Joined
Aug 25, 2020
Messages
76
Reaction score
11
Location
USA
Hmm..might be a permissions error on the new PC; let me fix that first and reboot.
 

femin

n3wb
Joined
Jan 4, 2016
Messages
14
Reaction score
0
Your latest release is completely stable for me (v1.68.8.30182 built on 9/28/2020). You've added so many new features to this update as well. I am impressed. Thank you for adding so many great things!

where do you download the 1.68 version?
 

WildDoktor

Young grasshopper
Joined
Aug 25, 2020
Messages
76
Reaction score
11
Location
USA
Ok, maybe a stupid question, but...does the AI "learn"? I know if you set the automatic mask that it won't, for instance, alert on cars that are parked in the same spot for more than N amount of time (sorry I'm butchering that description!), but I've noticed the last few days that I'm no longer getting alerts when my American Flag waves (yay!)...actually, I see that sometimes the flag is recognized as a "tie". :) But more strangely, this morning on my way to work I walked past the camera and I didn't get an alert. I figured the AI Tool had crashed again. But then I just got an alert a few minutes ago; a person walking a dog passed by, and I got the alert.

So...is it learning "me", and not alerting on "me"?
 

IPDaily

n3wb
Joined
Feb 23, 2018
Messages
21
Reaction score
9
Location
Glasgow, UK
I recently moved over to the VorlonCD fork for the added features and the automated handling of deepstack and for the most part it is working well - thanks! I was getting an issue with the history.csv file not properly being refreshed overnight and getting errors around not being able to access it, but I've now upgraded to a newer build (1.67.8.25519) which I believe now uses a database file instead of the history.csv file, however that has now thrown up a new issue. Every now and then I get an error along the following lines:

[30.09.2020, 17:09:59]: InsertHistoryItem>> Warning: It took a long time to add a history item @ 944ms, (Count=221, Min=1ms, Max=992ms, Avg=26ms), StackDepth=22, TID=1, TCNT=23: C:\AITool\AITool.Database.SQLITE3

It doesn't seem to cause any particular issues in the long term, but it is quite annoying to get the several times a day - any ideas what would be causing it?
 

Village Guy

Pulling my weight
Joined
May 6, 2020
Messages
291
Reaction score
161
Location
UK
Ok, maybe a stupid question, but...does the AI "learn"? I know if you set the automatic mask that it won't, for instance, alert on cars that are parked in the same spot for more than N amount of time (sorry I'm butchering that description!), but I've noticed the last few days that I'm no longer getting alerts when my American Flag waves (yay!)...actually, I see that sometimes the flag is recognized as a "tie". :) But more strangely, this morning on my way to work I walked past the camera and I didn't get an alert. I figured the AI Tool had crashed again. But then I just got an alert a few minutes ago; a person walking a dog passed by, and I got the alert.

So...is it learning "me", and not alerting on "me"?
The simple answer is no, it's not quite that clever yet but in time with face recognition coming along who knows. Perhaps you need to increase sensitivity or set your camera to SIMPLE detection mode. I have all my cameras set to simple mode after finding that walking towards or away from the camera at certain angle did not cause a trigger. I did notify my findings to Ken at BI but never got a response, I found the issue quite strange and was able to repeat the anomaly 95% of the time.
 

WildDoktor

Young grasshopper
Joined
Aug 25, 2020
Messages
76
Reaction score
11
Location
USA
The simple answer is no, it's not quite that clever yet but in time with face recognition coming along who knows. Perhaps you need to increase sensitivity or set your camera to SIMPLE detection mode. I have all my cameras set to simple mode after finding that walking towards or away from the camera at certain angle did not cause a trigger.
I have my camera set to Simple detection mode already, but what sensitivity setting are you referring to?
 

Village Guy

Pulling my weight
Joined
May 6, 2020
Messages
291
Reaction score
161
Location
UK
I have my camera set to Simple detection mode already, but what sensitivity setting are you referring to?
Under trigger you have two sliders that set sensitivity by changing item detection size etc. Moving them left will increase overall sentivity, you could also reduce the trigger period. I have mine set for 0.5 seconds.
 

WildDoktor

Young grasshopper
Joined
Aug 25, 2020
Messages
76
Reaction score
11
Location
USA
Under trigger you have two sliders that set sensitivity by changing item detection size etc. Moving them left will increase overall sentivity, you could also reduce the trigger period. I have mine set for 0.5 seconds.
Oh, right...yeah, I have both of those set to almost "full left", and have for a while. 0.5 sec as well.
 

Village Guy

Pulling my weight
Joined
May 6, 2020
Messages
291
Reaction score
161
Location
UK
Oh, right...yeah, I have both of those set to almost "full left", and have for a while. 0.5 sec as well.
Assuming you are running the latest v1.77 version that incorporporates intelligent masking, perhaps a mask has been set up that is now masking real areas of activity!
 
Top