YuvalNirkin / find_face_landmarks

C++ \ Matlab library for finding face landmarks and bounding boxes in video\image sequences.
145 stars 44 forks source link

Invalid MEX-file #22

Open ali1975 opened 6 years ago

ali1975 commented 6 years ago

Invalid MEX-file 'C:\Users\server\Documents\MATLAB\find_face_landmarks.mexw64': The specified module could not be found. I tried different solutions, but the problem still found when I run landmarks function. I use R2016a, win7-64bit and VS 2012. I added find_face_landmarks/bin to path and find_face_landmarks/interfaces/Matlab to Matlab's path.

ali1975 commented 6 years ago

Also, can someone tell me which addition DLL files should I add and does opencv necessary.

yoterel commented 5 years ago

You also need to download the model file as described in the README: http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2

MarritS commented 4 years ago

I seem to have the same issue. Get the error 'Invalid MEX-file 'C:\Data\study\New_subjects\Biometrics\Project\find_face_landmarks-1.2-x64-vc14-release\find_face_landmarks-1.2-x64-vc14-release\interfaces\matlab\find_face_landmarks.mexw64': The specified module could not be found.' The file is however clearly there at that path. I added find_face_landmarks/bin to path and find_face_landmarks/interfaces/Matlab to Matlab's path and am using matlab version R2019b and windows 10.

I then installed R2015a and everything works fine. So for anyone having the same issue, just install R2015a version.