Cargando…
Development of effective model for non-destructive detection of defective kiwifruit based on graded lines
The accurate detection of external defects in kiwifruit is an important part of postharvest quality assessment. Previous studies have not considered the problems posed by the actual grading environment. In this study, we designed a novel approach based on improved Yolov5 to achieve real-time and eff...
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/PMC10486894/ https://www.ncbi.nlm.nih.gov/pubmed/37692416 http://dx.doi.org/10.3389/fpls.2023.1170221 |
_version_ | 1785103104716308480 |
---|---|
author | Wang, Feiyun Lv, Chengxu Dong, Lizhong Li, Xilong Guo, Pengfei Zhao, Bo |
author_facet | Wang, Feiyun Lv, Chengxu Dong, Lizhong Li, Xilong Guo, Pengfei Zhao, Bo |
author_sort | Wang, Feiyun |
collection | PubMed |
description | The accurate detection of external defects in kiwifruit is an important part of postharvest quality assessment. Previous studies have not considered the problems posed by the actual grading environment. In this study, we designed a novel approach based on improved Yolov5 to achieve real-time and efficient non-destructive detection of multiple defect categories in kiwifruit. First, a kiwifruit image acquisition device based on grading lines was developed to enhance the image acquisition. Subsequently, a kiwifruit dataset was constructed based on the external defect characteristics and a new data enhancement method was proposed to augment the kiwifruit samples. Thereafter, the SPD-Conv and DW-Conv modules were combined to improve Yolov5s, with EIOU as the loss calculation function. The results demonstrated that the improved model training loss value was 0.013 lower, the convergence was accelerated, the number of parameters was reduced, and the computational effort was increased. The detection accuracies of the samples in the test set, which included healthy, leaf-rubbing damaged, healed cuts or scarred, and sunburned samples, were 98.8%, 98.7%, 97.6%, and 95.9%, respectively, with an overall detection accuracy of 97.7%. The detection time was 8.0 ms, thereby meeting real-time sorting demands. The average detection accuracy and model size of SSD, Yolov5s, Yolov7, and Yolov5-Ours were compared. When the confidence threshold was 0.5, the detection accuracy of Yolov5-Ours was 10% and 6.4% higher than that of SSD and Yolov5s, respectively. In terms of the model size, Yolov5-Ours was approximately 6.5- and 4-fold smaller than SSD and Yolov7, respectively. Thus, Yolov5-Ours achieved the highest accuracy, adaptability, and robustness for the detection of all kiwifruit categories as well as a small volume and portability. These results can provide technical support for the non-destructive detection and grading of agricultural products in the future. |
format | Online Article Text |
id | pubmed-10486894 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-104868942023-09-09 Development of effective model for non-destructive detection of defective kiwifruit based on graded lines Wang, Feiyun Lv, Chengxu Dong, Lizhong Li, Xilong Guo, Pengfei Zhao, Bo Front Plant Sci Plant Science The accurate detection of external defects in kiwifruit is an important part of postharvest quality assessment. Previous studies have not considered the problems posed by the actual grading environment. In this study, we designed a novel approach based on improved Yolov5 to achieve real-time and efficient non-destructive detection of multiple defect categories in kiwifruit. First, a kiwifruit image acquisition device based on grading lines was developed to enhance the image acquisition. Subsequently, a kiwifruit dataset was constructed based on the external defect characteristics and a new data enhancement method was proposed to augment the kiwifruit samples. Thereafter, the SPD-Conv and DW-Conv modules were combined to improve Yolov5s, with EIOU as the loss calculation function. The results demonstrated that the improved model training loss value was 0.013 lower, the convergence was accelerated, the number of parameters was reduced, and the computational effort was increased. The detection accuracies of the samples in the test set, which included healthy, leaf-rubbing damaged, healed cuts or scarred, and sunburned samples, were 98.8%, 98.7%, 97.6%, and 95.9%, respectively, with an overall detection accuracy of 97.7%. The detection time was 8.0 ms, thereby meeting real-time sorting demands. The average detection accuracy and model size of SSD, Yolov5s, Yolov7, and Yolov5-Ours were compared. When the confidence threshold was 0.5, the detection accuracy of Yolov5-Ours was 10% and 6.4% higher than that of SSD and Yolov5s, respectively. In terms of the model size, Yolov5-Ours was approximately 6.5- and 4-fold smaller than SSD and Yolov7, respectively. Thus, Yolov5-Ours achieved the highest accuracy, adaptability, and robustness for the detection of all kiwifruit categories as well as a small volume and portability. These results can provide technical support for the non-destructive detection and grading of agricultural products in the future. Frontiers Media S.A. 2023-08-25 /pmc/articles/PMC10486894/ /pubmed/37692416 http://dx.doi.org/10.3389/fpls.2023.1170221 Text en Copyright © 2023 Wang, Lv, Dong, Li, Guo and Zhao 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 | Plant Science Wang, Feiyun Lv, Chengxu Dong, Lizhong Li, Xilong Guo, Pengfei Zhao, Bo Development of effective model for non-destructive detection of defective kiwifruit based on graded lines |
title | Development of effective model for non-destructive detection of defective kiwifruit based on graded lines |
title_full | Development of effective model for non-destructive detection of defective kiwifruit based on graded lines |
title_fullStr | Development of effective model for non-destructive detection of defective kiwifruit based on graded lines |
title_full_unstemmed | Development of effective model for non-destructive detection of defective kiwifruit based on graded lines |
title_short | Development of effective model for non-destructive detection of defective kiwifruit based on graded lines |
title_sort | development of effective model for non-destructive detection of defective kiwifruit based on graded lines |
topic | Plant Science |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10486894/ https://www.ncbi.nlm.nih.gov/pubmed/37692416 http://dx.doi.org/10.3389/fpls.2023.1170221 |
work_keys_str_mv | AT wangfeiyun developmentofeffectivemodelfornondestructivedetectionofdefectivekiwifruitbasedongradedlines AT lvchengxu developmentofeffectivemodelfornondestructivedetectionofdefectivekiwifruitbasedongradedlines AT donglizhong developmentofeffectivemodelfornondestructivedetectionofdefectivekiwifruitbasedongradedlines AT lixilong developmentofeffectivemodelfornondestructivedetectionofdefectivekiwifruitbasedongradedlines AT guopengfei developmentofeffectivemodelfornondestructivedetectionofdefectivekiwifruitbasedongradedlines AT zhaobo developmentofeffectivemodelfornondestructivedetectionofdefectivekiwifruitbasedongradedlines |