CamoSAM2: Motion-Appearance Induced Auto-Refining Prompts for Video Camouflaged Object Detection
Xin Zhang, Keren Fu, Qijun Zhao
TL;DR
This work tackles video camouflaged object detection by automatically generating and refining prompts for the Segment Anything Model 2 (SAM2). It introduces Motion-Appearance Prompt Inducer (MAPI) to jointly leverage appearance and motion cues, and a video-based Adaptive Multi-Prompts Refinement (AMPR) to select pivotal frames and form multi-prompts without extra training. The framework achieves state-of-the-art mIoU gains on MoCA-Mask and CAD benchmarks, while also delivering fast inference, demonstrating the effectiveness of integrating motion-appearance cues with SAM2 for robust VCOD. Overall, CamoSAM2 broadens SAM2’s applicability to camouflage-rich, real-world videos and offers a practical, automated solution for prompt generation and refinement.
Abstract
The Segment Anything Model 2 (SAM2), a prompt-guided video foundation model, has remarkably performed in video object segmentation, drawing significant attention in the community. Due to the high similarity between camouflaged objects and their surroundings, which makes them difficult to distinguish even by the human eye, the application of SAM2 for automated segmentation in real-world scenarios faces challenges in camouflage perception and reliable prompts generation. To address these issues, we propose CamoSAM2, a motion-appearance prompt inducer (MAPI) and refinement framework to automatically generate and refine prompts for SAM2, enabling high-quality automatic detection and segmentation in VCOD task. Initially, we introduce a prompt inducer that simultaneously integrates motion and appearance cues to detect camouflaged objects, delivering more accurate initial predictions than existing methods. Subsequently, we propose a video-based adaptive multi-prompts refinement (AMPR) strategy tailored for SAM2, aimed at mitigating prompt error in initial coarse masks and further producing good prompts. Specifically, we introduce a novel three-step process to generate reliable prompts by camouflaged object determination, pivotal prompting frame selection, and multi-prompts formation. Extensive experiments conducted on two benchmark datasets demonstrate that our proposed model, CamoSAM2, significantly outperforms existing state-of-the-art methods, achieving increases of 8.0% and 10.1% in mIoU metric. Additionally, our method achieves the fastest inference speed compared to current VCOD models.
