method

gates.SpatialGate2D.__call__

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

Return a PerPair gate based on 2-D pairwise L2 distance.

Source: unitrack/gates/spatial.py:34