Skip to content

awccnet/AWCC-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counting Crowds in Bad Weather

[ICCV 2023] Official Pytorch based implementation.

[Paper] / [Website]


Abstract: Crowd counting has recently attracted significant attention in the field of computer vision due to its wide applications to image understanding. Numerous methods have been proposed and achieved state-of-the-art performance for real-world tasks. However, existing approaches do not perform well under adverse weather such as haze, rain, and snow since the visual appearances of crowds in such scenes are drastically different from those images in clear weather of typical datasets. In this paper, we propose a method for robust crowd counting in adverse weather scenarios. Instead of using a two-stage approach that involves image restoration and crowd counting modules, our model learns effective features and adaptive queries to account for large appearance variations. With these weather queries, the proposed model can learn the weather information according to the degradation of the input image and optimize with the crowd counting module simultaneously. Experimental results show that the proposed algorithm is effective in counting crowds under different weather types on benchmark datasets.

Architecture

Overall Architecture

Weather-adaptive Queries

Quantitative Result

JHU-Crowd++

Several Datasets

Usage

Pre-trained Models

Install

git clone https://github.com/awccnet/AWCC-Net.git

Inference

python main.py --dir_path DIR_OF_TEST_IMAGES --checkpoint CHECKPOINT_PATH

Other Works for Image Restoration

You can also refer to our previous works:

Citation

Please cite this paper in your publications if it is helpful for your tasks.

@inproceedings{huang2023counting,
  title={Counting Crowds in Bad Weather},
  author={Zhi-Kai Huang and Wei-Ting Chen and Yuan-Chun Chiang and Sy-Yen Kuo and Ming-Hsuan Yang},
  journal={ICCV},
  year={2023}
}