Skip to main content

ios_value

Function ios_value 

Source
pub fn ios_value(a: &BoundingBox, b: &BoundingBox) -> f32
Expand description

Intersection-over-Smaller value in [0, 1]. Mirrors ModelPack _match(metric='ios'): inter / max(min(area_a, area_b), 1e-9). Used by the tiled-detection merge: a seam-split object has low IoU but high IoS.