2.5.3 license plate value error bug
-
Hi, When checking my license plate I get this message:
18:36:59:License Plate Reader: [ValueError] : Traceback (most recent call last):
File "/app/modules/ALPR/ALPR_adapter.py", line 57, in process
result = await detect_platenumber(self, self.opts, image)
File "/app/modules/ALPR/ALPR.py", line 132, in detect_platenumber
bounding_box_result = ocr.ocr(numpy_plate, rec=False, cls=False)
File "/app/modules/ALPR/bin/linux/python38/venv/lib/python3.8/site-packages/paddleocr/paddleocr.py", line 674, in ocr
if not dt_boxes:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
18:36:59:Response rec'd from License Plate Reader command 'alpr' (...ee7c57)No license plate can be checked because of this. System info:
Server version: 2.5.3
System: Docker
Operating System: Linux (Linux 5.10.55+ #69057 SMP Fri Jan 12 17:02:57 CST 2024)
CPUs: 12th Gen Intel(R) Core(TM) i7-12650H (Intel)
1 CPU x 7 cores. 7 logical processors (x64)
System RAM: 12 GiB
Platform: Linux
BuildConfig: Release
Execution Env: Docker
Runtime Env: Production
.NET framework: .NET 7.0.15
Default Python: 3.10
Video adapter info:
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH =
CPAI_PORT = 32168 -
Hi, When checking my license plate I get this message:
18:36:59:License Plate Reader: [ValueError] : Traceback (most recent call last):
File "/app/modules/ALPR/ALPR_adapter.py", line 57, in process
result = await detect_platenumber(self, self.opts, image)
File "/app/modules/ALPR/ALPR.py", line 132, in detect_platenumber
bounding_box_result = ocr.ocr(numpy_plate, rec=False, cls=False)
File "/app/modules/ALPR/bin/linux/python38/venv/lib/python3.8/site-packages/paddleocr/paddleocr.py", line 674, in ocr
if not dt_boxes:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
18:36:59:Response rec'd from License Plate Reader command 'alpr' (...ee7c57)No license plate can be checked because of this. System info:
Server version: 2.5.3
System: Docker
Operating System: Linux (Linux 5.10.55+ #69057 SMP Fri Jan 12 17:02:57 CST 2024)
CPUs: 12th Gen Intel(R) Core(TM) i7-12650H (Intel)
1 CPU x 7 cores. 7 logical processors (x64)
System RAM: 12 GiB
Platform: Linux
BuildConfig: Release
Execution Env: Docker
Runtime Env: Production
.NET framework: .NET 7.0.15
Default Python: 3.10
Video adapter info:
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH =
CPAI_PORT = 32168Questions about CodeProject.AI should be posted in the dedicated CodeProject.AI Discussions[^] forum.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer