One-Shot Any-Scene Crowd Counting With Local-to-Global Guidance
- PMID: 38963733
- DOI: 10.1109/TIP.2024.3420713
One-Shot Any-Scene Crowd Counting With Local-to-Global Guidance
Abstract
Due to different installation angles, heights, and positions of the camera installation in real-world scenes, it is difficult for crowd counting models to work in unseen surveillance scenes. In this paper, we are interested in accurate crowd counting based on the data collected by any surveillance camera, that is to count the crowd from any scene given only one annotated image from that scene. To this end, we firstly pose crowd counting as a one-shot learning task. Through the metric-learning, we propose a simple yet effective method that firstly estimates crowd characteristics and then transfers them to guide the model to count the crowd. Specifically, to fully capture these crowd characteristics of the target scene, we devise the Multi-Prototype Learner to learn the prototypes of foreground and density from the limited support image using the Expectation-Maximization algorithm. To learn the adaptation capability for any unseen scene, estimated multi prototypes are proposed to guide the crowd counting of query images in a local-to-global way. CNN is utilized to activate the local features. And transformer is introduced to correlate global features. Extensive experiments on three surveillance datasets suggest that our method outperforms the SOTA methods in the few-shot crowd counting.
Similar articles
-
Meta-Knowledge and Multi-Task Learning-Based Multi-Scene Adaptive Crowd Counting.Sensors (Basel). 2022 Apr 26;22(9):3320. doi: 10.3390/s22093320. Sensors (Basel). 2022. PMID: 35591010 Free PMC article.
-
HADF-Crowd: A Hierarchical Attention-Based Dense Feature Extraction Network for Single-Image Crowd Counting.Sensors (Basel). 2021 May 17;21(10):3483. doi: 10.3390/s21103483. Sensors (Basel). 2021. PMID: 34067707 Free PMC article.
-
Deep Learning-Based Crowd Scene Analysis Survey.J Imaging. 2020 Sep 11;6(9):95. doi: 10.3390/jimaging6090095. J Imaging. 2020. PMID: 34460752 Free PMC article. Review.
-
COMAL: compositional multi-scale feature enhanced learning for crowd counting.Multimed Tools Appl. 2022;81(15):20541-20560. doi: 10.1007/s11042-022-12249-9. Epub 2022 Mar 11. Multimed Tools Appl. 2022. PMID: 35291715 Free PMC article.
-
Advances and Trends in Real Time Visual Crowd Analysis.Sensors (Basel). 2020 Sep 7;20(18):5073. doi: 10.3390/s20185073. Sensors (Basel). 2020. PMID: 32906659 Free PMC article. Review.
Cited by
-
Crowd counting in domain generalization based on multi-scale attention and hierarchy level enhancement.Sci Rep. 2025 Jan 2;15(1):155. doi: 10.1038/s41598-024-83725-5. Sci Rep. 2025. PMID: 39747398 Free PMC article.
LinkOut - more resources
Full Text Sources