Cargando…
Damage Detection of Unwashed Eggs through Video and Deep Learning
Broken eggs can be harmful to human health but are also unfavorable for transportation and production. This study proposes a video-based detection model for the real-time detection of broken eggs regarding unwashed eggs in dynamic scenes. A system capable of the continuous rotation and translation o...
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/PMC10252892/ https://www.ncbi.nlm.nih.gov/pubmed/37297424 http://dx.doi.org/10.3390/foods12112179 |
_version_ | 1785056278689611776 |
---|---|
author | Huang, Yuan Luo, Yangfan Cao, Yangyang Lin, Xu Wei, Hongfei Wu, Mengcheng Yang, Xiaonan Zhao, Zuoxi |
author_facet | Huang, Yuan Luo, Yangfan Cao, Yangyang Lin, Xu Wei, Hongfei Wu, Mengcheng Yang, Xiaonan Zhao, Zuoxi |
author_sort | Huang, Yuan |
collection | PubMed |
description | Broken eggs can be harmful to human health but are also unfavorable for transportation and production. This study proposes a video-based detection model for the real-time detection of broken eggs regarding unwashed eggs in dynamic scenes. A system capable of the continuous rotation and translation of eggs was designed to display the entire surface of an egg. We added CA into the backbone network, fusing BiFPN and GSConv with the neck to improve YOLOv5. The improved YOLOV5 model uses intact and broken eggs for training. In order to accurately judge the category of eggs in the process of movement, ByteTrack was used to track the eggs and assign an ID to each egg. The detection results of the different frames of YOLOv5 in the video were associated by ID, and we used the method of five consecutive frames to determine the egg category. The experimental results show that, when compared to the original YOLOv5, the improved YOLOv5 model improves the precision of detecting broken eggs by 2.2%, recall by 4.4%, and mAP:0.5 by 4.1%. The experimental field results showed an accuracy of 96.4% when the improved YOLOv5 (combined with ByteTrack) was used for the video detection of broken eggs. The video-based model can detect eggs that are always in motion, which is more suitable for actual detection than a single image-based detection model. In addition, this study provides a reference for the research of video-based non-destructive testing. |
format | Online Article Text |
id | pubmed-10252892 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-102528922023-06-10 Damage Detection of Unwashed Eggs through Video and Deep Learning Huang, Yuan Luo, Yangfan Cao, Yangyang Lin, Xu Wei, Hongfei Wu, Mengcheng Yang, Xiaonan Zhao, Zuoxi Foods Article Broken eggs can be harmful to human health but are also unfavorable for transportation and production. This study proposes a video-based detection model for the real-time detection of broken eggs regarding unwashed eggs in dynamic scenes. A system capable of the continuous rotation and translation of eggs was designed to display the entire surface of an egg. We added CA into the backbone network, fusing BiFPN and GSConv with the neck to improve YOLOv5. The improved YOLOV5 model uses intact and broken eggs for training. In order to accurately judge the category of eggs in the process of movement, ByteTrack was used to track the eggs and assign an ID to each egg. The detection results of the different frames of YOLOv5 in the video were associated by ID, and we used the method of five consecutive frames to determine the egg category. The experimental results show that, when compared to the original YOLOv5, the improved YOLOv5 model improves the precision of detecting broken eggs by 2.2%, recall by 4.4%, and mAP:0.5 by 4.1%. The experimental field results showed an accuracy of 96.4% when the improved YOLOv5 (combined with ByteTrack) was used for the video detection of broken eggs. The video-based model can detect eggs that are always in motion, which is more suitable for actual detection than a single image-based detection model. In addition, this study provides a reference for the research of video-based non-destructive testing. MDPI 2023-05-29 /pmc/articles/PMC10252892/ /pubmed/37297424 http://dx.doi.org/10.3390/foods12112179 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 Huang, Yuan Luo, Yangfan Cao, Yangyang Lin, Xu Wei, Hongfei Wu, Mengcheng Yang, Xiaonan Zhao, Zuoxi Damage Detection of Unwashed Eggs through Video and Deep Learning |
title | Damage Detection of Unwashed Eggs through Video and Deep Learning |
title_full | Damage Detection of Unwashed Eggs through Video and Deep Learning |
title_fullStr | Damage Detection of Unwashed Eggs through Video and Deep Learning |
title_full_unstemmed | Damage Detection of Unwashed Eggs through Video and Deep Learning |
title_short | Damage Detection of Unwashed Eggs through Video and Deep Learning |
title_sort | damage detection of unwashed eggs through video and deep learning |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10252892/ https://www.ncbi.nlm.nih.gov/pubmed/37297424 http://dx.doi.org/10.3390/foods12112179 |
work_keys_str_mv | AT huangyuan damagedetectionofunwashedeggsthroughvideoanddeeplearning AT luoyangfan damagedetectionofunwashedeggsthroughvideoanddeeplearning AT caoyangyang damagedetectionofunwashedeggsthroughvideoanddeeplearning AT linxu damagedetectionofunwashedeggsthroughvideoanddeeplearning AT weihongfei damagedetectionofunwashedeggsthroughvideoanddeeplearning AT wumengcheng damagedetectionofunwashedeggsthroughvideoanddeeplearning AT yangxiaonan damagedetectionofunwashedeggsthroughvideoanddeeplearning AT zhaozuoxi damagedetectionofunwashedeggsthroughvideoanddeeplearning |