Skip to main content

nms

Function nms 

Source
pub fn nms(
    boxes: &[BoundingBox2],
    scores: &[f32],
    score_threshold: f32,
    iou_threshold: f32,
) -> VisionResult<Vec<usize>>
Expand description

Greedy non-maximum suppression. Returned indices are score-descending.