method

costs.BoxCIoU.__call__

def __call__(self, cs: Tracklets, ds: Detections, ctx: FrameContext) -> CostExpression

Compute the complete box-IoU cost matrix.

Parameters

NameTypeDescription
csTrackletsTracklet snapshot with ``N`` rows.
dsDetectionsDetection record with ``M`` rows.
ctxFrameContextFrame context (unused).

Returns

CostExpression — ``(N, M)`` cost matrix; lower is better. CIoU adds a centre-distance and aspect-ratio penalty on top of GIoU.

Source: unitrack/costs/overlap.py:201