type

states.GalleryAppend

class GalleryAppend:

Update step: push each matched detection's embedding into the ring buffer.

For each matched pair the detection embedding overwrites the oldest slot (``count mod K``), the fill count is incremented, and the primary field is set to the new embedding (the most-recent view). Unmatched tracklets keep their gallery.

Parameters

NameTypeDescription
fieldstrPrimary tracklet field (most recent embedding). The gallery lives in ``f"{field}_gallery"`` and the count in ``f"{field}_count"``.
meas_fieldstrDetection field holding the embedding to append.

Members

method

  • __call__Append matched detection embeddings to their tracklet galleries.
  • __init__

property

Source: unitrack/states/gallery.py:42