Cargando…

Real-Time Grading of Defect Apples Using Semantic Segmentation Combination with a Pruned YOLO V4 Network

At present, the apple grading system usually conveys apples by a belt or rollers. This usually leads to low hardness or expensive fruits being bruised, resulting in economic losses. In order to realize real-time detection and classification of high-quality apples, separate fruit trays were designed...

Descripción completa

Detalles Bibliográficos
Autores principales: Liang, Xiaoting, Jia, Xueying, Huang, Wenqian, He, Xin, Li, Lianjie, Fan, Shuxiang, Li, Jiangbo, Zhao, Chunjiang, Zhang, Chi
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9563605/
https://www.ncbi.nlm.nih.gov/pubmed/36230226
http://dx.doi.org/10.3390/foods11193150
_version_ 1784808444285419520
author Liang, Xiaoting
Jia, Xueying
Huang, Wenqian
He, Xin
Li, Lianjie
Fan, Shuxiang
Li, Jiangbo
Zhao, Chunjiang
Zhang, Chi
author_facet Liang, Xiaoting
Jia, Xueying
Huang, Wenqian
He, Xin
Li, Lianjie
Fan, Shuxiang
Li, Jiangbo
Zhao, Chunjiang
Zhang, Chi
author_sort Liang, Xiaoting
collection PubMed
description At present, the apple grading system usually conveys apples by a belt or rollers. This usually leads to low hardness or expensive fruits being bruised, resulting in economic losses. In order to realize real-time detection and classification of high-quality apples, separate fruit trays were designed to convey apples and used to prevent apples from being bruised during image acquisition. A semantic segmentation method based on the BiSeNet V2 deep learning network was proposed to segment the defective parts of defective apples. BiSeNet V2 for apple defect detection obtained a slightly better result in MPA with a value of 99.66%, which was 0.14 and 0.19 percentage points higher than DAnet and Unet, respectively. A model pruning method was used to optimize the structure of the YOLO V4 network. The detection accuracy of defect regions in apple images was further improved by the pruned YOLO V4 network. Then, a surface mapping method between the defect area in apple images and the actual defect area was proposed to accurately calculate the defect area. Finally, apples on separate fruit trays were sorted according to the number and area of defects in the apple images. The experimental results showed that the average accuracy of apple classification was 92.42%, and the F1 score was 94.31. In commercial separate fruit tray grading and sorting machines, it has great application potential.
format Online
Article
Text
id pubmed-9563605
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-95636052022-10-15 Real-Time Grading of Defect Apples Using Semantic Segmentation Combination with a Pruned YOLO V4 Network Liang, Xiaoting Jia, Xueying Huang, Wenqian He, Xin Li, Lianjie Fan, Shuxiang Li, Jiangbo Zhao, Chunjiang Zhang, Chi Foods Article At present, the apple grading system usually conveys apples by a belt or rollers. This usually leads to low hardness or expensive fruits being bruised, resulting in economic losses. In order to realize real-time detection and classification of high-quality apples, separate fruit trays were designed to convey apples and used to prevent apples from being bruised during image acquisition. A semantic segmentation method based on the BiSeNet V2 deep learning network was proposed to segment the defective parts of defective apples. BiSeNet V2 for apple defect detection obtained a slightly better result in MPA with a value of 99.66%, which was 0.14 and 0.19 percentage points higher than DAnet and Unet, respectively. A model pruning method was used to optimize the structure of the YOLO V4 network. The detection accuracy of defect regions in apple images was further improved by the pruned YOLO V4 network. Then, a surface mapping method between the defect area in apple images and the actual defect area was proposed to accurately calculate the defect area. Finally, apples on separate fruit trays were sorted according to the number and area of defects in the apple images. The experimental results showed that the average accuracy of apple classification was 92.42%, and the F1 score was 94.31. In commercial separate fruit tray grading and sorting machines, it has great application potential. MDPI 2022-10-10 /pmc/articles/PMC9563605/ /pubmed/36230226 http://dx.doi.org/10.3390/foods11193150 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
Liang, Xiaoting
Jia, Xueying
Huang, Wenqian
He, Xin
Li, Lianjie
Fan, Shuxiang
Li, Jiangbo
Zhao, Chunjiang
Zhang, Chi
Real-Time Grading of Defect Apples Using Semantic Segmentation Combination with a Pruned YOLO V4 Network
title Real-Time Grading of Defect Apples Using Semantic Segmentation Combination with a Pruned YOLO V4 Network
title_full Real-Time Grading of Defect Apples Using Semantic Segmentation Combination with a Pruned YOLO V4 Network
title_fullStr Real-Time Grading of Defect Apples Using Semantic Segmentation Combination with a Pruned YOLO V4 Network
title_full_unstemmed Real-Time Grading of Defect Apples Using Semantic Segmentation Combination with a Pruned YOLO V4 Network
title_short Real-Time Grading of Defect Apples Using Semantic Segmentation Combination with a Pruned YOLO V4 Network
title_sort real-time grading of defect apples using semantic segmentation combination with a pruned yolo v4 network
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9563605/
https://www.ncbi.nlm.nih.gov/pubmed/36230226
http://dx.doi.org/10.3390/foods11193150
work_keys_str_mv AT liangxiaoting realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network
AT jiaxueying realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network
AT huangwenqian realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network
AT hexin realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network
AT lilianjie realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network
AT fanshuxiang realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network
AT lijiangbo realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network
AT zhaochunjiang realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network
AT zhangchi realtimegradingofdefectapplesusingsemanticsegmentationcombinationwithaprunedyolov4network