-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can not form a mex-files of flandmark #10
Comments
i came up with the same problem |
Hi, if everything except of mex-files was compiled successfully, you can produce the mex-files by running the enclosed script flandmark_compilemex.m in the matlab_toolbox directory (you will probably have to change some paths there, but it should be rather straightforward and obvious from the script). For some reasons it is not so easy to compile mex-files from visual studio from the solution generated by CMake ans since I am using preferably linux, this problem remains unsolved. Sorry for that inconvenience. The "solution" is that matlab script which will produce mex-files directly from MATLAB. |
Thanks for your kindly reply,i wil try it in centos6.4 ------------------ 原始邮件 ------------------ Hi, if everything except of mex-files was compiled successfully, you can produce the mex-files by running the enclosed script flandmark_compilemex.m in the matlab_toolbox directory (you will probably have to change some paths there, but it should be rather straightforward and obvious from the script). For some reasons it is not so easy to compile mex-files from visual studio from the solution generated by CMake ans since I am using preferably linux, this problem remains unsolved. Sorry for that inconvenience. The "solution" is that matlab script which will produce mex-files directly from MATLAB. — |
can you tell me what linux do you use? ------------------ 原始邮件 ------------------ Hi, if everything except of mex-files was compiled successfully, you can produce the mex-files by running the enclosed script flandmark_compilemex.m in the matlab_toolbox directory (you will probably have to change some paths there, but it should be rather straightforward and obvious from the script). For some reasons it is not so easy to compile mex-files from visual studio from the solution generated by CMake ans since I am using preferably linux, this problem remains unsolved. Sorry for that inconvenience. The "solution" is that matlab script which will produce mex-files directly from MATLAB. — |
Hi, I am now using Ubuntu 12.04 precise 64bit, OpenCV 2.3.4 and MATLAB R2012b 64bit. Originally I was using MATLAB R2011a 64bit. |
ok,get that,thanks very much. ------------------ 原始邮件 ------------------ Hi, I am now using Ubuntu 12.04 precise 64bit, OpenCV 2.3.4 and MATLAB R2012b 64bit. Originally I was using MATLAB R2011a 64bit. — |
Sorry to bother you again,i read your conferance paper and master thesis carefully.But still do not understand the training process. The input is a still image(including the positions and local feature vector), what is the difference between your struct svm and the opencv lateng svm(which is another struct svm)? Can you give me some advise? |
Hi, the output of learning is the w vector, it is a joint parameter vector, i.e. vector obtained by concatenating the vectors of parameters for each individual vertex (the landmark and its surrounding window) and each individual edge from the graph constraints which express our belief of how the landmarks are connected and how position of one of them influences the rest. This graph is limited to a tree, because of the fast inference (done by terms of dynamic programming). And for learning, we are using structural SVM, it is a generalization of SVM, where the output space can be arbitrary and where a designer can specify his own loss function (which has some limitations). I don't know details about opencv latent svm, but I guess it is an implementation of the learning algorithm for latent SVM. |
Hello, Michael!
I can not form a mex-files of your project flandmark (https://github.com/uricamic/flandmark).
I am using MS Visual Studio 2012 and try to compile flandmark_detector.
I get the following error:
1>------ Перестроение всех файлов начато: проект: flandmark_detector, Конфигурация: Release x64 ------
1> Building Custom Rule C:/facial landmark detector/flandmark/matlab_toolbox/mex/CMakeLists.txt
1> CMake does not need to re-run because C:\facial landmark detector\flandmark\build-msvc2012\matlab_toolbox\mex\CMakeFiles\generate.stamp is up-to-date.
1> Building MEX extension C:/facial landmark detector/flandmark/build-msvc2012/matlab_toolbox/mex/flandmark_detector.mexw64
1> Creating library C:\Users\ssv\AppData\Local\Temp\mex_SPtIIw\templib.x and object C:\Users\ssv\AppData\Local\Temp\mex_SPtIIw\templib.exp
1>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
1>flandmark_detector.mexw64 : fatal error LNK1120: 1 unresolved externals
1>
1>C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL : error : Link of 'flandmark_detector.mexw64' failed.
1>
========== Перестроение всех: успешно: 0, с ошибками: 1, пропущено: 0 ==========
How can you help me?
Sincerely,
Sergei Verkin
The text was updated successfully, but these errors were encountered: