YOLOv5-OCDS: An Improved Garbage Detection Model Based on YOLOv5

被引:5
|
作者
Sun, Qiuhong [1 ]
Zhang, Xiaotian [1 ]
Li, Yujia [1 ]
Wang, Jingyang [1 ,2 ]
机构
[1] Hebei Univ Sci & Technol, Shijiazhuang 050018, Peoples R China
[2] Hebei Intelligent Internet Things Technol Innovat, Shijiazhuang 050018, Peoples R China
关键词
YOLOv5; ODConv; C3DCN; Soft-NMS; decoupled head;
D O I
10.3390/electronics12163403
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
As the global population grows and urbanization accelerates, the garbage that is generated continues to increase. This waste causes serious pollution to the ecological environment, affecting the stability of the global environmental balance. Garbage detection technology can quickly and accurately identify, classify, and locate many kinds of garbage to realize the automatic disposal and efficient recycling of waste, and it can also promote the development of a circular economy. However, the existing garbage detection technology has some problems, such as low precision and a poor detection effect in complex environments. Although YOLOv5 has achieved good results in garbage detection, the detection results cannot meet the requirements in complex scenarios, so this paper proposes a garbage detection model, YOLOv5-OCDS, based on an improved YOLOv5. Replacing the partial convolution in the neck with Omni-Dimensional Dynamic Convolution (ODConv) improves the expressiveness of the model. The C3DCN structure is constructed, and parts of the C3 structures in the neck are replaced by C3DCN structures, allowing the model to better adapt to object deformation and target scale change. The decoupled head is used for classification and regression tasks so that the model can learn each class's characteristics and positioning information more intently, and flexibility and extensibility can be improved. The Soft Non-Maximum Suppression (Soft NMS) algorithm can better retain the target's information and effectively avoid the problem of repeated detection. The self-built garbage classification dataset is used for related experiments, and the mAP@50 of the YOLOv5-OCDS model is 5.3% higher than that of the YOLOv5s; the value of mAP@50:95 increases by 12.3%. In the experimental environment of this study, the model's Frames Per Second (FPS) was 61.7 f/s. In practical applications, when we use some old GPU, such as the GTX1060, it can still reach 50.3 f/s, so that real-time detection can be achieved. Thus, the improved model suits garbage detection tasks in complex environments.
引用
收藏
页数:19
相关论文
共 50 条
  • [11] DDVC-YOLOv5: An Improved YOLOv5 Model for Road Defect Detection
    Zhong, Shihao
    Chen, Chunlin
    Luo, Wensheng
    Chen, Siyuan
    IEEE ACCESS, 2024, 12 : 134008 - 134019
  • [12] Water surface garbage detection based on lightweight YOLOv5
    Chen, Luya
    Zhu, Jianping
    SCIENTIFIC REPORTS, 2024, 14 (01)
  • [13] Garbage Detection and Classification Method based on YoloV5 Algorithm
    Lv, Zhaohao
    Li, Huiyan
    Liu, Yeming
    FOURTEENTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2021), 2022, 12084
  • [14] STD-Yolov5: a ship-type detection model based on improved Yolov5
    Ning, Yue
    Zhao, Lining
    Zhang, Can
    Yuan, Zhixin
    SHIPS AND OFFSHORE STRUCTURES, 2024, 19 (01) : 66 - 75
  • [15] An Improved Waste Detection and Classification Model Based on YOLOV5
    Hu, Fan
    Qian, Pengjiang
    Jiang, Yizhang
    Yao, Jian
    INTELLIGENT COMPUTING METHODOLOGIES, PT III, 2022, 13395 : 741 - 754
  • [16] Pavement damage detection model based on improved YOLOv5
    He T.
    Li H.
    Tumu Gongcheng Xuebao/China Civil Engineering Journal, 2024, 57 (02): : 96 - 106
  • [17] Insulator Defect Detection Based on Improved YOLOv5 Model
    Chen, Yongxin
    Du, Zhenan
    Li, Hengxuan
    Zhang, Kanjun
    Wen, Pei
    2024 IEEE 4TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND ARTIFICIAL INTELLIGENCE, SEAI 2024, 2024, : 123 - 127
  • [18] A Pedestrian Detection Network Model Based on Improved YOLOv5
    Li, Ming-Lun
    Sun, Guo-Bing
    Yu, Jia-Xiang
    ENTROPY, 2023, 25 (02)
  • [19] Improved Pedestrian Fall Detection Model Based on YOLOv5
    Fengl, Yuhua
    Wei, Yi
    Lie, Kejiang
    Feng, Yuandan
    Gan, Zhiqiang
    2022 IEEE 6TH ADVANCED INFORMATION TECHNOLOGY, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (IAEAC), 2022, : 410 - 413
  • [20] Traffic Sign Detection Based on Improved YOLOv5 Model
    Zhao, Yibing
    Wang, Yannan
    Xing, Shuyong
    Guo, Lie
    SMART TRANSPORTATION AND GREEN MOBILITY SAFETY, GITSS 2022, 2024, 1201 : 293 - 307