use crateLayoutDetection;
/// Standard greedy Non-Maximum Suppression.
///
/// Sorts detections by confidence (descending), then iteratively removes
/// detections that have IoU > `iou_threshold` with any higher-confidence detection.
///
/// This is required for YOLO models. RT-DETR is NMS-free.