Skip to content

Return Track Data Even When Detection Vector is Empty (Track Buffer) #26

@brooklynsdeath

Description

@brooklynsdeath

Currently, when the detection vector is empty, track data is not returned for objects, even though they should be kept alive based on the track_buffer setting. I suggest modifying the logic so that the track data is returned for objects that are still valid, even without a detection, as long as the track_buffer condition holds true.

track_buffer = 15;  // Number of frames a track is kept alive without detection
max_alive_age = frame_rate / 30.0 * track_buffer;

Expected Behavior:
When no detection is available, the track data for an object should still be returned until the track expires according to the buffer time.

Can you please guide me on where to make changes in the code to achieve this? Specifically, I want the track data to be returned for objects that are still being kept alive according to the track_buffer parameter, even if no detections are present in the current frame.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions