Learn Before
Activity (Process)

Non-Maximum Suppression Algorithm

The non-maximum suppression (NMS) algorithm filters out redundant predicted bounding boxes based on their confidence scores and spatial overlap. For a given predicted bounding box BB, its confidence is the largest predicted class likelihood, denoted as pp. First, all non-background bounding boxes on an image are sorted by confidence in descending order to form a list LL. The algorithm iteratively selects the bounding box B1B_1 with the highest confidence in LL as a basis and removes any remaining boxes in LL whose Intersection over Union (IoU) with B1B_1 exceeds a predefined threshold ϵ\epsilon. Those with non-maximum confidence scores are thus suppressed. This process is repeated using the next highest confidence box as the new basis until every box in LL has been used as a basis, resulting in a final set of predictions where no two boxes have an IoU greater than ϵ\epsilon.

0

1

Updated 2026-05-20

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L