AIExplainer
Computer Vision Intermediate 2 min read

What is intersection over union?

A metric used to evaluate the accuracy of object detection models

Stands for: IoU

Intersection over union is a way to measure how well a predicted bounding box matches the actual bounding box of an object in an image. It calculates the ratio of the overlapping area to the total area of both boxes.

Imagine you're trying to hit a target with a dart. The intersection over union is like measuring how much of the dart actually hits the target, compared to the total area of the dart and the target combined.

In self-driving cars, IoU is used to evaluate how well the car's computer vision system can detect pedestrians, cars, and other objects on the road.

IoU is commonly used in object detection tasks, such as self-driving cars, surveillance systems, and image recognition algorithms, to evaluate the performance of models and improve their accuracy.

A common misconception is that IoU is only used for object detection, when in fact it can be used for any task that involves comparing the overlap between two sets of pixels or regions.

The concept of intersection over union has been around since the early days of computer vision, but it gained popularity with the rise of deep learning-based object detection models.

Jaccard index Jaccard similarity

Three products for different needs — explore what’s relevant to you.