Can't reload :Program FilesMATLABR2018bbinwin64ocv.dll'
13 views (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!