Cargando…

Surface Defect Detection of Fresh-Cut Cauliflowers Based on Convolutional Neural Network with Transfer Learning

A fresh-cut cauliflower surface defect detection and classification model based on a convolutional neural network with transfer learning is proposed to address the low efficiency of the traditional manual detection of fresh-cut cauliflower surface defects. Four thousand, seven hundred and ninety ima...

Descripción completa

Detalles Bibliográficos
Autores principales: Li, Yaodi, Xue, Jianxin, Wang, Kai, Zhang, Mingyue, Li, Zezhen
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9498786/
https://www.ncbi.nlm.nih.gov/pubmed/36141042
http://dx.doi.org/10.3390/foods11182915
_version_ 1784794846644404224
author Li, Yaodi
Xue, Jianxin
Wang, Kai
Zhang, Mingyue
Li, Zezhen
author_facet Li, Yaodi
Xue, Jianxin
Wang, Kai
Zhang, Mingyue
Li, Zezhen
author_sort Li, Yaodi
collection PubMed
description A fresh-cut cauliflower surface defect detection and classification model based on a convolutional neural network with transfer learning is proposed to address the low efficiency of the traditional manual detection of fresh-cut cauliflower surface defects. Four thousand, seven hundred and ninety images of fresh-cut cauliflower were collected in four categories including healthy, diseased, browning, and mildewed. In this study, the pre-trained MobileNet model was fine-tuned to improve training speed and accuracy. The model optimization was achieved by selecting the optimal combination of training hyper-parameters and adjusting the different number of frozen layers; the parameters downloaded from ImageNet were optimally integrated with the parameters trained on our own model. A comparison of test results was presented by combining VGG19, InceptionV3, and NASNetMobile. Experimental results showed that the MobileNet model’s loss value was 0.033, its accuracy was 99.27%, and the F1 score was 99.24% on the test set when the learning rate was set as 0.001, dropout was set as 0.5, and the frozen layer was set as 80. This model had better capability and stronger robustness and was more suitable for the surface defect detection of fresh-cut cauliflower when compared with other models, and the experiment’s results demonstrated the method’s feasibility.
format Online
Article
Text
id pubmed-9498786
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-94987862022-09-23 Surface Defect Detection of Fresh-Cut Cauliflowers Based on Convolutional Neural Network with Transfer Learning Li, Yaodi Xue, Jianxin Wang, Kai Zhang, Mingyue Li, Zezhen Foods Article A fresh-cut cauliflower surface defect detection and classification model based on a convolutional neural network with transfer learning is proposed to address the low efficiency of the traditional manual detection of fresh-cut cauliflower surface defects. Four thousand, seven hundred and ninety images of fresh-cut cauliflower were collected in four categories including healthy, diseased, browning, and mildewed. In this study, the pre-trained MobileNet model was fine-tuned to improve training speed and accuracy. The model optimization was achieved by selecting the optimal combination of training hyper-parameters and adjusting the different number of frozen layers; the parameters downloaded from ImageNet were optimally integrated with the parameters trained on our own model. A comparison of test results was presented by combining VGG19, InceptionV3, and NASNetMobile. Experimental results showed that the MobileNet model’s loss value was 0.033, its accuracy was 99.27%, and the F1 score was 99.24% on the test set when the learning rate was set as 0.001, dropout was set as 0.5, and the frozen layer was set as 80. This model had better capability and stronger robustness and was more suitable for the surface defect detection of fresh-cut cauliflower when compared with other models, and the experiment’s results demonstrated the method’s feasibility. MDPI 2022-09-19 /pmc/articles/PMC9498786/ /pubmed/36141042 http://dx.doi.org/10.3390/foods11182915 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Li, Yaodi
Xue, Jianxin
Wang, Kai
Zhang, Mingyue
Li, Zezhen
Surface Defect Detection of Fresh-Cut Cauliflowers Based on Convolutional Neural Network with Transfer Learning
title Surface Defect Detection of Fresh-Cut Cauliflowers Based on Convolutional Neural Network with Transfer Learning
title_full Surface Defect Detection of Fresh-Cut Cauliflowers Based on Convolutional Neural Network with Transfer Learning
title_fullStr Surface Defect Detection of Fresh-Cut Cauliflowers Based on Convolutional Neural Network with Transfer Learning
title_full_unstemmed Surface Defect Detection of Fresh-Cut Cauliflowers Based on Convolutional Neural Network with Transfer Learning
title_short Surface Defect Detection of Fresh-Cut Cauliflowers Based on Convolutional Neural Network with Transfer Learning
title_sort surface defect detection of fresh-cut cauliflowers based on convolutional neural network with transfer learning
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9498786/
https://www.ncbi.nlm.nih.gov/pubmed/36141042
http://dx.doi.org/10.3390/foods11182915
work_keys_str_mv AT liyaodi surfacedefectdetectionoffreshcutcauliflowersbasedonconvolutionalneuralnetworkwithtransferlearning
AT xuejianxin surfacedefectdetectionoffreshcutcauliflowersbasedonconvolutionalneuralnetworkwithtransferlearning
AT wangkai surfacedefectdetectionoffreshcutcauliflowersbasedonconvolutionalneuralnetworkwithtransferlearning
AT zhangmingyue surfacedefectdetectionoffreshcutcauliflowersbasedonconvolutionalneuralnetworkwithtransferlearning
AT lizezhen surfacedefectdetectionoffreshcutcauliflowersbasedonconvolutionalneuralnetworkwithtransferlearning