One-Shot Crowd Counting With Density Guidance For Scene Adaptaion

Jiwei Chen, Qi Wang, Junyu Gao, Jing Zhang, Dingyi Li +1 more
2/8/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Crowd scenes captured by cameras at different locations vary greatly, and existing crowd models have limited generalization for unseen surveillance scenes. To improve the generalization of the model, we regard different surveillance scenes as different category scenes, and introduce few-shot learning to make the model adapt to the unseen surveillance scene that belongs to the given exemplar category scene. To this end, we propose to leverage local and global density characteristics to guide the model of crowd counting for unseen surveillance scenes. Specifically, to enable the model to adapt to the varying density variations in the target scene, we propose the multiple local density learner to learn multi prototypes which represent different density distributions in the support scene. Subsequently, these multiple local density similarity matrixes are encoded. And they are utilized to guide the model in a local way. To further adapt to the global density in the target scene, the global density features are extracted from the support image, then it is used to guide the model in a global way. Experiments on three surveillance datasets shows that proposed method can adapt to the unseen surveillance scene and outperform recent state-of-the-art methods in the few-shot crowd counting.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2026oneshot,
  title  = {One-Shot Crowd Counting With Density Guidance For Scene Adaptaion},
  author = {Jiwei Chen and Qi Wang and Junyu Gao and Jing Zhang and Dingyi Li and Jing-Jia Luo},
  year   = {2026},
  eprint = {2602.07955},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.07955v1}
}

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

Discussion