Skip to content

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

Open
@Dref360

Description

@Dref360

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions