Aflatoxin rapid detection based on hyperspectral with 1D-convolution neural network in the pixel level

Food Chem. 2021 Oct 30:360:129968. doi: 10.1016/j.foodchem.2021.129968. Epub 2021 Apr 29.

Abstract

Aflatoxin is commonly exists in moldy foods, it is classified as a class one carcinogen by the World Health Organization. In this paper, we used one dimensional convolution neural network (1D-CNN) to classify whether a pixel contains aflatoxin. Firstly we found the best combination of 1D-CNN parameters were epoch = 30, learning rate = 0.00005 and 'relu' for active function, the highest test accuracy reached 96.35% for peanut, 92.11% for maize and 94.64% for mix data. Then we compared 1D-CNN with feature selection and methods in other papers, result shows that neural network has greatly improved the detection efficiency than feature selection. Finally we visualized the classification result of different training 1D-CNN networks. This research provides the core algorithm for the intelligent sorter with aflatoxin detection function, which is of positive significance for grain processing and the prenatal detoxification of foreign trade enterprises.

Keywords: Aflatoxin; Feature selection; Food safety; Hyperspectral; Neural network.

MeSH terms

  • Aflatoxins / analysis*
  • Food Analysis
  • Food Contamination / analysis
  • Humans
  • Hyperspectral Imaging*
  • Image Processing, Computer-Assisted / methods*
  • Neural Networks, Computer*

Substances

  • Aflatoxins