Search code examples
matlabopencvimage-processingcomputer-visionmatlab-cvst

Matlab ocv.dll error The Specified Module Could Not Be Loaded


I am trying to use face detector of Matlab Vision Toolbox Example

I am getting this error when I run the script:

MATLAB:dispatcher:loadLibrary Can't load 'C:\Program Files\MATLAB\R2015a\bin\win64\ocv.dll': The specified module could not be found. Caught MathWorks::System::FatalException

My system is Win-64 and I don't have OpenCv installed on my system.What is the reason of getting this error ?

UPDATE: ocv.dll is existing in the specified location


Solution

  • The OpenCV DLL comes with the Computer Vision System Toolbox for MATLAB. It sounds like the Computer Vision System Toolbox is not correctly installed on your computer.