使用flandmark库的面部特征点-MATLAB r2013d

使用flandmark库的面部特征点-MATLAB r2013d,matlab,image-processing,computer-vision,feature-detection,feature-extraction,Matlab,Image Processing,Computer Vision,Feature Detection,Feature Extraction,我想使用库查找面部特征点。但是我得到了这个编译错误。 按照指示,我已尝试编译flandmark\u compilemex.m 编译后,它显示以下错误: Warning: MEX could not find the library "flandmark_static" specified with -l option. MEX looked for a file with one of the names: flandmark_static.lib

我想使用库查找面部特征点。但是我得到了这个编译错误。

按照指示,我已尝试编译
flandmark\u compilemex.m

编译后,它显示以下错误:

Warning: MEX could not find the library "flandmark_static" specified with -l option. 
     MEX looked for a file with one of the names: 
           flandmark_static.lib 
           libflandmark_static.lib 
     MEX looked for the library in the following directories: 
           C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\LIB\amd64 
           C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\LIB\amd64 
           C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64 
           C:\Program Files\MATLAB\R2013b\extern\lib\win64 
           C:\Program Files (x86)\Microsoft Visual Studio\VC98\mfc\lib 
           C:\Program Files (x86)\Microsoft Visual Studio\VC98\lib 
           C:\Program Files\MATLAB\R2013b\extern\lib\win64\microsoft 
           ../bin7/libflandmark/Release 

Creating library
    C:\Users\Revathy\AppData\Local\Temp\mex_dVbrg8\templib.x
and object
    C:\Users\Revathy\AppData\Local\Temp\mex_dVbrg8\templib.exp 
flandmark_detector_mex.obj: error LNK2019:
    unresolved external symbol
        "int __cdecl flandmark_detect(struct _IplImage *,int *,struct model_struct *,double *,int *)"
        (?flandmark_detect@@YAHPEAU_IplImage@@PEAHPEAUmodel_struct@@PEAN1@Z)
    referenced in function mexFunction 
C:\OpenCV2.3\build\bin\flandmark-master\flandmark-master\matlab_toolbox\mex\flandmark_detector.mexw64:
    fatal error LNK1120: 1 unresolved externals 
C:\PROGRA~1\MATLAB\R2013B\BIN\MEX.PL:
    Error: Link of
        'C:\OpenCV2.3\build\bin\flandmark-master\flandmark-master\matlab_toolbox\mex\flandmark_detector.mexw64'
    failed. 

Unable to complete successfully.

Error in flandmark_compilemex (line 79)
    eval(['mex -O -largeArrayDims ./mex/flandmark_detector_mex.cpp -I../libflandmark/'
include libflandmark cvlibs ' -output ../matlab_toolbox/mex/flandmark_detector']);

我不知道如何在matlab中编译库文件
flandmark\u static
。任何人请建议我分步安装库。

我在编译flandmark时也遇到同样的问题。要生成Flandmark_静态库,首先使用CMAKE生成解决方案,然后运行项目Flandmark静态库。这样你就不会得到警告。看看你是否可以用这种方式生成MEX文件。

你能展示一下你到目前为止所做的步骤吗。您运行的确切命令、每个命令的输出等。我在线下载了flanmark lib文件,并按照指示编译了flandmark_compilemex.m[我已经有c语言的opencv 2.3.0:]我收到了上述警告,但出现了以下错误。***********************无法成功完成。flandmark_compilemex(第79行)eval(['mex-O-largearydims./mex/flandmark_detector_-mex.cpp-I../libflandmark/'include libflandmark cvlibs'-output../matlab_toolbox/mex/flandmark_detector'])中出错******************是,但是我希望你用一步一步的说明来更新你的问题,说明如何复制你的问题和你使用的确切命令,以及编译器选项等。我更新了问题。到目前为止我只做了这么多。你一开始有“flandmark_static”文件吗?上面说它不见了。您仍然没有显示用于编译它的命令和/或选项。