Acta Agriculturae Zhejiangensis ›› 2025, Vol. 37 ›› Issue (11): 2395-2407.DOI: 10.3969/j.issn.1004-1524.20240508

• Biosystems Engineering • Previous Articles     Next Articles

The recognition and detection of tobacco stems based on the improved YOLOv8n model

FENG Yongxin1(), JI Yuanpeng2, CUI Ying1, BAI Li1, WANG Jian1, DING Jia1, ZHANG Xiaodong1, ZHANG Weiwei2, LI Meng3, ZHANG Weizheng2,*()   

  1. 1. Hebei Tobacco Industry Co., Ltd., Shijiazhuang 050051, China
    2. School of Computer Science and Technology, Zhengzhou University of Light Industry, Zhengzhou 450001, China
    3. School of Tobacco Science and Engineering, Zhengzhou University of Light Industry, Zhengzhou 450001, China
  • Received:2024-06-11 Online:2025-11-25 Published:2025-12-08

Abstract:

Real-time and accurate recognition of tobacco stems is essential for enhancing the quality and efficiency of tobacco stem sorting. To tackle the challenges of low efficiency and subpar quality in manual tobacco stem sorting, this paper proposed a tobacco stem recognition method based on the improved YOLOv8n model, aiming to achieve automated detection of tobacco stem structures. Taking the tobacco stems after re-roasting as the research object, variable kernel convolution was used instead of standard convolution based on the YOLOv8n model to enhance the feature extraction of tobacco stems by the network model and reduce parameters of the model. A triple attention module is embedded into the backbone network to enhance the network’s focus on tobacco stem positional information through cross-dimensional interactions. The results demonstrated that the improved model achieved an mAP of 95.40% with a parameter of 2.52×106, floating-point operations per second (FLOPs) of 7.50 G, and detection speed of 62.38 frames per second. Compared to the YOLOv8n model, the improved model achieved a 4.55 percentage points increase in mAP while reducing parameters and FLOPs by 0.49×106 and 0.70 G, respectively. Compared with Faster R-CNN, SSD, YOLOv5n, YOLOv6n, and YOLOv7tiny, the improved model had superior accuracy and faster detection speed, demonstrating superior-comprehensive performance. Furthermore, embedding the improved model into computing devices and testing its performance in real-world applications. The model demonstrated high accuracy and real-time capabilities, effectively improving the efficiency of recognition and sorting of tobacco stems.

Key words: tobacco stem, improved YOLOv8n model, recognition, detection, sorting

CLC Number: