nicetoolbox.detectors.method_detectors.body_joints.pose_utils.create_iou_all_pairs¶
- nicetoolbox.detectors.method_detectors.body_joints.pose_utils.create_iou_all_pairs(data)[source]¶
Compute the intersection over union (IoU) of subject bounding boxes across frames and cameras.
Args: data (np.ndarray): Bounding box array with shape (#Subject, #Camera, #Frame, ‘full_body’, BBox), where each BBox
is represented as [x1, y1, x2, y2, conf].
Returns: iou_array (np.ndarray) : float32
IoU laid out as (subject, camera, frame, with_subject).