Cargando…
Surface Defect Detection System for Carrot Combine Harvest Based on Multi-Stage Knowledge Distillation
Carrots are a type of vegetable with high nutrition. Before entering the market, the surface defect detection and sorting of carrots can greatly improve food safety and quality. To detect defects on the surfaces of carrots during combine harvest stage, this study proposed an improved knowledge disti...
Autores principales: | , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9956058/ https://www.ncbi.nlm.nih.gov/pubmed/36832869 http://dx.doi.org/10.3390/foods12040793 |
_version_ | 1784894499480141824 |
---|---|
author | Zhou, Wenqi Song, Chao Song, Kai Wen, Nuan Sun, Xiaobo Gao, Pengxiang |
author_facet | Zhou, Wenqi Song, Chao Song, Kai Wen, Nuan Sun, Xiaobo Gao, Pengxiang |
author_sort | Zhou, Wenqi |
collection | PubMed |
description | Carrots are a type of vegetable with high nutrition. Before entering the market, the surface defect detection and sorting of carrots can greatly improve food safety and quality. To detect defects on the surfaces of carrots during combine harvest stage, this study proposed an improved knowledge distillation network structure that took yolo-v5s as the teacher network and a lightweight network that replaced the backbone network with mobilenetv2 and completed channel pruning as a student network (mobile-slimv5s). To make the improved student network adapt to the image blur caused by the vibration of the carrot combine harvester, we put the ordinary dataset Dataset (T) and dataset Dataset (S), which contains motion blurring treatment, into the teacher network and the improved lightweight network, respectively, for learning. By connecting multi-stage features of the teacher network, knowledge distillation was carried out, and different weight values were set for each feature to realize that the multi-stage features of the teacher network guide the single-layer output of the student network. Finally, the optimal lightweight network mobile-slimv5s was established, with a network model size of 5.37 MB. The experimental results show that when the learning rate is set to 0.0001, the batch size is set to 64, and the dropout is set to 0.65, the model accuracy of mobile-slimv5s is 90.7%, which is significantly higher than other algorithms. It can synchronously realize carrot harvesting and surface defect detection. This study laid a theoretical foundation for applying knowledge distillation structures to the simultaneous operations of crop combine harvesting and surface defect detection in a field environment. This study effectively improves the accuracy of crop sorting in the field and contributes to the development of smart agriculture. |
format | Online Article Text |
id | pubmed-9956058 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-99560582023-02-25 Surface Defect Detection System for Carrot Combine Harvest Based on Multi-Stage Knowledge Distillation Zhou, Wenqi Song, Chao Song, Kai Wen, Nuan Sun, Xiaobo Gao, Pengxiang Foods Article Carrots are a type of vegetable with high nutrition. Before entering the market, the surface defect detection and sorting of carrots can greatly improve food safety and quality. To detect defects on the surfaces of carrots during combine harvest stage, this study proposed an improved knowledge distillation network structure that took yolo-v5s as the teacher network and a lightweight network that replaced the backbone network with mobilenetv2 and completed channel pruning as a student network (mobile-slimv5s). To make the improved student network adapt to the image blur caused by the vibration of the carrot combine harvester, we put the ordinary dataset Dataset (T) and dataset Dataset (S), which contains motion blurring treatment, into the teacher network and the improved lightweight network, respectively, for learning. By connecting multi-stage features of the teacher network, knowledge distillation was carried out, and different weight values were set for each feature to realize that the multi-stage features of the teacher network guide the single-layer output of the student network. Finally, the optimal lightweight network mobile-slimv5s was established, with a network model size of 5.37 MB. The experimental results show that when the learning rate is set to 0.0001, the batch size is set to 64, and the dropout is set to 0.65, the model accuracy of mobile-slimv5s is 90.7%, which is significantly higher than other algorithms. It can synchronously realize carrot harvesting and surface defect detection. This study laid a theoretical foundation for applying knowledge distillation structures to the simultaneous operations of crop combine harvesting and surface defect detection in a field environment. This study effectively improves the accuracy of crop sorting in the field and contributes to the development of smart agriculture. MDPI 2023-02-13 /pmc/articles/PMC9956058/ /pubmed/36832869 http://dx.doi.org/10.3390/foods12040793 Text en © 2023 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 Zhou, Wenqi Song, Chao Song, Kai Wen, Nuan Sun, Xiaobo Gao, Pengxiang Surface Defect Detection System for Carrot Combine Harvest Based on Multi-Stage Knowledge Distillation |
title | Surface Defect Detection System for Carrot Combine Harvest Based on Multi-Stage Knowledge Distillation |
title_full | Surface Defect Detection System for Carrot Combine Harvest Based on Multi-Stage Knowledge Distillation |
title_fullStr | Surface Defect Detection System for Carrot Combine Harvest Based on Multi-Stage Knowledge Distillation |
title_full_unstemmed | Surface Defect Detection System for Carrot Combine Harvest Based on Multi-Stage Knowledge Distillation |
title_short | Surface Defect Detection System for Carrot Combine Harvest Based on Multi-Stage Knowledge Distillation |
title_sort | surface defect detection system for carrot combine harvest based on multi-stage knowledge distillation |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9956058/ https://www.ncbi.nlm.nih.gov/pubmed/36832869 http://dx.doi.org/10.3390/foods12040793 |
work_keys_str_mv | AT zhouwenqi surfacedefectdetectionsystemforcarrotcombineharvestbasedonmultistageknowledgedistillation AT songchao surfacedefectdetectionsystemforcarrotcombineharvestbasedonmultistageknowledgedistillation AT songkai surfacedefectdetectionsystemforcarrotcombineharvestbasedonmultistageknowledgedistillation AT wennuan surfacedefectdetectionsystemforcarrotcombineharvestbasedonmultistageknowledgedistillation AT sunxiaobo surfacedefectdetectionsystemforcarrotcombineharvestbasedonmultistageknowledgedistillation AT gaopengxiang surfacedefectdetectionsystemforcarrotcombineharvestbasedonmultistageknowledgedistillation |