Skip to main navigation Skip to search Skip to main content

CLRNet: A Cross Locality Relation Network for Crowd Counting in Videos

  • Harbin Institute of Technology Shenzhen
  • Western University
  • University of Windsor

Research output: Contribution to journalArticlepeer-review

Abstract

In this article, we propose a new cross locality relation network (CLRNet) to generate high-quality crowd density maps for crowd counting in videos. Specifically, a cross locality relation module (CLRM) is proposed to enhance feature representations by modeling local dependencies of pixels between adjacent frames with an adapted local self-attention mechanism. First, different from the existing methods which measure similarity between pixels by dot product, a new adaptive cosine similarity is advanced to measure the relationship between two positions. Second, the traditional self-attention modules usually integrate the reconstructed features with the same weights for all the positions. However, crowd movement and background changes in a video sequence are uneven in real-life applications. As a consequence, it is inappropriate to treat all the positions in reconstructed features equally. To address this issue, a scene consistency attention map (SCAM) is developed to make CLRM pay more attention to the positions with strong correlations in adjacent frames. Furthermore, CLRM is incorporated into the network in a coarse-to-fine way to further enhance the representational capability of features. Experimental results demonstrate the effectiveness of our proposed CLRNet in comparison to the state-of-the-art methods on four public video datasets. The codes are available at: https://github.com/Amelie01/CLRNet.

Original languageEnglish
Pages (from-to)6408-6422
Number of pages15
JournalIEEE Transactions on Neural Networks and Learning Systems
Volume35
Issue number5
DOIs
StatePublished - 1 May 2024
Externally publishedYes

Keywords

  • Coarse-to-fine
  • crowd counting
  • local spatiotemporal relation
  • self-attention

Fingerprint

Dive into the research topics of 'CLRNet: A Cross Locality Relation Network for Crowd Counting in Videos'. Together they form a unique fingerprint.

Cite this