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

Filter matches before linear assignment #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

6o6o
Copy link

@6o6o 6o6o commented Nov 20, 2018

Consider the following scenario:

>>> iou_matrix
array([[0.18, 0.29],
       [0.43, 0.45]])
>>> matched_indices
array([[0, 1],
       [1, 0]])

First detection gets the second tracker assigned and second detection gets the first tracker. But as we later discard the first detection anyway, it shouldn't participate in assignment at all, resulting second detection to be assigned to second tracker.

In my experiments this caused identity switches and even though such cases are extremely rare for a low threshold of 0.3, they may get more common for larger values.

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

Successfully merging this pull request may close these issues.

1 participant