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

Add way to "filter out" low confidence keypoints #1676

Open
2 tasks done
Dref360 opened this issue Nov 19, 2024 · 0 comments
Open
2 tasks done

Add way to "filter out" low confidence keypoints #1676

Dref360 opened this issue Nov 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Dref360
Copy link

Dref360 commented Nov 19, 2024

Search before asking

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

Description

In pose estimation, low confidence keypoints should be set to 0.
It would be great to include this in supervision instead of asking the user to do it.

Proposal:

kpts = KeyPoints(xy=...,
                 confidence=...,)

kpts = kpts.with_threshold(threshold=0.5)

All keypoints with confidence lower than 0.5 would be set to 0.

Use case

Useful when visualizing skeletons with low confidence.

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@Dref360 Dref360 added the enhancement New feature or request label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant