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