Can't reload :Program FilesMATLA​BR2018bbin​win64ocv.d​ll'

13 views (last 30 days)
I get the error "Can't reload :Program FilesMATLABR2018bbinwin64ocv.dll'" when running the "Face Detection and Tracking Using the KLT Algorithm" from https://www.mathworks.com/help/vision/examples/face-detection-and-tracking-using-the-klt-algorithm.html#d120e3968
I clicked the link try it on Matlab and then run the script. I restarted computer but the error does not disappear.
Complete error description is as follow:
Can't reload 'C:\Program Files\MATLAB\R2018b\bin\win64\ocv.dll'
Error in vision.CascadeObjectDetector (line 205)
obj.pCascadeClassifier = vision.internal.CascadeClassifier;
Error in face_detection (line 2)
faceDetector = vision.CascadeObjectDetector();
  2 Comments
Walter Roberson
Walter Roberson on 25 Nov 2018
Unfortunately we do not know what causes this yet. In some cases, it has been tracked down to needing to install MS Visual Studios Run Time Redistributable. I think it was the 2015 version that was mentioned, but if I understand correctly any version at least that new should provide the DLLs.
Emmanuel Nicolas
Emmanuel Nicolas on 27 Nov 2018
Thank you very much for your help. I installed MS Visual Studios Run Time Redistributable 2013 before and it didn't work. But with 2015 version, the problem has gone. Thanks again.

Sign in to comment.

Answers (0)

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!