Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Help #12678

Closed
1 task done
Abdullahsuheyl opened this issue May 14, 2024 · 0 comments
Closed
1 task done

Documentation Help #12678

Abdullahsuheyl opened this issue May 14, 2024 · 0 comments
Labels
question Further information is requested

Comments

@Abdullahsuheyl
Copy link

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

@Abdullahsuheyl Abdullahsuheyl added the question Further information is requested label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant