Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

SCOTCH and SODA: A Transformer Video Shadow Detection Framework

About

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/

Lihao Liu, Jean Prost, Lei Zhu, Nicolas Papadakis, Pietro Li\`o, Carola-Bibiane Sch\"onlieb, Angelica I Aviles-Rivero• 2022

Related benchmarks

TaskDatasetResultRank
Shadow DetectionViSha (test)
BER9.006
18
Video Shadow DetectionViSha 1.0 (test)
MAE0.029
4
Image Object SegmentationViSha 1.0 (test)--
4
Image Shadow DetectionViSha 1.0 (test)--
4
Video Object SegmentationViSha 1.0 (test)--
4
Showing 5 of 5 rows

Other info

Code

Follow for update