Post a screenshot of what is in your C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo directory.I've also tried running it with custom models unticked:
Did you solve this?I get this error on ALPR install -
ALPR: sahi 0.11.13 requires click==8.0.4, but you have click 8.1.3 which is incompatible.
this is a docker install.
Nope. I gave upDid you solve this?
I have the same issue, at some point it managed to be installed… but I think that was when i removed the mapping of /app/modules according to Running CodeProject.AI Server in Docker - CodeProject.AI Server v2.1.0. But right now I'm failing to recreate, it fails whatever I do, so it so probably just was some coincident.
To All,
The ALPR module does no work with CUDA 12.x.x, it only works with CUDA 11.x.x.
So if you are using the ALPR module with GPU CUDA the only latest version of CUDA that the module will work with is CUDA 11.8.0
Discussions
www.codeproject.com
So how does BI determine what frame to send CPAI for analysis? I have a pretrigger time of 2 seconds in BI for my LPR camera. That way I have a little bit of padding for the clip/alert before the car moves into the frame. What I’m finding is that BI is sending a blank picture where the car hasn’t even entered the FOV yet to CPAI and it’s being kicked back as “Nothing found”. How do I get BI to send in the entire clip (or at least more of the clip) so the car is in the FOV?
With my LPR camera (IPC-HFW5241E-Z12E) I have found that enabling the "Begin analysis with motion-leading image" option helps. I'm also using a 3 second pretrigger and a 0.1 second make time. I'm analyzing +4 images at 500ms.How do I get BI to send in the entire clip (or at least more of the clip) so the car is in the FOV?
It looks like you have CUDA 12.1 installed. The ALPR module does not work with CUDA 12.1, it only works with CUDA 11.x so downgrade to CUDA 11.8I am running 2.1.9 - I am working on figuring out the APLR and have read through quite a bit of the threads. When I set the License Plate reader to GPU is crashes all of the time. So far using CPU it is not crashing. The service will stop/start continuingly when I turn on 'ALPR for plates' in BlueIris. I now have it stable with the module set to CPU. I uninstalled 2.0.8 (had the same problem with that version), deleted the directories and did a clean install of 2.1.9
Server version: 2.1.9-Beta
Operating System: Windows (Microsoft Windows 11 version 10.0.22621)
CPUs: Intel(R) Xeon(R) W-2123 CPU @ 3.60GHz
1 CPU x 4 cores. 8 logical processors (x64)
GPU: NVIDIA GeForce GTX 1070 (8 GiB) (NVidia)
Driver: 531.18 CUDA: 12.1 Compute: 6.1
System RAM: 32 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.5
System GPU info:
GPU 3D Usage 5%
GPU RAM Usage 2.2 GiB
Video adapter info:
NVIDIA GeForce GTX 1070:
Driver Version 31.0.15.3118
Video Processor NVIDIA GeForce GTX 1070
Global Environment variables:
CPAI_APPROOTPATH = C:\Program Files\CodeProject\AI
CPAI_PORT = 32168
I believe I saw someone else with the same issue. Looking for some input - please let me know if you need any more information.
It looks like you have CUDA 12.1 installed. The ALPR module does not work with CUDA 12.1, it only works with CUDA 11.x so downgrade to CUDA 11.8
You need to enable ALPR for plates also checkoff Only for confirmed vehicle alert.I had my license plate reader working great.
It was reporting plates and their accuracy to MQTT. Today around lunch, I went into the AI and I tried to add a package to actually see packages (package.pt) to my local codeproject.ai directory. I didn't even add it to the codeproject machine I use (I used a different machine. I didn't change anything on the camera settings...
Codeproject is getting the plates just fine... (another machine)
I am not using any CUDA or acceleration. Since things were messed up- I moved from codeproject 2.0.8 to 2.1.9 and see the same issue. i had something like this happen before and it seemingly resolved itself...
View attachment 164181
Blue Iris is just reporting plate/dayplate now. Not the individual plate number..
View attachment 164184
Here are my settings...View attachment 164183
View attachment 164182
I've just started to use this, and am generally happy to continue to do so - need more experimenting though.
The CPU usage now hovers around 10-15% instead of 0-3% which I can live with.
One annoying issue is the full screen live view has become remarkably "stuttery" - even on main stream at 25 or 30 fps.
This is a big thread to read through - I'll see what has been written......