We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
When using label annotator if the box is close to an edge and the text is on the edge side disappears off frame.
Add an option to ensure it stays fully in the frame
Suggested approach
in the .annotate function labels near the top can be moved inside the bounding box using something similar to
for i in range(label_properties.shape[0]): if label_properties[i, 1] < 0: spacing = 3 offset = spacing + self.text_padding + self.font.size label_properties[i, :] = label_properties[i, :] + [0,offset,0,offset,0,0]
No response
The text was updated successfully, but these errors were encountered:
Hi @hidara2000 👋🏻! Thanks so much for your interest in supervision. Would you be interested in helping us implement this feature?
supervision
Sorry, something went wrong.
#1820
@hidara2000 responded ;)
hidara2000
No branches or pull requests
Search before asking
Description
When using label annotator if the box is close to an edge and the text is on the edge side disappears off frame.
Add an option to ensure it stays fully in the frame
Use case
Suggested approach
in the .annotate function labels near the top can be moved inside the bounding box using something similar to
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: