a=results[0].box.box File "C:\User" /> a=results[0].box.box File "C:\User" /> a=results[0].box.box File "C:\User"/>

AttributeError: 'Results' object has no attribute 'box'. can anyone explain this?

63 Views Asked by At
File "C:\Users\lenovo\Downloads\yolov8parkingspace-main\yolov8parkingspace-main\testcount.py", line 62, in <module>
    a=results[0].box.box
  File "C:\Users\lenovo\AppData\Local\Programs\Thonny\lib\site-packages\ultralytics\utils\__init__.py", line 156, in __getattr__
    raise AttributeError(f"'{name}' object has no attribute '{attr}'. See valid attributes below.\n{self.__doc__}")
AttributeError: 'Results' object has no attribute 'box'. See valid attributes below.

this was the error, i don't know how to solve this cause im new at programming. thanks

im trying to make a parking spot detection using yolo v8 with python.

0

There are 0 best solutions below