optical flow working with debug view