Object Trajectory Estimation Using Optical Flow