The GPU Coder generates CUDA® code and standalone executables for functions that support GPU code generation. Computer Vision Toolbox also includes functions that can automatically run on a GPU. This support requires Parallel Computing Toolbox™.
Computer Vision Toolbox provides an OpenCV Interface C++ API and an optical character recognition (OCR) language data files support package. Use the API for integrating OpenCV C++ code into MATLAB®. You can also use this support package to build MEX files that call OpenCV functions. The support package also contains GPU support.