<p>Plastic and paper foreign materials in tobacco shreds mainly originate from tobacco processing and packaging. These materials are highly similar to tobacco shreds in color and size, making them difficult for traditional machine vision systems to detect, thus posing a significant risk to product quality and safety. To address this issue, this study proposes a method combining hyperspectral imaging (HSI) and machine learning. After segmenting and denoising hyperspectral images to extract pixel-level spectral data, principal component analysis (PCA) is used to construct classification models of support vector machine (SVM), linear discriminant analysis (LDA), and random forest (RF). The PCA dimensionality reduction results show that SVM accuracy decreased by 0.08%, LDA by 2.67%, while RF maintained a 100% accuracy rate. The LDA model trained with full spectral bands achieved 100% accuracy, demonstrating better robustness and generalization ability. The final classification results are mapped back to the original hyperspectral images for visual classification and detection of foreign materials. This method can reliably detect partially obscured foreign materials. This study overcomes the limitations of detection based on color and size, providing a solution for real-time quality control in the food and pharmaceutical industries.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Research on the detection of foreign materials in tobacco shreds based on hyperspectral reflection imaging technology combined with machine learning

  • Dongfu Xie,
  • Zongwen Yu,
  • Jianhong Lai,
  • Yufeng Luo,
  • Xiong Li,
  • Xudong Sun,
  • Youben Wei,
  • Wenbiao Zeng

摘要

Plastic and paper foreign materials in tobacco shreds mainly originate from tobacco processing and packaging. These materials are highly similar to tobacco shreds in color and size, making them difficult for traditional machine vision systems to detect, thus posing a significant risk to product quality and safety. To address this issue, this study proposes a method combining hyperspectral imaging (HSI) and machine learning. After segmenting and denoising hyperspectral images to extract pixel-level spectral data, principal component analysis (PCA) is used to construct classification models of support vector machine (SVM), linear discriminant analysis (LDA), and random forest (RF). The PCA dimensionality reduction results show that SVM accuracy decreased by 0.08%, LDA by 2.67%, while RF maintained a 100% accuracy rate. The LDA model trained with full spectral bands achieved 100% accuracy, demonstrating better robustness and generalization ability. The final classification results are mapped back to the original hyperspectral images for visual classification and detection of foreign materials. This method can reliably detect partially obscured foreign materials. This study overcomes the limitations of detection based on color and size, providing a solution for real-time quality control in the food and pharmaceutical industries.