Blue Iris and DeepStack ALPR

Attachments

  • LPR.20220110_171701.0.6146-1.0.0.jpg
    LPR.20220110_171701.0.6146-1.0.0.jpg
    61 KB · Views: 21
  • logfile.txt
    logfile.txt
    1.8 KB · Views: 8
  • @19666340.txt
    @19666340.txt
    314 bytes · Views: 4
Last edited:
same settings.

just went down the driveway and got these files. and a DAT file in same folder as image and a JSON file in ALPR folder.

It looks like it is working now, just not reading the plate correct.

I am very happy for your help with this.
Make sure you set the below to Hi-res JPEG files on both cameras. I need to add this to the instructions. Also the ALPR camera should be a zoomed in image of the plate this should help the OCR image_x and image_y setting will do this.

1641833597259.png

1641833337025.png
 
same settings.

just went down the driveway and got these files. and a DAT file in same folder as image and a JSON file in ALPR folder.

It looks like it is working now, just not reading the plate correct.

I am very happy for your help with this.
One last thing attach the jpeg file that is in the www/ALPR folder, this will show if you have the X and Y settings correct.
 
Make sure you set the below to Hi-res JPEG files on both cameras. I need to add this to the instructions. Also the ALPR camera should be a zoomed in image of the plate this should help the OCR image_x and image_y setting will do this.

View attachment 115125

View attachment 115124

My ALPR camera was on "database only" now it is changed. Now I wait for a plate to capture.
 
  • Like
Reactions: MikeLud1
How off is the recognizing the digits on the plates.

I think you can see it by yourself in #62

This is the corrosponding JSON file

{
"success": true,
"predictions": [
{
"confidence": 0.5094769,
"label": "9",
"y_min": 43,
"x_min": 141,
"y_max": 70,
"x_max": 156
},
{
"confidence": 0.58361495,
"label": "l",
"y_min": 45,
"x_min": 19,
"y_max": 79,
"x_max": 29
},
{
"confidence": 0.7180156,
"label": "5",
"y_min": 47,
"x_min": 30,
"y_max": 75,
"x_max": 44
},
{
"confidence": 0.85173076,
"label": "u",
"y_min": 46,
"x_min": 48,
"y_max": 74,
"x_max": 63
},
{
"confidence": 0.8947613,
"label": "9",
"y_min": 46,
"x_min": 109,
"y_max": 71,
"x_max": 123
},
{
"confidence": 0.8973325,
"label": "3",
"y_min": 45,
"x_min": 70,
"y_max": 73,
"x_max": 84
},
{
"confidence": 0.94716,
"label": "6",
"y_min": 43,
"x_min": 125,
"y_max": 70,
"x_max": 139
},
{
"confidence": 0.9504817,
"label": "3",
"y_min": 46,
"x_min": 88,
"y_max": 73,
"x_max": 101
}
],
"duration": 0
}
 
@MikeLud1 Really nice work on the integration. I had a similar idea to use deepstack license plate and some OCR model , but to avoid BI since it is not very convenient to lookup license plates history, and sometimes not very reliable.
Any idea how hard would it be to use this integration to push data to other system perhaps something custom made? And use something else to feed images to it.
 
@MikeLud1 Really nice work on the integration. I had a similar idea to use deepstack license plate and some OCR model , but to avoid BI since it is not very convenient to lookup license plates history, and sometimes not very reliable.
Any idea how hard would it be to use this integration to push data to other system perhaps something custom made? And use something else to feed images to it.
I am thinking of something in the future. For now you can open the log file in Excel.
 
Have some updated images and log files. Some af the cropped snapshots doesn't show the whole plate.

The logfile.txt and other files are located in the folder from 2022-01-10. No new folder from ALPR camera today.

Just an update. :-)
 

Attachments

Have some updated images and log files. Some af the cropped snapshots doesn't show the whole plate.

The logfile.txt and other files are located in the folder from 2022-01-10. No new folder from ALPR camera today.

Just an update. :)
Try the below setting this will increase the cropped plate size and help get the whole plate.

; Blue Iris short name for cropped licence plate camera and resolution settings
camera = ALPR
image_x = 213
image_y = 130
 
  • Like
Reactions: Lieberkind
another question.

one of the attached images does not create an alert.

why is that?
 

Attachments

  • Cam5.20220112_152258.0.642-7.0.0.jpg
    Cam5.20220112_152258.0.642-7.0.0.jpg
    425.1 KB · Views: 17
  • Cam5.20220112_103323.0.6146-7.0.0.jpg
    Cam5.20220112_103323.0.6146-7.0.0.jpg
    549.2 KB · Views: 13

Attachments

  • 2022-01-12 trigger 1.PNG
    2022-01-12 trigger 1.PNG
    48.6 KB · Views: 38
  • 2022-01-12 trigger 2.PNG
    2022-01-12 trigger 2.PNG
    160.4 KB · Views: 39
  • 2022-01-12 trigger 3.PNG
    2022-01-12 trigger 3.PNG
    22.9 KB · Views: 37
  • 2022-01-12 trigger 4.PNG
    2022-01-12 trigger 4.PNG
    2 MB · Views: 36
  • 2022-01-12 trigger 5.PNG
    2022-01-12 trigger 5.PNG
    63 KB · Views: 35
I am loving this thread. Thanks Mike. I spent about an hour or so yesterday and it never worked, but I believe the issue is on my configuration. The snapshots that are going into the alert folders are "off time" (a car triggers it, but the jpg that gets saved is eitehr before or after the license plate is out of range). I don't have time to look into it for a while (and this is definately not a mission critical issue for me). I would post my settings, but I uninstalled the ALPR completely for now. The python script in it was causing slightly higher CPU usage than I am comfortable with until I have time to look at it some more. Thanks for everything you're doing Mike!!!!!!!!
 
  • Like
Reactions: Randel
Try turning off the use mainstream and in the BI camera status page, what is the KEY value?