{"title":"Hyperspectral Images-Based Stem Sticks Signature Detection of Cut Tobacco Using Improved YOLOv8n Algorithm","authors":"Fazhan Tao;Dong Yang;Dayong Xu;Zhumu Fu","doi":"10.1109/TAFE.2025.3554512","DOIUrl":null,"url":null,"abstract":"The tobacco industry attaches great importance to the development of slim cigarettes, and the content of stem sticks in slim cigarettes is extremely important to the quality of cigarettes. Therefore, in order to solve the problem of difficult detection of stem sticks in cut tobacco, a stem sticks detection algorithm in cut tobacco based on hyperspectral image technology combined with improved YOLOv8n is proposed. First, a principal component analysis method was used to process the hyperspectral image data to improve the differentiation between cut tobacco and stem sticks, and to construct the dataset. Second, the YOLOv8n algorithm was optimized to obtain the GMCM-YOLOv8n algorithm. Multiscale convolutional attention was introduced in the backbone network to capture detail information. Then, ghost convolution (GhostConv) was introduced to replace the regular convolution to simplify the network. M-BiFPN modules are proposed in neck networks as a way to improve the detection of small-sized stem sticks. The C2f module is also improved to obtain P-C2f with a view to reducing the model parameters and computational volume. Finally, the effectiveness of the GMCM-YOLOv8n algorithm is experimentally verified on self-constructed dataset. The results of the experiment showed that: the algorithm achieved a mean average precision of 93.9%, with parameters and floating point operations of 2.2 M and 6.2 G, respectively, and frames per second maintained at 73.5 fps. Compared with YOLOv8n, the proposed improved algorithm exhibited better comprehensive performance, which provided a valuable reference for realizing the task of quickly and accurately detecting the content of stem sticks in cut tobacco in practical production.","PeriodicalId":100637,"journal":{"name":"IEEE Transactions on AgriFood Electronics","volume":"3 2","pages":"591-604"},"PeriodicalIF":0.0000,"publicationDate":"2025-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on AgriFood Electronics","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/11130487/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The tobacco industry attaches great importance to the development of slim cigarettes, and the content of stem sticks in slim cigarettes is extremely important to the quality of cigarettes. Therefore, in order to solve the problem of difficult detection of stem sticks in cut tobacco, a stem sticks detection algorithm in cut tobacco based on hyperspectral image technology combined with improved YOLOv8n is proposed. First, a principal component analysis method was used to process the hyperspectral image data to improve the differentiation between cut tobacco and stem sticks, and to construct the dataset. Second, the YOLOv8n algorithm was optimized to obtain the GMCM-YOLOv8n algorithm. Multiscale convolutional attention was introduced in the backbone network to capture detail information. Then, ghost convolution (GhostConv) was introduced to replace the regular convolution to simplify the network. M-BiFPN modules are proposed in neck networks as a way to improve the detection of small-sized stem sticks. The C2f module is also improved to obtain P-C2f with a view to reducing the model parameters and computational volume. Finally, the effectiveness of the GMCM-YOLOv8n algorithm is experimentally verified on self-constructed dataset. The results of the experiment showed that: the algorithm achieved a mean average precision of 93.9%, with parameters and floating point operations of 2.2 M and 6.2 G, respectively, and frames per second maintained at 73.5 fps. Compared with YOLOv8n, the proposed improved algorithm exhibited better comprehensive performance, which provided a valuable reference for realizing the task of quickly and accurately detecting the content of stem sticks in cut tobacco in practical production.