In this paper, the velocity anticipation in the optimal velocity model (OVM) is investigated. The driver adjusts the velocity of his vehicle by the desired headway, which depends on both instantaneous headway and relative velocity. The effect of relative velocity is measured by a sensitivity function. A specific form of the sensitivity function is supposed and the involved parameters are determined by the both numerical simulation and empirical data. It is shown that inclusion of velocity anticipation enhances the stability of traffic flow. Numerical simulations show a good agreement with empirical data. This model provides a better description of real traffic, including the acceleration process from standing states and the deceleration process approaching a stopped car.