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

3 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2018-11-25
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 2018-11-27
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by