MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

yolox/sort_tracker/sort.py:188–197  ·  view source on GitHub ↗

Sets key parameters for SORT

(self, det_thresh, max_age=30, min_hits=3, iou_threshold=0.3)

Source from the content-addressed store, hash-verified

186
187class Sort(object):
188 def __init__(self, det_thresh, max_age=30, min_hits=3, iou_threshold=0.3):
189 """
190 Sets key parameters for SORT
191 """
192 self.max_age = max_age
193 self.min_hits = min_hits
194 self.iou_threshold = iou_threshold
195 self.trackers = []
196 self.frame_count = 0
197 self.det_thresh = det_thresh
198
199 def update(self, output_results, img_info, img_size):
200 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected