BI Deepstack: Not triggering alerts (nothing found)

Post Reply
kiyolaka
Posts: 18
Joined: Wed Dec 02, 2020 10:40 pm

BI Deepstack: Not triggering alerts (nothing found)

Post by kiyolaka » Mon Apr 12, 2021 4:37 am

I'm having issues getting the BI Native deepstack to work, it won't find people, cars or anything else for that matter.. All of my alerts keep getting cancelled with (Nothing found) in the logs.
The Deepstack install is definitely functional as detection is working correctly with AI tool. I tried pulling the latest Deepstack build but that didn't resolve the issue.

Additionally, Blue Iris doesn't properly start the local DeepStack installation when I check the "Auto start/stop with Blue Iris: option"
I confirm this by launching a webpage to http://127.0.0.1:81 and getting page can't be displayed error.


Under Trigger > AI i have confirmation set to "person,car" , 15% , 5 additional images
Checked options
Fire "On alert actions" only when confirmed
Replace alert email/smstext with status
Hide cancelled alerts on timeline and "all alerts"
"Auto-flag confirmed alerts"

Oddly the timeline does occasionally show a flag, but the alert actions never do anything.
wepee
Posts: 9
Joined: Wed Apr 08, 2020 8:45 am

Re: BI Deepstack: Not triggering alerts (nothing found)

Post by wepee » Mon Apr 12, 2021 5:52 am

Hi,

I am not an expert in setting up Deepstack.

However, I did notice you have this written: http://127.0.0.1:81

By the default when you first install BI, it uses port:81
So, when you have installed DeepStack the very first time, you need to run a command line in Windows Command Prompt:
that is: deepstack --VISION-DETECTION True --PORT XXXX (XXXX is the port you would like to run DS)
For me I just run the command: deepstack --VISION-DETECTION True --PORT 82 (So, my DS will running on port 82)
Hence, if you type: http://127.0.0.1:81 ----> This will load Blue Iris UI3.htm Web interface.
and if you type: http://127.0.0.1:82 ----> This will load Deepstack webpage, telling DS has been activated and running.
User avatar
terk
Posts: 145
Joined: Tue Jun 18, 2019 2:36 pm

Re: BI Deepstack: Not triggering alerts (nothing found)

Post by terk » Mon Apr 12, 2021 2:43 pm

First did you uninstall any older versions of DeepStack and download either the CPU or GPU version? After that the default port in DeepStack seems to be 82 so you shouldn't need to do anything other than turn on the AI global settings in BI which should start DeepStack automatically which you can test at http://127.0.0.1:82

When I switched to the new integration I had been running DeepStack 3.4. I stopped AI Tools and DeepStack then I uninstalled DeepStack and installed the current CPU version 2021.x.x and turned on the integration without having to do anything else. As weep said 81 is the default UI3 port so you wouldn't want to use that and that is what the older DeepStack defaulted to.
kiyolaka
Posts: 18
Joined: Wed Dec 02, 2020 10:40 pm

Re: BI Deepstack: Not triggering alerts (nothing found)

Post by kiyolaka » Mon Apr 12, 2021 7:06 pm

I tried with 82 as well.
It worked when I manually started DeepStack and could tell that it was analyzing images based upon CPU load, couldn't get it to start DeepStack via BlueIris itself though.

Right now I'm using my docker host as the windows DeepStack excessively strains the CPU, it's definitely sending images to analyze but doesn't seem to be getting detection info back which is kind of off.


I'll keep experimenting.
kiyolaka
Posts: 18
Joined: Wed Dec 02, 2020 10:40 pm

Re: BI Deepstack: Not triggering alerts (nothing found)

Post by kiyolaka » Mon Apr 12, 2021 7:17 pm

wepee wrote: Mon Apr 12, 2021 5:52 am Hi,

I am not an expert in setting up Deepstack.

However, I did notice you have this written: http://127.0.0.1:81

By the default when you first install BI, it uses port:81
So, when you have installed DeepStack the very first time, you need to run a command line in Windows Command Prompt:
that is: deepstack --VISION-DETECTION True --PORT XXXX (XXXX is the port you would like to run DS)
For me I just run the command: deepstack --VISION-DETECTION True --PORT 82 (So, my DS will running on port 82)
Hence, if you type: http://127.0.0.1:81 ----> This will load Blue Iris UI3.htm Web interface.
and if you type: http://127.0.0.1:82 ----> This will load Deepstack webpage, telling DS has been activated and running.

I tried running this command but it doesn't automatically start the server, Just loads the DeepStack AI server splash page.
kiyolaka
Posts: 18
Joined: Wed Dec 02, 2020 10:40 pm

Re: BI Deepstack: Not triggering alerts (nothing found)

Post by kiyolaka » Mon Apr 12, 2021 7:34 pm

Figured out the issue with it starting,

for some reason BI doesn't work right with the DeepStack install from https://www.deepstack.cc/install/windows ,

Now to figure out the detection issues.
kiyolaka
Posts: 18
Joined: Wed Dec 02, 2020 10:40 pm

Re: BI Deepstack: Not triggering alerts (nothing found)

Post by kiyolaka » Mon Apr 12, 2021 7:37 pm

wepee wrote: Mon Apr 12, 2021 5:52 am Hi,

I am not an expert in setting up Deepstack.

However, I did notice you have this written: http://127.0.0.1:81

By the default when you first install BI, it uses port:81
So, when you have installed DeepStack the very first time, you need to run a command line in Windows Command Prompt:
that is: deepstack --VISION-DETECTION True --PORT XXXX (XXXX is the port you would like to run DS)
For me I just run the command: deepstack --VISION-DETECTION True --PORT 82 (So, my DS will running on port 82)
Hence, if you type: http://127.0.0.1:81 ----> This will load Blue Iris UI3.htm Web interface.
and if you type: http://127.0.0.1:82 ----> This will load Deepstack webpage, telling DS has been activated and running.
This fixed it for me, It was apparently some issue with the non-github distro from https://www.deepstack.cc/install/windows
BI is able to properly start docker now as well as detects things correctly, now to see if I can reload my docker install to prevent CPU spikes on the BI host.
kiyolaka
Posts: 18
Joined: Wed Dec 02, 2020 10:40 pm

Re: BI Deepstack: Not triggering alerts (nothing found)

Post by kiyolaka » Tue Apr 13, 2021 5:19 pm

Got the docker instance working properly with BI,

Had to purge the docker container, local repository and then pull from the latest branch, making sure to additionally specify VISION-FACES=True when I set the container up.

I'm going to keep them separate for the time being since the DeepStack windows variant seems to have a lot higher CPU spike then then the docker container does, making a noticeable impact on BI's performance as it analyzes triggers.
Post Reply