This script is a dense modification of the Lucas Kanade Optical flow that is implemented in OpenCV sparsely.