costs.BoxIoU.__call__
def __call__(self, cs: Tracklets, ds: Detections, ctx: FrameContext) -> CostExpressionCompute the box-IoU cost matrix.
Parameters
| Name | Type | Description |
|---|---|---|
| cs | Tracklets | Tracklet snapshot with ``N`` rows. |
| ds | Detections | Detection record with ``M`` rows. |
| ctx | FrameContext | Frame context (unused). |
Returns
CostExpression — ``(N, M)`` cost matrix bounded in ``[0, 1]``; lower is better.
Source: unitrack/costs/overlap.py:109