Skip to content

The removed tracks coming from self.lost_tracks are still there. #1864

Closed
@iamweicn

Description

@iamweicn

Search before asking

  • I have searched the Supervision issues and found no similar bug report.

Bug

This code snippet remove tracks from self.lost_tracks:
https://github.com/roboflow/supervision/blob/a4a2d8c05dda10ff758493b472813ce8abbd4a7f/supervision/tracker/byte_tracker/core.py#L295...L298

But, at updating state part, the self.removed_tracks is updated after removing removed tracks from self.lost_tracks:

self.lost_tracks = sub_tracks(self.lost_tracks, self.removed_tracks)

self.removed_tracks = removed_stracks

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions