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 条
  • [1] YOLOv7-based Autonomous Driving Object Detection Algorithm
    Cao, Zheng
    Xu, Li
    Niu, Zhuanzhuan
    Zhang, Chaoliang
    You, Guangfei
    Zhao, Mingyue
    Yang, Yuzhou
    2024 9TH INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION SYSTEMS, ICCCS 2024, 2024, : 172 - 177
  • [2] Improved YOLOv7-based steel surface defect detection algorithm
    Xie, Yinghong
    Yin, Biao
    Han, Xiaowei
    Hao, Yan
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2024, 21 (01) : 346 - 368
  • [3] YOLOv7-MA: Improved YOLOv7-Based Wheat Head Detection and Counting
    Meng, Xiaopeng
    Li, Changchun
    Li, Jingbo
    Li, Xinyan
    Guo, Fuchen
    Xiao, Zhen
    REMOTE SENSING, 2023, 15 (15)
  • [4] A YOLOv7-Based Defect Detection Method for Metal Surfaces
    Sun, Zhiwei
    Feng, Siyuan
    Li, Kai
    Liu, Yuliang
    Li, Yufeng
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, PT VI, ICIC 2024, 2024, 14867 : 473 - 483
  • [5] A YOLOv7-Based Method for Ship Detection in Videos of Drones
    Wang, Quanzheng
    Wang, Jingheng
    Wang, Xiaoyuan
    Wu, Luyao
    Feng, Kai
    Wang, Gang
    JOURNAL OF MARINE SCIENCE AND ENGINEERING, 2024, 12 (07)
  • [6] YOLOv7-based automated detection platform for scalp lesions
    Nguyen, Hung Viet
    Byeon, Haewon
    DIGITAL HEALTH, 2024, 10
  • [7] Advancing jasmine tea production: YOLOv7-based real-time jasmine flower detection
    Zhou, Hanlin
    Luo, Jianlong
    Ye, Qiuping
    Leng, Wenjun
    Qin, Jingfeng
    Lin, Jing
    Xie, Xiaoyu
    Sun, Yilan
    Huang, Shiguo
    Pang, Jie
    JOURNAL OF THE SCIENCE OF FOOD AND AGRICULTURE, 2024, 104 (15) : 9297 - 9311
  • [8] An Improved YOLOv7-based Detection of Tire Defects for Driving Assistance
    Zhan, Liu
    Xu, Xiaowei
    Qi, Qinghua
    Yan, Yunbing
    Wang, Yawei
    Qian, Feng
    Zhu, Neng
    IFAC PAPERSONLINE, 2023, 56 (02): : 4904 - 4909
  • [9] Research on YOLOv7-based defect detection method for automotive running lights
    Chen, Jincheng
    Bai, Shoujun
    Wan, Guoyang
    Li, Yunfei
    SYSTEMS SCIENCE & CONTROL ENGINEERING, 2023, 11 (01)
  • [10] YOLOv7-Based Multiple Surgical Tool Localization and Detection in Laparoscopic Videos
    Ahmed, Md Foysal
    He, Gang
    12TH ASIAN-PACIFIC CONFERENCE ON MEDICAL AND BIOLOGICAL ENGINEERING, VOL 2, APCMBE 2023, 2024, 104 : 48 - 55