You can integrate the OpenCV computer vision library with MATLAB®, using the MEX interface, to perform algorithm development, data analysis, and numerical computation in MATLAB.
By integrating MATLAB and OpenCV you can:
You can extend your work in MATLAB and OpenCV with Computer Vision System Toolbox™. The toolbox provides MATLAB algorithms for feature extraction, motion detection, object detection, object tracking, and stereo vision. It also supports rapid prototyping with features like fixed-point arithmetic support and C-code generation.