Sets key parameters for SORT
(self, max_age=1, min_hits=3, iou_threshold=0.3)
| 198 | |
| 199 | class 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 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected