Skip to main content

nms_boxes

Function nms_boxes 

Source
pub fn nms_boxes(
    bboxes: &[Rect<usize>],
    scores: &[f32],
    score_threshold: f32,
    nms_threshold: f32,
) -> Vec<usize>
Expand description

Non-maximum suppression for bounding boxes based on scores and IoU threshold.