| Citation: | WANG Shucai, HUANG Kaihu, DING Meizhou, JI Xiaonan, TAO Xu. Method for identifying cut tobacco from genuine and fake cigarettes based on improved ConvNeXt modelJ. Tobacco Science & Technology, 2024, 57(5): 103-112. DOI: 10.16135/j.issn1002-0861.2023.0841 |
In order to quickly identify genuine and fake cigarettes, a method for classification and identification of cut tobacco from cigarettes of different brands based on ConvNeXt convolutional neural network model was proposed. The images of cut tobacco from genuine and fake cigarettes of four brands were collected to create a deep learning dataset. Based on the ConvNeXt model, a Convolutional Block Attention Module (CBAM) was introduced to improve the feature extraction capability of the model. A feature pyramid structure was developed to achieve feature fusion of different scales and improve the feature expression ability of the model. GhostNetV2 convolution was introduced into the multi-scale fusion structure to reduce model complexity and computational work. The improved ConvNeXt_CM model and the commonly used image classification models including ResNet50, DensNet121, and EfficientNetV2 were comparatively tested. The results showed that: 1) Compared with the original ConvNeXt model, the macro F1 score and average accuracy of the ConvNeXt_CM model reached 95.46% and 87.13%, respectively; its macro precision and macro recall rates elevated by 6.08 and 6.13 percentage points, respectively. The size of the model was 27.31 M, and the time needed for identifying an image averaged 0.024 s. 2) The ConvNeXt_CM model advantaged over the ResNet50, DensNet121, and EfficientNetV2 models in image recognition efficiency, and its macro F1 score elevated by 21.94, 20.19, and 31.05 percentage points, respectively. The proposed method helps improve the image recognition capabilities of the models and cigarette authentication.