Resources

NMS Threshold Notes.

How the NMS IoU threshold affects recall in dense small object scenes.

The Ultralytics default NMS IoU threshold is 0.7. For dense scenes with closely spaced small objects, this can suppress valid overlapping detections.

Lowering the threshold to iou=0.5 typically improves both mAP50 and recall, since it only affects duplicate suppression, not localization quality.

Going lower still, to iou=0.3, shows diminishing returns — aggressive suppression starts hurting precision without further recall gains.

← Return to ArticleBrowse All Resources →