Welcome to Journal of Tea Science,Today is

Journal of Tea Science ›› 2024, Vol. 44 ›› Issue (1): 62-74.doi: 10.13305/j.cnki.jts.2024.01.006

• Research Paper • Previous Articles     Next Articles

A Grading Identification Method for Tea Buds Based on Improved YOLOv7-tiny

HONG Konglin, WU Minghui*, GAO Bo, FENG Yening   

  1. School of Mechanical and Automotive Engineering, Shanghai University of Engineering Science, Shanghai 201620, China
  • Received:2023-09-24 Revised:2023-11-13 Online:2024-02-25 Published:2024-03-13

Abstract: The intelligent grading and recognition of tea buds in a natural environment are fundamental for the automation of premium tea harvesting. To address the problems of low recognition accuracy and limited robustness caused by complex environmental factors like lighting, obstruction, and dense foliage, we propose an enhanced model based on YOLOv7-tiny. Firstly, a CBAM module was added into the small object detection layer of the YOLOv7-tiny model to enhance the model's ability to focus on small object features and reduce the interference of complex environments on tea bud recognition. We adjusted the spatial pyramid pooling structure to lower computational costs and improve detection speed. Additionally, we utilized a loss function combining IoU and NWD to further enhance the model's robustness in small object detection by addressing the sensitivity of the IoU mechanism to position deviations. Experimental results demonstrate that the proposed model achieves a detection accuracy of 91.15%, a recall rate of 88.54%, and a mean average precision of 92.66%. The model's size is 12.4 MB. Compared to the original model, this represents an improvement of 2.83%, 2.00%, and 1.47% in accuracy, recall rate, and mean average precision, respectively, with a significant increase of 0.1 MB in model size. Comparative experiments with different models show that our model exhibits fewer false negatives and false positives in multiple scenarios, along with higher confidence scores. The improved model can be applied to the bud grading and recognition process of premium tea harvesting robots.

Key words: YOLOv7-tiny, tea bud, grading identification, attention mechanisms, NWD loss

CLC Number: