• 大小: 34.61MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-14
  • 语言: Matlab
  • 标签: MATLAB  行人检测  

资源简介

行人检测 通过训练获取目标

资源截图

代码片段和文件信息

function windows = create_windows(input_imageoverlapscaling)
% create_windows constructs a pyramid of windows in different spatial and
% resolution levels. 
% overlap: the number of pixels between starting coordinates of two windows
% scaling: the size reduction between corresponding resolution levels

I = im2double(input_image);
[ysize xsize~] = size(I);
ylev = log(ysize/128)/log(1/scaling);
xlev = log(xsize/64)/log(1/scaling);
levels = floor(min(ylevxlev))+1;

windows = cell(levels1);
f = input_image;

for index = 1:levels
    scale = (1/scaling)^(index-1);
    windows{index} = slide_window(foverlapscale);
    f = imresize(fscaling);
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    3698735  2018-05-15 15:14  Pedestrian-Detection-Code-master\95066.pdf

     文件    7288716  2014-02-21 13:52  Pedestrian-Detection-Code-master\bg_model_pets_110_180.mat

     文件   25615199  2014-02-21 13:52  Pedestrian-Detection-Code-master\bg_model_towncentre_1_250.mat

     文件        675  2015-05-11 14:01  Pedestrian-Detection-Code-master\create_windows.m

     文件       2169  2015-05-11 14:01  Pedestrian-Detection-Code-master\detect_pedestrian.m

     文件       2416  2015-05-11 14:01  Pedestrian-Detection-Code-master\HOG_Features.m

     文件        383  2015-05-11 14:01  Pedestrian-Detection-Code-master\HOG_Vote.m

     文件       2549  2015-05-11 14:01  Pedestrian-Detection-Code-master\make_video.m

     文件       2392  2015-05-11 14:01  Pedestrian-Detection-Code-master\NMS.m

     文件        860  2015-05-11 14:01  Pedestrian-Detection-Code-master\plot_boxes.m

     文件        540  2015-05-11 14:01  Pedestrian-Detection-Code-master\plot_boxes_NMS.m

    .......      2812  2015-05-11 14:01  Pedestrian-Detection-Code-master\README.txt

     文件        734  2015-05-11 14:01  Pedestrian-Detection-Code-master\slide_window.m

     文件        809  2015-05-11 14:01  Pedestrian-Detection-Code-master\SlidingWindow.m

     文件        512  2018-05-14 21:59  Pedestrian-Detection-Code-master\startup.m

     目录          0  2018-05-15 16:36  Pedestrian-Detection-Code-master

----------- ---------  ---------- -----  ----

             36619501                    16


评论

共有 条评论