Skip to main content

nms_extra_class_aware_float

Function nms_extra_class_aware_float 

Source
pub fn nms_extra_class_aware_float<E: Send + Sync>(
    iou: f32,
    boxes: Vec<(DetectBox, E)>,
) -> Vec<(DetectBox, E)>
Expand description

Class-aware NMS with extra data: only suppress boxes with the same label.

This is same as nms_class_aware_float but will also include extra information along with each box, such as the index.