Cargando…

SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode

In the research of computer vision, a very challenging problem is the detection of small objects. The existing detection algorithms often focus on detecting full-scale objects, without making proprietary optimization for detecting small-size objects. For small objects dense scenes, not only the accu...

Descripción completa

Detalles Bibliográficos
Autores principales: Liu, Haiying, Sun, Fengqian, Gu, Jason, Deng, Lixia
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9371183/
https://www.ncbi.nlm.nih.gov/pubmed/35957375
http://dx.doi.org/10.3390/s22155817
_version_ 1784767058973556736
author Liu, Haiying
Sun, Fengqian
Gu, Jason
Deng, Lixia
author_facet Liu, Haiying
Sun, Fengqian
Gu, Jason
Deng, Lixia
author_sort Liu, Haiying
collection PubMed
description In the research of computer vision, a very challenging problem is the detection of small objects. The existing detection algorithms often focus on detecting full-scale objects, without making proprietary optimization for detecting small-size objects. For small objects dense scenes, not only the accuracy is low, but also there is a certain waste of computing resources. An improved detection algorithm was proposed for small objects based on YOLOv5. By reasonably clipping the feature map output of the large object detection layer, the computing resources required by the model were significantly reduced and the model becomes more lightweight. An improved feature fusion method (PB-FPN) for small object detection based on PANet and BiFPN was proposed, which effectively increased the detection ability for small object of the algorithm. By introducing the spatial pyramid pooling (SPP) in the backbone network into the feature fusion network and connecting with the model prediction head, the performance of the algorithm was effectively enhanced. The experiments demonstrated that the improved algorithm has very good results in detection accuracy and real-time ability. Compared with the classical YOLOv5, the mAP@0.5 and mAP@0.5:0.95 of SF-YOLOv5 were increased by 1.6% and 0.8%, respectively, the number of parameters of the network were reduced by 68.2%, computational resources (FLOPs) were reduced by 12.7%, and the inferring time of the mode was reduced by 6.9%.
format Online
Article
Text
id pubmed-9371183
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-93711832022-08-12 SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode Liu, Haiying Sun, Fengqian Gu, Jason Deng, Lixia Sensors (Basel) Article In the research of computer vision, a very challenging problem is the detection of small objects. The existing detection algorithms often focus on detecting full-scale objects, without making proprietary optimization for detecting small-size objects. For small objects dense scenes, not only the accuracy is low, but also there is a certain waste of computing resources. An improved detection algorithm was proposed for small objects based on YOLOv5. By reasonably clipping the feature map output of the large object detection layer, the computing resources required by the model were significantly reduced and the model becomes more lightweight. An improved feature fusion method (PB-FPN) for small object detection based on PANet and BiFPN was proposed, which effectively increased the detection ability for small object of the algorithm. By introducing the spatial pyramid pooling (SPP) in the backbone network into the feature fusion network and connecting with the model prediction head, the performance of the algorithm was effectively enhanced. The experiments demonstrated that the improved algorithm has very good results in detection accuracy and real-time ability. Compared with the classical YOLOv5, the mAP@0.5 and mAP@0.5:0.95 of SF-YOLOv5 were increased by 1.6% and 0.8%, respectively, the number of parameters of the network were reduced by 68.2%, computational resources (FLOPs) were reduced by 12.7%, and the inferring time of the mode was reduced by 6.9%. MDPI 2022-08-04 /pmc/articles/PMC9371183/ /pubmed/35957375 http://dx.doi.org/10.3390/s22155817 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
Liu, Haiying
Sun, Fengqian
Gu, Jason
Deng, Lixia
SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode
title SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode
title_full SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode
title_fullStr SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode
title_full_unstemmed SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode
title_short SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode
title_sort sf-yolov5: a lightweight small object detection algorithm based on improved feature fusion mode
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9371183/
https://www.ncbi.nlm.nih.gov/pubmed/35957375
http://dx.doi.org/10.3390/s22155817
work_keys_str_mv AT liuhaiying sfyolov5alightweightsmallobjectdetectionalgorithmbasedonimprovedfeaturefusionmode
AT sunfengqian sfyolov5alightweightsmallobjectdetectionalgorithmbasedonimprovedfeaturefusionmode
AT gujason sfyolov5alightweightsmallobjectdetectionalgorithmbasedonimprovedfeaturefusionmode
AT denglixia sfyolov5alightweightsmallobjectdetectionalgorithmbasedonimprovedfeaturefusionmode