Skip to main content

batched_nms

Function batched_nms 

Source
pub fn batched_nms(
    detections: &[Detection],
    iou_threshold: f32,
) -> Vec<Detection>
Expand description

Per-class (batched) NMS.

Groups detections by class_id, runs standard non_max_suppression on each group independently, then merges and returns results sorted by score descending.