Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about BoTSORT::track #107

Open
Jierui opened this issue Jul 9, 2024 · 0 comments
Open

Questions about BoTSORT::track #107

Jierui opened this issue Jul 9, 2024 · 0 comments

Comments

@Jierui
Copy link

Jierui commented Jul 9, 2024

After reading the BoTSORT::track function carefully, I have the following questions:
// Segregate tracks in unconfirmed and tracked tracks
std::vector<std::shared_ptr> unconfirmed_tracks, tracked_tracks;
for (const std::shared_ptr &track: _tracked_tracks)
{
if (!track->is_activated)
{
unconfirmed_tracks.push_back(track);
}
else
{
tracked_tracks.push_back(track);
}
}
In this code, there will be no data with is_activated set to false in the _tracked_tracks array. I looked carefully and found that there is no other place that sets is_activated to false except for the track constructor. Is it because I didn't understand it well and missed some scenarios, or is the code itself designed like this? I hope the author can help answer my doubts. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant