Ma Haoran, Zhao Qian, Zhang Runqing, Hao Chunxu, Dong Wenhui, Zhang Xiaoying, Li Fuzhong, Xue Xiaoqin, Sun Gongqing
College of Software, Shanxi Agricultural University, Taigu, China.
Front Plant Sci. 2025 Aug 20;16:1584669. doi: 10.3389/fpls.2025.1584669. eCollection 2025.
The challenge of efficiently detecting ripe and unripe strawberries in complex environments like greenhouses, marked by dense clusters of strawberries, frequent occlusions, overlaps, and fluctuating lighting conditions, presents significant hurdles for existing detection methodologies. These methods often suffer from low efficiency, high computational expenses, and subpar accuracy in scenarios involving small and densely packed targets. To overcome these limitations, this paper introduces YOLOv11-GSF, a real-time strawberry ripeness detection algorithm based on YOLOv11, which incorporates several innovative features: a Ghost Convolution (GhostConv) convolution method for generating rich feature maps through lightweight linear transformations, thereby reducing computational overhead and enhancing resource utilization; a C3K2-SG module that combines self-moving point convolution (SMPConv) and convolutional gated linear units (CGLU) to better capture the local features of strawberry ripeness; and a F-PIoUv2 loss function inspired by Focaler IoU and PIoUv2, utilizing adaptive penalty factors and interval mapping to expedite model convergence and optimize ripeness classification. Experimental results demonstrate the superior performance of YOLOv11-GSF, achieving an average precision of 97.8%, an accuracy of 95.99%, and a recall rate of 93.62%, representing improvements of 1.8%, 1.3 percentage points, and 2.1% over the original YOLOv11, respectively. Furthermore, it exhibits higher recognition accuracy and robustness compared to alternative algorithms, thus offering a practical and efficient solution for deploying strawberry ripeness detection systems.
在温室等复杂环境中高效检测成熟和未成熟草莓面临着挑战,这些环境中草莓密集丛生,遮挡、重叠频繁,光照条件波动较大,这给现有的检测方法带来了重大障碍。在涉及小而密集排列的目标的场景中,这些方法往往效率低下、计算成本高且准确率欠佳。为克服这些限制,本文引入了YOLOv11 - GSF,一种基于YOLOv11的实时草莓成熟度检测算法,它包含几个创新特性:一种幽灵卷积(GhostConv)卷积方法,通过轻量级线性变换生成丰富的特征图,从而减少计算开销并提高资源利用率;一个C3K2 - SG模块,它结合了自移动点卷积(SMPConv)和卷积门控线性单元(CGLU),以更好地捕捉草莓成熟度的局部特征;以及一种受Focaler IoU和PIoUv2启发的F - PIoUv2损失函数,利用自适应惩罚因子和区间映射来加速模型收敛并优化成熟度分类。实验结果证明了YOLOv11 - GSF的卓越性能,其平均精度达到97.8%,准确率为95.99%,召回率为93.62%,分别比原始的YOLOv11提高了1.8%、1.3个百分点和2.1%。此外,与其他算法相比,它具有更高的识别准确率和鲁棒性,从而为部署草莓成熟度检测系统提供了一种实用且高效的解决方案。