Cross-View Cross-Scene Multi-View Crowd Counting

Qi Zhang, Wei Lin, Antoni B. Chan · DOI

Abstract

Multi-view (MV) crowd counting offers significant advantages over single-view methods by mitigating occlusions and expanding the field-of-view. However, existing models often struggle with generalization across different scenes and camera configurations. This paper introduces the Cross-View Cross-Scene (CVCS) framework, a novel paradigm designed for robust crowd counting across arbitrary camera layouts and unseen locations. By utilizing a massive synthetic dataset for training and a geometry-aware camera selection module, the proposed model achieves high accuracy in real-world settings through unsupervised domain adaptation. Furthermore, a noise camera view regularization technique is introduced to enhance robustness against calibration errors, ensuring reliable performance in practical deployments.

Introduction

The primary challenge in multi-view crowd counting is the "generalization gap." Most existing models are trained and evaluated on the same scene with a static set of cameras. When these models are deployed in a new scene or if the camera positions are altered, performance typically degrades significantly. This sensitivity arises from two main factors: the need to dynamically prioritize different camera views based on the ground plane location and the presence of correspondence noise due to imperfect camera calibration.

The CVCS paradigm: training on diverse synthetic data and testing on varied real-world datasets.

To address these issues, the authors propose a framework that treats geometry as a fundamental prior rather than a learned parameter. By training on a diverse array of synthetic environments, the model learns to adapt to varying layouts and sensor noise, facilitating a seamless transition from virtual training to real-world application.

The CVCS Architecture

The CVCS model is structured into four distinct stages designed to process multi-view inputs and produce a unified scene-level density map.

Detailed architecture of the CVCS model, highlighting feature extraction, projection, and the adaptive camera selection module.
  1. Single-view Feature Extraction: A shared VGG-7 backbone extracts deep features from each camera view independently. This ensures that the model learns general visual representations of people across different perspectives.
  2. Feature Projection: Using a Spatial Transformer Network (STN) and known camera calibration parameters (intrinsic and extrinsic matrices), the 2D image features are projected onto a common 3D ground plane. This alignment is crucial for fusing information from multiple viewpoints.
  3. Adaptive Camera Selection and Fusion: This core module addresses the "varying layouts" problem. Instead of simple feature averaging, the model employs a geometric prior: the distance from the camera to the specific ground point. Features from closer cameras, which typically offer higher resolution and fewer occlusions, are given higher weights. This adaptive weighting allows the model to handle an arbitrary number of cameras at test time.
  4. Multi-view Decoding: The fused feature map is processed by a final CNN decoder to generate a scene-level density map, from which the total crowd count is derived.

Robustness and Domain Adaptation

To mitigate the impact of calibration errors—common in real-world setups—the authors introduce Noise Camera View Regularization. During the training phase, a "virtual" camera view consisting of pure Gaussian noise is injected into the system. This forces the network to distinguish between meaningful features and spurious, non-corresponding data, effectively regularizing the model against the "messiness" of real sensors.

The scarcity of multi-view data is overcome by the creation of a Large Synthetic Multi-view Dataset using the GTA V engine (GCC-CL). This dataset includes 31 unique scenes with 100 camera views each, totaling 200,000 images. To bridge the domain gap between synthetic and real textures, Unsupervised Domain Adaptation (UDA) is employed. This technique uses unlabeled images from the target real-world scene to align the feature distributions, allowing the model to generalize without requiring manual labels for every new deployment.

Experimental Results

The CVCS model demonstrates superior generalization capabilities across several benchmarks:

  • Ablation Success: On synthetic data, the full CVCS model achieved a Mean Absolute Error (MAE) of 7.22, nearly halving the error of a standard backbone model (MAE 14.13).
  • Real-World Generalization: When tested on the CityStreet dataset using synthetic training and UDA, the model achieved an MAE of 9.58. This performance is highly competitive with fully supervised models trained directly on CityStreet labels.
  • Scalability: The model's performance remains stable even as the number of input cameras at test time varies from 3 to 11, proving it can handle arbitrary hardware layouts.

Conclusion

The CVCS framework represents a significant step toward practical, scalable multi-view crowd counting. By integrating geometric priors and robust regularization techniques, the model overcomes the traditional limitations of scene-specific training. Future work may focus on reducing the dependency on precise camera calibration and exploring more advanced domain adaptation methods to further close the gap between synthetic and real-world textures.

Summary updated

BibTeX
@inproceedings{zhang2021cross,
  author = {Qi Zhang and Wei Lin and Antoni B. Chan},
  title = {{Cross-View Cross-Scene Multi-View Crowd Counting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00062},
}
Figure