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 supervision's coordinate system? #1785

Closed
1 task done
mattico opened this issue Feb 5, 2025 · 1 comment
Closed
1 task done

What is supervision's coordinate system? #1785

mattico opened this issue Feb 5, 2025 · 1 comment
Labels
question Further information is requested

Comments

@mattico
Copy link

mattico commented Feb 5, 2025

Search before asking

  • I have searched the Supervision issues and found no similar feature requests.

Question

What is supervision's coordinate system? I'm pretty sure that it uses top-left origin (y increases down, x increases right), but I couldn't find it mentioned anywhere in the docs. I'm about to go test what it is, but I think the docs could be improved by mentioning this somewhere. Perhaps on a foundational class's docs like Detections.

Additional

No response

@mattico mattico added the question Further information is requested label Feb 5, 2025
@SkalskiP
Copy link
Collaborator

SkalskiP commented Feb 6, 2025

Hi @mattico 👋🏻 Yes, the coordinate system starts at the top-left corner. Indeed, we don't mention it in the documentation. Probably because it's a common practice in almost every computer vision library. But I think it would be worth adding such information to the documentation. Detections is a good place. Would you like to do it?

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

2 participants