OpenCV Optical Flow Utilities This is simple Python utility module to, Get mean and variance of optical flow in specified N frames. Get optical flow as numpy array in specified (x, y, 3) shape from iterator function.