Skip to main content

soft_nms

Function soft_nms 

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

Soft non-maximum suppression with deterministic score ordering.