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
| Name | Type | Description |
|---|---|---|
| field | str | Primary tracklet field (most recent embedding). The gallery lives in ``f"{field}_gallery"`` and the count in ``f"{field}_count"``. |
| meas_field | str | Detection field holding the embedding to append. |
Members
property
- count_fieldReturn the fill-count field name.
- field
- gallery_fieldReturn the gallery-buffer field name.
- meas_field
Source: unitrack/states/gallery.py:42