I downloaded the voc-release5.
1. In accordance with this article, have been operated over: Http://blog.csdn.net/pozen/article/details/7023742#quote
2. Run demo not successfully continue to modify according to http://cfanz.cn/index.php?c=article&a=read&id=128978 method
2.1 In press this article run >> Mex cascade.cpp model.cpp times wrong: d:\progra~1\matlab\r2012b\bin\mex.pl:error: ' cascade.cpp ' not found .
Workaround: Modify the current path of MATLAB to the path where the cascade.cpp file is stored
2.2 Open Timer.h To change # include <sys\time.h> to #include <time.h>
2.3 Surprises. No error occurred while running the MEX Fconv_var_dim.cpp
3. Running DEMO.M
3.1 Comment out
% fprintf (' Compiling the Code ... ');
% Compile;
% fprintf (' done.\n\n ');
Run Error: Undefined function ' resize ' for input arguments of type ' double '.
I still can't comment out the three sentences above.
After canceling the comment, put the 41st line in cascade_compile.m mexcmd = [mexcmd ' star-cascade/cascade.cc star-cascade/model.cc ']; Change to: Mexcmd = [mexcmd ' star-cascade/cascade.cpp star-cascade/model.cpp ']; Because the name was changed.
To change the current path to VOC-RELEASE5: F:\competition\Deformable part MODEL\VOC-RELEASE5
Do the above step, do not go on. Various error. Discover that the tutorials on the web are corresponding to the 4.01 version of my version 5 even the filenames are not exactly the same
--------------------------------------------------------------------------------------------------------------- -----
Download old version voc-release4.01
By: Http://www.verydemo.com/demo_c92_i211009.html's instructions are actually http://blog.csdn.net/pozen/article/details/7023742#. Quote is followed by a step:
change void *process (void *thread_arg) to void process (void *thread_arg)
In addition, you need to comment out the Mex-o fconvsse.cc-o Fconv in COMPILE.M.