Skip to main content

soft_nms

Function soft_nms 

pub fn soft_nms(
    boxes: &[BoundingBox2],
    scores: &[f32],
    score_threshold: f32,
    iou_threshold: f32,
    method: SoftNmsMethod,
) -> Result<Vec<ScoredIndex>, VisionError>
Expand description

Soft non-maximum suppression with deterministic score ordering.