Sets key parameters for SORT
(self, max_age=1, min_hits=3)
| 166 | |
| 167 | class Sort(object): |
| 168 | def __init__(self, max_age=1, min_hits=3): |
| 169 | """ |
| 170 | Sets key parameters for SORT |
| 171 | """ |
| 172 | self.max_age = max_age |
| 173 | self.min_hits = min_hits |
| 174 | self.trackers = [] |
| 175 | self.frame_count = 0 |
| 176 | |
| 177 | def update(self, dets): |
| 178 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected