Command Palette
Search for a command to run...
Hu Xiaowei Zhu Lei Fu Chi-Wing Qin Jing Heng Pheng-Ann

Abstract
Shadow detection is a fundamental and challenging task, since it requires anunderstanding of global image semantics and there are various backgroundsaround shadows. This paper presents a novel network for shadow detection byanalyzing image context in a direction-aware manner. To achieve this, we firstformulate the direction-aware attention mechanism in a spatial recurrent neuralnetwork (RNN) by introducing attention weights when aggregating spatial contextfeatures in the RNN. By learning these weights through training, we can recoverdirection-aware spatial context (DSC) for detecting shadows. This design isdeveloped into the DSC module and embedded in a CNN to learn DSC features atdifferent levels. Moreover, a weighted cross entropy loss is designed to makethe training more effective. We employ two common shadow detection benchmarkdatasets and perform various experiments to evaluate our network. Experimentalresults show that our network outperforms state-of-the-art methods and achieves97% accuracy and 38% reduction on balance error rate.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| salient-object-detection-on-istd | DSC | Balanced Error Rate: 8.24 |
| salient-object-detection-on-sbu | DSC | Balanced Error Rate: 5.59 |
| salient-object-detection-on-ucf | DSC | Balanced Error Rate: 8.10 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.