DPM算法实现:voc-release5(Win7+matlab2016b可运行
资源来自网络,经过我的配置,可完整运行,实现DPM算法对行人的检测,是一个一个完整的实现,含有注释和完整的工程文件,环境为win7+vs2013+matlab2016b,其他版本MATLAB也可
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 33688 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行) 00034.jpg
文件 43224 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行) 00061.jpg
文件 38547 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行) 00084.jpg
文件 2215 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_data.m
文件 1104 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_get.m
文件 1351 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_input.m
文件 2447 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_rescore.m
文件 1894 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_train.m
文件 0 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)in.gitignore
文件 9216 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)inounded_dt.mexw64
文件 29184 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)incascade.mexw64
文件 10752 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)incompute_overlap.mexw64
文件 9728 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)indt.mexw64
文件 10240 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)infconv.mexw64
文件 10240 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)infconv_var_dim.mexw64
文件 12800 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)infeatures.mexw64
文件 14336 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)inget_detection_trees.mexw64
文件 9728 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)in
esize.mexw64
文件 13056 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)car_grammarcar_grammar_init.m
文件 1283 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)car_grammarpascal_car_grammar.m
文件 1148 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)car_grammarpascal_train_car_grammar.m
文件 278 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)car_grammarvoc_config_car_grammar.m
文件 2112 2017-09-03 18:03 voc-release5(Win7+matlab2016b可运行)compile.m
文件 3640 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_data.m
文件 4184 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_labels.m
文件 541 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_rescore.m
文件 1766 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_test.m
文件 1401 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_train.m
文件 1200 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)COPYING
文件 273 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)dataimreadx.m
............此处省略333个文件信息
function compile(opt verb mex_file)
% Build MEX source code.
% All compiled binaries are placed in the bin/ directory.
%
% Windows users: Windows is not yet supported. You can likely
% get the code to compile with some modifications but please
% do not email to ask for support.
%
% Arguments
% opt Compile with optimizations (default: on)
% verb Verbose output (default: off)
% if ispc
% error(‘This code is not supported on Windows.‘);
% end
if nargin < 1
opt = true;
end
if nargin < 2
verb = false;
end
% Start building the mex command
mexcmd = ‘mex -outdir bin‘;
% Add verbosity if requested
if verb
mexcmd = [mexcmd ‘ -v‘];
end
% Add optimizations if requested
if opt
mexcmd = [mexcmd ‘ -O‘];
mexcmd = [mexcmd ‘ CXXOPTIMFLAGS=“-O3 -DNDEBUG“‘];
mexcmd = [mexcmd ‘ LDOPTIMFLAGS=“-O3“‘];
else
mexcmd = [mexcmd ‘ -g‘];
end
% Turn all warnings on
mexcmd = [mexcmd ‘ CXXFLAGS=“$CXXFLAGS -Wall“‘];
mexcmd = [mexcmd ‘ LDFLAGS=“$LDFLAGS -Wall“‘];
if nargin < 3
% Build feature vector cache code
fv_compile(opt verb);
% Build the star-cascade code
cascade_compile(opt verb);
eval([mexcmd ‘ features/resize.cc‘]);
eval([mexcmd ‘ features/features.cc‘]);
eval([mexcmd ‘ gdetect/dt.cc‘]);
eval([mexcmd ‘ gdetect/bounded_dt.cc‘]);
eval([mexcmd ‘ gdetect/get_detection_trees.cc‘]);
eval([mexcmd ‘ gdetect/compute_overlap.cc‘]);
% Convolution routine
% Use one of the following depending on your setup
% (0) is fastest (2) is slowest
% 0) multithreaded convolution using SSE
% eval([mexcmd ‘ gdetect/fconvsse.cc -o fconv‘]);
% 1) multithreaded convolution
%eval([mexcmd ‘ gdetect/fconv_var_dim_MT.cc -o fconv‘]);
% 2) basic convolution very compatible
eval([mexcmd ‘ gdetect/fconv_var_dim.cc -output fconv‘]);
% Convolution routine that can handle feature dimenions other than 32
% 0) multithreaded convolution
%eval([mexcmd ‘ gdetect/fconv_var_dim_MT.cc -o fconv_var_dim‘]);
% 1) single-threaded convolution
eval([mexcmd ‘ gdetect/fconv_var_dim.cc -output fconv_var_dim‘]);
else
eval([mexcmd ‘ ‘ mex_file]);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 33688 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行) 00034.jpg
文件 43224 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行) 00061.jpg
文件 38547 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行) 00084.jpg
文件 2215 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_data.m
文件 1104 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_get.m
文件 1351 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_input.m
文件 2447 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_rescore.m
文件 1894 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)box_predboxpred_train.m
文件 0 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)in.gitignore
文件 9216 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)inounded_dt.mexw64
文件 29184 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)incascade.mexw64
文件 10752 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)incompute_overlap.mexw64
文件 9728 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)indt.mexw64
文件 10240 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)infconv.mexw64
文件 10240 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)infconv_var_dim.mexw64
文件 12800 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)infeatures.mexw64
文件 14336 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)inget_detection_trees.mexw64
文件 9728 2017-09-03 18:08 voc-release5(Win7+matlab2016b可运行)in
esize.mexw64
文件 13056 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)car_grammarcar_grammar_init.m
文件 1283 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)car_grammarpascal_car_grammar.m
文件 1148 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)car_grammarpascal_train_car_grammar.m
文件 278 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)car_grammarvoc_config_car_grammar.m
文件 2112 2017-09-03 18:03 voc-release5(Win7+matlab2016b可运行)compile.m
文件 3640 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_data.m
文件 4184 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_labels.m
文件 541 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_rescore.m
文件 1766 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_test.m
文件 1401 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)contextcontext_train.m
文件 1200 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)COPYING
文件 273 2012-09-07 01:05 voc-release5(Win7+matlab2016b可运行)dataimreadx.m
............此处省略333个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)