Repository navigation
Revert "feat: store keypoints on detections" - #2291
Merged
Merged
Conversation
This reverts commit e03111e.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #2291 +/- ##
=======================================
- Coverage 79% 79% -0%
=======================================
Files 66 66
Lines 8537 8569 +32
=======================================
+ Hits 6785 6806 +21
- Misses 1752 1763 +11 🚀 New features to boost your workflow:
|
Closed
Borda
added a commit
that referenced
this pull request
Nov 9, 2026
…etections.keypoints field (#2895) The API design principles still told integrations to use `Detections.keypoints`, a field added in #2290 and reverted in #2291; `sv.Detections` has no such field. Point integrations to `sv.KeyPoints` instead, with the instance score in `KeyPoints.detection_confidence` when the source provides one. The Ultralytics and Detectron2 connectors, and Inference when every prediction carries a confidence, already keep the instance score there (#2633); `as_detections()` derives boxes when a `Detections` object is needed. Prepared with AI assistance (Claude Code); reviewed by the author. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Jirka Borovec <[email protected]>
Borda
added a commit
that referenced
this pull request
Nov 10, 2026
…etections.keypoints field (#2895) The API design principles still told integrations to use `Detections.keypoints`, a field added in #2290 and reverted in #2291; `sv.Detections` has no such field. Point integrations to `sv.KeyPoints` instead, with the instance score in `KeyPoints.detection_confidence` when the source provides one. The Ultralytics and Detectron2 connectors, and Inference when every prediction carries a confidence, already keep the instance score there (#2633); `as_detections()` derives boxes when a `Detections` object is needed. Prepared with AI assistance (Claude Code); reviewed by the author. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Jirka Borovec <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #2290
@Borda I’m reverting this change based on our conversation.