Function nms
pub fn nms(
boxes: &[BoundingBox2],
scores: &[f32],
score_threshold: f32,
iou_threshold: f32,
) -> Result<Vec<usize>, VisionError>Expand description
Greedy non-maximum suppression. Returned indices are score-descending.
pub fn nms(
boxes: &[BoundingBox2],
scores: &[f32],
score_threshold: f32,
iou_threshold: f32,
) -> Result<Vec<usize>, VisionError>Greedy non-maximum suppression. Returned indices are score-descending.