CountFormer: Multi-View Crowd Counting Transformer

Hong Mo, Xiong Zhang, Jianchao Tan, Cheng Yang, Qiong Gu +2 more
7/1/2024

No official code found. Best implementation: MandyMo/ECCV_Countformer (9 stars, last commit 2025-02-18).

Abstract

Multi-view counting (MVC) methods have shown their superiority over single-view counterparts, particularly in situations characterized by heavy occlusion and severe perspective distortions. However, hand-crafted heuristic features and identical camera layout requirements in conventional MVC methods limit their applicability and scalability in real-world scenarios.In this work, we propose a concise 3D MVC framework called \textbf{CountFormer}to elevate multi-view image-level features to a scene-level volume representation and estimate the 3D density map based on the volume features. By incorporating a camera encoding strategy, CountFormer successfully embeds camera parameters into the volume query and image-level features, enabling it to handle various camera layouts with significant differences.Furthermore, we introduce a feature lifting module capitalized on the attention mechanism to transform image-level features into a 3D volume representation for each camera view. Subsequently, the multi-view volume aggregation module attentively aggregates various multi-view volumes to create a comprehensive scene-level volume representation, allowing CountFormer to handle images captured by arbitrary dynamic camera layouts. The proposed method performs favorably against the state-of-the-art approaches across various widely used datasets, demonstrating its greater suitability for real-world deployment compared to conventional MVC frameworks.

View on arXivView PDF

Code Implementations(1)

Accepted By ECCV 2024

91C, C++Jul 8, 20241 years ago

Similar Papers

Cite this paper

@article{mo2024countformer,
  title  = {CountFormer: Multi-View Crowd Counting Transformer},
  author = {Hong Mo and Xiong Zhang and Jianchao Tan and Cheng Yang and Qiong Gu and Bo Hang and Wenqi Ren},
  year   = {2024},
  eprint = {2407.02047},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.02047},
  journal = {ECCV 2024 2024}
}

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

Discussion