Skip to content

Commit

Permalink
Merge pull request #1180 from Justin900429/master
Browse files Browse the repository at this point in the history
Fix finding second matching index in BoT-SORT
  • Loading branch information
mikel-brostrom authored Nov 8, 2023
2 parents 4de0207 + 96041a1 commit 30162e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boxmot/trackers/botsort/bot_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def update(self, dets, img):
confs = dets[:, 4]

# find second round association detections
second_mask = np.logical_or(confs > self.track_low_thresh, confs < self.track_high_thresh)
second_mask = np.logical_and(confs > self.track_low_thresh, confs < self.track_high_thresh)
dets_second = dets[second_mask]

# find first round association detections
Expand Down

0 comments on commit 30162e8

Please sign in to comment.