Cargando…
Automatic Detection of Small Sample Apple Surface Defects Using ASDINet
The appearance quality of apples directly affects their price. To realize apple grading automatically, it is necessary to find an effective method for detecting apple surface defects. Aiming at the problem of a low recognition rate in apple surface defect detection under small sample conditions, we...
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/PMC10048236/ https://www.ncbi.nlm.nih.gov/pubmed/36981277 http://dx.doi.org/10.3390/foods12061352 |
_version_ | 1785014133226209280 |
---|---|
author | Hu, Xiangyun Hu, Yaowen Cai, Weiwei Xu, Zhuonong Zhao, Peirui Liu, Xuyao She, Qiutong Hu, Yahui Li, Johnny |
author_facet | Hu, Xiangyun Hu, Yaowen Cai, Weiwei Xu, Zhuonong Zhao, Peirui Liu, Xuyao She, Qiutong Hu, Yahui Li, Johnny |
author_sort | Hu, Xiangyun |
collection | PubMed |
description | The appearance quality of apples directly affects their price. To realize apple grading automatically, it is necessary to find an effective method for detecting apple surface defects. Aiming at the problem of a low recognition rate in apple surface defect detection under small sample conditions, we designed an apple surface defect detection network (ASDINet) suitable for small sample learning. The self-developed apple sorting system collected RGB images of 50 apple samples for model verification, including non-defective and defective apples (rot, disease, lacerations, and mechanical damage). First, a segmentation network (AU-Net) with a stronger ability to capture small details was designed, and a Dep-conv module that could expand the feature capacity of the receptive field was inserted in its down-sampling path. Among them, the number of convolutional layers in the single-layer convolutional module was positively correlated with the network depth. Next, to achieve real-time segmentation, we replaced the flooding of feature maps with mask output in the 13th layer of the network. Finally, we designed a global decision module (GDM) with global properties, which inserted the global spatial domain attention mechanism (GSAM) and performed fast prediction on abnormal images through the input of masks. In the comparison experiment with state-of-the-art models, our network achieved an AP of 98.8%, and a 97.75% F1-score, which were higher than those of most of the state-of-the-art networks; the detection speed reached 39ms per frame, achieving accuracy-easy deployment and substantial trade-offs that are in line with actual production needs. In the data sensitivity experiment, the ASDINet achieved results that met the production needs under the training of 42 defective pictures. In addition, we also discussed the effect of the ASDINet in actual production, and the test results showed that our proposed network demonstrated excellent performance consistent with the theory in actual production. |
format | Online Article Text |
id | pubmed-10048236 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-100482362023-03-29 Automatic Detection of Small Sample Apple Surface Defects Using ASDINet Hu, Xiangyun Hu, Yaowen Cai, Weiwei Xu, Zhuonong Zhao, Peirui Liu, Xuyao She, Qiutong Hu, Yahui Li, Johnny Foods Article The appearance quality of apples directly affects their price. To realize apple grading automatically, it is necessary to find an effective method for detecting apple surface defects. Aiming at the problem of a low recognition rate in apple surface defect detection under small sample conditions, we designed an apple surface defect detection network (ASDINet) suitable for small sample learning. The self-developed apple sorting system collected RGB images of 50 apple samples for model verification, including non-defective and defective apples (rot, disease, lacerations, and mechanical damage). First, a segmentation network (AU-Net) with a stronger ability to capture small details was designed, and a Dep-conv module that could expand the feature capacity of the receptive field was inserted in its down-sampling path. Among them, the number of convolutional layers in the single-layer convolutional module was positively correlated with the network depth. Next, to achieve real-time segmentation, we replaced the flooding of feature maps with mask output in the 13th layer of the network. Finally, we designed a global decision module (GDM) with global properties, which inserted the global spatial domain attention mechanism (GSAM) and performed fast prediction on abnormal images through the input of masks. In the comparison experiment with state-of-the-art models, our network achieved an AP of 98.8%, and a 97.75% F1-score, which were higher than those of most of the state-of-the-art networks; the detection speed reached 39ms per frame, achieving accuracy-easy deployment and substantial trade-offs that are in line with actual production needs. In the data sensitivity experiment, the ASDINet achieved results that met the production needs under the training of 42 defective pictures. In addition, we also discussed the effect of the ASDINet in actual production, and the test results showed that our proposed network demonstrated excellent performance consistent with the theory in actual production. MDPI 2023-03-22 /pmc/articles/PMC10048236/ /pubmed/36981277 http://dx.doi.org/10.3390/foods12061352 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 Hu, Xiangyun Hu, Yaowen Cai, Weiwei Xu, Zhuonong Zhao, Peirui Liu, Xuyao She, Qiutong Hu, Yahui Li, Johnny Automatic Detection of Small Sample Apple Surface Defects Using ASDINet |
title | Automatic Detection of Small Sample Apple Surface Defects Using ASDINet |
title_full | Automatic Detection of Small Sample Apple Surface Defects Using ASDINet |
title_fullStr | Automatic Detection of Small Sample Apple Surface Defects Using ASDINet |
title_full_unstemmed | Automatic Detection of Small Sample Apple Surface Defects Using ASDINet |
title_short | Automatic Detection of Small Sample Apple Surface Defects Using ASDINet |
title_sort | automatic detection of small sample apple surface defects using asdinet |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10048236/ https://www.ncbi.nlm.nih.gov/pubmed/36981277 http://dx.doi.org/10.3390/foods12061352 |
work_keys_str_mv | AT huxiangyun automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet AT huyaowen automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet AT caiweiwei automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet AT xuzhuonong automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet AT zhaopeirui automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet AT liuxuyao automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet AT sheqiutong automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet AT huyahui automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet AT lijohnny automaticdetectionofsmallsampleapplesurfacedefectsusingasdinet |