An Improved YOLOv5s Algorithm for Object Detection with an Attention Mechanism

被引:23
|
作者
Jiang, Tingyao [1 ]
Li, Cheng [1 ]
Yang, Ming [1 ]
Wang, Zilong [1 ]
机构
[1] China Three Gorges Univ, Coll Comp & Informat, Yichang 443002, Peoples R China
基金
中国国家自然科学基金;
关键词
object detection; YOLOv5s; attention mechanism; deep learning;
D O I
10.3390/electronics11162494
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
To improve the accuracy of the You Only Look Once v5s (YOLOv5s) algorithm for object detection, this paper proposes an improved YOLOv5s algorithm, CBAM-YOLOv5s, which introduces an attention mechanism. A convolutional block attention module (CBAM) is incorporated into the YOLOv5s backbone network to improve its feature extraction ability. Furthermore, the complete intersection-over-union (CIoU) loss is used as the object bounding-box regression loss function to accelerate the speed of the regression process. Experiments are carried out on the Pascal Visual Object Classes 2007 (VOC2007) dataset and the Microsoft Common Objects in Context (COCO2014) dataset, which are widely used for object detection evaluations. On the VOC2007 dataset, the experimental results show that compared with those of the original YOLOv5s algorithm, the precision, recall and mean average precision (mAP) of the CBAM-YOLOv5s algorithm are improved by 4.52%, 1.18% and 3.09%, respectively. On the COCO2014 dataset, compared with the original YOLOv5s algorithm, the precision, recall and mAP of the CBAM-YOLOv5s algorithm are increased by 2.21%, 0.88% and 1.39%, respectively.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] Road object detection algorithm based on improved YOLOv5s
    Zhou Qing
    Tan Gong-quan
    Yin Song-lin
    Li Yi-nian
    Wei Dan-qin
    CHINESE JOURNAL OF LIQUID CRYSTALS AND DISPLAYS, 2023, 38 (05) : 680 - 690
  • [2] A Lightweight Object Detection Algorithm for Remote Sensing Images Based on Attention Mechanism and YOLOv5s
    Liu, Pengfei
    Wang, Qing
    Zhang, Huan
    Mi, Jing
    Liu, Youchen
    REMOTE SENSING, 2023, 15 (09)
  • [3] Improved YOLOv5s Small Object Detection Algorithm in UAv view
    Wu, Mingjie
    Yun, Lijun
    Chen, Zaiqing
    Zhong, Tianze
    Computer Engineering and Applications, 2024, 60 (02) : 191 - 199
  • [4] YOlOv5s-ACE: Forest Fire Object Detection Algorithm Based on Improved YOLOv5s
    Wang, Jianan
    Wang, Changzhong
    Ding, Weiping
    Li, Cheng
    FIRE TECHNOLOGY, 2024, : 4023 - 4043
  • [5] Lightweight aerial image object detection algorithm based on improved YOLOv5s
    Deng, Lixia
    Bi, Lingyun
    Li, Hongquan
    Chen, Haonan
    Duan, Xuehu
    Lou, Haitong
    Zhang, Hongyu
    Bi, Jingxue
    Liu, Haiying
    SCIENTIFIC REPORTS, 2023, 13 (01)
  • [6] Lightweight aerial image object detection algorithm based on improved YOLOv5s
    Lixia Deng
    Lingyun Bi
    Hongquan Li
    Haonan Chen
    Xuehu Duan
    Haitong Lou
    Hongyu Zhang
    Jingxue Bi
    Haiying Liu
    Scientific Reports, 13
  • [7] Detection method of wheat spike improved YOLOv5s based on the attention mechanism
    Zang, Hecang
    Wang, Yanjing
    Ru, Linyuan
    Zhou, Meng
    Chen, Dandan
    Zhao, Qing
    Zhang, Jie
    Li, Guoqiang
    Zheng, Guoqing
    FRONTIERS IN PLANT SCIENCE, 2022, 13
  • [8] Triple Attention Mechanism with YOLOv5s for Fish Detection
    Long, Wei
    Wang, Yawen
    Hu, Lingxi
    Zhang, Jintao
    Zhang, Chen
    Jiang, Linhua
    Xu, Lihong
    FISHES, 2024, 9 (05)
  • [9] Improved Pedestrian Detection Algorithm Based on YOLOv5s
    Li, Zhihua
    Zhang, Yuanbiao
    Wang, Chao
    Tan, Guopeng
    Yan, Yahui
    JOURNAL OF ADVANCED COMPUTATIONAL INTELLIGENCE AND INTELLIGENT INFORMATICS, 2024, 28 (04) : 768 - 775
  • [10] Improved YOLOv5s Algorithm for Helmet Wearing Detection
    Song, Xiaofeng
    Wu, Yunjun
    Liu, Bingbing
    Zhang, Qinglin
    Computer Engineering and Applications, 59 (02): : 194 - 201