OpenCV functions are not optimized for real-time image stitching with multiple cameras. The document introduces how to optimize OpenCV for this application by fully processing the stitching module on the GPU rather than partially on the GPU and CPU as the default OpenCV implementation does. A demonstration is then provided of the optimized GPU-based image stitching in real-time.