Files
effectcraft/crates/segment/src
BFlatandClaude Opus 5.5 597f239c57 Fix #367: weighted_nms terminates on NaN or zero-area boxes
A degenerate detection box (any NaN coordinate, or zero area) has an
overlap of 0 with itself, so `top` was partitioned into the remainder and
the loop never shrank `dets`. `top` now always joins its own cluster, so
every pass removes at least one detection. Well-formed boxes behave as
before (their self-overlap is 1).

Reported with the fix by KazW.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 16:16:19 +07:00
..