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

Have you figured this out yet? I have the same issue. You can use the TEST button in AI tool and see the most recent alert in the "all alerts" option in BI mobile, but none of the other filters work (confirmed or flagged) until you TEST again.

Update:

What's actually happening is the "flagged" event that shows up in Blue Iris is one flagged event older than the event that triggered it. I realize that's hard to follow.

AI hits on a human at 7 PM. I immediately get a correct telegram alert with the correct picture, but the event doesn't show up in Flagged clips in Blue Iris.

AI hits on another human at 8 PM. I once again get a correct telegram alert and picture. At this point, the 7 PM AI hit now shows up in flagged clips in Blue Iris.

It's like AITool is flagging the previous event with each hit instead of the current. I'm not sure if the problem is with AITool or Blue Iris. Any ideas?
 
Have you figured this out yet? I have the same issue. You can use the TEST button in AI tool and see the most recent alert in the "all alerts" option in BI mobile, but none of the other filters work (confirmed or flagged) until you TEST again.

Problem is fixed, but I don't know how I fixed it.

I ditched Docker Deepstack for Windows GPU and I also ditched AI Tool for a little while and spent a couple days configuring Blue Iris to handle my detections. In the end I didn't like how it worked with Blue Iris deepstack integration so I went back to AI Tool using Windows GPU deepstack and the problem somehow resolved itself.
 
  • Like
Reactions: Pentagano
Problem is fixed, but I don't know how I fixed it.

I ditched Docker Deepstack for Windows GPU and I also ditched AI Tool for a little while and spent a couple days configuring Blue Iris to handle my detections. In the end I didn't like how it worked with Blue Iris deepstack integration so I went back to AI Tool using Windows GPU deepstack and the problem somehow resolved itself.
That is my preference now also. Tried deepstack in docker, worked but it consumed memory.
AI tool has been used great with deepstack gpu windows

The only function I miss is the ability to have a different mode of level on different server's. It's 1 mode for all as far as I can see
 
Hi guys,

Look at the PCIe info - shouldn't this show @ 16 ? Maybe the card is not seated properly?
Changed the power management pci to Off so its not trying to save energy.
Maybe a limitation of my motherboard?



1 X PCI Express X16 Gen 3.0 slot(s)
X PCI Express X 1 Gen 2.0 slot(s)
1 X M.2 slot for SSD
For 2242/2260/2280 PCIE X2 SSD

1635511726552.png

Max supported 8.0? Maybe related with the motherboard then or because it is set to that as the ryzen 3400g has integrated graphics?

Going to try these suggestions


1635507884800.png
 
Last edited:
Looks like I'm stuck with @8 for now. Reseated the card after cleaning the pins carefully. Turned off the turbo boost on the ryzen cpu in bios as suggested in the article. Tried various windows power settings. Nothing changed it.
How much difference 8-16 will make for deepstack I do not know.
 
Looks like I'm stuck with @8 for now. Reseated the card after cleaning the pins carefully. Turned off the turbo boost on the ryzen cpu in bios as suggested in the article. Tried various windows power settings. Nothing changed it.
How much difference 8-16 will make for deepstack I do not know.
Just a thought, is anything else sharing your PCI-E resources? I know with M.2s this would be an issue...
 
Just a thought, is anything else sharing your PCI-E resources? I know with M.2s this would be an issue...
ah I did install a 1TB M.2 yes.
Anyway of unsharing this?

I have 1 TB M.2 and 2 x HDD spinners. Too many lanes? Board only has 1 M.2 slot (which has the OS etc)

My ECS AMD4 board specs:

1 X PCI Express X16 Gen 3.0 slot(s)
X PCI Express X 1 Gen 2.0 slot(s)
1 X M.2 slot for SSD
For 2242/2260/2280 PCIE X2 SSD
 
Last edited:
  • Like
Reactions: David L
ah I did install a 1TB M.2 yes.
Anyway of unsharing this?

I have 1 TB M.2 and 2 x HDD spinners. Too many lanes? Board only has 1 M.2 slot (which has the OS etc)

My ECS AMD4 board specs:

1 X PCI Express X16 Gen 3.0 slot(s)
X PCI Express X 1 Gen 2.0 slot(s)
1 X M.2 slot for SSD
For 2242/2260/2280 PCIE X2 SSD
Do you have your O/S on the M.2? Boot from it?
 
Do you have your O/S on the M.2? Boot from it?
Yes, unfortunately, so not easy to remove it. I have a spare sata SSD 2.5 I could copy and image across, take out the m.2 and try that. But is it worth it?
Is enabling the 16 lanes on the gtx 970 worth it for just deepstack?
Will it make much of a difference?

Think I'm stuck with the sharing on chipset AMD® A320 unless I remove the M.2.
Basically because the SSD is PCIe-based it is sharing, isn't it?
So either remove the M.2 ssd or buy a better motherboard with one that does not share.

All a learning experience. My first ATX board and had no idea
 
Last edited:
  • Like
Reactions: David L
Yes, unfortunately, so not easy to remove it. I have a spare sata SSD 2.5 I could copy and image across, take out the m.2 and try that. But is it worth it?
Is enabling the 16 lanes on the gtx 970 worth it for just deepstack?
Will it make much of a difference?

Think I'm stuck with the sharing on chipset AMD® A320 unless I remove the M.2.
So my Mammaboard only has one M.2 slot too, running my O/S. I have a 3080 in the 16x slot but have the same problem as you. Now this is not my BI machine. My BI PC does not even have a 16x slot and I do have a 970 card in it running GPU version of Deepstack, so far no issues but I do plan to add some cameras though.
Since 12th Gen Procs are coming, I will be building a new system where the 3080 will reside, mainly for Gaming. Looking, hopefully, to utilize the full Bus on the new M2s along with 16x for the 3080 at PCI-E 4.0
Man these new 980's are fast, 7000 read, wow, but I assume with no sharing of the slot...

1635529679209.png

1635530053695.png
 
  • Like
Reactions: Pentagano
Has anyone tried a Google Coral on DeepStack, or is that even possible?
 
I'll probably go with a new mother like this one
Asus Prime H 470m Plus 1200
Has 2 x 16 PCEi slots
2 x M.2 (sata or pcei mode so no sharing I believe)

My gpu is sli so could twin with another in the 2 x 16 slots.
hmmm
edit: this is intel. so need an amd board

Now the Asus B550 (amd) plus tuf gaming am4 seems to have the whole bundle. tons of slots
  • 1 x PCIe 4.0 x16 (x16 mode)
  • 1 x PCIe 3.0 x16 (x16 mode)
  • 1 x PCIe 3.0 x16 (x4 mode)
  • 3 x PCIe 3.0 x1
  • 1 x M.2 Socket 3 with M key, type 2242/2260/2280/22110 storage devices support(SATA & PCIe 4.0 x4 mode)
  • 1 x M.2 Socket 3 with M key, type 2242/2260/2280/22110 storage devices support (SATA & PCIE 3.0 x 4 mode)
  • 1 x M.2 with E key for Wi-Fi module
 
Last edited:
  • Like
Reactions: David L
Whats settings do people have the Link State Power Management (windows power settings) on for the PCI Express?
OFF
Moderate savings
Maximum power savings.

Will the deepstack work faster with no delay with this on OFF so its never in an idle state?
 
What speeds are you guys getting with Deepstack GPU? I am getting 550 to 750 ms for both of my docker CPU instances running on unraid.
anywhere between 69ms and 160 ms. GTX 970 Strix.
But as mentioned on the other thread I'm having an issue with the first trigger, not sure why yet but the first photo on DS takes 2-300ms to get going then they start flowing faster. Odd and frustrating - looking at all the settings trying to pinpoint the delay. (maybe when the gpu is idling?)
 
Just reconfigured to use 2 DS servers for 8 cameras, 4 each. Each DS instance was taking up almost 1GB memory.
Improved times now.
55-72ms

But still get the initial delay in start-up if there are several seconds without activity

1635781213758.png
 
Last edited:
After having to deal with so many problems with BI and DS integration, I've decided to go back to AITool. So flexible and much more controllable, especially controlling the JPG to sample. The only thing I'm missing is a way to change the deepstack server when the sun goes down (switch to Dark custom model). I know there is the "Active Times" options, but it's not following dawn/dusk times as days go by. Are you aware of any trick or hidden option to achieve this in AITool?
Thank you !
 
After having to deal with so many problems with BI and DS integration, I've decided to go back to AITool. So flexible and much more controllable, especially controlling the JPG to sample. The only thing I'm missing is a way to change the deepstack server when the sun goes down (switch to Dark custom model). I know there is the "Active Times" options, but it's not following dawn/dusk times as days go by. Are you aware of any trick or hidden option to achieve this in AITool?
Thank you !
I'd like to know that also.
I have a fixed time for my night custom model in the AI tool.
Perhaps reach out to the developer.
 
After having to deal with so many problems with BI and DS integration, I've decided to go back to AITool. So flexible and much more controllable, especially controlling the JPG to sample. The only thing I'm missing is a way to change the deepstack server when the sun goes down (switch to Dark custom model). I know there is the "Active Times" options, but it's not following dawn/dusk times as days go by. Are you aware of any trick or hidden option to achieve this in AITool?
Thank you !
Added a discussion. Maybe add your support.