Closed mohanrajmit closed 8 years ago
Hi @mohanrajmit,
all error which you have encountered should be solved by following the advice from the issue #46. If you have any problems or something in that thread is not clear, just ask.
i have compiled by setting dlib shared library and build cpp examples are false. now am not getting any errors. two files are created fladmark.lib and clandmark.lib.
am not able to get dll files and while compiling cpp examples am getting errors. kindly help me to resolve the errors.
Hi @mohanrajmit,
to get the .dll
files you have to switch the BUILD_SHARED_LIBS
to ON
and compile again. I am sorry for this inconvenience, on Linux and Mac, this works more intuitively.
now i had set BUILD_SHARED_LIBS to true. only clandmark.dll is created.
after that am getting following errors
Hi @mohanrajmit,
I do not understand this, in previous message, you said that you got both flandmark.lib
and clandmark.lib
and now it seems that clandmark.lib
is missing. Have you compiled it in Release
mode with BUILD_SHARED_LIBS=OFF
previously as well? I mean if it was generated once, it should still be there...
i regenerated the solution file by enabling BUILD_SHARED_LIBS true by using cmake. after compiling this solution lib files are not there.
What version of Visual Studio are you using?
visual studio 2012
That's weird. I was also using this version, and it was not removing the files in my case. Nevermind, please try to copy the generated .lib
files somewhere else and then copy them back for the compilation of .dll
files.
i have one question, after enabling BUILD_SHARED_LIBS to true , i have click configure and then generate or directly i have to press generate.
I guess you have to configure first. Otherwise, it should generate the last valid configuration.
thanks alot. now i copied and pasted it. now i got both dll and lib
Glad to hear that :) So, now everything works for you?
now am trying to compile the example file. am regenerating the solution file for example
Ok
now i compiled example also. exe are created . where i can get cpdm.xml .
to run the static input and video input exe files
am getting following error while static_input.exe file
that means that the path to haar_cascade is incorrect. It is supposed to be given only as a path containing the .xml
file and it has to end by \
. Sorry fo that, it is not written specifically.
now its working fine. again thanks alot for patient answering all questions.
it looks like flandmark model.
The following model present in folder. where i can get Joint Multi-view Facial Landmarks Detector and Coarse-to-fine (C2F-DPM) dense landmark set detector model.
Hi,
no problem.
I should just warn you that this old flandmark_model.xml
model file is not compatible with this static_input
example. Since the example code uses new way of computing features, which is faster. I haven't released the compatible version for these 8 landmarks yet. This is also described in several threads here. So, please use e.g. cdpm.xml
or jointmv_frontal.mv
with this code example.
thanks for the whole support. now am able to use clandmark library.
Glad to hear that :), you are welcome.
Final remark, the best results for this dense 68 landmark set are obtained by combining both C-DPM
and F-DPM
models, forming the C2F-DPM
as described in our IMAVIS paper and available also in the code snippets on the project web page.
i have compiled the clandmark library using camke. i have opened clandmark.sln file and compiled it's shows the following.
kindly help to resolve the above mentioned error.