Rethinking Counting and Localization in Crowds:A Purely Point-Based Framework

Qingyu Song, Changan Wang, Zhengkai Jiang, Yabiao Wang, Ying Tai +4 more
7/27/2021
cs.CV

Official code: TencentYoutuResearch/CrowdCounting-P2PNet (560 stars, last commit 2024-05-29). 1 more implementation below.

Abstract

Localizing individuals in crowds is more in accordance with the practical demands of subsequent high-level crowd analysis tasks than simply counting. However, existing localization based methods relying on intermediate representations (\textit{i.e.}, density maps or pseudo boxes) serving as learning targets are counter-intuitive and error-prone. In this paper, we propose a purely point-based framework for joint crowd counting and individual localization. For this framework, instead of merely reporting the absolute counting error at image level, we propose a new metric, called density Normalized Average Precision (nAP), to provide more comprehensive and more precise performance evaluation. Moreover, we design an intuitive solution under this framework, which is called Point to Point Network (P2PNet). P2PNet discards superfluous steps and directly predicts a set of point proposals to represent heads in an image, being consistent with the human annotation results. By thorough analysis, we reveal the key step towards implementing such a novel idea is to assign optimal learning targets for these proposals. Therefore, we propose to conduct this crucial association in an one-to-one matching manner using the Hungarian algorithm. The P2PNet not only significantly surpasses state-of-the-art methods on popular counting benchmarks, but also achieves promising localization accuracy. The codes will be available at: https://github.com/TencentYoutuResearch/CrowdCounting-P2PNet.

View on arXivView PDF

Code Implementations(2)

The official codes for the ICCV2021 Oral presentation "Rethinking Counting and Localization in Crowds: A Purely Point-Based Framework"

560150PythonAug 9, 20212 years agoNOASSERTION

Official implementation in PyTorch of SASNet as described in "To Choose or to Fuse? Scale Selection for Crowd Counting"

9115PythonMar 24, 20215 years agoNOASSERTION

Similar Papers

Cite this paper

@article{song2021rethinking,
  title  = {Rethinking Counting and Localization in Crowds:A Purely Point-Based Framework},
  author = {Qingyu Song and Changan Wang and Zhengkai Jiang and Yabiao Wang and Ying Tai and Chengjie Wang and Jilin Li and Feiyue Huang and Yang Wu},
  year   = {2021},
  eprint = {2107.12746},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.12746}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.12746.svg)](https://codeofpaper.com/paper/2107.12746)

Discussion