Cargando…
Intelligent grading method for walnut kernels based on deep learning and physiological indicators
Walnut grading is an important step before the product enters the market. However, traditional walnut grading primarily relies on manual assessment of physiological features, which is difficult to implement efficiently. Furthermore, walnut kernel grading is, at present, relatively unsophisticated. T...
Autores principales: | , , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Frontiers Media S.A.
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9849811/ https://www.ncbi.nlm.nih.gov/pubmed/36687686 http://dx.doi.org/10.3389/fnut.2022.1075781 |
_version_ | 1784872035018604544 |
---|---|
author | Chen, Siwei Dai, Dan Zheng, Jian Kang, Haoyu Wang, Dongdong Zheng, Xinyu Gu, Xiaobo Mo, Jiali Luo, Zhuohui |
author_facet | Chen, Siwei Dai, Dan Zheng, Jian Kang, Haoyu Wang, Dongdong Zheng, Xinyu Gu, Xiaobo Mo, Jiali Luo, Zhuohui |
author_sort | Chen, Siwei |
collection | PubMed |
description | Walnut grading is an important step before the product enters the market. However, traditional walnut grading primarily relies on manual assessment of physiological features, which is difficult to implement efficiently. Furthermore, walnut kernel grading is, at present, relatively unsophisticated. Therefore, this study proposes a novel deep-learning model based on a spatial attention mechanism and SE-network structure to grade walnut kernels using machine vision to ensure accuracy and improve assessment efficiency. In this experiment, we found through the literature that both the lightness (L* value) and malondialdehyde (MDA) contens of walnut kernels were correlated with the oxidation phenomenon in walnuts. Subsequently, we clustered four partitionings using the L* values. We then used the MDA values to verify the rationality of these partitionings. Finally, four network models were used for comparison and training: VGG19, EfficientNetB7, ResNet152V2, and spatial attention and spatial enhancement network combined with ResNet152V2 (ResNet152V2-SA-SE). We found that the ResNet152V2-SA-SE model exhibited the best performance, with a maximum test set accuracy of 92.2%. The test set accuracy was improved by 6.2, 63.2, and 74.1% compared with that of ResNet152V2, EfficientNetB7, and VGG19, respectively. Our testing demonstrated that combining spatial attention and spatial enhancement methods improved the recognition of target locations and intrinsic information, while decreasing the attention given to non-target regions. Experiments have demonstrated that combining spatial attention mechanisms with SE networks increases focus on recognizing target locations and intrinsic information, while decreasing focus on non-target regions. Finally, by comparing different learning rates, regularization methods, and batch sizes of the model, we found that the training performance of the model was optimal with a learning rate of 0.001, a batch size of 128, and no regularization methods. In conclusion, this study demonstrated that the ResNet152V2-SA-SE network model was effective in the detection and evaluation of the walnut kernels. |
format | Online Article Text |
id | pubmed-9849811 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-98498112023-01-20 Intelligent grading method for walnut kernels based on deep learning and physiological indicators Chen, Siwei Dai, Dan Zheng, Jian Kang, Haoyu Wang, Dongdong Zheng, Xinyu Gu, Xiaobo Mo, Jiali Luo, Zhuohui Front Nutr Nutrition Walnut grading is an important step before the product enters the market. However, traditional walnut grading primarily relies on manual assessment of physiological features, which is difficult to implement efficiently. Furthermore, walnut kernel grading is, at present, relatively unsophisticated. Therefore, this study proposes a novel deep-learning model based on a spatial attention mechanism and SE-network structure to grade walnut kernels using machine vision to ensure accuracy and improve assessment efficiency. In this experiment, we found through the literature that both the lightness (L* value) and malondialdehyde (MDA) contens of walnut kernels were correlated with the oxidation phenomenon in walnuts. Subsequently, we clustered four partitionings using the L* values. We then used the MDA values to verify the rationality of these partitionings. Finally, four network models were used for comparison and training: VGG19, EfficientNetB7, ResNet152V2, and spatial attention and spatial enhancement network combined with ResNet152V2 (ResNet152V2-SA-SE). We found that the ResNet152V2-SA-SE model exhibited the best performance, with a maximum test set accuracy of 92.2%. The test set accuracy was improved by 6.2, 63.2, and 74.1% compared with that of ResNet152V2, EfficientNetB7, and VGG19, respectively. Our testing demonstrated that combining spatial attention and spatial enhancement methods improved the recognition of target locations and intrinsic information, while decreasing the attention given to non-target regions. Experiments have demonstrated that combining spatial attention mechanisms with SE networks increases focus on recognizing target locations and intrinsic information, while decreasing focus on non-target regions. Finally, by comparing different learning rates, regularization methods, and batch sizes of the model, we found that the training performance of the model was optimal with a learning rate of 0.001, a batch size of 128, and no regularization methods. In conclusion, this study demonstrated that the ResNet152V2-SA-SE network model was effective in the detection and evaluation of the walnut kernels. Frontiers Media S.A. 2023-01-05 /pmc/articles/PMC9849811/ /pubmed/36687686 http://dx.doi.org/10.3389/fnut.2022.1075781 Text en Copyright © 2023 Chen, Dai, Zheng, Kang, Wang, Zheng, Gu, Mo and Luo. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. |
spellingShingle | Nutrition Chen, Siwei Dai, Dan Zheng, Jian Kang, Haoyu Wang, Dongdong Zheng, Xinyu Gu, Xiaobo Mo, Jiali Luo, Zhuohui Intelligent grading method for walnut kernels based on deep learning and physiological indicators |
title | Intelligent grading method for walnut kernels based on deep learning and physiological indicators |
title_full | Intelligent grading method for walnut kernels based on deep learning and physiological indicators |
title_fullStr | Intelligent grading method for walnut kernels based on deep learning and physiological indicators |
title_full_unstemmed | Intelligent grading method for walnut kernels based on deep learning and physiological indicators |
title_short | Intelligent grading method for walnut kernels based on deep learning and physiological indicators |
title_sort | intelligent grading method for walnut kernels based on deep learning and physiological indicators |
topic | Nutrition |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9849811/ https://www.ncbi.nlm.nih.gov/pubmed/36687686 http://dx.doi.org/10.3389/fnut.2022.1075781 |
work_keys_str_mv | AT chensiwei intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators AT daidan intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators AT zhengjian intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators AT kanghaoyu intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators AT wangdongdong intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators AT zhengxinyu intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators AT guxiaobo intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators AT mojiali intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators AT luozhuohui intelligentgradingmethodforwalnutkernelsbasedondeeplearningandphysiologicalindicators |