YOLOv7-DWS: tea bud recognition and detection network in multi-density environment via improved YOLOv7
- PMID: 39840356
- PMCID: PMC11747160
- DOI: 10.3389/fpls.2024.1503033
YOLOv7-DWS: tea bud recognition and detection network in multi-density environment via improved YOLOv7
Abstract
Introduction: Accurate detection and recognition of tea bud images can drive advances in intelligent harvesting machinery for tea gardens and technology for tea bud pests and diseases. In order to realize the recognition and grading of tea buds in a complex multi-density tea garden environment.
Methods: This paper proposes an improved YOLOv7 object detection algorithm, called YOLOv7-DWS, which focuses on improving the accuracy of tea recognition. First, we make a series of improvements to the YOLOv7 algorithm, including decouple head to replace the head of YOLOv7, to enhance the feature extraction ability of the model and optimize the class decision logic. The problem of simultaneous detection and classification of one-bud-one-leaf and one-bud-two-leaves of tea was solved. Secondly, a new loss function WiseIoU is proposed for the loss function in YOLOv7, which improves the accuracy of the model. Finally, we evaluate different attention mechanisms to enhance the model's focus on key features.
Results and discussion: The experimental results show that the improved YOLOv7 algorithm has significantly improved over the original algorithm in all evaluation indexes, especially in the (+6.2%) and mAP@0.5 (+7.7%). From the results, the algorithm in this paper helps to provide a new perspective and possibility for the field of tea image recognition.
Keywords: YOLOv7; deep learning; images recognition; multi-density; object detection; tea buds.
Copyright © 2025 Wang, Wu, Xiao, Han and Fang.
Conflict of interest statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Figures








Similar articles
-
TBC-YOLOv7: a refined YOLOv7-based algorithm for tea bud grading detection.Front Plant Sci. 2023 Aug 17;14:1223410. doi: 10.3389/fpls.2023.1223410. eCollection 2023. Front Plant Sci. 2023. PMID: 37662161 Free PMC article.
-
BRA-YOLOv7: improvements on large leaf disease object detection using FasterNet and dual-level routing attention in YOLOv7.Front Plant Sci. 2024 Dec 9;15:1373104. doi: 10.3389/fpls.2024.1373104. eCollection 2024. Front Plant Sci. 2024. PMID: 39717727 Free PMC article.
-
A tea bud segmentation, detection and picking point localization based on the MDY7-3PTB model.Front Plant Sci. 2023 Sep 28;14:1199473. doi: 10.3389/fpls.2023.1199473. eCollection 2023. Front Plant Sci. 2023. PMID: 37841621 Free PMC article.
-
Rapid detection of Yunnan Xiaomila based on lightweight YOLOv7 algorithm.Front Plant Sci. 2023 Jun 5;14:1200144. doi: 10.3389/fpls.2023.1200144. eCollection 2023. Front Plant Sci. 2023. PMID: 37342128 Free PMC article.
-
Research on improved YOLOV7-SSWD digital meter reading recognition algorithms.Rev Sci Instrum. 2024 Sep 1;95(9):095109. doi: 10.1063/5.0207733. Rev Sci Instrum. 2024. PMID: 39248623
References
-
- Bojie Z., Dong W., Weizhong S., Yu L., Ke W. (2019). Research on tea bud identification technology based on HSI/HSV color transformation[C]//2019 6th International Conference on Information Science and Control Engineering (ICISCE) (Shanghai, China: IEEE; ), 511–515.
LinkOut - more resources
Full Text Sources