Learn Before
Concept
Intersection over Union (IoU)
In object detection, the similarity between two bounding boxes is measured using their Jaccard index, which is commonly referred to as the intersection over union (IoU). Treating the pixel area of any bounding box as a set of pixels, the IoU is calculated as the ratio of their intersection area to their union area: . The IoU value ranges from to , where indicates that the bounding boxes have absolutely no overlap, and indicates that the two bounding boxes are exactly equal.
0
1
Updated 2026-05-20
Tags
D2L
Dive into Deep Learning @ D2L