Performs a binary evaluation of the spatial alignment between a predicted bounding box and one or more reference boxes using the best Intersection over Union (IoU) score. Returns a pass/fail signal based on a threshold, making it ideal for layout-sensitive validation tasks.
actual_output
: A single predicted bounding box in the format.expected_output
: A list of lists of ground truth boxes, each also in the format.