Skip to content

Commit

Permalink
cleanup: remove unused code in kalman filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejpudis committed May 3, 2022
1 parent ccf250b commit 177e9c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/tsa/cv2/kalman_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def _init_variables(self, initial_position: typing.BBOX_CENTER, **kwargs):
self.kalman_filter.statePost = np.array([*initial_position, 0, 0, 0, 0, 0, 0], dtype=np.float32).reshape(-1, 1)

# set initial error covariance matrix
std_position_weight, std_velocity_weight, height = 1.0 / 20, 1.0 / 160, initial_position[3]
self.kalman_filter.errorCovPost = diagonal(100.0, 1_000.0, repeats=(4, 6))

@classmethod
Expand Down

0 comments on commit 177e9c5

Please sign in to comment.