Cargando…

A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model

An increasing number of researchers are using deep learning technology to classify and process garbage in rural areas, and have achieved certain results. However, the existing garbage detection models still have problems such as high complexity, missed detection of small targets, low detection accur...

Descripción completa

Detalles Bibliográficos
Autores principales: Jiang, Xiangkui, Hu, Haochang, Qin, Yuemei, Hu, Yihui, Ding, Rui
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9540284/
https://www.ncbi.nlm.nih.gov/pubmed/36207371
http://dx.doi.org/10.1038/s41598-022-20983-1
_version_ 1784803677763010560
author Jiang, Xiangkui
Hu, Haochang
Qin, Yuemei
Hu, Yihui
Ding, Rui
author_facet Jiang, Xiangkui
Hu, Haochang
Qin, Yuemei
Hu, Yihui
Ding, Rui
author_sort Jiang, Xiangkui
collection PubMed
description An increasing number of researchers are using deep learning technology to classify and process garbage in rural areas, and have achieved certain results. However, the existing garbage detection models still have problems such as high complexity, missed detection of small targets, low detection accuracy and poor real-time performance. To address these issues, we train a model and apply it to garbage classification and detection in rural areas. In general, we propose an attention combination mechanism based on the YOLOv5 algorithm to build a better backbone network structure, add a new small object detection layer in the head network to enhance the model's ability to detect small objects, adopt the CIoU loss function to optimize the output prediction bounding box, and choose the Adam optimization algorithm to train the model. Our proposed YOLOv5s-CSS model detects a single garbage image in 0.021 s with a detection accuracy of 96.4%. Compared with the YOLOv5 algorithm and the classic detection algorithm, the improved algorithm has better detection speed and detection accuracy. At the same time, the complexity of the network model is reduced to a certain extent, which can meet the requirements of real-time detection of rural domestic garbage.
format Online
Article
Text
id pubmed-9540284
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-95402842022-10-09 A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model Jiang, Xiangkui Hu, Haochang Qin, Yuemei Hu, Yihui Ding, Rui Sci Rep Article An increasing number of researchers are using deep learning technology to classify and process garbage in rural areas, and have achieved certain results. However, the existing garbage detection models still have problems such as high complexity, missed detection of small targets, low detection accuracy and poor real-time performance. To address these issues, we train a model and apply it to garbage classification and detection in rural areas. In general, we propose an attention combination mechanism based on the YOLOv5 algorithm to build a better backbone network structure, add a new small object detection layer in the head network to enhance the model's ability to detect small objects, adopt the CIoU loss function to optimize the output prediction bounding box, and choose the Adam optimization algorithm to train the model. Our proposed YOLOv5s-CSS model detects a single garbage image in 0.021 s with a detection accuracy of 96.4%. Compared with the YOLOv5 algorithm and the classic detection algorithm, the improved algorithm has better detection speed and detection accuracy. At the same time, the complexity of the network model is reduced to a certain extent, which can meet the requirements of real-time detection of rural domestic garbage. Nature Publishing Group UK 2022-10-07 /pmc/articles/PMC9540284/ /pubmed/36207371 http://dx.doi.org/10.1038/s41598-022-20983-1 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Jiang, Xiangkui
Hu, Haochang
Qin, Yuemei
Hu, Yihui
Ding, Rui
A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model
title A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model
title_full A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model
title_fullStr A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model
title_full_unstemmed A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model
title_short A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model
title_sort real-time rural domestic garbage detection algorithm with an improved yolov5s network model
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9540284/
https://www.ncbi.nlm.nih.gov/pubmed/36207371
http://dx.doi.org/10.1038/s41598-022-20983-1
work_keys_str_mv AT jiangxiangkui arealtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT huhaochang arealtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT qinyuemei arealtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT huyihui arealtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT dingrui arealtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT jiangxiangkui realtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT huhaochang realtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT qinyuemei realtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT huyihui realtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel
AT dingrui realtimeruraldomesticgarbagedetectionalgorithmwithanimprovedyolov5snetworkmodel