(self, metric, max_iou_distance=0.7, max_age=70, n_init=3)
| 24 | |
| 25 | class Tracker: |
| 26 | def __init__(self, metric, max_iou_distance=0.7, max_age=70, n_init=3): |
| 27 | self.metric = metric |
| 28 | self.max_iou_distance = max_iou_distance |
| 29 | self.max_age = max_age |
| 30 | self.n_init = n_init |
| 31 | |
| 32 | self.kf = kalman_filter.KalmanFilter() |
| 33 | self.tracks = [] |
| 34 | self._next_id = 1 |
| 35 | |
| 36 | def predict(self): |
| 37 | """Propagate track state distributions one time step forward. |
nothing calls this directly
no outgoing calls
no test coverage detected