Optical flow and moving object tracker