footprint_iou

Contents

footprint_iou#

scarlet2.detect.footprint_iou(source1, source2)[source]#

Compute intersection over union (IoU) between two source footprints.

Parameters:
Returns:

iou – IoU in [0, 1]. Returns 0 if the bounding boxes do not overlap.

Return type:

float