guanhuankang / ShadowDetection2021

This work was done in 2021: Delving-into-Dark-Regions-for-Robust-Shadow-Detection.

Home Page:https://1drv.ms/b/s!Ap4-mN9MwOE5gpc8O_8nqEeSxdSvEA?e=pIWGV5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image-20220814170427728

Delving into Dark Regions for Robust Shadow Detection

Keywords Shadow detection · Global/local shadow understanding · Region-based shadow analysis

This work was done in 2021.

[paper] [github]

visual

Resources

Download model weights and put into folder "models"

SBU: https://drive.google.com/file/d/1TY8O5F9GPB0Zv7CxQoAUaqQTbJFLdb6a/view?usp=sharing

ISTD: https://drive.google.com/file/d/1tc6WpmlAwZTg7aJL18moz2bBn9Rxves0/view?usp=sharing

Demo

We provide a demo in jupyter notebook format "demo.ipynb". Start the jupyter-lab and run all cells for a quick start!

image-20220814171349944

Inference

  1. configurate "config.py"
  2. run "infer.py"
BER Score:
SBU: 3.04
UCF: 7.75
ISTD: 1.33

If you want to train our model, please refer to other/train_script.rar for details (todo: make it better for revision).

Evaluation

  1. After the inference, set the tool/config.py
  2. Run "cd tool; python start.py"

Cite

If you find our work is helpful, cite and star it! Thanks!

@misc{guan2024delving,
      title={Delving into Dark Regions for Robust Shadow Detection}, 
      author={Huankang Guan and Ke Xu and Rynson W. H. Lau},
      year={2024},
      eprint={2402.13631},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

About

This work was done in 2021: Delving-into-Dark-Regions-for-Robust-Shadow-Detection.

https://1drv.ms/b/s!Ap4-mN9MwOE5gpc8O_8nqEeSxdSvEA?e=pIWGV5

License:Apache License 2.0


Languages

Language:Jupyter Notebook 86.0%Language:Python 14.0%