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. Artificial Intelligence
  3. License Plate Reader: [AttributeError] : Traceback (most recent call last)

License Plate Reader: [AttributeError] : Traceback (most recent call last)

Scheduled Pinned Locked Moved Artificial Intelligence
pythonhelpquestion
3 Posts 2 Posters 12 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.
  • P Offline
    P Offline
    paul read 2022
    wrote on last edited by
    #1

    Hi all I have had number plate recognition working for quite some time then over the past few months it has stopped working and getting the error shown below:

    14:30:00:Object Detection (YOLOv5 6.2): Detecting using license-plate
    14:30:00:Response rec'd from Object Detection (YOLOv5 6.2) command 'custom' (...7f9def) ['Found DayPlate'] took 67ms
    14:30:00:License Plate Reader: [AttributeError] : Traceback (most recent call last):
    File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR_adapter.py", line 57, in process
    result = await detect_platenumber(self, self.opts, image)
    File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR.py", line 132, in detect_platenumber
    bounding_box_result = ocr.ocr(numpy_plate, rec=False, cls=False)
    AttributeError: 'NoneType' object has no attribute 'ocr'

    I cant figure it out or find a solution so wondered if anyone here has an idea please? Starting to loose my mind :-( Thanks

    P 1 Reply Last reply
    0
    • P paul read 2022

      Hi all I have had number plate recognition working for quite some time then over the past few months it has stopped working and getting the error shown below:

      14:30:00:Object Detection (YOLOv5 6.2): Detecting using license-plate
      14:30:00:Response rec'd from Object Detection (YOLOv5 6.2) command 'custom' (...7f9def) ['Found DayPlate'] took 67ms
      14:30:00:License Plate Reader: [AttributeError] : Traceback (most recent call last):
      File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR_adapter.py", line 57, in process
      result = await detect_platenumber(self, self.opts, image)
      File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR.py", line 132, in detect_platenumber
      bounding_box_result = ocr.ocr(numpy_plate, rec=False, cls=False)
      AttributeError: 'NoneType' object has no attribute 'ocr'

      I cant figure it out or find a solution so wondered if anyone here has an idea please? Starting to loose my mind :-( Thanks

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      You should be asking this question here[^]. This is the forum for CodeProjec AI questions.

      Advanced TypeScript Programming Projects

      P 1 Reply Last reply
      0
      • P Pete OHanlon

        You should be asking this question here[^]. This is the forum for CodeProjec AI questions.

        Advanced TypeScript Programming Projects

        P Offline
        P Offline
        paul read 2022
        wrote on last edited by
        #3

        Thanks have moved it

        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