Skip to content

hhao659/YCDa

Repository files navigation

YCDa: YCbCr Decoupled Attention for Real-time Realistic Camouflaged Object Detection

YCDa

Overview

Human vision exhibits remarkable adaptability in perceiving objects under camouflage. When color cues become unreliable, the visual system instinctively shifts its reliance from chrominance (color) to luminance (brightness and texture), enabling more robust perception in visually confusing environments. Drawing inspiration from this biological mechanism, we propose YCDa, an efficient early-stage feature processing strategy that embeds this “chrominance–luminance decoupling and dynamic attention” principle into modern real-time detectors. Specifically, YCDa separates color and luminance information in the input stage and dynamically allocates attention across channels to amplify discriminative cues while suppressing misleading color noise. The strategy is plug-and-play and can be integrated into existing detectors by simply replacing the first downsampling layer. Extensive experiments on multiple baselines demonstrate that YCDa consistently improves performance with negligible overhead as shown in the figure above. Notably, YCDa-YOLO12s achieves a 112% improvement in mAP over the baseline on COD10K-D and sets new state-of-the-art results for real-time camouflaged object detection across COD-D datasets.

YCDa YCDa

Performance Comparison

Table: Performance comparison between YCDa-enhanced models and baselines on COD10K-D, NC4K-D, and CAMO-D datasets. Bold indicates the best-performing method within each baseline group.

Methods COD10K-D NC4K-D CAMO-D
mAPAP50AP75 mAPAP50AP75 mAPAP50AP75
RT-DETR-L 18.426.619.3 35.950.836.9 29.339.531.2
RT-DETR-L + YCDa 19.628.320.7 34.148.734.0 22.530.123.1
YOLOv8s 11.219.910.9 29.045.129.9 20.531.121.2
YOLOv8s + YCDa 14.724.415.1 32.048.632.8 21.631.721.5
YOLO11s 10.417.510.5 27.040.528.3 21.431.321.7
YOLO11s + YCDa 17.226.318.3 31.947.033.5 25.536.126.3
YOLO12s 8.514.97.9 26.038.727.6 20.430.819.1
YOLO12s + YCDa 18.028.718.2 33.748.636.6 26.035.327.7

Quick Start

cd YCDa/
python -m venv YCDa
source YCDa/bin/activate
pip install -e .

Training

YCDa-12s Model Pretrain

yolo detect train model=yolo12s-YCDa.yaml data=coco.yaml epochs=60 batch=32  device=0

Camouflage task

yolo detect train model= data=yolo12s-YCDa.yaml epochs=300 pretrained=YCDa-12s-cocoPretrain.pt batch=16 patience=50 device=0

Validation

yolo detect val model=YCDa-12s-COD10K-D.pt data=COD10K-D.yaml device=0 split=test

Checkpoints

🔗 Download YCDa-12s-COD10K-D Checkpoints

Citation

If you find YCDa useful in your research, please consider citing our work.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages