Skip to main content

score_tier_of

Function score_tier_of 

Source
pub fn score_tier_of(
    score_u16: u16,
    high_score_u16: u16,
    low_score_u16: u16,
) -> ScoreTier
Expand description

Classify a packed detection score into a ByteTrack tier.

When high <= low, the Low band collapses: scores >= high are High, everything else Reject (deterministic fail-closed for misconfigured thresholds).