The attached model file was updated to the latest iteration on 20.04.2021 and on 22.04.2022
Ladies and gentlemen may I present to you yet another custom DeepStack model!
TL/DR: The model is built with a real security task in mind, using CCTV footage only; can reliably detect people with a very low false-positive rate.
I have been using DeepStack and BlueIris to detect intruders in my back garden. When my alarm system is armed and DeepStack detects a person I get a loud verbal alarm from a speaker in my house.
Unfortunately, I have found out that the default DeepStack model is basically unusable because it is very prone to false positives.
The default model detects 'people' in snowflakes, raindrops, spider webs or other odd objects. Also, there had been false negatives - the default model didn't detect actual people in many cases, so around 6 months ago I started to collect a dataset using my own cameras images.
What is included in the dataset?
The dataset is built using 1825 images from actual CCTV video feeds (mostly mine and some random YouTube CCTV footage).
What classes does the model have?
When should I use it?
Are false positives completely eliminated in the model?
No, it is possible that a snowflake or spider web bouncing in the wind will look like a blurry image of a person, although the probability of this happening is a lot lower than when using the default model.
Will it work for me?
Yes, if you use conventional outdoor CCTV cameras with normal focal lengths and the installation height is within the recommended range. It won't probably work that well if the camera is installed at eye level or very high. You really shouldn't use it indoors for the reason that it wasn't trained for that and you will get a lot of false positives.
Does it work at night?
Yes, the model can detect people in low light/infrared/blurry environments.
What confidence level should I set the model to?
90-92% is a nice sweetspot for general usage and 95-96% is when you need to eliminate most false positives.
What detection mode (low, medium or high) should I use?
I don't see much difference in processing times on my Nvidia T400 card, so HIGH mode is the way to go. It allows you to detect smaller objects (aka people in distance and cats). Just make sure you don't use your main video stream.
Any drawbacks?
The car class is a bit prone to false positives at the moment. Some dog breeds may not be detected at all or can be confused with cats.
How do I know the model works well?
Please see instructions in the thread below on how to use the Testing and tuning->Analyze with DeepStack feature on your clips. I suggest assigning a hotkey to enable or disable the feature.
Where do I get the model?
It is attached to this post.
I have a problem/Don't know how to set up a custom model or use a custom class!
Many solutions are already covered in the 'custom community deepstack model' thread.
(eliminating false positives) The model detects an object with high confidence where it should not!
Please dm me the frame in question. I will add it as a background class image to the dataset so it won't be detected in the next iteration of the model.
Important note:
Please bear in mind that classes of the model were renamed to avoid collisions with other models.
If you want to detect people, please use 'chel' (without the quotes) as the class name. Cats are 'kotik' class, dogs are 'sobaka' class, cars/trucks/atvs are 'tachka' class.

Ladies and gentlemen may I present to you yet another custom DeepStack model!
TL/DR: The model is built with a real security task in mind, using CCTV footage only; can reliably detect people with a very low false-positive rate.
I have been using DeepStack and BlueIris to detect intruders in my back garden. When my alarm system is armed and DeepStack detects a person I get a loud verbal alarm from a speaker in my house.
Unfortunately, I have found out that the default DeepStack model is basically unusable because it is very prone to false positives.
The default model detects 'people' in snowflakes, raindrops, spider webs or other odd objects. Also, there had been false negatives - the default model didn't detect actual people in many cases, so around 6 months ago I started to collect a dataset using my own cameras images.
What is included in the dataset?
The dataset is built using 1825 images from actual CCTV video feeds (mostly mine and some random YouTube CCTV footage).
What classes does the model have?
- person (named 'chel' in the model)
- car (named 'tachka' in the model)
- cat (named 'kotik' in the model)
- dog (named 'sobaka' in the model)
When should I use it?
- when you don't care for elephants, narwals and other fancy animals
- when you do need a model with a low rate of false positives to enhance your home security
Are false positives completely eliminated in the model?
No, it is possible that a snowflake or spider web bouncing in the wind will look like a blurry image of a person, although the probability of this happening is a lot lower than when using the default model.
Will it work for me?
Yes, if you use conventional outdoor CCTV cameras with normal focal lengths and the installation height is within the recommended range. It won't probably work that well if the camera is installed at eye level or very high. You really shouldn't use it indoors for the reason that it wasn't trained for that and you will get a lot of false positives.
Does it work at night?
Yes, the model can detect people in low light/infrared/blurry environments.
What confidence level should I set the model to?
90-92% is a nice sweetspot for general usage and 95-96% is when you need to eliminate most false positives.
What detection mode (low, medium or high) should I use?
I don't see much difference in processing times on my Nvidia T400 card, so HIGH mode is the way to go. It allows you to detect smaller objects (aka people in distance and cats). Just make sure you don't use your main video stream.
Any drawbacks?
The car class is a bit prone to false positives at the moment. Some dog breeds may not be detected at all or can be confused with cats.
How do I know the model works well?
Please see instructions in the thread below on how to use the Testing and tuning->Analyze with DeepStack feature on your clips. I suggest assigning a hotkey to enable or disable the feature.
Where do I get the model?
It is attached to this post.
I have a problem/Don't know how to set up a custom model or use a custom class!
Many solutions are already covered in the 'custom community deepstack model' thread.
(eliminating false positives) The model detects an object with high confidence where it should not!
Please dm me the frame in question. I will add it as a background class image to the dataset so it won't be detected in the next iteration of the model.
Important note:
Please bear in mind that classes of the model were renamed to avoid collisions with other models.
If you want to detect people, please use 'chel' (without the quotes) as the class name. Cats are 'kotik' class, dogs are 'sobaka' class, cars/trucks/atvs are 'tachka' class.

Attachments
Last edited: