[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
Try removing the trigger part so that it looks like this:

Code:
http://192.168.5.15:8181/admin?camera=backyard1&user=aiuser&pw=password&flagalert=3&memo=[detection]&flagclip
Yup, that did it. Thanks!
 

balucanb

Getting the hang of it
Joined
Sep 19, 2020
Messages
146
Reaction score
23
Location
TX
Yup, that did it. Thanks!
Sorry for the stupid question but the IP/port in your trigger is pointing to what? is that you BI box or deepstack? I use [BlueIrisURL] in my trigger is why I am asking.
 
Joined
Jan 27, 2019
Messages
9
Reaction score
24
Location
Virginia
Please pardon my ignorance. I haven't looked through the entirety of the thread, but the last 50 pages or so. I've gotten everything setup with the latest release of the forked AI tool. Now I'm just wrapping my brain around how best to process images without too many alerts.

Going to use my driveway as an example and see if I've got this right. I'm using the single camera method, and record 24/7.

So if I'm correct I should:
1. Still use blue iris motion zones and masking to filer out unwanted motion tigger's. For example, cars coming down the road.

2. In AI tools, I should use dynamic masking so it doesn't flag my cars in the driveway when a motion trigger does occur. (I think that's what dynamic masking is for???? Stuff that's always there.)

3. Additionally, I should set a static mask in AI to prevent any AI detection at the road level. I've also set my minimum to 30% positive to filter out junk.

4. Then use AI for my notifications.

Sound about right?
 

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
274
Location
Sydney
Hi Tinbum, thanks for this I can confirm this version is working and I did not detect any malicious activity. (For others doesn't mean this is safe)
As it's not the version referenced in the Official Manual or Doco, do you have any background on where this version came from?

I do note a bug, where Mode = Low performs better than omitting the mode or putting Mode = High, other than that the Windows GPU performance is good.
I am using an old GTX 745 with no display connected (although this overclocks very high, just running stock) ~66ms to process 180x720 resolution images, compared to 300ms with an i7-6700.

Using on-board graphics for the display, to avoid conflicting with BI QuickSync.
 

cjowers

Getting the hang of it
Joined
Jan 28, 2020
Messages
107
Reaction score
36
Location
AUS
a bug, where Mode = Low performs better than omitting the mode or putting Mode = High
by perform better, do you mean it has a faster response time?

omitting the mode likely defaults to the medium accuracy setting. I think 'low' (accuracy) should be fastest, followed by default, and then high (accuracy).
 

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
274
Location
Sydney
by perform better, do you mean it has a faster response time?

omitting the mode likely defaults to the medium accuracy setting. I think 'low' (accuracy) should be fastest, followed by default, and then high (accuracy).
Yes, by better I meant faster.
Thankyou for clarifying what mode meant, I incorrectly believed it was performance not accuracy.

GPU bursts to 2% usage, so will try your multi-deepstack instance suggestion.
 

Tinbum

Pulling my weight
Joined
Sep 5, 2017
Messages
446
Reaction score
126
Location
UK
As it's not the version referenced in the Official Manual or Doco, do you have any background on where this version came from?

I do note a bug, where Mode = Low
It's official Deepstack, that's not a bug it will be faster in low.
 
Last edited:

pbc

Getting comfortable
Joined
Jul 11, 2014
Messages
1,024
Reaction score
156
Still having major issues on the person identification side. Constantly missing things as obvious as this.
1610372029275.png
1610372048800.png1610372085636.png



Cool down period was not an issue (it picked up the person walking up on my driveway camera, but clicked only 2 pics in 4 minutes for this food delivery guy, and both times picked up the potted plants only.

Also the driveway cam while it caught the person walking from his car towards my door, didn't capture him when he left the door and went back to his car a few minutes later, I assume that's more of a BI settings issue, though not sure why it captures the person on the way in but not the way out?
 

JL-F1

Getting the hang of it
Joined
Jun 12, 2020
Messages
115
Reaction score
71
Location
USA
When using the latest VorlonCD / bi-aidetection

In the log sometimes I see:

"Could not trigger URL xx.xx.xx.xx"

It looks like this only happens when it is already triggered. Am I correct in assuming it will throw this error while it is already triggered or should I look further into what is happening in my system?
 

balucanb

Getting the hang of it
Joined
Sep 19, 2020
Messages
146
Reaction score
23
Location
TX
Anyone that is running the 2020.12 beta of deepstack, any clue what this is causing the below error? this is what is coming of in the stderr.txt file ( I am running the CPU version)

Here is the error:
Process Process-1:
Traceback (most recent call last):
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\process.py", line 297, in _bootstrap
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\process.py", line 99, in run
File "C:\DeepStack\intelligencelayer\shared\detection.py", line 138, in objectdetection
os.remove(img_path)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\baluc\\AppData\\Local\\Temp\\DeepStack\\f28c9002-abb6-4e2e-a531-e7aa45b48e81'
 

cjowers

Getting the hang of it
Joined
Jan 28, 2020
Messages
107
Reaction score
36
Location
AUS
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\baluc\\AppData\\Local\\Temp\\DeepStack\\f28c9002-abb6-4e2e-a531-e7aa45b48e81'
that looks like the deepstack server api key file.
edit- on 2nd thought, maybe that's just a standard windows temp filename format... i got no idea

is the file there? permission / access issue maybe? are you running everything as admin?
does it run at all?
 
Last edited:

Quru

n3wb
Joined
Jan 11, 2021
Messages
2
Reaction score
0
Location
EE
Hi, I just installed Blue Iris version 5.3.7.12 (demo mode) and I am trying to configure this. AI Tool won't recognize DeepStack. I have tried to manually run it in powershell and start it from the "DeepStack" tab in AI Tool. DeepStack version: DeepStack-Installer-CPU.2021.01.beta.exe.

OnGuard works, it recognizes DeepStack started from powershell and the DeepStack web page is also running. I have tried restarting the computer. Server.exe, python.exe or redis-server.exe are not running when I start DeepStack. I can't install it in docker because I need to enable Hyper-V in bios and I can't access the computer right now.

1610454283588.png

We don't need the DeepStack signup (api key) anymore and the beta version is their main download link in docs Using DeepStack with Windows 10 (CPU and GPU) | DeepStack v1.1.2 documentation
 
Last edited:

Sireone

Young grasshopper
Joined
Jul 29, 2016
Messages
32
Reaction score
5
Hi, I just installed Blue Iris version 5.3.7.12 (demo mode) and I am trying to configure this. AI Tool won't recognize DeepStack. I have tried to manually run it in powershell and start it from the "DeepStack" tab in AI Tool. DeepStack version: DeepStack-Installer-CPU.2021.01.beta.exe.

OnGuard works, it recognizes DeepStack started from powershell and the DeepStack web page is also running. I have tried restarting the computer. Server.exe, python.exe or redis-server.exe are not running when I start DeepStack. I can't install it in docker because I need to enable Hyper-V in bios and I can't access the computer right now.

View attachment 79473

We don't need the DeepStack signup (api key) anymore and the beta version is their main download link in docs Using DeepStack with Windows 10 (CPU and GPU) | DeepStack v1.1.2 documentation
AI Tools is looking for C:\DeepStack\server\server.exe The latest version of DeepStack changed this executable to deepstack.exe. Just rename it back to server.exe. That's it!
 

balucanb

Getting the hang of it
Joined
Sep 19, 2020
Messages
146
Reaction score
23
Location
TX
that looks like the deepstack server api key file.
edit- on 2nd thought, maybe that's just a standard windows temp filename format... i got no idea

is the file there? permission / access issue maybe? are you running everything as admin?
does it run at all?
It's running but deepstack errors out after a short while. Found the newest beta of deepstack last evening and installed it along with the newest build of AI Tool it has been running overnight, will check it later and see if that fixes the issue.
 

Quru

n3wb
Joined
Jan 11, 2021
Messages
2
Reaction score
0
Location
EE
AI Tools is looking for C:\DeepStack\server\server.exe The latest version of DeepStack changed this executable to deepstack.exe. Just rename it back to server.exe. That's it!
Actually this didn't fix the problem, still errors in AI Tools. I managed to enable Hyper-V without going to BIOS, I love Lenovo's tools. DeepStack Docker version now works with AI Tools, but I have performance issues with three 2560x1920 H265 cameras. I have I5-6400 with 8GB ram, I think I need more ram or it is because of the Demo version. I bought license, but still haven't got it :nervous:. It only sometimes captures the video when triggering, I have no idea whats going on. I configured settings using first post recommended settings, I only changed the trigger url to this.
 

balucanb

Getting the hang of it
Joined
Sep 19, 2020
Messages
146
Reaction score
23
Location
TX
It's running but deepstack errors out after a short while. Found the newest beta of deepstack last evening and installed it along with the newest build of AI Tool it has been running overnight, will check it later and see if that fixes the issue.
Replaced both deepstack and AI-TOOl with the latest versions and that took care of it. As I was perusing GitHub I see my problem was a known issue.
 

roojax

n3wb
Joined
Jan 11, 2021
Messages
1
Reaction score
0
Location
Canada
Any idea why items would get added to queue and never get out of the queue unless I close and re-open AI Tool? I have tried older and new version of VorlonCD with the same results. I checked through the issues on Git and didn't find anything similar.

Deepstack is hosted on docker and continues running without issues.

[13:55:05.931]: WaitForNextURL> ---- #1: Re-added known URL: [13:55:05.932]: WaitForNextURL> ...Found 1 AI URL's in settings.
[13:55:06.136]: OnCreatedAsync>
[13:55:06.137]: OnCreatedAsync> ====================== Adding new image to queue (Count=1): G:\aiinput\driveway.20210112_135506134.jpg
[13:55:08.137]: OnCreatedAsync>
[13:55:08.138]: OnCreatedAsync> ====================== Adding new image to queue (Count=2): G:\aiinput\driveway.20210112_135508134.jpg
..
[14:02:16.051]: OnCreatedAsync> ====================== Adding new image to queue (Count=45): G:\aiinput\driveway.20210112_140216048.jpg
[14:02:18.115]: OnCreatedAsync>
[14:02:18.117]: OnCreatedAsync> ====================== Adding new image to queue (Count=46): G:\aiinput\driveway.20210112_140218113.jpg
 
Top