基于改进YOLOv8的蓝莓果实成熟度检测方法研究
Research on the Detection Method of Blueberry Fruit Maturity Based on Improved YOLOv8
摘要: 蓝莓是果园种植户经济收益较高的水果之一,识别不同成熟度的蓝莓果实具有重要经济意义,可帮助种植户规划施药方案、估算产量并高效开展采收作业。为提高基于深度学习的蓝莓果实成熟度检测算法的精确性与鲁棒性,提出了一种基于改进YOLOv8的蓝莓果实成熟度检测算法YOLO-BLUE。为了减少参数量,改善目标检测效果,采用BoTNet (Bottleneck Transformer Network)骨干架构代替原YOLOv8的Backbone网络,并引入CoordAttention注意力机制,提升模型对空间结构的理解能力。为了更有效地提高目标检测的准确度,引入边框损失函数WIoU。为验证YOLO-BLUE改进算法的有效性,采集四个成熟度的蓝莓果实并构成数据集,试验结果表明,YOLO-BLUE的精确度、召回率以及平均精度均值达到83.9%、81.6%和87.5%,分别提升4.3%、5.0%和3.7%,为蓝莓果实的成熟度检测算法提供了新的改进思路。
Abstract: Blueberries are one of the fruits with relatively high economic benefits for orchard growers. Identifying blueberry fruits at different ripening stages holds significant economic value, as it can help growers plan pesticide application schemes, estimate yields, and carry out efficient harvesting operations. To enhance the accuracy and robustness of deep learning-based blueberry ripeness detection algorithms, this study proposes an improved blueberry ripeness detection algorithm (YOLO-BLUE) based on YOLOv8. To reduce the number of parameters and improve target detection performance, the backbone architecture of the original YOLOv8 was replaced with BoTNet (Bottleneck Transformer Network). Additionally, the CoordAttention (Coordinate Attention) mechanism was introduced to enhance the model’s ability to understand spatial structures. For more effective improvement of target detection accuracy, the bounding box loss function WIoU was adopted. To verify the effectiveness of the improved YOLO-BLUE algorithm, blueberry fruits at four ripening stages were collected to construct a dataset. Experimental results show that the precision (P), recall (R), and mean average precision at IoU = 0.5 (mAP@0.5) of YOLO-BLUE reached 83.9%, 81.6%, and 87.5%, representing increases of 4.3%, 5.0%, and 3.7% respectively. This study provides a new improvement approach for blueberry ripeness detection algorithms.
文章引用:陈炜, 王世刚, 高学山. 基于改进YOLOv8的蓝莓果实成熟度检测方法研究[J]. 建模与仿真, 2026, 15(4): 91-104. https://doi.org/10.12677/mos.2026.154056

参考文献

[1] 李亚东, 裴嘉博, 孙海悦. 全球蓝莓产业发展现状及展望[J]. 吉林农业大学学报, 2018, 40(4): 421-432.
[2] 段毅, 王淑娟. “产量冠军”如何迈上“价值高地” [N]. 云南日报, 2025-07-21(001).
[3] 黄国辉. 蓝莓种植效益分析[J]. 新农业, 2025(4): 92-95.
[4] Ni, X., Li, C., Jiang, H. and Takeda, F. (2021) Three-Dimensional Photogrammetry with Deep Learning Instance Segmentation to Extract Berry Fruit Harvestability Traits. ISPRS Journal of Photogrammetry and Remote Sensing, 171, 297-309. [Google Scholar] [CrossRef
[5] Meng, F., Li, J., Zhang, Y., Qi, S. and Tang, Y. (2023) Transforming Unmanned Pineapple Picking with Spatio-Temporal Convolutional Neural Networks. Computers and Electronics in Agriculture, 214, Article 108298. [Google Scholar] [CrossRef
[6] Chen, M., Chen, Z., Luo, L., Tang, Y., Cheng, J., Wei, H., et al. (2024) Dynamic Visual Servo Control Methods for Continuous Operation of a Fruit Harvesting Robot Working throughout an Orchard. Computers and Electronics in Agriculture, 219, Article 108774. [Google Scholar] [CrossRef
[7] Tang, Y., Qi, S., Zhu, L., Zhuo, X., Zhang, Y. and Meng, F. (2024) Obstacle Avoidance Motion in Mobile Robotics. Journal of System Simulation, 36, 1-26.
[8] Routray, W. and Orsat, V. (2014) Variation of Phenolic Profile and Antioxidant Activity of North American Highbush Blueberry Leaves with Variation of Time of Harvest and Cultivar. Industrial Crops and Products, 62, 147-155. [Google Scholar] [CrossRef
[9] Little, C.M., Chapman, T.W. and Hillier, N.K. (2018) Effect of Color and Contrast of Highbush Blueberries to Host-Finding Behavior by Drosophila Suzukii (Diptera: Drosophilidae). Environmental Entomology, 47, 1242-1251. [Google Scholar] [CrossRef] [PubMed]
[10] Zhu, X., Ma, H., Ji, J., Jin, X., Zhao, K. and Zhang, K. (2020) Detecting and Identifying Blueberry Canopy Fruits Based on Faster R-CNN. Journal of Southern Agriculture, 51, 1493-1501.
[11] Wang, L., Qin, M., Lei, J., Wang, X. and Tan, K. (2021) Blueberry Maturity Recognition Method Based on Improved YOLOv4-Tiny. Transactions of the Chinese Society of Agricultural Engineering, 37, 170-178.
[12] Barnea, E., Mairon, R. and Ben-Shahar, O. (2016) Colour-Agnostic Shape-Based 3D Fruit Detection for Crop Harvesting Robots. Biosystems Engineering, 146, 57-70. [Google Scholar] [CrossRef
[13] Marji Alresheedi, K., Aladhadh, S., Ullah Khan, R. and Mustafa Qamar, A. (2022) Dates Fruit Recognition: From Classical Fusion to Deep Learning. Computer Systems Science and Engineering, 40, 151-166. [Google Scholar] [CrossRef
[14] 邬桐, 朱永宁, 武向娟, 等. 基于改进型YOLOv5的马铃薯花朵识别技术[J]. 中国农业气象, 2025, 46(10): 1512-1520.
[15] 张天宇, 韩静, 廖洪晖, 曲欣锐. 基于优化YOLOv5算法的玉米苗间杂草检测研究[J]. 中国农机化学报, 2025, 46(7): 220-225.
[16] 刘芹, 欧阳婧玟, 周智彬, 等. 基于YOLO-CRC的茄子及茄子梗分割与定位方法[J]. 农业工程学报, 2025, 41(19): 196-205.
[17] Yang, H., Liu, Y., Wang, S., Qu, H., Li, N., Wu, J., et al. (2023) Improved Apple Fruit Target Recognition Method Based on YOLOv7 Model. Agriculture, 13, Article 1278. [Google Scholar] [CrossRef
[18] 申志超. 基于YOLO的颗粒状农作物检测算法研究[D]: [硕士学位论文]. 哈尔滨: 哈尔滨工业大学, 2021.
[19] 田有文, 覃上声, 闫玉博, 等. 基于改进YOLOv8的田间复杂环境下蓝莓成熟度检测[J]. 农业工程学报, 2024, 40(16): 153-162.
[20] Roy, A.M., Bose, R. and Bhaduri, J. (2022) A Fast Accurate Fine-Grain Object Detection Model Based on YOLOv4 Deep Neural Network. Neural Computing and Applications, 34, 3895-3921. [Google Scholar] [CrossRef
[21] Lin, T., Dollar, P., Girshick, R., He, K., Hariharan, B. and Belongie, S. (2017) Feature Pyramid Networks for Object Detection. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, 21-26 July 2017, 936-944. [Google Scholar] [CrossRef
[22] Srinivas, A., Lin, T., Parmar, N., Shlens, J., Abbeel, P. and Vaswani, A. (2021) Bottleneck Transformers for Visual Recognition. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, 20-25 June 2021, 16514-16524. [Google Scholar] [CrossRef
[23] Hou, Q., Zhou, D. and Feng, J. (2021) Coordinate Attention for Efficient Mobile Network Design. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, 20-25 June 2021, 13708-13717. [Google Scholar] [CrossRef
[24] Tong, Z., Chen, Y., Xu, Z. and Yu, R. (2023) Wise-IoU: Bounding Box Regression Loss with Dynamic Focusing Mechanism. arXiv:2301.10051.