Home

Awesome

Revisiting Image Pyramid Structure for High Resolution Salient Object Detection (InSPyReNet)

PWC PWC PWC PWC PWC

PWC PWC PWC

PWC PWC PWC PWC PWC

Official PyTorch implementation of PyTorch implementation of Revisiting Image Pyramid Structure for High Resolution Salient Object Detection (InSPyReNet)

To appear in the 16th Asian Conference on Computer Vision (ACCV2022)

<p align="center"> <a href="https://github.com/plemeri/InSPyReNet/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue"></a> <a href="https://arxiv.org/abs/2209.09475"><img src="https://img.shields.io/badge/arXiv-Paper-<COLOR>.svg" ></a> <a href="https://openaccess.thecvf.com/content/ACCV2022/html/Kim_Revisiting_Image_Pyramid_Structure_for_High_Resolution_Salient_Object_Detection_ACCV_2022_paper.html"><img src="https://img.shields.io/static/v1?label=inproceedings&message=Paper&color=orange"></a> <a href="https://huggingface.co/spaces/taskswithcode/salient-object-detection"><img src="https://img.shields.io/static/v1?label=HuggingFace&message=Demo&color=yellow"></a> <a href="https://www.taskswithcode.com/salient_object_detection/"><img src="https://img.shields.io/static/v1?label=TasksWithCode&message=Demo&color=blue"></a> <a href="https://colab.research.google.com/github/taskswithcode/InSPyReNet/blob/main/TWCSOD.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg"></a> </p>

Taehun Kim, Kunhee Kim, Joonyeong Lee, Dongmin Cha, Jiho Lee, Daijin Kim

Abstract: Salient object detection (SOD) has been in the spotlight recently, yet has been studied less for high-resolution (HR) images. Unfortunately, HR images and their pixel-level annotations are certainly more labor-intensive and time-consuming compared to low-resolution (LR) images. Therefore, we propose an image pyramid-based SOD framework, Inverse Saliency Pyramid Reconstruction Network (InSPyReNet), for HR prediction without any of HR datasets. We design InSPyReNet to produce a strict image pyramid structure of saliency map, which enables to ensemble multiple results with pyramid-based image blending. For HR prediction, we design a pyramid blending method which synthesizes two different image pyramids from a pair of LR and HR scale from the same image to overcome effective receptive field (ERF) discrepancy. Our extensive evaluation on public LR and HR SOD benchmarks demonstrates that InSPyReNet surpasses the State-of-the-Art (SotA) methods on various SOD metrics and boundary accuracy.

Contents

  1. News
  2. Demo
  3. Applications
  4. Easy Download
  5. Getting Started
  6. Model Zoo
  7. Results
  8. Citation
  9. Acknowledgement
  10. References

News :newspaper:

[2022.10.04] TasksWithCode mentioned our work in Blog and reproducing our work on Colab. Thank you for your attention!

[2022.10.20] We trained our model on Dichotomous Image Segmentation dataset (DIS5K) and showed competitive results! Trained checkpoint and pre-computed segmentation masks are available in Model Zoo). Also, you can check our qualitative and quantitative results in Results section.

[2022.10.28] Multi GPU training for latest pytorch is now available.

[2022.10.31] TasksWithCode provided an amazing web demo with HuggingFace. Visit the WepApp and try with your image!

[2022.11.09] :car: Lane segmentation for driving scene built based on InSPyReNet is available in LaneSOD repository.

[2022.11.18] I am speaking at The 16th Asian Conference on Computer Vision (ACCV2022). Please check out my talk if you're attending the event! #ACCV2022 #Macau - via #Whova event app

[2022.11.23] We made our work available on pypi package. Please visit transparent-background to download our tool and try on your machine. It works as command-line tool and python API.

[2023.01.18] rsreetech shared a tutorial for our pypi package transparent-background using colab. :tv: [Youtube]

Demo :rocket:

Image SampleVideo Sample
<img src=./figures/demo_image.gif height=200px><img src=./figures/demo_video.gif height=200px>

Applications :video_game:

Here are some applications/extensions of our work.

Web Application <img src=https://huggingface.co/front/assets/huggingface_logo-noborder.svg height="20px" width="20px">

TasksWithCode provided WepApp on HuggingFace to generate your own results!

Web Demo
<img src=./figures/demo_webapp.gif height=200px>

Command-line Tool / Python API :pager:

Try using our model as command-line tool or python API. More details about how to use is available on transparent-background.

pip install transparent-background

Lane Segmentation :car:

We extend our model to detect lane markers in a driving scene in LaneSOD

Lane Segmentation
<img src=https://github.com/plemeri/LaneSOD/blob/main/figures/Teaser.gif height=200px>

Easy Download :cake:

<details><summary>How to use easy download</summary> <p>

Downloading each dataset, checkpoint is quite bothering, even for me :zzz:. Instead, you can download data we provide including ImageNet pre-trained backbone checkpoints, Training Datasets, Testing Datasets for benchmark, Pre-trained model checkpoints, Pre-computed saliency maps with single command below.

python utils/download.py --extra --dest [DEST]

If you want to download a certain checkpoint or pre-computed map, please refer to Getting Started and Model Zoo.

</p> </details>

Getting Started :flight_departure:

Please refer to getting_started.md for training, testing, and evaluating on benchmarks, and inferencing on your own images.

Model Zoo :giraffe:

Please refer to model_zoo.md for downloading pre-trained models and pre-computed saliency maps.

Results :100:

Quantitative Results

LR BenchmarkHR BenchmarkHR Benchmark (Trained with extra DB)DIS
<img src=./figures/fig_quantitative.png height=200px><img src=./figures/fig_quantitative2.png height=200px><img src=./figures/fig_quantitative3.png height=200px><img src=./figures/fig_quantitative4.png height=200px>
</p> </details>

Qualitative Results

DAVIS-S & HRSODUHRSDUHRSD (w/ HR scale)DIS
<img src=./figures/fig_qualitative.png height=200px><img src=./figures/fig_qualitative2.png height=200px><img src=./figures/fig_qualitative3.jpg height=200px><img src=./figures/fig_qualitative_dis.png height=200px>

Citation

@inproceedings{kim2022revisiting,
  title={Revisiting Image Pyramid Structure for High Resolution Salient Object Detection},
  author={Kim, Taehun and Kim, Kunhee and Lee, Joonyeong and Cha, Dongmin and Lee, Jiho and Kim, Daijin},
  booktitle={Proceedings of the Asian Conference on Computer Vision},
  pages={108--124},
  year={2022}
}

Acknowledgement

This work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No.2017-0-00897, Development of Object Detection and Recognition for Intelligent Vehicles) and (No.B0101-15-0266, Development of High Performance Visual BigData Discovery Platform for Large-Scale Realtime Data Analysis)

Special Thanks to :tada:

References

Related Works

Resources