pub fn nms_float(iou: f32, boxes: Vec<DetectBox>) -> Vec<DetectBox>
Uses NMS to filter boxes based on the score and iou. Sorts boxes by score, then greedily selects a subset of boxes in descending order of score.