Skip to content

Revert "feat: store keypoints on detections" - #2291

Merged
SkalskiP merged 1 commit into
developfrom
revert-2290-update/key-points
Jun 4, 2026
Merged

SkalskiP merged 1 commit into
developfrom
revert-2290-update/key-points

Conversation

@SkalskiP

@SkalskiP SkalskiP commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Reverts #2290

@Borda I’m reverting this change based on our conversation.

@codecov

codecov Bot commented Jun 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 79%. Comparing base (e03111e) to head (d4d287d).
⚠️ Report is 1 commits behind head on develop.

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SkalskiP
SkalskiP merged commit 1e8a485 into develop Jun 4, 2026
27 checks passed
@SkalskiP
SkalskiP deleted the revert-2290-update/key-points branch June 4, 2026 17:43
@Borda Borda mentioned this pull request Jun 11, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant