Full ALPR Database System for Blue Iris!

Do I need to change any settings in the AI menu?
 

Attachments

  • Image 2025-02-22 at 13.16.06_c5f099f4.jpg
    Image 2025-02-22 at 13.16.06_c5f099f4.jpg
    152.7 KB · Views: 0
Where did /dashboard/ come from? It should look exactly as it does in the example.



Let me just clarify the flow of how things work for this in case anything doesn't make sense

1) Your existing Blue Iris system uses either CodeProject or DeepStack and has an ALPR module installed. In this setup, the AI server (completely separate from this application) sends back the results from its detection to Blue Iris and BI saves it.

2) We use a Blue Iris alert action to then send that AI prediction to this application so that you can store and use them instead of just having it in the memo in Blue Iris. The &PLATE, &ALERT_JPEG, etc are Blue Iris "macros" which will replace that text with what the AI server sent.

3) This application is a combination of a web app and database that uses an API route to receive the data from Blue Iris and store it for you so you can actually use it.

4) Everything here is completely separate and is just a way to manage your ALPR recognitions.



So it goes ALPR camera stream -> Blue Iris sees motion and triggers -> AI server with ALPR module detects license plate -> Blue Iris gets the plate back from the AI -> Alert Action uses the & macros to get that data from the alert -> Web request sends data to the /api/plate-reads route of this app -> this app receives that data, processes it, then stores it in its database -> you can then access and manage the recognitions in your browser.
logs
 

Attachments

  • ge 2025-02-22 at 13.23.18_bfd3e540.jpg
    ge 2025-02-22 at 13.23.18_bfd3e540.jpg
    117.4 KB · Views: 0
Do I need to change any settings in the AI menu?
It looks like your AI is disabled? Unless you have the server override set in the camera you should have the top box ticked.

Can you clarify if you ever had ALPR working? That has been asked a couple times, but I couldn't find your response.

I believe you need custom models enabled for ALPR in the older releases.


If you aren't already getting plates in the memo of your blue iris alerts, I would encourage you to please consult the ALPR threads or a youtube video and get that working first then come back here. As I said, this does not do any ALPR. Your issue is well before anything here in the pipeline.
 
The picture of the plate is now very clear after making some adjustments to the camera focus.
 

Attachments

  • Cam2.20250222_132153918.6.jpg
    Cam2.20250222_132153918.6.jpg
    2.8 MB · Views: 0
It may be clear on digital zoom, but may not be large enough for ALPR do work, and again especially not at night.

I think you never had ALPR working to begin with and are using this camera as an overview and could get lucky with digital zoom on many plates.

And if the ALPR module isn't set up or working because you optical zoom is not large enough, nothing in this thread is going to work. That needs to be working first.
 
It looks like your AI is disabled? Unless you have the server override set in the camera you should have the top box ticked.

Can you clarify if you ever had ALPR working? That has been asked a couple times, but I couldn't find your response.

I believe you need custom models enabled for ALPR in the older releases.


If you aren't already getting plates in the memo of your blue iris alerts, I would encourage you to please consult the ALPR threads or a youtube video and get that working first then come back here. As I said, this does not do any ALPR. Your issue is well before anything here in the pipeline.
I tried CodeProject or something similar over a year ago, but I don't remember exactly. I couldn’t make it work, so I gave up after wasting a lot of time. That was it.
 
I tried CodeProject or something similar over a year ago, but I don't remember exactly. I couldn’t make it work, so I gave up after wasting a lot of time. That was it.

Then everything you did with this database is useless.

CodeProject ALPR needs to work first. Then this database.

You don't have enough zoom and that is why you couldn't get it to work previously.
 
Yes that is the issue. These are two entirely separate systems. This is what other users were trying to explain.

Codeproject has improved a lot in the past couple years. I used to have frequent issues also. I would definitely encourage you to give it another try. AI detections will massively improve the utility of your cameras.

Also, the IPCT wiki has a very good page about choosing cameras and the type of camera you need for reliable ALPR. I would definitely check that out as well.
 
Then everything you did with this database is useless.

CodeProject ALPR needs to work first. Then this database.

You don't have enough zoom and that is why you couldn't get it to work previously.
16:29:55:System: Windows
16:29:55:Operating System: Windows (Windows 11 24H2)
16:29:55:CPUs: AMD Ryzen 9 5950X 16-Core Processor (AMD)
16:29:55: 1 CPU x 16 cores. 32 logical processors (x64)
16:29:55:GPU (Primary): (NVIDIA), CUDA: 11.2 (up to: 11.2), Compute: , cuDNN:
16:29:55:System RAM: 128 GiB
16:29:55:Platform: Windows
16:29:55:BuildConfig: Release
16:29:55:Execution Env: Native
16:29:55:Runtime Env: Production
16:29:55:Runtimes installed:
16:29:55: .NET runtime: 9.0.2
16:29:55: .NET SDK: 9.0.200
16:29:55: Default Python: Not found
16:29:55: Go: Not found
16:29:55: NodeJS: Not found
16:29:55: Rust: Not found
16:29:55:App DataDir: C:\ProgramData\CodeProject\AI
16:29:55:Video adapter info:
16:29:55: NVIDIA GeForce GT 710:
16:29:55: Driver Version 27.21.14.6296
16:29:55: Video Processor GeForce GT 710
16:29:55:STARTING CODEPROJECT.AI SERVER
16:29:55:RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
16:29:55:PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
16:29:55:DEMO_MODULES_PATH = C:\Program Files\CodeProject\AI\src\demos\modules
16:29:55:EXTERNAL_MODULES_PATH = C:\Program Files\CodeProject\CodeProject.AI-Modules
16:29:55:MODULES_PATH = C:\Program Files\CodeProject\AI\modules
16:29:55:PYTHON_PATH = \bin\windows\%PYTHON_NAME%\venv\Scripts\python
16:29:55:Data Dir = C:\ProgramData\CodeProject\AI
16:29:56:Server version: 2.9.5
16:29:56:ModuleRunner Start
16:29:56:Starting Background AI Modules
16:29:59:Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
16:29:59:
16:29:59:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...ing\intelligencelayer\face.py"
16:29:59:
16:29:59:Attempting to start FaceProcessing with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\face.py"
16:29:59:Module 'Face Processing' 1.12.3 (ID: FaceProcessing)
16:29:59:Valid: True
16:29:59:Module Path: <root>\modules\FaceProcessing
16:29:59:Module Location: Internal
16:29:59:AutoStart: True
16:29:59:Queue: faceprocessing_queue
16:29:59:Runtime: python3.7
16:29:59:Runtime Location: Shared
16:29:59:FilePath: intelligencelayer\face.py
16:29:59:Start pause: 3 sec
16:29:59:Parallelism: 0
16:29:59:LogVerbosity:
16:29:59:Platforms: all,!jetson
16:29:59:GPU Libraries: installed if available
16:29:59:GPU: use if supported
16:29:59:Accelerator:
16:29:59:Half Precision: enable
16:29:59:Environment Variables
16:29:59:APPDIR = <root>\modules\FaceProcessing\intelligencelayer
16:29:59:DATA_DIR = C:\ProgramData\CodeProject\AI
16:29:59:MODE = MEDIUM
16:29:59:MODELS_DIR = <root>\modules\FaceProcessing\assets
16:29:59:PROFILE = desktop_gpu
16:29:59:USE_CUDA = True
16:29:59:YOLOv5_AUTOINSTALL = false
16:29:59:YOLOv5_VERBOSE = false
16:29:59:
16:29:59:Started Face Processing module
16:30:01:Current Version is 2.9.5
16:30:01:Server: This is the latest version
16:30:02:Running module using: C:\Program Files\CodeProject\AI\modules\TextSummary\bin\windows\python37\venv\Scripts\python
16:30:02:
16:30:02:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...extSummary\summary_adapter.py"
16:30:02:
16:30:02:Attempting to start TextSummary with C:\Program Files\CodeProject\AI\modules\TextSummary\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\TextSummary\summary_adapter.py"
16:30:02:Module 'Text Summary' 1.9.0 (ID: TextSummary)
16:30:02:Valid: True
16:30:02:Module Path: <root>\modules\TextSummary
16:30:02:Module Location: Internal
16:30:02:AutoStart: True
16:30:02:Queue: textsummary_queue
16:30:02:Runtime: python3.7
16:30:02:Runtime Location: Local
16:30:02:FilePath: summary_adapter.py
16:30:02:Start pause: 3 sec
16:30:02:Parallelism: 1
16:30:02:LogVerbosity:
16:30:02:Platforms: all
16:30:02:GPU Libraries: not installed
16:30:02:GPU: do not use
16:30:02:Accelerator:
16:30:02:Half Precision: enable
16:30:02:Environment Variables
16:30:02:NLTK_DATA = <root>\modules\TextSummary\nltk_data
16:30:02:
16:30:02:Started Text Summary module
16:30:05:Running module using: launcher
16:30:05:
16:30:05:
16:30:05:Module 'Portrait Filter' 2.4.0 (ID: PortraitFilter)
16:30:05:Valid: True
16:30:05:Module Path: <root>\modules\PortraitFilter
16:30:05:Module Location: Internal
16:30:05:Starting C:\Program Files...rtraitFilter\PortraitFilter.exe
16:30:05:Attempting to start PortraitFilter with C:\Program Files\CodeProject\AI\modules\PortraitFilter\PortraitFilter.exe
16:30:05:AutoStart: True
16:30:05:Queue: portraitfilter_queue
16:30:05:Runtime: dotnet
16:30:05:Runtime Location: System
16:30:05:FilePath: PortraitFilter.exe
16:30:05:Start pause: 1 sec
16:30:05:Parallelism: 1
16:30:05:LogVerbosity:
16:30:05:Platforms: windows
16:30:05:GPU Libraries: installed if available
16:30:05:GPU: use if supported
16:30:05:Accelerator:
16:30:05:Half Precision: enable
16:30:05:Environment Variables
16:30:05:
16:30:05:Started Portrait Filter module
16:30:06:PortraitFilter.exe: Application started. Press Ctrl+C to shut down.
16:30:06:PortraitFilter.exe: Hosting environment: Production
16:30:06:PortraitFilter.exe: Content root path: C:\Program Files\CodeProject\AI\modules\PortraitFilter
16:30:06:Running module using: C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\Scripts\python
16:30:06:Starting C:\Program Files...ws\python39\venv\Scripts\python "C:\Program Files...\modules\ALPR\ALPR_adapter.py"
16:30:06:
16:30:06:Attempting to start ALPR with C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR_adapter.py"
16:30:06:
16:30:06:Module 'License Plate Reader' 3.3.4 (ID: ALPR)
16:30:06:Valid: True
16:30:06:Module Path: <root>\modules\ALPR
16:30:06:Module Location: Internal
16:30:06:AutoStart: True
16:30:06:Queue: alpr_queue
16:30:06:Runtime: python3.9
16:30:06:Runtime Location: Local
16:30:06:FilePath: ALPR_adapter.py
16:30:06:Start pause: 3 sec
16:30:06:Parallelism: 0
16:30:06:LogVerbosity:
16:30:06:Platforms: all,!windows-arm64
16:30:06:GPU Libraries: installed if available
16:30:06:GPU: use if supported
16:30:06:Accelerator:
16:30:06:Half Precision: enable
16:30:06:Environment Variables
16:30:06:AUTO_PLATE_ROTATE = True
16:30:06:CROPPED_PLATE_DIR = <root>\Server\wwwroot
16:30:06:MIN_COMPUTE_CAPABILITY = 6
16:30:06:MIN_CUDNN_VERSION = 7
16:30:06:OCR_OPTIMAL_CHARACTER_HEIGHT = 60
16:30:06:OCR_OPTIMAL_CHARACTER_WIDTH = 30
16:30:06:OCR_OPTIMIZATION = true
16:30:06:PLATE_CONFIDENCE = 0.80
16:30:06:PLATE_RESCALE_FACTOR = 2
16:30:06:PLATE_ROTATE_DEG = 0
16:30:06:REMOVE_SPACES = False
16:30:06:ROOT_PATH = <root>
16:30:06:SAVE_CROPPED_PLATE = False
16:30:06:
16:30:06:Started License Plate Reader module
16:30:08:Portrait Filter: Portrait Filter module started.
16:30:09:ALPR_adapter.py: Traceback (most recent call last):
16:30:09:ALPR_adapter.py: File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR_adapter.py", line 11, in
16:30:09:ALPR_adapter.py: from ALPR import init_detect_platenumber, detect_platenumber
16:30:09:ALPR_adapter.py: File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR.py", line 17, in
16:30:09:ALPR_adapter.py: from paddleocr import PaddleOCR
16:30:09:ALPR_adapter.py: ImportError: cannot import name 'PaddleOCR' from 'paddleocr' (unknown location)
16:30:09:Module ALPR has shutdown
16:30:09:ALPR_adapter.py: has exited
16:30:09:Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
16:30:09:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...nYOLOv5-6.2\detect_adapter.py"
16:30:09:
16:30:09:Attempting to start ObjectDetectionYOLOv5-6.2 with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\detect_adapter.py"
16:30:09:
16:30:09:Module 'Object Detection (YOLOv5 6.2)' 1.10.0 (ID: ObjectDetectionYOLOv5-6.2)
16:30:09:Valid: True
16:30:09:Module Path: <root>\modules\ObjectDetectionYOLOv5-6.2
16:30:09:Module Location: Internal
16:30:09:AutoStart: True
16:30:09:Queue: objectdetection_queue
16:30:09:Runtime: python3.7
16:30:09:Runtime Location: Shared
16:30:09:FilePath: detect_adapter.py
16:30:09:Start pause: 1 sec
16:30:09:Parallelism: 0
16:30:09:LogVerbosity:
16:30:09:Platforms: all,!raspberrypi,!jetson
16:30:09:GPU Libraries: installed if available
16:30:09:GPU: use if supported
16:30:09:Accelerator:
16:30:09:Half Precision: enable
16:30:09:Environment Variables
16:30:09:APPDIR = <root>\modules\ObjectDetectionYOLOv5-6.2
16:30:09:CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\custom-models
16:30:09:MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\assets
16:30:09:MODEL_SIZE = Medium
16:30:09:USE_CUDA = True
16:30:09:YOLOv5_AUTOINSTALL = false
16:30:09:YOLOv5_VERBOSE = false
16:30:09:
16:30:09:Started Object Detection (YOLOv5 6.2) module
16:30:10:detect_adapter.py: Traceback (most recent call last):
16:30:10:detect_adapter.py: File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\detect_adapter.py", line 25, in
16:30:10:detect_adapter.py: from detect import do_detection
16:30:10:detect_adapter.py: File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\detect.py", line 8, in
16:30:10:detect_adapter.py: from yolov5.models.common import DetectMultiBackend, AutoShape
16:30:10:detect_adapter.py: ModuleNotFoundError: No module named 'yolov5'
16:30:11:Module ObjectDetectionYOLOv5-6.2 has shutdown
16:30:11:detect_adapter.py: has exited
16:30:11:summary_adapter.py: Using PIL for image manipulation (Either OpenCV or numpy not available for this module)
16:30:11:summary_adapter.py: Running init for Text Summary
16:30:15:face.py: GPU in use: GeForce GT 710
16:30:15:face.py: Vision AI services setup: Retrieving environment variables...
16:30:15:face.py: Running init for Face Processing
16:30:15:face.py: APPDIR: C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer
16:30:15:face.py: PROFILE: desktop_gpu
16:30:15:face.py: USE_CUDA: True
16:30:15:face.py: DATA_DIR: C:\ProgramData\CodeProject\AI
16:30:15:face.py: MODELS_DIR: C:\Program Files\CodeProject\AI\modules\FaceProcessing\assets
16:30:15:face.py: MODE: MEDIUM
 

Attachments

  • a.jpg
    a.jpg
    194.5 KB · Views: 0
16:29:55:System: Windows
16:29:55:Operating System: Windows (Windows 11 24H2)
16:29:55:CPUs: AMD Ryzen 9 5950X 16-Core Processor (AMD)
16:29:55: 1 CPU x 16 cores. 32 logical processors (x64)
16:29:55:GPU (Primary): (NVIDIA), CUDA: 11.2 (up to: 11.2), Compute: , cuDNN:
16:29:55:System RAM: 128 GiB
16:29:55:Platform: Windows
16:29:55:BuildConfig: Release
16:29:55:Execution Env: Native
16:29:55:Runtime Env: Production
16:29:55:Runtimes installed:
16:29:55: .NET runtime: 9.0.2
16:29:55: .NET SDK: 9.0.200
16:29:55: Default Python: Not found
16:29:55: Go: Not found
16:29:55: NodeJS: Not found
16:29:55: Rust: Not found
16:29:55:App DataDir: C:\ProgramData\CodeProject\AI
16:29:55:Video adapter info:
16:29:55: NVIDIA GeForce GT 710:
16:29:55: Driver Version 27.21.14.6296
16:29:55: Video Processor GeForce GT 710
16:29:55:STARTING CODEPROJECT.AI SERVER
16:29:55:RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
16:29:55:PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
16:29:55:DEMO_MODULES_PATH = C:\Program Files\CodeProject\AI\src\demos\modules
16:29:55:EXTERNAL_MODULES_PATH = C:\Program Files\CodeProject\CodeProject.AI-Modules
16:29:55:MODULES_PATH = C:\Program Files\CodeProject\AI\modules
16:29:55:PYTHON_PATH = \bin\windows\%PYTHON_NAME%\venv\Scripts\python
16:29:55:Data Dir = C:\ProgramData\CodeProject\AI
16:29:56:Server version: 2.9.5
16:29:56:ModuleRunner Start
16:29:56:Starting Background AI Modules
16:29:59:Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
16:29:59:
16:29:59:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...ing\intelligencelayer\face.py"
16:29:59:
16:29:59:Attempting to start FaceProcessing with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\face.py"
16:29:59:Module 'Face Processing' 1.12.3 (ID: FaceProcessing)
16:29:59:Valid: True
16:29:59:Module Path: <root>\modules\FaceProcessing
16:29:59:Module Location: Internal
16:29:59:AutoStart: True
16:29:59:Queue: faceprocessing_queue
16:29:59:Runtime: python3.7
16:29:59:Runtime Location: Shared
16:29:59:FilePath: intelligencelayer\face.py
16:29:59:Start pause: 3 sec
16:29:59:Parallelism: 0
16:29:59:LogVerbosity:
16:29:59:Platforms: all,!jetson
16:29:59:GPU Libraries: installed if available
16:29:59:GPU: use if supported
16:29:59:Accelerator:
16:29:59:Half Precision: enable
16:29:59:Environment Variables
16:29:59:APPDIR = <root>\modules\FaceProcessing\intelligencelayer
16:29:59:DATA_DIR = C:\ProgramData\CodeProject\AI
16:29:59:MODE = MEDIUM
16:29:59:MODELS_DIR = <root>\modules\FaceProcessing\assets
16:29:59:PROFILE = desktop_gpu
16:29:59:USE_CUDA = True
16:29:59:YOLOv5_AUTOINSTALL = false
16:29:59:YOLOv5_VERBOSE = false
16:29:59:
16:29:59:Started Face Processing module
16:30:01:Current Version is 2.9.5
16:30:01:Server: This is the latest version
16:30:02:Running module using: C:\Program Files\CodeProject\AI\modules\TextSummary\bin\windows\python37\venv\Scripts\python
16:30:02:
16:30:02:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...extSummary\summary_adapter.py"
16:30:02:
16:30:02:Attempting to start TextSummary with C:\Program Files\CodeProject\AI\modules\TextSummary\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\TextSummary\summary_adapter.py"
16:30:02:Module 'Text Summary' 1.9.0 (ID: TextSummary)
16:30:02:Valid: True
16:30:02:Module Path: <root>\modules\TextSummary
16:30:02:Module Location: Internal
16:30:02:AutoStart: True
16:30:02:Queue: textsummary_queue
16:30:02:Runtime: python3.7
16:30:02:Runtime Location: Local
16:30:02:FilePath: summary_adapter.py
16:30:02:Start pause: 3 sec
16:30:02:Parallelism: 1
16:30:02:LogVerbosity:
16:30:02:Platforms: all
16:30:02:GPU Libraries: not installed
16:30:02:GPU: do not use
16:30:02:Accelerator:
16:30:02:Half Precision: enable
16:30:02:Environment Variables
16:30:02:NLTK_DATA = <root>\modules\TextSummary\nltk_data
16:30:02:
16:30:02:Started Text Summary module
16:30:05:Running module using: launcher
16:30:05:
16:30:05:
16:30:05:Module 'Portrait Filter' 2.4.0 (ID: PortraitFilter)
16:30:05:Valid: True
16:30:05:Module Path: <root>\modules\PortraitFilter
16:30:05:Module Location: Internal
16:30:05:Starting C:\Program Files...rtraitFilter\PortraitFilter.exe
16:30:05:Attempting to start PortraitFilter with C:\Program Files\CodeProject\AI\modules\PortraitFilter\PortraitFilter.exe
16:30:05:AutoStart: True
16:30:05:Queue: portraitfilter_queue
16:30:05:Runtime: dotnet
16:30:05:Runtime Location: System
16:30:05:FilePath: PortraitFilter.exe
16:30:05:Start pause: 1 sec
16:30:05:Parallelism: 1
16:30:05:LogVerbosity:
16:30:05:Platforms: windows
16:30:05:GPU Libraries: installed if available
16:30:05:GPU: use if supported
16:30:05:Accelerator:
16:30:05:Half Precision: enable
16:30:05:Environment Variables
16:30:05:
16:30:05:Started Portrait Filter module
16:30:06:PortraitFilter.exe: Application started. Press Ctrl+C to shut down.
16:30:06:PortraitFilter.exe: Hosting environment: Production
16:30:06:PortraitFilter.exe: Content root path: C:\Program Files\CodeProject\AI\modules\PortraitFilter
16:30:06:Running module using: C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\Scripts\python
16:30:06:Starting C:\Program Files...ws\python39\venv\Scripts\python "C:\Program Files...\modules\ALPR\ALPR_adapter.py"
16:30:06:
16:30:06:Attempting to start ALPR with C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR_adapter.py"
16:30:06:
16:30:06:Module 'License Plate Reader' 3.3.4 (ID: ALPR)
16:30:06:Valid: True
16:30:06:Module Path: <root>\modules\ALPR
16:30:06:Module Location: Internal
16:30:06:AutoStart: True
16:30:06:Queue: alpr_queue
16:30:06:Runtime: python3.9
16:30:06:Runtime Location: Local
16:30:06:FilePath: ALPR_adapter.py
16:30:06:Start pause: 3 sec
16:30:06:Parallelism: 0
16:30:06:LogVerbosity:
16:30:06:Platforms: all,!windows-arm64
16:30:06:GPU Libraries: installed if available
16:30:06:GPU: use if supported
16:30:06:Accelerator:
16:30:06:Half Precision: enable
16:30:06:Environment Variables
16:30:06:AUTO_PLATE_ROTATE = True
16:30:06:CROPPED_PLATE_DIR = <root>\Server\wwwroot
16:30:06:MIN_COMPUTE_CAPABILITY = 6
16:30:06:MIN_CUDNN_VERSION = 7
16:30:06:OCR_OPTIMAL_CHARACTER_HEIGHT = 60
16:30:06:OCR_OPTIMAL_CHARACTER_WIDTH = 30
16:30:06:OCR_OPTIMIZATION = true
16:30:06:PLATE_CONFIDENCE = 0.80
16:30:06:PLATE_RESCALE_FACTOR = 2
16:30:06:PLATE_ROTATE_DEG = 0
16:30:06:REMOVE_SPACES = False
16:30:06:ROOT_PATH = <root>
16:30:06:SAVE_CROPPED_PLATE = False
16:30:06:
16:30:06:Started License Plate Reader module
16:30:08:Portrait Filter: Portrait Filter module started.
16:30:09:ALPR_adapter.py: Traceback (most recent call last):
16:30:09:ALPR_adapter.py: File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR_adapter.py", line 11, in
16:30:09:ALPR_adapter.py: from ALPR import init_detect_platenumber, detect_platenumber
16:30:09:ALPR_adapter.py: File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR.py", line 17, in
16:30:09:ALPR_adapter.py: from paddleocr import PaddleOCR
16:30:09:ALPR_adapter.py: ImportError: cannot import name 'PaddleOCR' from 'paddleocr' (unknown location)
16:30:09:Module ALPR has shutdown
16:30:09:ALPR_adapter.py: has exited
16:30:09:Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
16:30:09:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...nYOLOv5-6.2\detect_adapter.py"
16:30:09:
16:30:09:Attempting to start ObjectDetectionYOLOv5-6.2 with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\detect_adapter.py"
16:30:09:
16:30:09:Module 'Object Detection (YOLOv5 6.2)' 1.10.0 (ID: ObjectDetectionYOLOv5-6.2)
16:30:09:Valid: True
16:30:09:Module Path: <root>\modules\ObjectDetectionYOLOv5-6.2
16:30:09:Module Location: Internal
16:30:09:AutoStart: True
16:30:09:Queue: objectdetection_queue
16:30:09:Runtime: python3.7
16:30:09:Runtime Location: Shared
16:30:09:FilePath: detect_adapter.py
16:30:09:Start pause: 1 sec
16:30:09:Parallelism: 0
16:30:09:LogVerbosity:
16:30:09:Platforms: all,!raspberrypi,!jetson
16:30:09:GPU Libraries: installed if available
16:30:09:GPU: use if supported
16:30:09:Accelerator:
16:30:09:Half Precision: enable
16:30:09:Environment Variables
16:30:09:APPDIR = <root>\modules\ObjectDetectionYOLOv5-6.2
16:30:09:CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\custom-models
16:30:09:MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\assets
16:30:09:MODEL_SIZE = Medium
16:30:09:USE_CUDA = True
16:30:09:YOLOv5_AUTOINSTALL = false
16:30:09:YOLOv5_VERBOSE = false
16:30:09:
16:30:09:Started Object Detection (YOLOv5 6.2) module
16:30:10:detect_adapter.py: Traceback (most recent call last):
16:30:10:detect_adapter.py: File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\detect_adapter.py", line 25, in
16:30:10:detect_adapter.py: from detect import do_detection
16:30:10:detect_adapter.py: File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\detect.py", line 8, in
16:30:10:detect_adapter.py: from yolov5.models.common import DetectMultiBackend, AutoShape
16:30:10:detect_adapter.py: ModuleNotFoundError: No module named 'yolov5'
16:30:11:Module ObjectDetectionYOLOv5-6.2 has shutdown
16:30:11:detect_adapter.py: has exited
16:30:11:summary_adapter.py: Using PIL for image manipulation (Either OpenCV or numpy not available for this module)
16:30:11:summary_adapter.py: Running init for Text Summary
16:30:15:face.py: GPU in use: GeForce GT 710
16:30:15:face.py: Vision AI services setup: Retrieving environment variables...
16:30:15:face.py: Running init for Face Processing
16:30:15:face.py: APPDIR: C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer
16:30:15:face.py: PROFILE: desktop_gpu
16:30:15:face.py: USE_CUDA: True
16:30:15:face.py: DATA_DIR: C:\ProgramData\CodeProject\AI
16:30:15:face.py: MODELS_DIR: C:\Program Files\CodeProject\AI\modules\FaceProcessing\assets
16:30:15:face.py: MODE: MEDIUM
 

Attachments

  • 11.jpg
    11.jpg
    89.6 KB · Views: 0
  • 22.jpg
    22.jpg
    58.5 KB · Views: 0
@sunny0101786 I mean no disrespect, but could you please continue troubleshooting your ALPR issue in the CodeProject.AI forum threads? As has been politely mentioned multiple times, what you're asking for is entirely off-topic for this discussion, which is focused on the ALPR database. Once you have ALPR working, feel free to return here, and the community will be happy to help you set up the database for your detected plates.