What Is Non-Maximum Suppression?
Non maximum suppression reduces duplicate detection boxes. A common greedy version keeps the highest scoring box, then suppresses lower scoring boxes that overlap it above a chosen intersection over union threshold. It repeats with the remaining candidates.
The key idea
Non maximum suppression reduces duplicate detection boxes. A common greedy version keeps the highest scoring box, then suppresses lower scoring boxes that overlap it above a chosen intersection over union threshold. It repeats with the remaining candidates.
A robot detector may propose three boxes around the same part. Keeping all three could trigger repeated picks or incorrect counts. Applying suppression within each class can retain one representative detection for that group of overlapping predictions.
Two real objects close together can overlap, so aggressive suppression can remove a valid detection. The highest score is not necessarily the best localized box. Select thresholds using representative scenes and evaluate performance in crowded conditions.
What to remember
- Keep a high score and suppress overlapping duplicates
- Class aware suppression avoids mixing unrelated classes
- Excessive suppression can hide nearby real objects
Check your understanding
Why can aggressive non-maximum suppression remove a real nearby object?
Show the explanation
Distinct objects can have overlapping boxes. Treating their overlap as duplication can suppress a valid detection, so tune the threshold and evaluate suppression on crowded representative scenes.