Grok 3’s Step-by-Step Guide: Setting Up ALPR Cameras with Blue Iris and CodeProject.AI

What should general settings in BI, Plate Recognizer for ALPR, Connection, On premise sdk port be set to? ? if so i dont think in my case its working, codeproject "license plate" module, or should that be "This AI Server"
 
Last edited:
OK then what should that be set to. "this Ai server"? I have license plate reader module installed not paid service
It should be set like the below

1759070113623.png
 
Try this:

View attachment 215404


More zoom and a better angle will certainly help as well.
For some reason my screens are different..

For instance, on the ai tab for the camera, should i have this for custom models.. or should it be objects:0,alpr, or ipcam-combined?
1759073596825.png


My alert confirmation currently looks like this (im using CPU not gpu so not sure if that matters):
1759073637221.png


And
does it matter if using yolov5.net or yolov5 6.2?

I was originally using v5 .net, now i seem to have both running (and have tried stopping the one)
 
For some reason my screens are different..

For instance, on the ai tab for the camera, should i have this for custom models.. or should it be objects:0,alpr, or ipcam-combined?
View attachment 228857

My alert confirmation currently looks like this (im using CPU not gpu so not sure if that matters):
View attachment 228858

And
does it matter if using yolov5.net or yolov5 6.2?

I was originally using v5 .net, now i seem to have both running (and have tried stopping the one)
Use the below settings

1759076227064.png


1759076259841.png
 
So dont put anything for confirmation? Not car, vehicle etc?

I dont think my motion triggering is working right at least with cpu, its always only catching the car as it enters the frame not in the center etc.
*Does it matter if yolov5 6.2 or yolov5.net is used, in my case with cpu only

---------------
Also license plate reader wont start, i've tried the following:

usual error is something like :
Installer exited with code 1
12:42:30:Module ALPR started successfully.
12:42:33:Module ALPR has shutdown
12:42:33:ALPR_adapter.py: has exited
14:08:34:ALPR: Ensuring Python package manager (pip) is installed...done
14:08:46:Response timeout. Try increasing the timeout value


I installed the latest cuda 13.1 retried install..
It still fails.. then

reinstalling with cache turned off, seeing:
14:16:42:ALPR: Python packages specified by requirements.windows.cuda.txt
14:16:47:Response timeout. Try increasing the timeout value
Still stuck
 
Last edited:
So dont put anything for confirmation? Not car, vehicle etc?

I dont think my motion triggering is working right at least with cpu, its always only catching the car as it enters the frame not in the center etc.
*Does it matter if yolov5 6.2 or yolov5.net is used, in my case with cpu only

---------------
Also license plate reader wont start, i've tried the following:

usual error is something like :
Installer exited with code 1
12:42:30:Module ALPR started successfully.
12:42:33:Module ALPR has shutdown
12:42:33:ALPR_adapter.py: has exited
14:08:34:ALPR: Ensuring Python package manager (pip) is installed...done
14:08:46:Response timeout. Try increasing the timeout value


I installed the latest cuda 13.1 retried install..
It still fails.. then

reinstalling with cache turned off, seeing:
14:16:42:ALPR: Python packages specified by requirements.windows.cuda.txt
14:16:47:Response timeout. Try increasing the timeout value
Still stuck
Post a screenshot of your system info, like the below

1759083950036.png
 
Post a screenshot of your system info, like the below
Here it is, i recently took out the 1650 gtx to save on power draw, so im relying strictly on the i5-13500t cpu .. it has integrated graphics though, latest cuda 13.0.1, not sure why it says primary nvidia, maybe the integrated. It says python not found, i know theres definitely 2.7.13, but i swear 3.9 was on here
1759084752956.png
 
Here it is, i recently took out the 1650 gtx to save on power draw, so im relying strictly on the i5-13500t cpu .. it has integrated graphics though, latest cuda 13.0.1, not sure why it says primary nvidia, maybe the integrated. It says python not found, i know theres definitely 2.7.13, but i swear 3.9 was on here
View attachment 228865
If you are not going to use a Nvidia GPU uninstall CUDA. Do the below steps.
  1. Uninstall CUDA 13
  2. Reboot your PC
  3. Uninstall the ALPR module
  4. Reboot your PC
  5. Reinstall the ALPR module
  6. This should make the ALPR module work
 
  • Like
Reactions: markm75
If you are not going to use a Nvidia GPU uninstall CUDA. Do the below steps.
  1. Uninstall CUDA 13
  2. Reboot your PC
  3. Uninstall the ALPR module
  4. Reboot your PC
  5. Reinstall the ALPR module
  6. This should make the ALPR module work
Appreciate the help. Unfortunately no luck after doing those steps same situation
 
Appreciate the help. Unfortunately no luck after doing those steps same situation
Post a screenshot of your system info and the install log for the ALPR module

1759093243434.png


Module 'License Plate Reader' 3.4.0 (ID: ALPR)
Valid: True
Module Path: <root>\modules\ALPR
Module Location: Internal
AutoStart: False
Queue: alpr_queue
Runtime: python3.10
Runtime Location: Local
FilePath: ALPR_adapter.py
Start pause: 3 sec
Parallelism: 0
LogVerbosity:
Platforms: all,!windows-arm64
GPU Libraries: installed if available
GPU: use if supported
Accelerator:
Half Precision: enable
Environment Variables
AUTO_PLATE_ROTATE = False
CROPPED_PLATE_DIR = <root>\Server\wwwroot
MIN_COMPUTE_CAPABILITY = 6
MIN_CUDNN_VERSION = 7
OCR_OPTIMAL_CHARACTER_HEIGHT = 60
OCR_OPTIMAL_CHARACTER_WIDTH = 30
OCR_OPTIMIZATION = True
OCR_TRAINING_DATASET = true
PLATE_CONFIDENCE = 0.7
PLATE_RESCALE_FACTOR = 1.0
PLATE_ROTATE_DEG = 0
REMOVE_SPACES = True
ROOT_PATH = <root>
SAVE_CROPPED_PLATE = true
Status Data:
Started: Not seen
LastSeen: Not seen
Status: NoAutoStart
Requests: 0 (includes status calls)



Installation Log
2025-03-22 15:47:36: Installing CodeProject.AI Analysis Module
2025-03-22 15:47:36: ======================================================================
2025-03-22 15:47:36: CodeProject.AI Installer
2025-03-22 15:47:36: ======================================================================
2025-03-22 15:47:37: 485.3Gb of 1907Gb available on (No label) (Windows 10 x86_64 - windows)
2025-03-22 15:47:37: General CodeProject.AI setup
2025-03-22 15:47:37: Checking for VC++ Redist...v14 Present.
2025-03-22 15:47:37: Creating Directories...done
2025-03-22 15:47:37: GPU support
2025-03-22 15:47:39: CUDA Present...Yes (CUDA 12.4, cuDNN 8.9, CUDA Toolkit: true)
2025-03-22 15:47:39: Updating path to include cuDNN
2025-03-22 15:47:39: ROCm Present...No
2025-03-22 15:47:40: Checking for .NET 9.0...Checking runtimes...All good. .NET aspnetcore is 9.0.2
2025-03-22 15:47:42: Reading ALPR settings.......done
2025-03-22 15:47:42: Installing module License Plate Reader 3.3.4 (Internal)
2025-03-22 15:47:42: Installing Python 3.9
2025-03-22 15:47:46: Downloading Python 3.9 interpreter...Expanding...done.
2025-03-22 15:48:01: Creating Virtual Environment (Local)...done
2025-03-22 15:48:01: Confirming we have Python 3.9 in our virtual environment...present
2025-03-22 15:48:02: Downloading ALPR models...Expanding...done.
2025-03-22 15:48:03: Copying contents of ocr-en-pp_ocrv4-paddle.zip to paddleocr...done
2025-03-22 15:48:04: Checking CPU compatibility...All good
2025-03-22 15:48:04: Installing Python packages for License Plate Reader
2025-03-22 15:48:04: [0;Installing GPU-enabled libraries: If available
2025-03-22 15:48:07: Ensuring Python package manager (pip) is installed...done
2025-03-22 15:48:20: Ensuring Python package manager (pip) is up to date...done
2025-03-22 15:48:20: Python packages specified by requirements.windows.cuda12.txt
2025-03-22 15:48:29: - Installing NumPy, a package for scientific computing...(✅ checked) done
2025-03-22 15:50:07: - Installing PaddlePaddle, Parallel Distributed Deep Learning...(✅ checked) done
2025-03-22 15:51:20: - Installing PaddleOCR, the OCR toolkit based on PaddlePaddle...(✅ checked) done
2025-03-22 15:51:32: - Installing imutils, the image utilities library...(✅ checked) done
2025-03-22 15:52:05: - Installing the CodeProject.AI SDK...(✅ checked) done
2025-03-22 15:52:06: Scanning modulesettings for downloadable models...No models specified
2025-03-22 15:52:06: Executing post-install script for License Plate Reader
2025-03-22 15:52:28: Self test: Self-test passed
2025-03-22 15:52:28: Module setup time 00:04:48.04
2025-03-22 15:52:28: Setup complete
2025-03-22 15:52:28: Total setup time 00:04:51.99
 
Post a screenshot of your system info and the install log for the ALPR module

View attachment 228885

Module 'License Plate Reader' 3.4.0 (ID: ALPR)
Valid: True
Module Path: <root>\modules\ALPR
Module Location: Internal
AutoStart: False
Queue: alpr_queue
Runtime: python3.10
Runtime Location: Local
FilePath: ALPR_adapter.py
Start pause: 3 sec
Parallelism: 0
LogVerbosity:
Platforms: all,!windows-arm64
GPU Libraries: installed if available
GPU: use if supported
Accelerator:
Half Precision: enable
Environment Variables
AUTO_PLATE_ROTATE = False
CROPPED_PLATE_DIR = <root>\Server\wwwroot
MIN_COMPUTE_CAPABILITY = 6
MIN_CUDNN_VERSION = 7
OCR_OPTIMAL_CHARACTER_HEIGHT = 60
OCR_OPTIMAL_CHARACTER_WIDTH = 30
OCR_OPTIMIZATION = True
OCR_TRAINING_DATASET = true
PLATE_CONFIDENCE = 0.7
PLATE_RESCALE_FACTOR = 1.0
PLATE_ROTATE_DEG = 0
REMOVE_SPACES = True
ROOT_PATH = <root>
SAVE_CROPPED_PLATE = true
Status Data:
Started: Not seen
LastSeen: Not seen
Status: NoAutoStart
Requests: 0 (includes status calls)



Installation Log
2025-03-22 15:47:36: Installing CodeProject.AI Analysis Module
2025-03-22 15:47:36: ======================================================================
2025-03-22 15:47:36: CodeProject.AI Installer
2025-03-22 15:47:36: ======================================================================
2025-03-22 15:47:37: 485.3Gb of 1907Gb available on (No label) (Windows 10 x86_64 - windows)
2025-03-22 15:47:37: General CodeProject.AI setup
2025-03-22 15:47:37: Checking for VC++ Redist...v14 Present.
2025-03-22 15:47:37: Creating Directories...done
2025-03-22 15:47:37: GPU support
2025-03-22 15:47:39: CUDA Present...Yes (CUDA 12.4, cuDNN 8.9, CUDA Toolkit: true)
2025-03-22 15:47:39: Updating path to include cuDNN
2025-03-22 15:47:39: ROCm Present...No
2025-03-22 15:47:40: Checking for .NET 9.0...Checking runtimes...All good. .NET aspnetcore is 9.0.2
2025-03-22 15:47:42: Reading ALPR settings.......done
2025-03-22 15:47:42: Installing module License Plate Reader 3.3.4 (Internal)
2025-03-22 15:47:42: Installing Python 3.9
2025-03-22 15:47:46: Downloading Python 3.9 interpreter...Expanding...done.
2025-03-22 15:48:01: Creating Virtual Environment (Local)...done
2025-03-22 15:48:01: Confirming we have Python 3.9 in our virtual environment...present
2025-03-22 15:48:02: Downloading ALPR models...Expanding...done.
2025-03-22 15:48:03: Copying contents of ocr-en-pp_ocrv4-paddle.zip to paddleocr...done
2025-03-22 15:48:04: Checking CPU compatibility...All good
2025-03-22 15:48:04: Installing Python packages for License Plate Reader
2025-03-22 15:48:04: [0;Installing GPU-enabled libraries: If available
2025-03-22 15:48:07: Ensuring Python package manager (pip) is installed...done
2025-03-22 15:48:20: Ensuring Python package manager (pip) is up to date...done
2025-03-22 15:48:20: Python packages specified by requirements.windows.cuda12.txt
2025-03-22 15:48:29: - Installing NumPy, a package for scientific computing...(✅ checked) done
2025-03-22 15:50:07: - Installing PaddlePaddle, Parallel Distributed Deep Learning...(✅ checked) done
2025-03-22 15:51:20: - Installing PaddleOCR, the OCR toolkit based on PaddlePaddle...(✅ checked) done
2025-03-22 15:51:32: - Installing imutils, the image utilities library...(✅ checked) done
2025-03-22 15:52:05: - Installing the CodeProject.AI SDK...(✅ checked) done
2025-03-22 15:52:06: Scanning modulesettings for downloadable models...No models specified
2025-03-22 15:52:06: Executing post-install script for License Plate Reader
2025-03-22 15:52:28: Self test: Self-test passed
2025-03-22 15:52:28: Module setup time 00:04:48.04
2025-03-22 15:52:28: Setup complete
2025-03-22 15:52:28: Total setup time 00:04:51.99
1759098940788.png


1759099027158.png
 
Try uninstall the ALPR module one more time, do the below steps.
  1. Uninstall the ALPR module
  2. Reboot the PC
  3. Reinstall the ALPR module using Do not use download cache
i tried this again (i have tried do not use cache before too)..
it shows green at first, but refresh page and its red / stopped..
in status shows:

20:23:31:Started License Plate Reader module
20:23:31:Installer exited with code 1
20:23:33:Module ALPR has shutdown
20:23:33:ALPR_adapter.py: has exited
20:23:34:Module ALPR started successfully.

i even tried removing codeproject completely, removing the folder, reinstalling, same issue
 
Last edited:
i tried this again (i have tried do not use cache before too)..
it shows green at first, but refresh page and its red / stopped..
in status shows:

20:23:31:Started License Plate Reader module
20:23:31:Installer exited with code 1
20:23:33:Module ALPR has shutdown
20:23:33:ALPR_adapter.py: has exited
20:23:34:Module ALPR started successfully.

i even tried removing codeproject completely, removing the folder, reinstalling, same issue
I am not sure what the issue, can you try uninstalling and installing one more time Do not use download cache and Install verbosity Loud (Loud will show a lot more details on the install). When it finishes installing post the install log.

1759108100284.png