Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Feature Forums
  3. - Uncategorised posts -
  4. 2.5.3 license plate value error bug

2.5.3 license plate value error bug

Scheduled Pinned Locked Moved - Uncategorised posts -
pythonhelpannouncementcsharpasp-net
2 Posts 2 Posters 18 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_16201122
    wrote on last edited by
    #1

    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

    Richard DeemingR 1 Reply Last reply
    0
    • M Member_16201122

      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

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Questions 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

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups