type

states.GalleryInitializer

class GalleryInitializer:

:class:`~unitrack.states.Initializer` seeding a gallery with one embedding.

The new tracklet's gallery has its first slot set to the detection embedding and the rest zeroed; the paired count initialiser starts at 1.

Parameters

NameTypeDescription
fieldstrDetection field supplying the seed embedding.
capacityintNumber of gallery slots ``K``.
dimintEmbedding dimensionality ``D``.

Members

method

  • __call__Return a ``(N, K, D)`` gallery with slot 0 seeded from the detection.
  • __init__

Source: unitrack/states/gallery.py:105