pub fn nms_boxes( bboxes: &[Rect<usize>], scores: &[f32], score_threshold: f32, nms_threshold: f32, ) -> Vec<usize>
Non-maximum suppression for bounding boxes based on scores and IoU threshold.
IoU