When SAM2 Meets Video Shadow and Mirror Detection

Leiping Jie
12/26/2024
cs.CV

Official code: LeipingJie/SAM2Video (1 star, MIT, last commit 2025-01-02).

Abstract

As the successor to the Segment Anything Model (SAM), the Segment Anything Model 2 (SAM2) not only improves performance in image segmentation but also extends its capabilities to video segmentation. However, its effectiveness in segmenting rare objects that seldom appear in videos remains underexplored. In this study, we evaluate SAM2 on three distinct video segmentation tasks: Video Shadow Detection (VSD) and Video Mirror Detection (VMD). Specifically, we use ground truth point or mask prompts to initialize the first frame and then predict corresponding masks for subsequent frames. Experimental results show that SAM2's performance on these tasks is suboptimal, especially when point prompts are used, both quantitatively and qualitatively. Code is available at \url{https://github.com/LeipingJie/SAM2Video}

View on arXivView PDF

Code Implementations(1)

MIT

Code for our technical report "When SAM2 Meets Video Shadow and Mirror Detection"

10Cuda, ShellDec 26, 20241 years agoMIT

Similar Papers

Cite this paper

@article{jie2024when,
  title  = {When SAM2 Meets Video Shadow and Mirror Detection},
  author = {Leiping Jie},
  year   = {2024},
  eprint = {2412.19293},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.19293v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.19293.svg)](https://codeofpaper.com/paper/2412.19293)

Discussion