TBC-YOLOv7: a refined YOLOv7-based algorithm for tea bud grading detection

被引:15
|
作者
Wang, Siyang [1 ,2 ,3 ]
Wu, Dasheng [1 ,2 ,3 ]
Zheng, Xinyu [1 ,2 ,3 ]
机构
[1] Zhejiang A&F Univ, Coll Math & Comp Sci, Hangzhou, Peoples R China
[2] State Forestry & Grassland Adm Forestry Sensing Te, Key Lab, Hangzhou, Peoples R China
[3] Key Lab Forestry Intelligent Monitoring & Informat, Hangzhou, Peoples R China
来源
FRONTIERS IN PLANT SCIENCE | 2023年 / 14卷
基金
中国国家自然科学基金;
关键词
YOLOv7; contextual transformer; BiFPN; CA; SIoU; tea bud grading detection;
D O I
10.3389/fpls.2023.1223410
中图分类号
Q94 [植物学];
学科分类号
071001 ;
摘要
Introduction: Accurate grading identification of tea buds is a prerequisite for automated tea-picking based on machine vision system. However, current target detection algorithms face challenges in detecting tea bud grades in complex backgrounds. In this paper, an improved YOLOv7 tea bud grading detection algorithm TBC-YOLOv7 is proposed.Methods: The TBC-YOLOv7 algorithm incorporates the transformer architecture design in the natural language processing field, integrating the transformer module based on the contextual information in the feature map into the YOLOv7 algorithm, thereby facilitating self-attention learning and enhancing the connection of global feature information. To fuse feature information at different scales, the TBC-YOLOv7 algorithm employs a bidirectional feature pyramid network. In addition, coordinate attention is embedded into the critical positions of the network to suppress useless background details while paying more attention to the prominent features of tea buds. The SIOU loss function is applied as the bounding box loss function to improve the convergence speed of the network.Result: The results of the experiments indicate that the TBC-YOLOv7 is effective in all grades of samples in the test set. Specifically, the model achieves a precision of 88.2% and 86.9%, with corresponding recall of 81% and 75.9%. The mean average precision of the model reaches 87.5%, 3.4% higher than the original YOLOv7, with average precision values of up to 90% for one bud with one leaf. Furthermore, the F1 score reaches 0.83. The model's performance outperforms the YOLOv7 model in terms of the number of parameters. Finally, the results of the model detection exhibit a high degree of correlation with the actual manual annotation results ( R-2 =0.89), with the root mean square error of 1.54.Discussion: The TBC-YOLOv7 model proposed in this paper exhibits superior performance in vision recognition, indicating that the improved YOLOv7 model fused with transformer-style module can achieve higher grading accuracy on densely growing tea buds, thereby enables the grade detection of tea buds in practical scenarios, providing solution and technical support for automated collection of tea buds and the judging of grades.
引用
收藏
页数:18
相关论文
共 50 条
  • [21] Application of improved YOLOv7-based sugarcane stem node recognition algorithm in complex environments
    Wen, Chunming
    Guo, Huanyu
    Li, Jianheng
    Hou, Bingxu
    Huang, Youzong
    Li, Kaihua
    Nong, Hongliang
    Long, Xiaozhu
    Lu, Yuchun
    FRONTIERS IN PLANT SCIENCE, 2023, 14
  • [22] Helmet Detection Algorithm Based on Improved YOLOv7
    Yilihamu, Yaermaimaiti
    Liu, Yajie
    Xi, Lingfei
    Wang, Ruohao
    AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2024, 58 (06) : 642 - 655
  • [23] A Flame Detection Algorithm Based on Improved YOLOv7
    Yan, Guibao
    Guo, Jialin
    Zhu, Dongyi
    Zhang, Shuming
    Xing, Rui
    Xiao, Zhangshu
    Wang, Qichao
    APPLIED SCIENCES-BASEL, 2023, 13 (16):
  • [24] Evaluation of the Effect of Foggy Image Generation on the Performance of the YOLOv7-Based Object Detection Model
    Chung, Ming-An
    Yang, Chih-Wei
    Lin, Chia-Wei
    2024 11TH INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS-TAIWAN, ICCE-TAIWAN 2024, 2024, : 815 - 816
  • [25] IS-YOLO: A YOLOv7-based Detection Method for Small Ship Detection in Infrared Images With Heterogeneous Backgrounds
    Firdiantika, Indah Monisa
    Kim, Sungho
    INTERNATIONAL JOURNAL OF CONTROL AUTOMATION AND SYSTEMS, 2024, 22 (11) : 3295 - 3302
  • [26] Tea Buds Detection in Complex Background Based on Improved YOLOv7
    Meng, Junquan
    Kang, Feng
    Wang, Yaxiong
    Tong, Siyuan
    Zhang, Chenxi
    Chen, Chongchong
    IEEE ACCESS, 2023, 11 : 88295 - 88304
  • [27] Detection of Famous Tea Buds Based on Improved YOLOv7 Network
    Wang, Yongwei
    Xiao, Maohua
    Wang, Shu
    Jiang, Qing
    Wang, Xiaochan
    Zhang, Yongnian
    AGRICULTURE-BASEL, 2023, 13 (06):
  • [28] YOLOv7-UAV: An Unmanned Aerial Vehicle Image Object Detection Algorithm Based on Improved YOLOv7
    Zeng, Yalin
    Zhang, Tian
    He, Weikai
    Zhang, Ziheng
    ELECTRONICS, 2023, 12 (14)
  • [29] A lightweight tea bud detection model based on Yolov5
    Gui, Zhiyong
    Chen, Jianneng
    Li, Yang
    Chen, Zhiwei
    Wu, Chuanyu
    Dong, Chunwang
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2023, 205
  • [30] Mask wearing detection algorithm based on improved YOLOv7
    Luo, Fang
    Zhang, Yin
    Xu, Lunhui
    Zhang, Zhiliang
    Li, Ming
    Zhang, Weixiong
    MEASUREMENT & CONTROL, 2024, 57 (06): : 751 - 762