Blue Iris and DeepStack ALPR

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,141
Reaction score
4,118
Location
Brooklyn, NY
I just posted Version 3.0 in the first post.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,141
Reaction score
4,118
Location
Brooklyn, NY
@MikeLud1 this is excellent work, as always! Thanks for building and sharing!

A bit of a side question if you don't mind, I'm wondering if I would be able to display the plate characters on screen using BI's overlays, like I'm doing currently with the Plate Recognizer integration?

Example:

View attachment 114710 View attachment 114712
View attachment 114711
@aesterling I just posted Version 3.0 and this version can display the plate characters on screen using BI's overlays just like the Plate Recognizer integration
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,141
Reaction score
4,118
Location
Brooklyn, NY
it wont let the DS_ALPR_config.ini be modified and saved.
View attachment 117192
Try stopping the service (see Start Menu DeepStackALPR) after stopping the service try copying the ini file and repasting back in the folder as the same file name. After making changes restart the service (see Start Menu DeepStackALPR). Let me know if that works.
 

rwclark73

n3wb
Joined
Aug 19, 2020
Messages
11
Reaction score
8
Location
Kansas
Try stopping the service (see Start Menu DeepStackALPR) after stopping the service try copying the ini file and repasting back in the folder as the same file name. After making changes restart the service (see Start Menu DeepStackALPR). Let me know if that works.
Thank you that worked. started the service back up now just have to wait for a car to come by
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,141
Reaction score
4,118
Location
Brooklyn, NY
Thank you that worked. started the service back up now just have to wait for a car to come by
It looks like the software I am using to create the install exe (InstallForge) is saving all the file to the DeepStackALPR folders that requires admin rights to edit them. So if you need to edit the ini file open notepad first with admin rights then open the ini file. I will try to fix this tomorrow.
1643592541788.png
 

Lieberkind

Getting the hang of it
Joined
Dec 16, 2021
Messages
89
Reaction score
26
Location
Denmark
Nice work.

Is it possible to use other models with this addon?

I am using licence-plate model due to living in Denmark.

OR..

is it possible to use your models and tweak the “overlapping_threshold, min_conf_thres, min_len_thres, & plate_len_threshold” ? and which one to change(what do they do)?
 
Last edited:

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,141
Reaction score
4,118
Location
Brooklyn, NY
Is it possible to use other models with this addon?
In V3.1 I will add the option to change the models used by the API
is it possible to use your models and tweak the “overlapping_threshold, min_conf_thres, min_len_thres, & plate_len_threshold” ? and which one to change(what do they do)?
Most of these settings will not help with the wide plates you have in Denmark. In Version 3.1 I am going to add a setting to help with wide plates
overlapping_threshold: Sometime DeepStack will find two or more characters in the same position. This setting is how many pixels from from each of the characters found before it will know it is the next characters. This will ignore the lower confidence for the overlapping characters.
min_conf_thres: Is confidence level for identifying the characters.
min_len_thres: Is the minimum number of characters that the license plate will have.
plate_len_threshold: Is the maximum number of characters that the license plate will have any more the API will in ignore the lower confidence for the extra characters. The license plate in Denmark looks to have 7 characters then decrease the number to the number to 7
1643636792239.png
 

Lieberkind

Getting the hang of it
Joined
Dec 16, 2021
Messages
89
Reaction score
26
Location
Denmark
What are the second numbers in the detection ex. [515]? Is it detection time?

I asume the first number are time between images from camera.

1643640156165.png
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,435
Reaction score
47,557
Location
USA
isn't it very slow?

I see other peoples time around 100ms.
There are so many factors coming into play - is it GPU or CPU version, how many models running on system, how many cameras trigger at the same time, etc. Anything less than 1 second is probably ok for most.
 

Lieberkind

Getting the hang of it
Joined
Dec 16, 2021
Messages
89
Reaction score
26
Location
Denmark
There are so many factors coming into play - is it GPU or CPU version, how many models running on system, how many cameras trigger at the same time, etc. Anything less than 1 second is probably ok for most.
I have CPU version with 1 model and I trigger overview and LPR camera at the same time. I use hardware decoding "intel VVP" on a i5 8gen
 

Lieberkind

Getting the hang of it
Joined
Dec 16, 2021
Messages
89
Reaction score
26
Location
Denmark
Is it possible to train my own DS model? I get a lot of cancelled alerts even with very clear plates in FOV.(at night)

Currently i am using licence-plate model but i was told that is was trained onlywith daytime images.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,435
Reaction score
47,557
Location
USA
You can absolutely create and train your own model with images from your field of view. That is what @MikeLud1 is doing.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,141
Reaction score
4,118
Location
Brooklyn, NY
Is it possible to train my own DS model? I get a lot of cancelled alerts even with very clear plates in FOV.(at night)

Currently i am using licence-plate model but i was told that is was trained onlywith daytime images.
If you want to learn how to create a custom model see the link below
 

rwclark73

n3wb
Joined
Aug 19, 2020
Messages
11
Reaction score
8
Location
Kansas
Well 3.0 seems to be working really good, have some trigger issues to figure out at night and a couple during the day large vehicles seem to get missed some times Fedex,ups trucks.
How would one set this up to do two cameras?
 
Top