You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the Supervision issues and found no similar feature requests.
Question
Hi,
I do not understand the precise meaning of lost_track_buffer in the ByteTrack class. It is only used to initialize max_time_lost, which, however, seems to refer to a number of frames rather than a time (and so is a misnomer, IMHO). Furthermore, that variable is initialized as
which does not make sense to me: why is there a division by 30?
Instead, I would understand either of the following possibilities:
Remove the division by 30. In that case, lost_frame_buffer refers to the time (in seconds) a track is retained.
Initialize max_time_lost with int(lost_track_buffer). In that case, lost_track_buffer refers to the number of frames directly, in agreement with the current docstring.
Thanks for clarifying this, and thanks for your great work!
Additional
No response
The text was updated successfully, but these errors were encountered:
Search before asking
Question
Hi,
I do not understand the precise meaning of
lost_track_buffer
in theByteTrack
class. It is only used to initializemax_time_lost
, which, however, seems to refer to a number of frames rather than a time (and so is a misnomer, IMHO). Furthermore, that variable is initialized asself.max_time_lost = int(frame_rate / 30.0 * lost_track_buffer)
which does not make sense to me: why is there a division by 30?
Instead, I would understand either of the following possibilities:
lost_frame_buffer
refers to the time (in seconds) a track is retained.max_time_lost
withint(lost_track_buffer)
. In that case,lost_track_buffer
refers to the number of frames directly, in agreement with the current docstring.Thanks for clarifying this, and thanks for your great work!
Additional
No response
The text was updated successfully, but these errors were encountered: