Precision in wheat flour classification: Harnessing the power of deep learning and two-dimensional correlation spectrum (2DCOS).

Journal: Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy
PMID:

Abstract

Wheat flour is a ubiquitous food ingredient, yet discerning its various types can prove challenging. A practical approach for identifying wheat flour types involves analyzing one-dimensional near-infrared spectroscopy (NIRS) data. This paper introduces an innovative method for wheat flour recognition, combining deep learning (DL) with Two-dimensional correlation spectrum (2DCOS). In this investigation, 316 samples from four distinct types of wheat flour were collected using a near-infrared (NIR) spectrometer, and the raw spectra of each sample underwent preprocessing employing diverse methods. The discrete generalized 2DCOS algorithm was applied to generate 3792 2DCOS images from the preprocessed spectral data. We trained a deep learning model tailored for flour 2DCOS images - EfficientNet. Ultimately, this DL model achieved 100% accuracy in identifying wheat flour within the test set. The findings demonstrate the viability of directly transforming spectra into two-dimensional images for species recognition using 2DCOS and DL. Compared to the traditional stoichiometric method Partial Least Squares Discriminant Analysis (PLS_DA), machine learning methods Support Vector Machines (SVM) and K-Nearest Neighbors (KNN), and deep learning methods one-dimensional convolutional neural network (1DCNN) and residual neural network (ResNet), the model proposed in this paper is better suited for wheat flour identification, boasting the highest accuracy. This study offers a fresh perspective on wheat flour type identification and successfully integrates the latest advancements in deep learning with 2DCOS for spectral type identification. Furthermore, this approach can be extended to the spectral identification of other products, presenting a novel avenue for future research in the field.

Authors

  • Tianrui Zhang
    College of Artificial Intelligence, Nankai University, Tianjin 300350, China.
  • Yifan Wang
    School of Bioscience and Bioengineering, South China University of Technology, Guangzhou, China.
  • Jiansong Sun
    College of Artificial Intelligence, Nankai University, Tianjin 300350, China.
  • Jing Liang
    College of Management Science, Chengdu University of Technology, Chengdu, China.
  • Bin Wang
    State Key Laboratory of Soil Erosion and Dryland Farming on the Loess Plateau, Northwest A&F University, Yangling 712100, China; New South Wales Department of Primary Industries, Wagga Wagga Agricultural Institute, Wagga Wagga 2650, Australia. Electronic address: bin.a.wang@dpi.nsw.gov.au.
  • Xiaoxuan Xu
    College of Artificial Intelligence, Nankai University, Tianjin 300350, China. Electronic address: xuxx@nankai.edu.cn.
  • Jing Xu
    First Department of Infectious Diseases, The First Affiliated Hospital of China Medical University, Shenyang, China.
  • Lei Liu
    Department of Science and Technology, Beijing Shijitan Hospital, Capital Medical University, Beijing, China.