Blue Iris and CodeProject.AI ALPR

I am having an issue now that you can't shut off the Pre-Trigger Record or set it for below 5 seconds. I used to be able to record every vehicle that went down the street. Now if three or 4 vehicles go by with in ten seconds, I am only getting the first vehicle as I cannot shut off Pre-Trigger record time or set it for less than 5 seconds. How is everyone else getting around this issue??

I emailed Ken at Blue Iris and he said because of the subtsreams there is no shutting off Pre-trigger record time off or settings it below 5 seconds now.


Rick
Try not using substream on your ALRP camera.
 
Try not using substream on your ALRP camera.

I just tried that and it still won't let you shut off Pre-trigger record time or lower the Pre-trigger record time seconds below 5 seconds. As a result, I am missing a lot of tag numbers that aren't being recorded. Am I the only one having this issue?
 
I just tried that and it still won't let you shut off Pre-trigger record time or lower the Pre-trigger record time seconds below 5 seconds. As a result, I am missing a lot of tag numbers that aren't being recorded. Am I the only one having this issue?

What version BI are you on? I'm on 5.8.7.11

Here are 3 vehicles that came in right on top of one another and I have 3 alerts - now in this case they were all coming towards and had no front plate thus nothing found, but 3 vehicles all under 5 seconds.

1710723945376.png
 
  • Like
Reactions: actran
And if rolling back works, then send an email to BI so he can see what code is different between the most recent stable version and the most recent beta version.

I tried rolling back. Still won't let you disable Pre-trigger record time or make the Pre-trigger record time less than 5 seconds. I've already email Ken at Blue Iris. He said the reason for doing this is because of the substream video.

Rick
 
I tried rolling back. Still won't let you disable Pre-trigger record time or make the Pre-trigger record time less than 5 seconds.

Rick
But did you check to see if you’re still missing plates? I don’t think the pre-trigger record time is the issue here.
 
I tried rolling back. Still won't let you disable Pre-trigger record time or make the Pre-trigger record time less than 5 seconds. I've already email Ken at Blue Iris. He said the reason for doing this is because of the substream video.

Rick

Yeah my pre-record time is 5 seconds, yet you saw I got 3 alert thumbnails within 5 seconds for 3 different vehicles.

So forget about the pre-record time - if 3 cars come in during 5 seconds, do you get all 3 or just one?

Of more importance, what is your break-time - that is what starts new alerts and is what determines if you get all the vehicles not the pre-record time.

Unfortunately this is now set to a min of 1 second whereas older versions you could go down to 0.1 second. So in theory if two cars come by in less than 1 second, it may miss one.

1710767131684.png
 
  • Like
Reactions: Arjun and Vettester
But did you check to see if you’re still missing plates? I don’t think the pre-trigger record time is the issue here.

I haven't had more than one car go by today. I'll let you know when I do and how it works.

RIck
 
Yeah my pre-record time is 5 seconds, yet you saw I got 3 alert thumbnails within 5 seconds for 3 different vehicles.

So forget about the pre-record time - if 3 cars come in during 5 seconds, do you get all 3 or just one?

Of more importance, what is your break-time - that is what starts new alerts and is what determines if you get all the vehicles not the pre-record time.

Unfortunately this is now set to a min of 1 second whereas older versions you could go down to 0.1 second. So in theory if two cars come by in less than 1 second, it may miss one.

View attachment 189716

I haven't had more than one car go by today. I'll let you know when I do and how it works.

Rick
 
Yeah my pre-record time is 5 seconds, yet you saw I got 3 alert thumbnails within 5 seconds for 3 different vehicles.

So forget about the pre-record time - if 3 cars come in during 5 seconds, do you get all 3 or just one?

Of more importance, what is your break-time - that is what starts new alerts and is what determines if you get all the vehicles not the pre-record time.

Unfortunately this is now set to a min of 1 second whereas older versions you could go down to 0.1 second. So in theory if two cars come by in less than 1 second, it may miss one.

View attachment 189716
I am now getting this connection ID (highlighted in RWD) error message from Codeproject Ai and my times are really slow:



17:41:23:Connection id "0HN21T42MQLCH", Request id "0HN21T42MQLCH:00000003": An unhandled exception was thrown by the application.
18:26:53:Connection id "0HN21T42MQP0F", Request id "0HN21T42MQP0F:0000000B": An unhandled exception was thrown by the application.
13:12:16:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...f5ddf3) ['No objects found'] took 509ms



13:16:18:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...104abf) ['Found DayPlate'] took 1088ms
13:16:19:Response rec'd from License Plate Reader command 'alpr' (...bd477f) ['Found Plate: 8811ABM'] took 12292ms
13:16:19:Response rec'd from License Plate Reader command 'alpr' (...0d1f34) ['No plates found'] took 10499ms
13:16:19:Response rec'd from License Plate Reader command 'alpr' (...29f380) ['No plates found'] took 8485ms
13:16:19:Response rec'd from License Plate Reader command 'alpr' (...fecb1e) ['Found Plate: 8811ABM'] took 7058ms
13:16:19:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...f20e40) ['Found DayPlate'] took 307ms
13:16:20:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...d4f534) ['Found DayPlate'] took 552ms
13:16:20:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...9454b2) ['Found DayPlate'] took 832ms
13:16:20:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...3244dd) ['Found DayPlate'] took 1079ms
13:16:21:Connection id "0HN21T42NHE40", Request id "0HN21T42NHE40:00000004": An unhandled exception was thrown by the application.
13:16:23:Response rec'd from License Plate Reader command 'alpr' (...079a58) ['Found Plate: 8811ABM'] took 6020ms
13:16:23:Response rec'd from License Plate Reader command 'alpr' (...547d48) ['Found Plate: 8811ABM'] took 10463ms
13:16:23:Response rec'd from License Plate Reader command 'alpr' (...27f82f)
13:16:23:Response rec'd from License Plate Reader command 'alpr' (...b2b6f6) ['Found Plate: 8811ABM'] took 12116ms
13:16:24:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...b61682) ['Found DayPlate'] took 325ms
13:16:24:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...dd35c0) ['No objects found'] took 547ms
13:16:24:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...1db2b9) ['Found DayPlate'] took 783ms
13:16:24:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...676505) ['No objects found'] took 1015ms
13:16:26:Connection id "0HN21T42NHE4D", Request id "0HN21T42NHE4D:00000008": An unhandled exception was thrown by the application.
13:16:26:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...4e8fd9) ['No objects found'] took 361ms
13:16:27:Response rec'd from Object Detection (YOLOv5 .NET) command 'custom' (...b27090) ['Found person, car'] took 374ms
13:16:28:Response rec'd from License Plate Reader command 'alpr' (...35360b) ['Found Plate: 8811ABM'] took 5848ms
13:16:28:Response rec'd from License Plate Reader command 'alpr' (...8c4c13) ['Found Plate: 8811ABM'] took 10199ms
13:16:28:Response rec'd from License Plate Reader command 'alpr' (...3d6201) ['Found Plate: 8811ABM'] took 7537ms
13:16:28:Response rec'd from License Plate Reader command 'alpr' (...b9ad30)
13:16:28:Connection id "0HN21T42NHE46", Request id "0HN21T42NHE46:0000000B": An unhandled exception was thrown by the application.


Any idea's?
 
FYI, I moved up to 5.8.8.8 and the objects:0 specification in the settings is no longer working, and all models are being evaluated. I haven't yet started installing older versions to figure out when this happened, but I did email Ken to alert him. Having said that, could/would someone else here confirm the same? Not that you wouldn't believe me, but in case I'm being really stupid here, I'll include a screenshot of my settings and a debug from one camera. I have clicked in each field to confirm that I do not have any extra spaces after what you see in the fields.

lpr-settings.jpg

lpr-objects-zero-not-working.jpg
 
FYI, I moved up to 5.8.8.8 and the objects:0 specification in the settings is no longer working, and all models are being evaluated. I haven't yet started installing older versions to figure out when this happened, but I did email Ken to alert him. Having said that, could/would someone else here confirm the same? Not that you wouldn't believe me, but in case I'm being really stupid here, I'll include a screenshot of my settings and a debug from one camera. I have clicked in each field to confirm that I do not have any extra spaces after what you see in the fields.

View attachment 189798

View attachment 189799
Try the below settings

1710821738685.png
 
Thanks. I just made the change. Now I need a car to drive by, but I'm optimistic this change will probably do it. Thanks again.
 
  • Like
Reactions: looney2ns
So I'm kicking around the idea of adding a Nvidia GPU into my unraid server that runs the CP.AI docker to help with times. I have a Supermicro X9SCM-F mobo which only has x8 physical PCIE slots; 2 closest to CPU are PCIE 3.0. Since CP.AI is just using the GPU for number crunching, if I use a x16 to x8 adapter I should still get full benefit with inference times?
 
Last edited:
So I'm kicking around the idea of adding a Nvidia GPU into my unraid server that runs the CP.AI docker to help with times. I have a Supermicro X9SCM-F mobo which only has x8 physical PCIE slots; 2 closest to CPU are PCIE 3.0. Since CP.AI is just using the GPU for number crunching, if I use a x16 to x8 adapter I should still get full benefit with inference times?

You can place the GPU pretty much anywhere, even an X1 slot would work.
 
  • Like
Reactions: hopalong