Visual apple maturity-stage detection in complex orchard environments via color–texture fusion and weakly supervised foreground modulation
- 1Faculty of Software Technologies, Shanxi Agricultural University
Abstract
Introduction: Visual detection of apple maturity stages in natural orchards is often hindered by occlusion by leaves and branches, illumination variation, background similarity, and subtle differences between adjacent visual maturity stages. Existing lightweight detectors remain limited in representing fine-grained color–texture cues and explicitly regulating spatial foreground responses under complex orchard backgrounds.
Methods: In this study, a YOLO11n-based model, termed DS-MOFPS-YOLO11n, was developed for visual apple maturity-stage detection under complex orchard conditions. The model employs a Color–Texture Dual Stem (CTDS) to separately extract and adaptively fuse color and texture features, thereby improving the representation of shallow visual maturity-discriminative cues. A Maturity-Oriented False Positive Suppression (MOFPS) module is introduced at the P ₃ and P ₄ feature levels to generate spatial foreground-response maps for feature modulation. In addition, a bounding-box-guided foreground supervision loss is designed to construct weak foreground supervision signals from existing bounding-box annotations and constrain the spatial responses of MOFPS.
Results: On the test set of a public apple maturity dataset, the proposed model achieved a precision of 91.6%, a recall of 89.9%, an mAP50 of 95.3%, and an mAP50–95 of 91.5%. Paired analysis across five random seeds further showed significant improvements in both mAP metrics. Ablation and foreground-response alignment analyses further examined the contributions of the proposed components and showed that foreground supervision made the MOFPS responses more concentrated on annotated apple regions.
Discussion: Overall, DS-MOFPS-YOLO11n improves visual apple maturity-stage detection while maintaining a compact parameter count and moderate computational overhead, although broader validation across datasets and practical edge-device evaluation is still required.
Related
- CGW-DETR: a multi-scale feature enhanced RT-DETR Qianxi cherry tomato maturity detection model for dense small targets
- BPSOF-YOLO11n: YOLO11n-based method for blueberry maturity detection using boundary protection and small-object features
- Chili-Seg: a high-precision detection and instance segmentation model for chili flowers in complex environments
- Learn the interactions: Weakly supervised video anomaly detection with human-object interactions
- Dual-domain self-supervised feature alignment via spectral–spatial representation learning for deepfake anomaly detection
BibTeX
@article{lv2026visual,
title = {{Visual apple maturity-stage detection in complex orchard environments via color–texture fusion and weakly supervised foreground modulation}},
author = {Jia Lv and Xia Wang and Yimin Xia and Mengfan Zhang and Yaqin Wu and Can Zhao and Lijun Cheng},
journal = {Frontiers in Plant Science},
year = {2026},
month = nov,
doi = {10.3389/fpls.2026.1976548},
url = {https://www.frontiersin.org/articles/10.3389/fpls.2026.1976548/full},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - Visual apple maturity-stage detection in complex orchard environments via color–texture fusion and weakly supervised foreground modulation
AU - Jia Lv
AU - Xia Wang
AU - Yimin Xia
AU - Mengfan Zhang
AU - Yaqin Wu
AU - Can Zhao
AU - Lijun Cheng
PY - 2026
DA - 2026/11/16
JO - Frontiers in Plant Science
DO - 10.3389/fpls.2026.1976548
UR - https://www.frontiersin.org/articles/10.3389/fpls.2026.1976548/full
AB - Introduction: Visual detection of apple maturity stages in natural orchards is often hindered by occlusion by leaves and branches, illumination variation, background similarity, and subtle differences between adjacent visual maturity stages. Existing lightweight detectors remain limited in representing fine-grained color–texture cues and explicitly regulating spatial foreground responses under complex orchard backgrounds. Methods: In this study, a YOLO11n-based model, termed DS-MOFPS-YOLO11n, was developed for visual apple maturity-stage detection under complex orchard conditions. The model employs a Color–Texture Dual Stem (CTDS) to separately extract and adaptively fuse color and texture features, thereby improving the representation of shallow visual maturity-discriminative cues. A Maturity-Oriented False Positive Suppression (MOFPS) module is introduced at the P ₃ and P ₄ feature levels to generate spatial foreground-response maps for feature modulation. In addition, a bounding-box-guided foreground supervision loss is designed to construct weak foreground supervision signals from existing bounding-box annotations and constrain the spatial responses of MOFPS. Results: On the test set of a public apple maturity dataset, the proposed model achieved a precision of 91.6%, a recall of 89.9%, an mAP50 of 95.3%, and an mAP50–95 of 91.5%. Paired analysis across five random seeds further showed significant improvements in both mAP metrics. Ablation and foreground-response alignment analyses further examined the contributions of the proposed components and showed that foreground supervision made the MOFPS responses more concentrated on annotated apple regions. Discussion: Overall, DS-MOFPS-YOLO11n improves visual apple maturity-stage detection while maintaining a compact parameter count and moderate computational overhead, although broader validation across datasets and practical edge-device evaluation is still required.
SN - 1664-462X
ER -