
Appearance re-identification over a video Image and a tracker's [Track] stream. Each track's box is cropped, OSNet-embedded, matched against a per-identity bank, and its volatile id is rewritten to a stable global id. The sink resolves the output arm.
Short-term tracking handed off to stable global ids, restated as TrackedClassification records and collapsed to one stable class per id.
Stable-identity counts pushed over MQTT.
sim_min, the loosest bar any match clears; below it the tracker has moved the id onto another object, which is matched again like a new track and never adds its appearance to the identity it held. A box within 1% of the image's size of its border shows only part of its object, as one walks in or out of view, so it is not judged by that bar and keeps its identity; a cut crop under the bar is not added to the identity either.[Track] (box + trajectory unchanged, id rewritten to the global id), [TrackedObject] for id-plus-confidence, [BoundingBox] for the boxes only, or [UInt64] for the global-id set. Every arm derives from the same per-track records, so the arms agree id-for-id.
model slot and must match the backbone named by reid_model_name; the architecture is built first and the file is loaded into it. Startup fails, naming the backbone, the file and the first mismatching layers, if any checkpoint layer matches no backbone layer by name and size or any backbone layer is missing from the checkpoint; only the checkpoint's identity classifier layers are ignored, as the backbone is built without one. The backbone and offline loader are a vendored subset of KaiyangZhou/deep-person-reid; no weights are ever downloaded at runtime.
forget_after evicts an identity after that many frames in which no track carried it, bounding memory.
forget_after never evicts an identity a track carries.
sim_base toward sim_min with time since last seen, so a longer absence is matched more leniently; raise sim_min to forbid loose re-entries at the cost of fragmenting identities across long gaps.
max_gap_frames, base_radius_px and radius_growth_px gate candidates by a motion-predicted search window that widens with the gap; an object that reappears far from its predicted position outside this window is treated as new even if its appearance matches.
device `cuda` is strongly preferred; CPU inference is too slow for real-time streams.
live-test prerelease
live-test prerelease
live-test prerelease