Thanks have moved it
paul read 2022
Posts
-
License Plate Reader: [AttributeError] : Traceback (most recent call last) -
License Plate Reader: [AttributeError] : Traceback (most recent call last)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