YOLOv8 with counting time when object is stopped moving
Sorry I’m new to programming here and tried to combine one code with another, I’m trying to create a program which would counting how long a mouse stay idle (i mean not moving). so the timer must start when the mouse didn’t move and stop when the mouse is moving again. but i get this error line 38, in <module>
bboxes = results.xyxy[0].cpu().numpy()[:, :4] if len(results.xyxy) else []
AttributeError: 'list' object has no attribute 'xyxy'
sorry can anybody tell me whats wrong and what should I do?