seniorComputer Vision
What is Non-Maximum Suppression (NMS) and how does it work internally?
Updated May 15, 2026
Short answer
NMS removes duplicate bounding boxes by keeping only the highest-confidence prediction per object.
Deep explanation
Object detectors often produce multiple overlapping boxes for the same object. NMS sorts boxes by confidence score, selects the highest scoring box, and removes all boxes with IoU above a threshold. This ensures one detection per object and reduces redundancy.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro