Guide to Intersection over Union (IoU) in Computer Vision

Announcement

A beginner-friendly guide to Intersection over Union (IoU) in 2026. Essentials, calculations, and extensions.

image

IoU is one of the most popular, consistent metrics for assessing the accuracy of computer vision models, especially object detectors. We wrote an introductory post about this statistical measure.

Today, we'll cover:

  • Essentials and calculation of IoU
  • Thresholds and extensions of IoU
  • Mistakes and fixes for IoU

IoU is essentially a numerical measure of how well your model is predicting classes/marking bounding boxes. Learn more.