uricamic / flandmark

Open-source implementation of facial landmark detector
http://cmp.felk.cvut.cz/~uricamic/flandmark/
GNU General Public License v3.0
228 stars 151 forks source link

Error in compiling detectorModelBuild.m #38

Open tarannomeghazal opened 6 years ago

tarannomeghazal commented 6 years ago

Hi, I downloded the flandmark V106 from : http://cmp.felk.cvut.cz/~uricamic/flandmark/ then i runed the detectorModelBuild.m and i got this error : Error using load Unable to read file './MAT/functions_gdisp.mat'. No such file or directory.

Error in detectorModelBuild (line 16) load('./MAT/functions_gdisp.mat'); what should i do now? please help me

tarannomeghazal commented 6 years ago

@uricamic please help me. Thank you

uricamic commented 6 years ago

Hi @tarannomeghazal,

first of all, I would like to ask why do you want to run this script detectorModelBuild.m? Maybe it is not the thing which you are looking for at all.

To answer your question the ./MAT folder is created when you are learning the detector, so this function detectorModelBuild.m assumes that it was already created (here to be more specific: https://github.com/uricamic/flandmark/blob/ecf122f93f73504fe7d8faccca525c6b1e98fdcd/learning/flandmark_learn.m#L134).

tarannomeghazal commented 6 years ago

Hi @uricamic because when i run the flandmark_learn.m (based on README) , this is an error: Error using flandmark_learn (line 103) ??? Mex-files not found! Please compile the flandmark with BUILD_MATLAB_BINDINGS turned on.\n