Clear Filters
Clear Filters

Connecting Matlab r2015a with OpenCV

1 view (last 30 days)
Krzysztof Pudlo
Krzysztof Pudlo on 18 Sep 2016
Edited: Bego on 19 Sep 2016
Hi. Could someone tell me how to connect Matlab r2015a with OpenCV? I've tried many instructions but they are for older versions of Matlab...I followed them but for example if I try to run any code it says "Cannot open include file: 'opencv\cv.h': No such file or directory"... Can someone help me please? It is very important...

Answers (1)

Bego
Bego on 19 Sep 2016
Edited: Bego on 19 Sep 2016
Hello Krzysztof!
I have Matlab R2015a and I have succesfully installed OpenCV in my computer following the documentation from the MathWorks Team.
The process is well documented in the following video (It lasts for ~10.5 minutes). I assure you that by following these instructions in the end you'll only need to:
  • Download the 'Computer Vision System Toolbox OpenCV Interface' package.
  • and download/install 'Microsoft Visual C++ 2012 (C)' compiler (Do not go for newer versions of this compiler, OpenCV will only work with version 2012. Search for this version. It's a must!)
(Put extra attention to the video!)
Let me know how it goes.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!