iaa_od.metrics.iou_sweep

iaa_od.metrics.iou_sweep(gts, start=None, stop=None, step=None, /, *, use_iom=False)[source]

Compute Kappa and Alpha metrics for different IoU thresholds in the specified range.

Parameters:
  • gts (list[GroundTruthProtocol]) – List of Ground Truths to compare.

  • start (Optional[float]) – Starting IoU threshold (inclusive). Defaults to 0.5 if None.

  • stop (Optional[float]) – Ending IoU threshold (inclusive). Defaults to 0.95 if None.

  • step (Optional[float]) – Step size for IoU thresholds. Defaults to 0.05 if None.

  • use_iom (bool) – Whether to use IoM matching. Defaults to False.

Returns:

List of Result objects corresponding to each IoU threshold.

Return type:

list[Result]