Skip to content

Commit 038fdda

Browse files
author
adg4jfx
committed
fixed bug: hard coded iou_threshold
1 parent 5d5474f commit 038fdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

motrackers/sort_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def update(self, bboxes, detection_scores, class_ids):
140140
self._remove_track(track_id)
141141
else:
142142
matches, unmatched_detections, unmatched_tracks = assign_tracks2detection_iou(
143-
bbox_tracks, bbox_detections, iou_threshold=0.3)
143+
bbox_tracks, bbox_detections, iou_threshold=self.iou_threshold)
144144

145145
for i in range(matches.shape[0]):
146146
t, d = matches[i, :]

0 commit comments

Comments
 (0)