Weakly Supervised Camouflaged Object Detection Based on the SAM Model and Mask Guidance

Xia Li, Xinran Liu, Lin Qi, Junyu Dong
5/25/2026
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Camouflaged object detection (COD) from a single image is a challenging task due to the high similarity between objects and their surroundings. Existing fully supervised methods require labor-intensive pixel-level annotations, making weakly supervised methods a viable compromise that balances accuracy and annotation efficiency.

Show full abstract

However, weakly supervised methods often experience performance degradation due to the use of coarse annotations. In this paper, we introduce a new weakly supervised approach for camouflaged object detection to overcome these limitations. Specifically, we propose a novel network, MGNet, which tackles edge ambiguity and missed detections by utilizing initial masks generated by our custom-designed Cascaded Mask Decoder (CMD) to guide the segmentation process and enhance edge predictions. We introduce a Context Enhancement Module(CEM) to reduce the missing detection, and a Mask-guided Feature Aggregation Module (MFAM) for effective feature aggregation. For the weak supervision challenge, we propose BoxSAM, which leverages the Segment Anything Model (SAM) with bounding-box prompts to generate pseudo-labels. By employing a redundant processing strategy, high quality pixel-level pseudo-labels are provided for training MGNet. Extensive experiments demonstrate that our method delivers competitive performance against current state-of-the-art methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026weakly,
  title  = {Weakly Supervised Camouflaged Object Detection Based on the SAM Model and Mask Guidance},
  author = {Xia Li and Xinran Liu and Lin Qi and Junyu Dong},
  year   = {2026},
  eprint = {2605.25385},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.25385v1}
}

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/2605.25385.svg)](https://codeofpaper.com/paper/2605.25385)

Discussion