Surface-Token-Guided Query Refinement for Weakly Supervised RGB Apple Defect Sensing and Visible Surface-Condition Scoring.
Zengyu Wang, Yasenjiang Musha
School of Mechanical Engineering, Xinjiang University, Urumqi 830000, China.
Key points
From the paper's conclusion- These results support a proof of concept on centered, single-apple images, using folder labels and appearance-derived spatial targets for training and a separate 200-image manual subset for evaluation.
Abstract
Low-cost RGB imaging is attractive for postharvest apple grading, yet an image-level defect label does not reveal where damage occurs or how much of the visible surface it affects. This study examines whether folder-labeled images can support defect recognition, weak localization, binary health assessment, and surface-condition scoring within one model. The resulting framework, WS-DA-DETR, retains DETR set prediction but conditions its queries on local texture residuals, boundaries, and color deviations extracted from the apple surface. Appearance-derived masks and boxes provide a conservative localization curriculum, while auxiliary contrastive and cross-head constraints relate spatial predictions to image-level condition. Manual spatial annotations are reserved for held-out evaluation. Experiments used 10,000 real and synthetic apple images in exact-duplicate-grouped mixed-domain and cross-domain protocols. The mixed-domain test yielded 89.5% four-class accuracy and 96.3% health AUC. On a held-out manually annotated subset, AP50 was 54.6%, AP50:95 was 32.3%, mask IoU was 48.7%, and localization recall at IoU 0.5 was 74.5%. The Pearson and Spearman correlations with human surface-condition ratings were 0.68 and 0.66, respectively. Model-only inference required 30.2 ms per image (33.1 FPS) on an RTX 3090 GPU (NVIDIA Corporation, Santa Clara, CA, USA). These results support a proof of concept on centered, single-apple images, using folder labels and appearance-derived spatial targets for training and a separate 200-image manual subset for evaluation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Enhanced Small Lesion Segmentation in Apple Leaves: A Multimodal Prior‐Guided Approach With PEMA‐UNet++Concurrency and Computation Practice and Experience · 2026
- Quantifying Domain Shift in Peach Leaf Damage Classification: An Evaluation of Attention Mechanisms and Fine-Tuning StrategiesApplied Sciences · 2026
- ALSDet: a global context-enhanced network for detecting small-target diseases on apple leaves.Frontiers in plant science · 2026
- MGF-DETR: a DETR-based network with multi-granularity convolution and high-frequency feature enhancement for industrial defect detectionEngineering Research Express · 2026
- High-performance RT-DETR model for industrial defect detection with semantic guidance and hierarchical attentionPLoS ONE · 2026
- Multi-Granularity Recognition of Defects in Traditional Stone Carvings Under Small-Sample Conditions: A Data-Sufficiency Assessment for Condition DocumentationBuildings · 2026