iaa_od.metrics.iou
- iaa_od.metrics.iou(lhs, rhs, /)[source]
Compute the Intersection over Union (IoU) between two bounding boxes.
- Parameters:
lhs (AnnotationProtocol) – The first annotation.
rhs (AnnotationProtocol) – The second annotation.
- Returns:
The IoU value between the two bounding boxes.
- Return type:
float