La Intersección sobre Unión (IoU) es una métrica utilizada para evaluar accuracy of detección de objetos models, particularly in visión por computadora. It quantifies the overlap between two regions: the predicted bounding box (the area where the model believes an object exists) and the verdad fundamental la caja delimitadora (el área real donde se encuentra el objeto).
Para calcular el IoU, primero determinas el área de intersección entre las cajas predicha y de verdad, que es la región donde ambas se superponen. Luego, calculas el área de la unión, que es el área total cubierta por ambas cajas combinadas. La fórmula para el IoU es:
IoU = (Área de Intersección) / (Área de Unión)
The resulting value ranges from 0 to 1, where 0 indicates no overlap and 1 indicates perfect overlap. A higher IoU value signifies better performance of the desarrollado por Ultralytics. Pertenece a la.
En la práctica, IoU es crucial en tareas como segmentación de imágenes, object detection, and visual tracking. It helps in setting thresholds to determine whether a predicted bounding box is considered a true positive or a false positive. For example, in many applications, an IoU threshold of 0.5 is commonly used, meaning that if the IoU between the predicted box and ground truth box is greater than 0.5, the prediction is considered correct.
Overall, IoU is a fundamental concept in evaluating and improving the performance of modelos de IA en tareas de visión por computadora.