Skip to content

Add fused detection postprocessing#7

Merged
GiraudJules merged 4 commits into
mainfrom
feat/postprocess-detections
May 26, 2026
Merged

Add fused detection postprocessing#7
GiraudJules merged 4 commits into
mainfrom
feat/postprocess-detections

Conversation

@GiraudJules

Copy link
Copy Markdown
Owner

Summary

Add a fused detection postprocessing path that remaps boxes, clips them, filters them, and runs class-aware hard or soft NMS in one Rust call.

Changes

  • add postprocess_detections in the Rust bbox module
  • support current-space, resize, and letterbox remapping modes
  • expose postprocess_detections(...) through the Python NumPy API
  • extend Rust tests and the Python smoke test with remap-aware detection cases

Why

This reduces Python overhead between model outputs and final detections, which is one of the core goals of rusty-cv.

Validation

  • cargo fmt --check
  • cargo test
  • cargo check --features python
  • ../../.venv/bin/maturin develop --features python
  • ../../.venv/bin/python scripts/python_smoke_test.py

@GiraudJules GiraudJules self-assigned this May 26, 2026
@GiraudJules GiraudJules marked this pull request as ready for review May 26, 2026 22:47
@GiraudJules GiraudJules merged commit afe74b2 into main May 26, 2026
1 check passed
@GiraudJules GiraudJules deleted the feat/postprocess-detections branch May 26, 2026 22:48
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