Blue Iris and CodeProject.AI ALPR

I see a couple of issues. First on the recording tab I would recommend setting your video option to “Continuous" instead of "Continuous sub + Alerts”. Also, you’ve got your AI misconfigured. The way you have your custom models set it will only identify what is in the "license-plate” which is DayPlatYoue or NightPlate so you won’t get actual tag numbers. I recommend you filter out everything except for the tags themselves and use just the LPR model. Here’s an example of one of my LPR cameras:
I am using Sub stream + main, so it should switch to recording main when Alerted, are you saying ALPR requires full time main stream recording? Switching to those settings I still only get the ALPR in preview/thumbnail, not when playing back the full video.
 
Last edited:
Switching to those settings I still only get the ALPR in preview/thumbnail, not when playing back the full video.
I guess I'm a bit confused on what you are expecting here. If you're talking about the markup, which is the red box around the plate, it only applies to the jpeg file.
 
Ya, I'm confused also... might just be a user training issue. I cannot view a full screen of anything with ALPR. I can only see thumbnails. I have set the Motion Trigger to record video and jpeg, I would imagine I would be able to either open a video or a jpeg and see the orange box with plate #, but I cannot find any jpegs that are tagged like that and no video, I can only see tiny low res thumbnails in the list or mouse over and see small low res animation showing the orange box.

In UI3 I see these jpgs in the list, but I double click one and the video playback starts... after some confusion I finally found a way to access the jpg in a non-intuitive process-
1731100931664.png
By right clicking the clip and selecting Properties it opens a large jpg showing the ALPR info.

Is that the best way to get to the info?
 
Last edited:
No - it is not, I am looking for this functionality shown by this user, he easily click the play/pause button to go frame by frame thru the ALPR images:

1731126896399.png
 
No - it is not
Hmmm… yes it is. The functionality shown in Rob’s example is “Testing & Tuning”. To enable this double click on any clip so that it’s displayed in the main window. Then right click on the main window and select “Testing and Tuning” and then “Analyze with AI”. You can then use the scroll options at the bottom of the page to do a frame by frame analysis.

Screen Shot 2024-11-08 at 10.48.28 PM.png
 
TCP 0.0.0.0:32168 0.0.0.0:0 LISTENING
This line means that some program is listening on port 32168 on all network interfaces.

The lines that say ESTABLISHED means that something established a connection to your machine.
Since the lines start with 127.0.0.1 (localhost) and the other end is 127.0.0.1 that means that you are making a successful connection to your own machine on the localhost interface.

The ones that show TIME_WAIT are old connections that will be closed. Probably from a previous browser session.

THe ones with [::1} are IPv6 and can most likely be ignored.

IN summary the program is running and listening on the correct port and something on your computer has made a successful connection to it and it all appears to be working correctly.

If your browser is not displaying the Web UI, I would next troubleshoot the browser itself, maybe a security setting or something.
Antivirus, javascript disabled, something like that.

You could also try installing another browser like chrome or firefox and trying that.
Skispcs, Thank for your support but I have now got this sorted. As you confirmed BI was actually connected (great advice btw) to CPAI and the issue was actually being caused by the fact that the ALPR for plates option was not selected.

1731223051222.png

When I first read MikeLud1 settings advice when i read the comment "For the ALPR to work you need to checkoff ALPR for plates" I thought he meant that this setting needed to be turned off but after subsequent reading turning this setting on made everything come alive. I am still seeing the error message in the BI logs that sent me down the rabbit hole on start-up but everything is working despite this message.

Sorry for wasting everyone's time but thanks to everyone that helped me get this sorted.
 
I found what I needed to make this feature so much more usable and logical. Thanks to TimG @ BI forum:

1. In BI5 General settings, click on the Macros tab.
2. Choose an empty macro number. In my case %2.
3. Add "&Plate" without the quotation marks. Press OK.
4. In the ANPR BI5 camera settings, go to Video/ Display overlays live.
5. Click "Edit overlays".
6. Click "Add text/time".
7. Add "%002" on the top line.
8. Choose font size and colour and press OK.
9. Choose position of text box.
 
What am I missing?
If the trigger is Motion, Mark as Vehicle is working.
If the trigger is ONVIF, Mark as Vehicle is not working.

Thanks in advance.


1731898371126.png

Triggered by Motion, mark as vehicle is working

1731898418233.png

Triggered by ONVIF, mark as vehicle is NOT working, but license plate is picked up.


1731898458647.png
 
@iwanttosee Your issue may be because you have object detection on in Trigger settings; therefore, the ONVIF trigger was not from zone movement or overlapping.

1731909201421.png <- This icon's meaning can be found in the help manual, "A motion icon is used to mark objects which do not overlap an area of movement following a motion trigger. To disregard motion overlap for objects, disable Object detection on the Trigger/Motion page" (pg122).
 
  • Like
Reactions: iwanttosee
@iwanttosee Your issue may be because you have object detection on in Trigger settings; therefore, the ONVIF trigger was not from zone movement or overlapping.

View attachment 207498 <- This icon's meaning can be found in the help manual, "A motion icon is used to mark objects which do not overlap an area of movement following a motion trigger. To disregard motion overlap for objects, disable Object detection on the Trigger/Motion page" (pg122).

Thanks for your reply. Unchecked object detection and it made no difference on onvif trigger not recognizing vehicle.
 
@iwanttosee What are your ONVIF Event settings?

If the Action is just "Trigger" you won't get the Marked as vehicle because BI doesn't know what the "Trigger" was (e.g.: car or person) it just knows it was triggered. You would have to use "Confirmed vehicle".

1732153959156.png