Updates the state vector with observed bbox.
(self,bbox)
| 110 | self.age = 0 |
| 111 | |
| 112 | def update(self,bbox): |
| 113 | """ |
| 114 | Updates the state vector with observed bbox. |
| 115 | """ |
| 116 | self.time_since_update = 0 |
| 117 | self.history = [] |
| 118 | self.hits += 1 |
| 119 | self.hit_streak += 1 |
| 120 | self.kf.update(convert_bbox_to_z(bbox)) |
| 121 | |
| 122 | def predict(self): |
| 123 | """ |
nothing calls this directly
no test coverage detected