Verified the rapid evaluation of the edible safety of wild porcini mushrooms, using deep learning and PLS-DA

J Sci Food Agric. 2022 Mar 15;102(4):1531-1539. doi: 10.1002/jsfa.11488. Epub 2021 Aug 26.


Background: How to quickly identify poisonous mushrooms is a worldwide problem, because poisonous mushrooms and edible mushrooms have very similar appearances. Even some edible mushrooms must be processed further before they can be eaten. In addition, mushrooms from different geographical origins contain different levels of heavy metals. Eating frequent mushrooms with excessive heavy metal content can also cause food poisoning. This information is very important and needs to be informed to consumers in advance. Through the demand for the safety of porcini mushrooms in the Yunnan area we propose a hierarchical identification system based on Fourier-transform near-infrared (FT-NIR) spectroscopy to evaluate the edible safety of porcini species.

Results: We found that deep learning is the most effective means to identify the edible safety of porcini, and the recognition accuracy was 100%, by comparing two pattern recognition tools, deep learning and partial least square discriminant analysis (PLS-DA). Although the accuracy of the PLS-DA test set is 96.10%, the poisonous porcini is not allowed to be wrongly judged. In addition, the cadmium (Cd) content of Leccinum rugosiceps in the Midu area exceeded the standard. Deep learning can trace Le. rugosiceps geographic origin with an accuracy of 100%.

Conclusion: The overall results show that deep learning methods based on FT-NIR can identify porcini that is at risk of being eaten. This has useful application prospects in food safety. © 2021 Society of Chemical Industry.

Keywords: Cd; FT-NIR; deep learning; food safety; porcini.

MeSH terms

  • Agaricales*
  • China
  • Deep Learning*
  • Discriminant Analysis
  • Least-Squares Analysis