MCPcopy Create free account
hub / github.com/abewley/sort / __init__

Method __init__

sort.py:200–208  ·  view source on GitHub ↗

Sets key parameters for SORT

(self, max_age=1, min_hits=3, iou_threshold=0.3)

Source from the content-addressed store, hash-verified

198
199class Sort(object):
200 def __init__(self, max_age=1, min_hits=3, iou_threshold=0.3):
201 """
202 Sets key parameters for SORT
203 """
204 self.max_age = max_age
205 self.min_hits = min_hits
206 self.iou_threshold = iou_threshold
207 self.trackers = []
208 self.frame_count = 0
209
210 def update(self, dets=np.empty((0, 5))):
211 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected