type

states.WeightedFuse

class WeightedFuse:

Score-aware blend that uses a per-detection score as the blend weight.

Each tracklet field is blended as ``(1 - w) * field + w * detection``, where ``w`` is the detection's ``weight_field`` clamped to ``[0, 1]``.

Parameters

NameTypeDescription
fieldstrTracklet field to blend.
weight_fieldstrDetection field holding the per-detection blend weight (e.g. a score in ``[0, 1]``).

Members

method

  • __call__Blend matched detections using per-detection score as blend weight.
  • __init__

Source: unitrack/states/ema.py:150