Distribution Matching for Crowd Counting

Boyu Wang, Huidong Liu, Dimitris Samaras, Minh Hoai
9/28/2020
cs.CV

Official code: cvlab-stonybrook/DM-Count (247 stars, Python, MIT, last commit 2022-06-27).

Abstract

In crowd counting, each training image contains multiple people, where each person is annotated by a dot. Existing crowd counting methods need to use a Gaussian to smooth each annotated dot or to estimate the likelihood of every pixel given the annotated point.

Show full abstract

In this paper, we show that imposing Gaussians to annotations hurts generalization performance. Instead, we propose to use Distribution Matching for crowd COUNTing (DM-Count). In DM-Count, we use Optimal Transport (OT) to measure the similarity between the normalized predicted density map and the normalized ground truth density map. To stabilize OT computation, we include a Total Variation loss in our model. We show that the generalization error bound of DM-Count is tighter than that of the Gaussian smoothed methods. In terms of Mean Absolute Error, DM-Count outperforms the previous state-of-the-art methods by a large margin on two large-scale counting datasets, UCF-QNRF and NWPU, and achieves the state-of-the-art results on the ShanghaiTech and UCF-CC50 datasets. DM-Count reduced the error of the state-of-the-art published result by approximately 16%. Code is available at https://github.com/cvlab-stonybrook/DM-Count.

View on arXivView PDF

Code Implementations(1)

MIT

Code for NeurIPS 2020 paper: Distribution Matching for Crowd Counting.

24753PythonSep 28, 20204 years agoMIT

Similar Papers

Cite this paper

@article{wang2020distribution,
  title  = {Distribution Matching for Crowd Counting},
  author = {Boyu Wang and Huidong Liu and Dimitris Samaras and Minh Hoai},
  year   = {2020},
  eprint = {2009.13077},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.13077}
}

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/2009.13077.svg)](https://codeofpaper.com/paper/2009.13077)

Discussion