Improved velocity, camera tilt angle and ROI hysteresis