New CodeProject.AI License Plate Recognition (YOLO11) Module

I have yet another question...

If I want to set the Pushover email alerts for my non-AI (Reolink) cameras that are running CPAI alert confirmation, do I need to check motion zones for trigger also or only the AI box?

1760474821777.png
 
I am going to release v1.0.1 that should fix your issue, this release will auto detect a compatible GPU device ID and set it to use the correct GPU
Awesome, thanks for the quick replies and action. I don't even have a camera setup yet for LPR but I will be getting there soon. If anything, it helped catch the issue others may have!
 
I am going to release v1.0.1 that should fix your issue, this release will auto detect a compatible GPU device ID and set it to use the correct GPU
Will the new v1.0.1 automatically become available on the AI Dashboard, or do I need to do something to download it?
 
Awesome, thanks for the quick replies and action. I don't even have a camera setup yet for LPR but I will be getting there soon. If anything, it helped catch the issue others may have!
Check the Install Modules tab, the update should be there. If not uninstall the module then reinstall the module and you should then be on v1.0.1
 
I just release v1.0.2, I needed to make some changes to the Smart Device Selection. I am not sure why CP.AI is not seeing the update. To get the update, stop the module then uninstall the module, when the module is finished uninstalling reinstall the module, after the module is installed run the module.
 
Last edited:
This version should fix your issue, let me know if you are up and running.
Here is a log from the latest try to start v1.0.2:

19:55:38:alpr_adapter.py: has exited
19:58:11:Update ALPRYOLO11. Setting AutoStart=true
19:58:11:Restarting License Plate Recognition (YOLO11) to apply settings change
19:58:11:
19:58:11:Module 'License Plate Recognition (YOLO11)' 1.0.2 (ID: ALPRYOLO11)
19:58:11:Valid: True
19:58:11:Module Path: <root>\modules\ALPRYOLO11
19:58:11:Module Location: Internal
19:58:11:AutoStart: True
19:58:11:Queue: alpr_queue
19:58:11:Runtime: python3.10
19:58:11:Runtime Location: Local
19:58:11:FilePath: alpr_adapter.py
19:58:11:Start pause: 0 sec
19:58:11:Parallelism: 0
19:58:11:LogVerbosity:
19:58:11:Platforms: windows
19:58:11:GPU Libraries: installed if available
19:58:11:GPU: use if supported
19:58:11:Accelerator:
19:58:11:Half Precision: enable
19:58:11:Environment Variables
19:58:11:CHAR_BOX_DILATION_HEIGHT = 3
19:58:11:CHAR_BOX_DILATION_WIDTH = 0
19:58:11:CHAR_CLASSIFIER_CONFIDENCE = 0.40
19:58:11:CHAR_DETECTOR_CONFIDENCE = 0.40
19:58:11:CORNER_DILATION_PIXELS = 5
19:58:11:DEBUG_IMAGES_DIR = <root>\modules\ALPRYOLO11\debug_images
19:58:11:ENABLE_STATE_DETECTION = False
19:58:11:ENABLE_VEHICLE_DETECTION = False
19:58:11:MODELS_DIR = <root>\modules\ALPRYOLO11\models
19:58:11:ONNX_MODELS_DIR = <root>\modules\ALPRYOLO11\models
19:58:11:PLATE_ASPECT_RATIO = 2.5
19:58:11:PLATE_DETECTOR_CONFIDENCE = 0.45
19:58:11:SAVE_DEBUG_IMAGES = False
19:58:11:STATE_CLASSIFIER_CONFIDENCE = 0.45
19:58:11:USE_CUDA = False
19:58:11:USE_DIRECTML = True
19:58:11:USE_ONNX = True
19:58:11:VEHICLE_CLASSIFIER_CONFIDENCE = 0.45
19:58:11:VEHICLE_DETECTOR_CONFIDENCE = 0.45
19:58:11:
19:58:11:Started License Plate Recognition (YOLO11) module
19:58:12:Module ALPRYOLO11 has shutdown
19:58:12:alpr_adapter.py: has exited
 
This version should fix your issue, let me know if you are up and running.
Not sure if this is important, but I get this warning on the old License Plate Reader (v3.3.4) when it starts (see below). It works, but I always get this warning.

20:17:41:Started License Plate Reader module
20:17:42:ALPR_adapter.py: C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\lib\site-packages\paddle\base\framework.py:688: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
20:17:42:ALPR_adapter.py: warnings.warn(