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

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!
 
  • Like
Reactions: 105437 and Tinbum
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
 
  • Like
Reactions: iGagy
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
 
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?
 
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"?
 
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?
 
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.
 
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?
 
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.
 
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.
 
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!
 
Here is the latest release of the VorlonCD mod. (@sbarmen @norbertt try this for your issues - make sure and backup your AITOOLS folder first)


  • Dynamic Mask settings now has an advanced option screen for dealing with distant objects better. You should not need as many static masks for small detected objects. Other updates and enhancements for masking. (Thanks @classObject !)
  • The database is now an SQLite database. The cameras folder is no longer used at all
  • New history list with icons, better/faster filtering, sorting columns, etc.
  • ALL failed images due to cooldown or retry failure will be logged in the history list and you can filter by them. (There should be far fewer missed now)
  • New status bar with stats and progress bar for long operation (like when you first start and it does a clean of the database)
  • New Errors dialog so you dont have to look through 1000 log lines to quickly see all the errors.
  • Fewer errors, better stability, UI more responsive
  • Better support for running as a service. If you open the GUI it will now update the history list, but still will NOT show log entries from the service. And you have to close the service before making settings changes.
  • Cooldown now works as expected
  • Telegram now works as expected
  • High DPI support (Requires .net framework 4.7 which most computers should have installed already)
  • MQTT retain setting - Open aitool.settings.json in notepad and search for "action_mqtt_retain_message" and set to true for each camera you need. (@satoshi )
  • No start in error when running on startup (it just changes to the right folder) (@WildDoktor )
  • Fixed 'Warning: It took a long time to add a history item' - this was due to reading and writing to the db far too often (@IPDaily )
Before unzipping the file, make sure to Right-click > Properties > UNBLOCK!