pub fn batched_nms( detections: &[Detection], score_threshold: f32, iou_threshold: f32, ) -> VisionResult<Vec<usize>>
Class-aware greedy NMS over detection records.