Camouflaged object detection (COD) is a promising yet challenging task that aims to segment objects concealed within intricate surroundings, a capability crucial for modern industrial applications. Current COD methods primarily focus on the direct fusion of highlevel and low-level information, without considering their differences and inconsistencies. Consequently, accurately segmenting highly camouflaged objects in challenging scenarios presents a considerable problem. To mitigate this concern, we propose a novel framework called visual and semantic separation network (VSSNet), which separately extracts low-level visual and high-level semantic cues and adaptively combines them for accurate predictions. Specifically, it features the information extractor module for capturing dimension-aware visual or semantic information from various perspectives. The complementary information-selected module leverages the complementary nature of visual and semantic information for adaptive selection and fusion. In addition, the region disparity weighting strategy encourages the model to prioritize the boundaries of highly camouflaged and difficult-to-predict objects. Experimental results on benchmark datasets show the VSSNet significantly outperforms State-of-the-Art COD approaches without data augmentations and multiscale training techniques. Furthermore, our method demonstrates satisfactory cross-domain generalization performance in real-world industrial environments.
conda create -n VSSNet python=3.8
conda activate VSSNet
git clone https://github.com/ycyinchao/VSSNet.git
cd VSSNet
pip install -r requirement.txt
The pretrained model is stored in Google Drive. After downloading, please put it in the './pretrained/' fold.
python Train.py --train_path 'the path of TrainDataset' --test_path 'the path of TestDataset'
Our well-trained model is stored in Google Drive, which should be moved into the fold './checkpoints/VSSNet_384/'.
python MyTesting.py --pth_path 'the path of checkpoint'
The more qualitative results of VSSNet on four benchmarks (COD10K, NC4K, CAMO, CHAMELEON) have already been stored in Google Drive, please unzip it into the fold './results/'.
python test_metrics.py
the results of evaluation are also in Google Drive.
Please kindly cite our paper if you find it's helpful in your work.
@article{yin2024camouflaged,
title={Camouflaged Object Detection via Complementary Information-Selected Network Based on Visual and Semantic Separation},
author={Yin, Chao and Yang, Kequan and Li, Jide and Li, Xiaoqiang and Wu, Yifan},
journal={IEEE Transactions on Industrial Informatics},
year={2024},
publisher={IEEE}
}
The source code is free for research and education use only. Any commercial use should get formal permission first.