SCOTCH and SODA: A Transformer Video Shadow Detection Framework

Abstract

Shadows in videos are difficult to detect because of the large shadow deformation between frames. In this work, we argue that accounting for shadow deformation is essential when designing a video shadow detection method. To this end, we introduce the shadow deformation attention trajectory (SODA), a new type of video self-attention module, specially designed to handle the large shadow deformations in videos. Moreover, we present a new shadow contrastive learning mechanism (SCOTCH) which aims at guiding the network to learn a unified shadow representation from massive positive shadow pairs across different videos. We demonstrate empirically the effectiveness of our two contributions in an ablation study. Furthermore, we show that SCOTCH and SODA significantly outperforms existing techniques for video shadow detection. Code is available at the project page: https://lihaoliu-cambridge.github.io/scotch_and_soda/

Cite

Text

Liu et al. "SCOTCH and SODA: A Transformer Video Shadow Detection Framework." Conference on Computer Vision and Pattern Recognition, 2023. doi:10.1109/CVPR52729.2023.01007

Markdown

[Liu et al. "SCOTCH and SODA: A Transformer Video Shadow Detection Framework." Conference on Computer Vision and Pattern Recognition, 2023.](https://mlanthology.org/cvpr/2023/liu2023cvpr-scotch/) doi:10.1109/CVPR52729.2023.01007

BibTeX

@inproceedings{liu2023cvpr-scotch,
  title     = {{SCOTCH and SODA: A Transformer Video Shadow Detection Framework}},
  author    = {Liu, Lihao and Prost, Jean and Zhu, Lei and Papadakis, Nicolas and Liò, Pietro and Schönlieb, Carola-Bibiane and Aviles-Rivero, Angelica I.},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2023},
  pages     = {10449-10458},
  doi       = {10.1109/CVPR52729.2023.01007},
  url       = {https://mlanthology.org/cvpr/2023/liu2023cvpr-scotch/}
}