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

The result file may contain tracks with time_since_update == 1 #325

Open
k1101jh opened this issue Feb 14, 2024 · 0 comments
Open

The result file may contain tracks with time_since_update == 1 #325

k1101jh opened this issue Feb 14, 2024 · 0 comments

Comments

@k1101jh
Copy link

k1101jh commented Feb 14, 2024

In deep_sort_app.py line 195, result contains confirmed track with time_since_update <= 1

# Store results.
for track in tracker.tracks:
    if not track.is_confirmed() or track.time_since_update > 1:
        continue
    bbox = track.to_tlwh()
    results.append([
        frame_idx, track.track_id, bbox[0], bbox[1], bbox[2], bbox[3]])

When predict() is called, 1 is added to track.time_since_update, and when update() is called and matched with detection, track.time_since_update is initialized to 0.
So, If a track was updated and lost in next frame, track.time_since_update is 1. The result file will contain this track.

I compared this part with ByteTrack, but ByteTrack only contains confirmed matched tracks. Is this an error?

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