主要内容

本页采用了机器翻译。点击此处可查看英文原文。

peopleDetectorACF

利用聚合通道特征检测人员

说明

detector = peopleDetectorACF 返回一个基于聚合通道特征 (ACF) 的预训练直立人体检测器。该检测器是一个 acfObjectDetector 对象,并使用 INRIA 人体数据集进行训练。

示例

detector = peopleDetectorACF(name) 返回一个基于指定模型 name 的预训练直立人体检测器。

示例

全部折叠

加载直立人体检测器。

detector = peopleDetectorACF;

读取一个图像。检测图像中的人。

I = imread('visionteam1.jpg');
[bboxes,scores] = detect(detector,I);

对检测到的人添加边界框注解及其检测分数。

I = insertObjectAnnotation(I,'rectangle',bboxes,scores);
figure
imshow(I)
title('Detected People and Detection Scores')

Figure contains an axes object. The hidden axes object with title Detected People and Detection Scores contains an object of type image.

输入参数

全部折叠

ACF 分类模型,指定为 'inria-100x41''caltech-50x21''inria-100x41' 模型是使用 INRIA Person 数据集训练的。'caltech-50x21' 模型是使用加州理工学院行人数据集训练的。

输出参量

全部折叠

基于 ACF 训练的目标检测器,以 acfObjectDetector 对象的形式返回。该检测器经过训练,能够检测图像中直立的人。

参考

[1] Dollar, P., R. Appel, S. Belongie, and P. Perona. "Fast Feature Pyramids for Object Detection." IEEE Transactions on Pattern Analysis and Machine Intelligence. Vol. 36, Issue 8, 2014, pp. 1532–1545.

[2] Dollar P., C. Wojek, B. Shiele, and P. Perona. "Pedestrian Detection: An Evaluation of the State of the Art." IEEE Transactions on Pattern Analysis and Machine Intelligence. Vol. 34, Issue 4, 2012, pp. 743–761.

[3] Dollar, P., C., Wojek, B. Shiele, and P. Perona. "Pedestrian Detection: A Benchmark." IEEE Conference on Computer Vision and Pattern Recognition. 2009.

版本历史记录

在 R2017a 中推出