Cargando…
Research on Automatic Classification and Detection of Mutton Multi-Parts Based on Swin-Transformer
In order to realize the real-time classification and detection of mutton multi-part, this paper proposes a mutton multi-part classification and detection method based on the Swin-Transformer. First, image augmentation techniques are adopted to increase the sample size of the sheep thoracic vertebrae...
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/PMC10137908/ https://www.ncbi.nlm.nih.gov/pubmed/37107437 http://dx.doi.org/10.3390/foods12081642 |
_version_ | 1785032579734306816 |
---|---|
author | Zhao, Shida Bai, Zongchun Wang, Shucai Gu, Yue |
author_facet | Zhao, Shida Bai, Zongchun Wang, Shucai Gu, Yue |
author_sort | Zhao, Shida |
collection | PubMed |
description | In order to realize the real-time classification and detection of mutton multi-part, this paper proposes a mutton multi-part classification and detection method based on the Swin-Transformer. First, image augmentation techniques are adopted to increase the sample size of the sheep thoracic vertebrae and scapulae to overcome the problems of long-tailed distribution and non-equilibrium of the dataset. Then, the performances of three structural variants of the Swin-Transformer (Swin-T, Swin-B, and Swin-S) are compared through transfer learning, and the optimal model is obtained. On this basis, the robustness, generalization, and anti-occlusion abilities of the model are tested and analyzed using the significant multiscale features of the lumbar vertebrae and thoracic vertebrae, by simulating different lighting environments and occlusion scenarios, respectively. Furthermore, the model is compared with five methods commonly used in object detection tasks, namely Sparser-CNN, YoloV5, RetinaNet, CenterNet, and HRNet, and its real-time performance is tested under the following pixel resolutions: 576 × 576, 672 × 672, and 768 × 768. The results show that the proposed method achieves a mean average precision (mAP) of 0.943, while the mAP for the robustness, generalization, and anti-occlusion tests are 0.913, 0.857, and 0.845, respectively. Moreover, the model outperforms the five aforementioned methods, with mAP values that are higher by 0.009, 0.027, 0.041, 0.050, and 0.113, respectively. The average processing time of a single image with this model is 0.25 s, which meets the production line requirements. In summary, this study presents an efficient and intelligent mutton multi-part classification and detection method, which can provide technical support for the automatic sorting of mutton as well as for the processing of other livestock meat. |
format | Online Article Text |
id | pubmed-10137908 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-101379082023-04-28 Research on Automatic Classification and Detection of Mutton Multi-Parts Based on Swin-Transformer Zhao, Shida Bai, Zongchun Wang, Shucai Gu, Yue Foods Article In order to realize the real-time classification and detection of mutton multi-part, this paper proposes a mutton multi-part classification and detection method based on the Swin-Transformer. First, image augmentation techniques are adopted to increase the sample size of the sheep thoracic vertebrae and scapulae to overcome the problems of long-tailed distribution and non-equilibrium of the dataset. Then, the performances of three structural variants of the Swin-Transformer (Swin-T, Swin-B, and Swin-S) are compared through transfer learning, and the optimal model is obtained. On this basis, the robustness, generalization, and anti-occlusion abilities of the model are tested and analyzed using the significant multiscale features of the lumbar vertebrae and thoracic vertebrae, by simulating different lighting environments and occlusion scenarios, respectively. Furthermore, the model is compared with five methods commonly used in object detection tasks, namely Sparser-CNN, YoloV5, RetinaNet, CenterNet, and HRNet, and its real-time performance is tested under the following pixel resolutions: 576 × 576, 672 × 672, and 768 × 768. The results show that the proposed method achieves a mean average precision (mAP) of 0.943, while the mAP for the robustness, generalization, and anti-occlusion tests are 0.913, 0.857, and 0.845, respectively. Moreover, the model outperforms the five aforementioned methods, with mAP values that are higher by 0.009, 0.027, 0.041, 0.050, and 0.113, respectively. The average processing time of a single image with this model is 0.25 s, which meets the production line requirements. In summary, this study presents an efficient and intelligent mutton multi-part classification and detection method, which can provide technical support for the automatic sorting of mutton as well as for the processing of other livestock meat. MDPI 2023-04-14 /pmc/articles/PMC10137908/ /pubmed/37107437 http://dx.doi.org/10.3390/foods12081642 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 Zhao, Shida Bai, Zongchun Wang, Shucai Gu, Yue Research on Automatic Classification and Detection of Mutton Multi-Parts Based on Swin-Transformer |
title | Research on Automatic Classification and Detection of Mutton Multi-Parts Based on Swin-Transformer |
title_full | Research on Automatic Classification and Detection of Mutton Multi-Parts Based on Swin-Transformer |
title_fullStr | Research on Automatic Classification and Detection of Mutton Multi-Parts Based on Swin-Transformer |
title_full_unstemmed | Research on Automatic Classification and Detection of Mutton Multi-Parts Based on Swin-Transformer |
title_short | Research on Automatic Classification and Detection of Mutton Multi-Parts Based on Swin-Transformer |
title_sort | research on automatic classification and detection of mutton multi-parts based on swin-transformer |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10137908/ https://www.ncbi.nlm.nih.gov/pubmed/37107437 http://dx.doi.org/10.3390/foods12081642 |
work_keys_str_mv | AT zhaoshida researchonautomaticclassificationanddetectionofmuttonmultipartsbasedonswintransformer AT baizongchun researchonautomaticclassificationanddetectionofmuttonmultipartsbasedonswintransformer AT wangshucai researchonautomaticclassificationanddetectionofmuttonmultipartsbasedonswintransformer AT guyue researchonautomaticclassificationanddetectionofmuttonmultipartsbasedonswintransformer |