You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the YOLOv8 issues and discussions and found no similar questions.
Question
As a beginner, I saw the"detections.boxes.data.tolist" parameters from the tutorials I followed. I'm looking for information to understand and learn what these parameters do, but I couldn't find it. Can you help me with the source?
Code below:
model = YOLO("last.pt")
path="38.jpg"
image=cv.imread(path)
detections = model(image)[0]
for detection in detections.boxes.data.tolist():
x1, y1, x2, y2, score, ID = detection
x1, y1, x2, y2 = map(int, [x1, y1, x2, y2])
Additional
No response
The text was updated successfully, but these errors were encountered:
Search before asking
Question
As a beginner, I saw the"detections.boxes.data.tolist" parameters from the tutorials I followed. I'm looking for information to understand and learn what these parameters do, but I couldn't find it. Can you help me with the source?
Code below:
model = YOLO("last.pt")
path="38.jpg"
image=cv.imread(path)
detections = model(image)[0]
for detection in detections.boxes.data.tolist():
x1, y1, x2, y2, score, ID = detection
x1, y1, x2, y2 = map(int, [x1, y1, x2, y2])
Additional
No response
The text was updated successfully, but these errors were encountered: