pub fn nms(boxes: &[BBox], iou_threshold: f32) -> Vec<usize>Expand description
Non-maximum suppression on bounding boxes by IoU threshold. Greedy non-maximum suppression on bounding boxes.
Returns indices of kept boxes, sorted by descending confidence.