Replaced the simple filter in object detection by a Kalman filter

The Kalman filter uses the speed and rotational speed.