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

Feature Suggestion: This brilliant tool has made an incredible difference to my CCTV system. I started on the GentlePumpkin version and now I'm on the @Chris Dodge version. I have a complex setup of 15 cameras for various functions. It would be even better if there was an override option per camera of the Telegram Chat ID/Token. For example besides telegram messages for security when I'm not home I also send messages 24/7 for "person detections" at the rear of my property, others for people coming down my drive - a sort of advance doorbell and messages that cover cat/bird detections near the fish pond. Currently, these all come to the same telegram bot so have the same notification sound. If would be better if I had different bots set up for each type and could set different notifications. If I've missed something and there is already a way to achieve this then please let me know.
 
Feature suggestion: Add some kind of zoning in the AI tool.

Use case: I want detections for people walking past, but I would also want an additional event (via mqtt or some such) when that person walks into my driveway.

I think I may be able to set this up as a second camera in BI and achieve the same thing, but this would be much less clunky.
 
Hey folks, can you log feature suggestions and bugs for the VorlonCD mod up here? a bit easier than dealing with an 88 page monster :)


Try to include as much detail as you can and log entries if needed. make sure to remove any usernames/passwords from the log.
 
So the other day I thought the AI Tool program was running but come to find out it wasnt. Is anyone doing any kind of alerting or script to check if the program is running?
 
I've checked Task Manager and don't see another instance running. What should I do? Thanks!

[09:57:02.926]: RefreshInfo> Deepstack Desktop install path found in Uninstall registry: C:\DeepStack
[09:57:02.927]: GetDeepStackRun> DeepStack Desktop IS running from C:\DeepStack\server\server.exe
[09:57:02.927]: UpdateWatchers> * Another instance is already running, skip watching for changed files *
[09:57:02.947]: LoadFromCSVAsync> Loading history list from cameras/history.csv ...
[09:57:02.961]: Constructor> APP START complete.
[09:57:02.963]: GetDeepStackRun> DeepStack Desktop IS running from C:\DeepStack\server\server.exe
[09:57:02.971]: LoadFromCSVAsync> ...Loaded list in 22ms, 0 lines.
 
I've checked Task Manager and don't see another instance running. What should I do? Thanks!

[09:57:02.926]: RefreshInfo> Deepstack Desktop install path found in Uninstall registry: C:\DeepStack
[09:57:02.927]: GetDeepStackRun> DeepStack Desktop IS running from C:\DeepStack\server\server.exe
[09:57:02.927]: UpdateWatchers> * Another instance is already running, skip watching for changed files *
[09:57:02.947]: LoadFromCSVAsync> Loading history list from cameras/history.csv ...
[09:57:02.961]: Constructor> APP START complete.
[09:57:02.963]: GetDeepStackRun> DeepStack Desktop IS running from C:\DeepStack\server\server.exe
[09:57:02.971]: LoadFromCSVAsync> ...Loaded list in 22ms, 0 lines.

AI Tools isn't working at all to read/analyze images from alerts. Based on what the log says above, what do you think? Thanks!
 
AI Tools isn't working at all to read/analyze images from alerts. Based on what the log says above, what do you think? Thanks!

Upon startup of the app it checks to see if aitool.exe is already running in the background. Thats the only time it checks, so if the other instances closes you have to close/reopen the app for it to know about it.

Otherwise in some versions of windows, the task manager DETAILS tab may have a "Show all processes" button that needs to be checked. It likely wont work correctly unless you have admin rights on the machine.
 
Upon startup of the app it checks to see if aitool.exe is already running in the background. Thats the only time it checks, so if the other instances closes you have to close/reopen the app for it to know about it.

Otherwise in some versions of windows, the task manager DETAILS tab may have a "Show all processes" button that needs to be checked. It likely wont work correctly unless you have admin rights on the machine.
It's strange, I quit AI Tools and then check Task Manager showing all processes and it's not listed. Launch AI Tools and get the same thing.
 
Reboot. If still an issue, download Process Monitor > right click > run as administrator > Find menu > search for aitool.
Perhaps you have an old service for aitool.exe configured you forgot about?
 
  • Like
Reactions: 105437
Reboot. If still an issue, download Process Monitor > right click > run as administrator > Find menu > search for aitool.
Perhaps you have an old service for aitool.exe configured you forgot about?
That was it. Process Explorer found it was running. It launches now. I now have it analyzing images from 3 cameras. Reviewing the history shows it's identifying objects.

Next up, I need to figure out how to best manage the number of JPGs that get created. Ultimately, I have 10 cameras that I'd like to run this on and I can see exceeding the limit rather easily. I changed the max to 999 but I believe I can improve upon the trigger settings in BI. Right now, I have the AI cameras set to create a JPG every 6 seconds when triggered. Is that too many?

Also, I created cloned cameras to handle AI detection and when detected, AI Tools is triggering those same cameras to record a video. Is that a good practice? Perhaps not since I'd get two videos for each trigger on that camera. Thanks again!
 
Last edited:
freshly configured set up, getting a lot of 'error: could not access image' and no luck searching this thread on a possible fix. i increased the size of the folder the images are stored in and that seemed to help short term. i'm still receiving the images via telegram....mostly.
 
freshly configured set up, getting a lot of 'error: could not access image' and no luck searching this thread on a possible fix. i increased the size of the folder the images are stored in and that seemed to help short term. i'm still receiving the images via telegram....mostly.
My mod of this tool should fix that error. Backup your current folder, Right-click the ZIP file > UNBLOCK, then overwrite the existing AI TOOLS folder with the contents of the zip
 
  • Like
Reactions: Tinbum
@Chris Dodge I have everything running well now with the VorlonCD fork. I love this! I ran across a previous post that mentioned a beta release of Deepstack that is supposed to do a better job. Just curious, what version of Deepstack should I be running on Windows 10? Appreciate it.
 
@Chris Dodge I have everything running well now with the VorlonCD fork. I love this! I ran across a previous post that mentioned a beta release of Deepstack that is supposed to do a better job. Just curious, what version of Deepstack should I be running on Windows 10? Appreciate it.

I run the beta and it finds people in all sorts of places, much much more than the original version. Some I can see why but the majority I can't (excepting genuine people). Its confidence always seems to be 90% + personally I think it needs a bit more work on it.
 
  • Like
Reactions: 105437
I run the beta and it finds people in all sorts of places, much much more than the original version. Some I can see why but the majority I can't (excepting genuine people). Its confidence always seems to be 90% + personally I think it needs a bit more work on it.
The version I'm running is from May 2019. Is that the best one to use in your opinion?
 
The version I'm running is from May 2019. Is that the best one to use in your opinion?
Its difficult to say. Depends if you'd rather miss people or have too many false alerts. The dynamic mask facility will of course filter them out eventually. Lighting conditions do change the occurrence a lot as well though.
 
  • Like
Reactions: 105437
Is there a way to save/export the image to a local file or post via http/rest as a trigger URL? instead of sending images to telegram i want to send them to a local directory. thanks
 
@Chris Dodge Today I've noticed multiple events where it shows in the History as no object detected, no green check mark. Here's one of them. Any idea what may be going on? Thanks

[25.09.2020, 12:04:33.272]: DetectObjects> 127.0.0.1:81 - Starting analysis of S:\BI_AI\Driveway_AI.20200925_120431927.jpg...
[25.09.2020, 12:04:33.276]: DetectObjects> 127.0.0.1:81 - (1/6) Uploading a 341570 byte image to DeepQuestAI Server at [25.09.2020, 12:04:34.395]: DetectObjects> 127.0.0.1:81 - (2/6) Posted in 1119ms, Received a 118 byte response.
[25.09.2020, 12:04:34.402]: DetectObjects> 127.0.0.1:81 - (3/6) Processing results...
[25.09.2020, 12:04:34.407]: DetectObjects> 127.0.0.1:81 - Detected objects: Car (96.31%),
[25.09.2020, 12:04:34.409]: DetectObjects> 127.0.0.1:81 - (4/6) Checking if detected object is relevant and within confidence limits:
[25.09.2020, 12:04:34.410]: Outsidemask> ->Camera has no mask, the object is OUTSIDE of the masked area.
[25.09.2020, 12:04:34.411]: DetectObjects> 127.0.0.1:81 - Car (96.31%) confirmed.
[25.09.2020, 12:04:34.414]: DetectObjects> 127.0.0.1:81 - The summary:Car (96.31%)
 

Attachments

  • Screen Shot 2020-09-25 at 2.23.31 PM.png
    Screen Shot 2020-09-25 at 2.23.31 PM.png
    750.7 KB · Views: 61