(self, mean, covariance, track_id, class_id, n_init, max_age,
feature=None)
| 60 | """ |
| 61 | |
| 62 | def __init__(self, mean, covariance, track_id, class_id, n_init, max_age, |
| 63 | feature=None): |
| 64 | self.mean = mean |
| 65 | self.covariance = covariance |
| 66 | self.track_id = track_id |
| 67 | self.class_id = class_id |
| 68 | self.hits = 1 |
| 69 | self.age = 1 |
| 70 | self.time_since_update = 0 |
| 71 | |
| 72 | self.state = TrackState.Tentative |
| 73 | self.features = [] |
| 74 | if feature is not None: |
| 75 | self.features.append(feature) |
| 76 | |
| 77 | self._n_init = n_init |
| 78 | self._max_age = max_age |
| 79 | |
| 80 | def to_tlwh(self): |
| 81 | """Get current position in bounding box format `(top left x, top left y, |
nothing calls this directly
no outgoing calls
no test coverage detected