[ICCV 2023] Official Pytorch based implementation.
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.
Overall Architecture |
Weather-adaptive Queries |
JHU-Crowd++ |
Several Datasets |
- JHU-Crowd++ → google drive
git clone https://github.com/awccnet/AWCC-Net.git
python main.py --dir_path DIR_OF_TEST_IMAGES --checkpoint CHECKPOINT_PATH
You can also refer to our previous works:
- Desnowing → [JSTASR] (ECCV'20) and [HDCW-Net] (ICCV'21)
- Dehazing → [PMS-Net] (CVPR'19) and [PMHLD] (TIP'20)
- Deraining → [ContouletNet] (BMVC'21)
- Image Relighting → [MB-Net] (NTIRE'21 1st solution) and [S3Net] (NTIRE'21 3 rd solution)
- Multi-Weather Removal → [Unified] (CVPR'22)
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}
}