method

states.Initializer.__call__

def __call__(self, ds: Detections, ctx: FrameContext) -> torch.Tensor

Return initial tensor values for new tracklets.

Parameters

NameTypeDescription
dsDetectionsDetections promoted to new tracklets this frame.
ctxFrameContextFrame context.

Returns

torch.Tensor — Field-shaped initial values, one row per new tracklet.

Source: unitrack/states/base.py:95