人群密度估计--CrowdNet: A Deep Convolutional Network for Dense Crowd Counting

CrowdNet: A Deep Convolutional Network for Dense Crowd Counting
published in the proceedings of ACM Conference on Multimedia (ACMMM) - 2016
http://val.serc.iisc.ernet.in/CrowdNet/
Caffe: https://github.com/davideverona/deep-crowd-counting_crowdnet

针对人群密度估计问题,本文使用 deep and shallow, fully convolutional networks 两个网络相结合实现 large scale variations,
high-level semantic information (face/body detectors) and the low-level features (blob detectors)

我们的网络结构如下所示:
这里写图片描述

Deep Network 主要用捕获 high-level semantics 信息,这里我们采用一个类似 VGG网络的结构,我们去掉了全连接层,网络变成了全卷积层。同时原来的 VGG网络使用了5个 max-pool layers each with a stride of 2,最终的特征图大小只有输入图像尺寸的1/32。我们这里需要输出像素级别的人群密度估计图,所以我们 set the stride of the
fourth max-pool layer to 1 and remove the fifth pooling layer,这样最终的特征图大小只有输入图像尺寸的 1/8.

the receptive-field mismatch caused by the removal of stride in the fourth max-pool layer
将第四最大池化层的步长设置为1会导致 the receptive-field mismatch, 这里我们使用了文献【4】中的 膨胀卷积。其结果就相当第四最大池化层的步长设置为2

Shallow Network
这里我们使用一个 shallow convolutional network 主要用于检测远离相机的人头, used for the detection of small head-blobs

Combination of Deep and Shallow Networks
这里 concatenate Deep and Shallow Networks 的输出,输入图像尺寸的 1/8, 使用一个 1x1 convolution layer, 再 upsampled to the size of the input image using bilinear interpolation to obtain the final crowd density prediction

3.2 Ground Truth
generate our ground truth by simply blurring each head annotation using a Gaussian kernel normalized to sum to one

3.3 Data Augmentation
这里主要使用两类数据增强
primarily perform two types of augmentation
1)对 scale variations 我们多尺度采样
这里写图片描述
2)对容易错误的样本我们多训练几次
sampling high density patches more often

4 EXPERIMENTS
这里写图片描述

这里写图片描述

这里写图片描述

这里写图片描述

train.txt 内容
/media/guest/新加卷/spgz/perDensity/Subway/train_test/shanghai/crop/dcc_crowdnet/train_0.h5
/media/guest/新加卷/spgz/perDensity/Subway/train_test/shanghai/crop/dcc_crowdnet/train_7000.h5
/media/guest/新加卷/spgz/perDensity/Subway/train_test/shanghai/crop/dcc_crowdnet/train_14000.h5

test.txt 内容
/media/guest/新加卷/spgz/perDensity/Subway/train_test/shanghai/crop/dcc_crowdnet/test_0.h5

在这里插入图片描述

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值