Blue Iris and CodeProject.AI ALPR

Hey Mike, I did all the above and it shows the above on my screen - License Plate Reader New:2.2 (current 2.5) 2022-03-20 Installed. Does this mean I have it install correctly?
Yes, check the info it should look like the below screenshot

1688924951398.png
 
That is what I have with the exception of Auto Plate Rotate = True. Does that matter? Yours is False.
Depending on your FOV if the plate is level not rotated then it can be disabled, post a screenshot of a plate captured. Below is my FOV and the plate does not need rotating.

1688926305459.png
 
Depending on your FOV if the plate is level not rotated then it can be disabled, post a screenshot of a plate captured. Below is my FOV and the plate does not need rotating.

View attachment 167369
Here is one from this morning. Since upgrade the License Plate Reader a while ago I haven't had any cars go by.
 

Attachments

  • Cam20.20230709_080402.401050.3-1.jpg
    Cam20.20230709_080402.401050.3-1.jpg
    288 KB · Views: 48
I have a persistent issue with the lpr module. Can't figure it out. It starts. (use cpai for all motion processing the other stuff works fine) Runs until it gets its first call and then i get.
15:07:34:Module ALPR has shutdown
15:07:34:ALPR_adapter.py: has exited
on the main page it says
License Plate Reader
Lost Contact GPU (CUDA)



Any ideas?
 
I have a persistent issue with the lpr module. Can't figure it out. It starts. (use cpai for all motion processing the other stuff works fine) Runs until it gets its first call and then i get.
15:07:34:Module ALPR has shutdown
15:07:34:ALPR_adapter.py: has exited
on the main page it says
License Plate Reader
Lost Contact GPU (CUDA)



Any ideas?
Did you just install version 2.5 or are you on the old version
 
Did you just install version 2.5 or are you on the old version
i was on the old version i have since upgraded to the new version. the lpr module functions fine on cpu. but not gpu. The yolo runs fine on the gpu.
computer has a 8700k and a 2080ti in it.
 
Long thread! :) I've got plate detection running in my BI setup, but I'm not able to get the plate numbers to read.
I can successfully detect DayPlate (and NightPlate); ie using one of the samples:
1690008696503.png

However, the actual LPR reading isn't returning results:
1690008745843.png

I am using Cuda 11:
1690008767034.png

And the ALPR queue basically just comes back with "no plates found":
23:41:20:Client request 'alpr' in queue 'alpr_queue' (...47c464)
23:41:20:Request 'alpr' dequeued from 'alpr_queue' (...47c464)
23:41:20:Object Detection (YOLOv5 6.2): Queue request for Object Detection (YOLOv5 6.2) command 'custom' (...121cbc) took 29ms
23:41:20:License Plate Reader: Retrieved alpr_queue command
23:41:20:Client request 'custom' in queue 'objectdetection_queue' (...5ce374)
23:41:20:Request 'custom' dequeued from 'objectdetection_queue' (...5ce374)
23:41:20:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
23:41:20:Response received (...5ce374): No objects found
23:41:20:Object Detection (YOLOv5 6.2): Detecting using license-plate
23:41:20:Object Detection (YOLOv5 6.2): Queue request for Object Detection (YOLOv5 6.2) command 'custom' (...5ce374) took 38ms
23:41:20:Response received (...47c464): No plates found

I think the settings on the license plate reader module seem reasonable...
1690008838106.png

Would appreciate any thoughts on what I might be missing here.

Thanks!
 
Long thread! :) I've got plate detection running in my BI setup, but I'm not able to get the plate numbers to read.
I can successfully detect DayPlate (and NightPlate); ie using one of the samples:
View attachment 168231

However, the actual LPR reading isn't returning results:
View attachment 168232

I am using Cuda 11:
View attachment 168233

And the ALPR queue basically just comes back with "no plates found":
23:41:20:Client request 'alpr' in queue 'alpr_queue' (...47c464)
23:41:20:Request 'alpr' dequeued from 'alpr_queue' (...47c464)
23:41:20:Object Detection (YOLOv5 6.2): Queue request for Object Detection (YOLOv5 6.2) command 'custom' (...121cbc) took 29ms
23:41:20:License Plate Reader: Retrieved alpr_queue command
23:41:20:Client request 'custom' in queue 'objectdetection_queue' (...5ce374)
23:41:20:Request 'custom' dequeued from 'objectdetection_queue' (...5ce374)
23:41:20:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
23:41:20:Response received (...5ce374): No objects found
23:41:20:Object Detection (YOLOv5 6.2): Detecting using license-plate
23:41:20:Object Detection (YOLOv5 6.2): Queue request for Object Detection (YOLOv5 6.2) command 'custom' (...5ce374) took 38ms
23:41:20:Response received (...47c464): No plates found

I think the settings on the license plate reader module seem reasonable...
View attachment 168234

Would appreciate any thoughts on what I might be missing here.

Thanks!
What does nvcc --version show

1690038902408.png
 
in Blue Iris in setting go to the Ai tab, and make sure you have the ALPR box checked, the box is.bottom left.

I'm just trying to get CodeProject to recognize a sample plate fed manually directly into CodeProject and it won't read the plate number.

I do have "ALPR for Plates" turned on BI AI settings:

1690038736844.png

And I am using the license-plate custom module as well.
1690038781307.png
BI also does not read the plates.

I'll install a copy of CodeProejct AI server on my daily driver Windows PC and see if I can figure it out on there. It looks like in this case CodeProject itself isn't reading the plate numbers.
 
@Tygunn Turn off "Default Object Detection", especially since you are using custom models. You don't want CP.AI to be doing both.

Uncheck "Static object analysis" and check "Burn label mark-up onto alert images".

Then watch for LPR event and share burned-in snapshot image as well as the AI Analysis Details screen (in BI5, hold down Ctrl key while double clicking on event thumbnail on the left)
 
What does nvcc --version show

I don't appear to have that installed:

1690039457554.png

This is definitely a CUDA driver problem though; if I switch the license plate module to use CPU then it does read plate numbers perfectly. BI even picks them up.. Nice!


I'll run the script from CodeProject.ai that installs the right drivers and give that a shot, thanks!
 
  • Like
Reactions: actran