Incorrect usage of Kalman filtering, because there is no speed information inputed:
self.tracks[i].prediction = self.tracks[i].KF.correct( detections[assignment[i]], 1 )
You should create KF_X and KF_Y filters for X and Y dimensions respectively, and use position and speed as input parameters. For example:
Incorrect usage of Kalman filtering, because there is no speed information inputed:
self.tracks[i].prediction = self.tracks[i].KF.correct( detections[assignment[i]], 1 )
You should create KF_X and KF_Y filters for X and Y dimensions respectively, and use position and speed as input parameters. For example: