Counting With Focus for Free
Zenglin Shi, Pascal Mettes, Cees Snoek
Abstract
This paper aims to count arbitrary objects in images. The leading counting approaches start from point annotations per object from which they construct density maps. Then, their training objective transforms input images to density maps through deep convolutional networks. We posit that the point annotations serve more supervision purposes than just constructing density maps. We introduce ways to repurpose the points for free. First, we propose supervised focus from segmentation, where points are converted into binary maps. The binary maps are combined with a network branch and accompanying loss function to focus on areas of interest. Second, we propose supervised focus from global density, where the ratio of point annotations to image pixels is used in another branch to regularize the overall density estimation. To assist both the density estimation and the focus from segmentation, we also introduce an improved kernel size estimator for the point annotations. Experiments on six datasets show that all our contributions reduce the counting error, regardless of the base network, resulting in state-of-the-art accuracy using only a single network. Finally, we are the first to count on WIDER FACE, allowing us to show the benefits of our approach in handling varying object scales and crowding levels. Code is available at https://github.com/shizenglin/ Counting-with-Focus-for-Free
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers12
- Spatial Uncertainty-Aware Semi-Supervised Crowd CountingYanda Meng, Hongrun Zhang, Yitian Zhao, Xiaoyun Yang et al.ICCV 2021 · 108 citations
- Learning to Count via Unbalanced Optimal TransportZhiheng Ma, Xing Wei, Xiaopeng Hong, Hui Lin et al.AAAI 2021 · 100 citations
- Efficient Crowd Counting via Structured Knowledge TransferLingbo Liu, Jiaqi Chen, Hefeng Wu, Tianshui Chen et al.ACM MM 2020 · 72 citations
- Variational Attention: Propagating Domain-Specific Knowledge for Multi-Domain Learning in Crowd CountingBinghui Chen, Zhaoyi Yan, Ke Li, Pengyu Li et al.ICCV 2021 · 51 citations
- Leveraging Self-Supervision for Cross-Domain Crowd CountingWeizhe Liu, Nikita Durasov, Pascal FuaCVPR 2022 · 43 citations
Related papers
- Bayesian Loss for Crowd Count Estimation With Point SupervisionZhiheng Ma, Xing Wei, Xiaopeng Hong, Yihong GongICCV 2019 · 612 citations
- Adaptive Dilated Network With Self-Correction Supervision for CountingShuai Bai, Zhiqun He, Yu Qiao, Hanzhe Hu et al.CVPR 2020
- Semi-supervised Crowd Counting via Density AgencyHui Lin, Zhiheng Ma, Xiaopeng Hong, Yaowei Wang et al.ACM MM 2022 · 37 citations
- Optimal Transport Minimization: Crowd Localization on Density Maps for Semi-Supervised CountingWei Lin, Antoni B. ChanCVPR 2023
- Bootstrapping MLLM for Weakly‑Supervised Class‑Agnostic Object CountingXiaowen Zhang, Zijie Yue, Yong Luo, Cairong Zhao et al.ICLR 2026 · 3 citations
