This is a part of the tutorial series - "MexOpenCV: using OpenCV functions in MATLAB". This tutorial series will be very helpful to implement complex algorithms in an extremely easy and efficient way.
This is the first tutorial, where I explain how to install the softwares and get things working to use the OpenCV functions.
Code: https://github.com/psurya1994/mexopen...
Steps:
1. Open MATLAB. Run the following command.
mex -setup
Select compiler 1
If no compiler present download windows sdk from http://www.mathworks.in/support/compi... and run again.
2. Download OpenCV binaries from http://opencv.org/ and extract to your main drive- C: in my case
3. Download mexopencv from https://github.com/kyamagu/mexopencv and extract.
4. Add mexopencv to path and run
mexopencv.make
5. Ready to go. Run example face_detection.m code.