Real-Time Detection Technology of Corn Kernel Breakage and Mildew Based on Improved YOLOv5s

被引:0
|
作者
Liu, Mingming [1 ,2 ]
Liu, Yinzeng [2 ]
Wang, Qihuan [1 ]
He, Qinghao [1 ]
Geng, Duanyang [1 ]
机构
[1] Shandong Univ Technol, Sch Agr Engn & Food Sci, Zibo 255000, Peoples R China
[2] Shandong Agr & Engn Univ, Mech & Elect Engn Coll, Jinan 250100, Peoples R China
来源
AGRICULTURE-BASEL | 2024年 / 14卷 / 05期
基金
国家重点研发计划;
关键词
corn kernels; breakage; mildew; YOLOv5s; CBAM; SPPCPSC; transformer;
D O I
10.3390/agriculture14050725
中图分类号
S3 [农学(农艺学)];
学科分类号
0901 ;
摘要
In order to solve low recognition of corn kernel breakage degree and corn kernel mildew degree during corn kernel harvesting, this paper proposes a real-time detection method for corn kernel breakage and mildew based on improved YOlOv5s, which is referred to as the CST-YOLOv5s model algorithm in this paper. The method continuously obtains images through the discrete uniform sampling device of corn kernels and generates whole corn kernels, breakage corn kernels, and mildew corn kernel dataset samples. We aimed at the problems of high similarity of some corn kernel features in the acquired images and the low precision of corn kernel breakage and mildew recognition. Firstly, the CBAM attention mechanism is added to the backbone network of YOLOv5s to finely allocate and process the feature information, highlighting the features of corn breakage and mildew. Secondly, the pyramid pooling structure SPPCPSC, which integrates cross-stage local networks, is adopted to replace the SPPF in YOLOv5s. SPP and CPSC technologies are used to extract and fuse features of different scales, improving the precision of object detection. Finally, the original prediction head is converted into a transformer prediction head to explore the prediction potential with a multi-head attention mechanism. The experimental results show that the CST-YOLOv5s model has a significant improvement in the detection of corn kernel breakage and mildew. Compared with the original YOLOv5s model, the average precision (AP) of corn kernel breakage and mildew recognition increased by 5.2% and 7.1%, respectively, and the mean average precision (mAP) of all kinds of corn kernel recognition is 96.1%, and the frame rate is 36.7 FPS. Compared with YOLOv4-tiny, YOLOv6n, YOLOv7, YOLOv8s, and YOLOv9-E detection model algorithms, the CST-YOLOv5s model has better overall performance in terms of detection accuracy and speed. This study can provide a reference for real-time detection of breakage and mildew kernels during the harvesting process of corn kernels.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] Improved Cotton Seed Breakage Detection Based on YOLOv5s
    Liu, Yuanjie
    Lv, Zunchao
    Hu, Yingyue
    Dai, Fei
    Zhang, Hongzhou
    [J]. AGRICULTURE-BASEL, 2022, 12 (10):
  • [2] Real-Time Hand Gesture Detection Based on YOLOv5s
    Li, Guangxiang
    Li, Dequan
    Yang, Anni
    [J]. 2022 41ST CHINESE CONTROL CONFERENCE (CCC), 2022, : 7047 - 7052
  • [3] Research on Real-Time Detection of Maize Seedling Navigation Line Based on Improved YOLOv5s Lightweighting Technology
    Gong, Hailiang
    Wang, Xi
    Zhuang, Weidong
    [J]. AGRICULTURE-BASEL, 2024, 14 (01):
  • [4] Real-Time Helmetless Detection System for Lift Truck Operators Based on Improved YOLOv5s
    Zheng, Yunchang
    Wang, Mengfan
    Liu, Yichao
    Li, Cunyang
    Chang, Qing
    [J]. IEEE ACCESS, 2024, 12 : 4354 - 4369
  • [5] Real-time detection model of highway vehicle based on YOLOv5s
    Liu, Yuan-Feng
    Ji, Hai-Jun
    Liu, Li-Bo
    [J]. CHINESE JOURNAL OF LIQUID CRYSTALS AND DISPLAYS, 2022, 37 (09) : 1228 - 1241
  • [6] Lightweight Detection Method for Real-Time Monitoring Tomato Growth Based on Improved YOLOv5s
    Tian, Suyu
    Fang, Chao
    Zheng, Xiaogang
    Liu, Jue
    [J]. IEEE ACCESS, 2024, 12 : 29891 - 29899
  • [7] Real-Time Recognition and Localization of Kiwifruit Based on Improved YOLOv5s Algorithm
    Dai, Jin-Sui
    He, Zhi-Qin
    [J]. IEEE Access, 2024, 12 : 156261 - 156272
  • [8] Unsafe behavior real-time detection method of intelligent workshop workers based on improved YOLOv5s
    Luo, Guofu
    Wang, Yuan
    Li, Hao
    Yang, Wenchao
    Lyu, Lindong
    [J]. Jisuanji Jicheng Zhizao Xitong/Computer Integrated Manufacturing Systems, CIMS, 2024, 30 (05): : 1610 - 1619
  • [9] Real-Time Detection of Abnormal Behavior of Escalator Passengers Based on YOLOv5s
    Wang Yuanpeng
    Wan Haibin
    Huang Kai
    Chi Zhaozhan
    Zhang Jinqi
    Huang Zhixing
    [J]. LASER & OPTOELECTRONICS PROGRESS, 2024, 61 (08)
  • [10] A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model
    Xiangkui Jiang
    Haochang Hu
    Yuemei Qin
    Yihui Hu
    Rui Ding
    [J]. Scientific Reports, 12