IP Cam Talk Custom Community DeepStack Model

Lucas Tam

n3wb
Joined
Apr 12, 2017
Messages
27
Reaction score
5
If you have profiles set up based on time, then yes. I have a day and a night profile, and I tell it which one to run based on the profile.
ah, I was wondering in what scenario I would use profiles.
 

hb020

n3wb
Joined
Jul 27, 2019
Messages
5
Reaction score
3
Location
France
Awesome work!
I did a bit of research and couldn't find much on this, so if one were running DeepStack in Docker, how would you point DS to this community model?
I'm assuming I'd have to copy the .pt to the Docker host, then add an env variable for it?
see
and for the BlueIris config see the first pages of this thread, but I found a problem with that (a couple of posts back)
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
I am hoping to issue a new combined, general, and animal by Friday. Hopefully the next version will have better results.
Hello Mike, I'm fresh into the surveillance system game with 2 5MP IP cams running Blue Iris and DeepStack. Where do I get these custom models? Can anyone use these models? Can I contribute to this project? Please let me know and thanks in advance!
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,264
Location
Brooklyn, NY
Where do I get these custom models?
In first post
Can anyone use these models?
Yes
Can I contribute to this project?
At this time I am taking a break on this project, I will resume shortly. I have been working on the below ALPR project.
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
In first post

Yes

At this time I am taking a break on this project, I will resume shortly. I have been working on the below ALPR project.
Thanks for the quick reply! So I've been having issues with high CPU usage when DeepStack is analyzing. I hear of people having dozens of cameras on equipment that's a lot older than mine and they have like 500ms process times. I only have 2 - 5MP Amcrest cameras running 15 fps with substream and have done all of the optimizations recommended in the forum. As soon as the camera is triggered my CPU goes straight up to 100% utilization. I have a Core i7-11700k processor so that should not be the issue but I can't think of what else would be causing so much usage. Do you have any tips?
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,264
Location
Brooklyn, NY
Thanks for the quick reply! So I've been having issues with high CPU usage when DeepStack is analyzing. I hear of people having dozens of cameras on equipment that's a lot older than mine and they have like 500ms process times. I only have 2 - 5MP Amcrest cameras running 15 fps with substream and have done all of the optimizations recommended in the forum. As soon as the camera is triggered my CPU goes straight up to 100% utilization. I have a Core i7-11700k processor so that should not be the issue but I can't think of what else would be causing so much usage. Do you have any tips?
Post a screenshot of one of the camera's AI settings and the main AI settings. Are you using the custom models in the first post?
 

Lucas Tam

n3wb
Joined
Apr 12, 2017
Messages
27
Reaction score
5
Thanks for the quick reply! So I've been having issues with high CPU usage when DeepStack is analyzing. I hear of people having dozens of cameras on equipment that's a lot older than mine and they have like 500ms process times. I only have 2 - 5MP Amcrest cameras running 15 fps with substream and have done all of the optimizations recommended in the forum. As soon as the camera is triggered my CPU goes straight up to 100% utilization. I have a Core i7-11700k processor so that should not be the issue but I can't think of what else would be causing so much usage. Do you have any tips?
Which version of DeepStack did you install? Did you use the GPU version? If you do not have an Nvidia GPU, you may see CPU spikes.
 
Last edited:

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
Which version of DeepStack did you install? Did you use the GPU version? If you do not have an Nvidia GPU, you may see CPU spikes.
I'll send screenshots when I get to my computer. I am using the CPU version. I did just buy an RTX 2060 graphics card in hopes to get that usage down. I've heard great things about it so fingers crossed. And I am using the "combined" custom model.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,264
Location
Brooklyn, NY
I'll send screenshots when I get to my computer. I am using the CPU version. I did just buy an RTX 2060 graphics card in hopes to get that usage down. I've heard great things about it so fingers crossed. And I am using the "combined" custom model.
With the RTX 2060 you will see 100ms +-25ms and no impact to your CPU.
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
With the RTX 2060 you will see 100ms +-25ms and no impact to your CPU.
That sounds perfect to me. I'll currently get 6000ms+ times way too frequently and I can't figure out why. Like I said, I'll send screenshots when I'm home and am just hoping that I have some settings wrong. Thanks for the feedback.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,264
Location
Brooklyn, NY
Here are the screenshots of my camera's settings. I've tried using only 5 real-time images at 1-second intervals and I got the same results.
You should be using the below settings for the Custom models. Your current setting is running three models the default deepstack model, combined, and general

1642025358938.png
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
I'd cut the number of images used down to maybe 10. 999 is really high and will keep the CPU churning for the full length of a clip, at 999 with a 500ms timing that means 45.5 seconds worth for a trigger.
Even when I just had 5 images, 1 per second my CPU went up to 100% immediately. Nothing seems to keep my CPU usage to a reasonable level.
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
Did you install the RTX 2060 yet?
I JUST ordered it yesterday so I should see it before the weekend. I'm still getting all of my necessary alerts, it's just taking a lot more of out my CPU than I expected. Just recently I got an 8654ms process time...I've attached a screenshot for referance.
 

Attachments

Top