Blue Iris and CodeProject.AI ALPR

Hi guys, I’m new to CPAI and I have followed a few bits from here so I have a separate virtual camera pulling the cropped plates from the ALPR module and putting them on screen / saving the snapshots in BI using motion detection to trigger a snapshot. The problem I am having is if two vehicles go past, both cropped plates pop up as images on the camera but BI only saves the second one.

Is motion detection not the right way to save the pics? Is there some way to save every time the alpr module sends a new one?
 
LOL. I kept seeing this old Camaro exiting the North driveway in my industrial park, with CPAI reporting "No objects found," and review of the clip showed what initially appeared to be intentional blurring of the license plate. Well, today walked over to look at it while it was parked. It's been blurred by 40 years in the CA sun:

1739123942723.png

There's just a hint of the original yellow paint, and only on the first 3 characters. The last 3 characters look like the "S"--completely blue.
 
So I had my ALPR working great and reporting to the ALPR database. A couple of days ago-- it just stopped working. I might have updated Blue Iris?

Definitely some of these settings changed since I set it up. I imagine I have something wrong here.

When a car goes by-- I see it finds a car in the CP.AI log... but no plate call is made from BI.

I have version 3.3.4 of license plate reader installed (CPU) and that is working from the browser.

Screenshot 2025-03-01 at 2.45.36 PM.png


Screenshot 2025-03-01 at 2.40.44 PM.png

Screenshot 2025-03-01 at 2.40.17 PM.png
 
  • Like
Reactions: olympia
So I had my ALPR working great and reporting to the ALPR database. A couple of days ago-- it just stopped working. I might have updated Blue Iris?

Definitely some of these settings changed since I set it up. I imagine I have something wrong here.

When a car goes by-- I see it finds a car in the CP.AI log... but no plate call is made from BI.

I have version 3.3.4 of license plate reader installed (CPU) and that is working from the browser.

View attachment 215800


View attachment 215798

View attachment 215799
Try changing license-plate to alpr

1740859779400.png
 
So I had my ALPR working great and reporting to the ALPR database. A couple of days ago-- it just stopped working. I might have updated Blue Iris?

Definitely some of these settings changed since I set it up. I imagine I have something wrong here.

When a car goes by-- I see it finds a car in the CP.AI log... but no plate call is made from BI.

I have version 3.3.4 of license plate reader installed (CPU) and that is working from the browser.

I just had this exact same issue after updating BI to the latest stable 5.9.9.25 and here is what I did to get it working again.

1) Be sure that the custom models is showing correctly. When it wasn't working for me, when you clicked the three dots it was trying to pick a folder location on the BI machine. Also be sure to click the Start now button:

1740864735271.png

Here are my LPR camera settings:

1740864987285.png

Not sure if this made a difference but I adjusted my Motion Sensor settings to be more sensitive too:

1740865042492.png

But for sure follow anything @MikeLud1 suggests.
 
So how did you fix the issue with "use custom model" showing a folder list issue?
If I log into my docker container, I see this

root@35475c912a73:/app# ls ./preinstalled-modules/ObjectDetectionYOLOv5Net/custom-models
ipcam-animal.onnx ipcam-combined.onnx ipcam-dark.onnx ipcam-general.onnx license-plate.onnx

root@35475c912a73:/app# ls ./preinstalled-modules/ObjectDetectionYOLOv5-6.2/custom-models/
actionnetv2.pt ipcam-animal.pt ipcam-combined.pt ipcam-dark.pt ipcam-general.pt license-plate.pt

The good news is I can get the AI to detect "Day Plate" right now. It isn't doing to ALPR though.
 
Follow up: I went back to 5.9.8.5 (last version I had a file for) and the plates are working again. Sounds like a BI issue maybe with an external ALPR?
 
Follow up: I went back to 5.9.8.5 (last version I had a file for) and the plates are working again. Sounds like a BI issue maybe with an external ALPR?

This is definitely the issue I am having with the latest version of BI. I did a wireshark capture and BI never sends any packets to CPAI that is running on a different server. If I swap back to an older release without any other changes, packets are sent from BI to CPAI. It's not a firewall issue, and it's not a network issue. .25+ seems to be incompatible with the BI config of an earlier release.
 
  • Like
Reactions: wpiman
So how did you fix the issue with "use custom model" showing a folder list issue?
Try stopping the Blue Iris service, restart cp.ai, start BI service, go to the Settings AI, then check the 3 dots. Also try hitting the Start button.

For reference, I'm running CP.AI as a docker container on my unraid machine.
 
This is definitely the issue I am having with the latest version of BI. I did a wireshark capture and BI never sends any packets to CPAI that is running on a different server. If I swap back to an older release without any other changes, packets are sent from BI to CPAI. It's not a firewall issue, and it's not a network issue. .25+ seems to be incompatible with the BI config of an earlier release.
Interesting. I didn't even think to use Wireshark....

I did stop the BI service and restart it.... I'll read out to Ken/support...
 
Try stopping the Blue Iris service, restart cp.ai, start BI service, go to the Settings AI, then check the 3 dots. Also try hitting the Start button.

For reference, I'm running CP.AI as a docker container on my unraid machine.

I've even rebooted everything after the update, it did not help. Exact same behavior.
 
I've even rebooted everything after the update, it did not help. Exact same behavior.
Click the "Start now" button then try clicking the 3 dots:

1740961036135.png