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

What is the format of the boxes returned from a YOLO Pipeline? #1663

Open
EricPedley opened this issue Aug 28, 2024 · 2 comments · May be fixed by #1664
Open

What is the format of the boxes returned from a YOLO Pipeline? #1663

EricPedley opened this issue Aug 28, 2024 · 2 comments · May be fixed by #1664
Labels
documentation Improvements or additions to documentation

Comments

@EricPedley
Copy link

EricPedley commented Aug 28, 2024

It's XYXY top left,bottom right. I guess the negative values are just the model predicting that the object extends outside the image. Leaving this open because it's still a problem that this isn't documented well.

Is it xyxy? xywh? If xywh, is the xy the center or top-left? I ran a yolo pipeline on an image and there are negative numbers in the bounding box ouput. Are the coordinates relative to the image center or something?
image

No info to be found in any of these places that would make sense

I would be more than happy to get a "RTFM" response if I could just get a link to where this is documented.

@EricPedley EricPedley added the documentation Improvements or additions to documentation label Aug 28, 2024
@EricPedley
Copy link
Author

Ok I figured it out myself by searching the project for the string cv2.rectangle since I knew this had to be parsed somewhere to do annotation. It's XYXY top left,bottom right. I guess the negative values are just the model predicting that the object extends outside the image
image

Gonna leave the issue open because this should be documented somewhere.

@ZhianLin
Copy link

Respectfully, how the hell did you respond so fast and how does downloading this help me? I'm like 99% sure you're a bot r

this download link is virus.

@github-staff github-staff deleted a comment from EricPedley Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@ZhianLin @EricPedley and others