25 const TrackState& state()
const {
return state_; }
33 void start_tentative(
const Blob& blob);
34 void correct(
const Blob& measurement);
42 uint32_t last_id_ = 0;
void reset()
Drop the current target (Idle). Ids already handed out are never reused.
Definition tracker.cpp:10
const TrackState & update(const DetectionResult &detection)
Advance one frame. The returned reference stays valid until the next call.
Definition tracker.cpp:12
One connected region of foreground cells.
Definition tracking_types.h:59
Inclusive cell rectangle. A default-constructed box is empty.
Definition tracking_types.h:24
What the detector found in one frame. Blobs are sorted by area, largest first.
Definition tracking_types.h:83
The tracked target. Positions in cells, velocity in cells per frame. id 0 = no target.
Definition tracking_types.h:123
Tracker tunables (frame counts assume ~17 fps).
Definition tracking_types.h:111
Value types shared by the motion detector and the tracker (pure C++20, natively tested).