Overview - Non-maximum suppression
What is it?
Non-maximum suppression (NMS) is a technique used to select the best bounding boxes from many overlapping boxes in object detection. It keeps the box with the highest confidence score and removes others that overlap too much with it. This helps reduce duplicate detections of the same object. NMS is essential for making object detection results clear and accurate.
Why it matters
Without NMS, object detection models would output many overlapping boxes for the same object, making it hard to understand what the model actually detected. This would confuse users and reduce the usefulness of detection systems in real-world tasks like self-driving cars or face recognition. NMS cleans up these results so the system can confidently say where objects are.
Where it fits
Before learning NMS, you should understand how object detection models predict bounding boxes and confidence scores. After NMS, learners often study more advanced post-processing techniques like soft-NMS or learn how to integrate NMS efficiently in model pipelines.