Abstract
Along with rising traffic jams, accurate counting of vehicles in surveillance images is becoming increasingly difficult. Current counting methods based on density maps have achieved tremendous improvement due to the prosperity of convolution neural networks. However, as highly overlapping and sophisticated large-scale variation phenomena often appear within dense images, neither traditional CNN methods nor fixed-size self-attention transformer methods can implement exquisite counting. To relieve these issues, in this paper, we propose a novel vehicle counting approach, namely the synergism attention network (SAN), by unifying the benefits of transformers and convolutions to perform dense counting assignments effectively. Specifically, a pyramid framework is designed to adaptively utilize the multi-level features for better fitting in counting tasks. In addition, a synergism transformer (SyT) block is customized, where a dual-transformer structure is equipped to capture global attention and location-aware information. Finally, a Location Attention Cumulation (LAC) module is also presented to explore the more efficient and meaningful weighting regions. Extensive experiments demonstrate that our model is very competitive and reached new state-of-the-art performance on TRANCOS datasets.
Funding Information
  • National Key Research and Development Program of China (2018YFE0126100)
  • National Natural Science Foundation of China (62276232, 61873240)
  • Research Foundation of the Department of Education of Zhejiang Province (Y202145927)
  • Open Project Program of the State Key Lab of CAD&CG (A2210)
  • Natural Science Foundation of Zhejiang Province (LY20F030018)

This publication has 23 references indexed in Scilit: