MATLAB-OpenCV
Last updated
Last updated
Computer Vision Toolbox OpenCV Interface
Requirement: Computer Vision Toolbox
The Computer Vision System Toolbox OpenCV Interface enables you to bring existing OpenCV files and projects into MATLAB using MEX. The support package includes: • Data type conversions between MATLAB and OpenCV • Examples showing how to interface OpenCV and MATLAB Opening the .mlpkginstall file from your operating system or from within MATLAB will initiate the installation process available for the release you have. This .mlpkginstall file is functional for R2014b and beyond. Watch this video to learn more about the package: http://youtu.be/BasC2jkgyaM
How to Install
Type in the following in Matlab Command Line
Select Computer Vision Toolbox OpenCV Interface and install
After installation setup the compiler by mex -setup c++
Choose the visual studio C++ compiler version (e.g. V.S 2017)
Check where the toolbox package is located in your computer which mexOpenCV
How to Use
You can get started using this quick command-line example: (MATLAB 2020a)
Refer to MATLAB_OpenCV examples
Read OpenCV with MATLAB for more info