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 条
  • [41] Object Detection for Construction Waste Based on an Improved YOLOv5 Model
    Zhou, Qinghui
    Liu, Haoshi
    Qiu, Yuhang
    Zheng, Wuchao
    SUSTAINABILITY, 2023, 15 (01)
  • [42] Automatic detection of indoor occupancy based on improved YOLOv5 model
    Chao Wang
    Yunchu Zhang
    Yanfei Zhou
    Shaohan Sun
    Hanyuan Zhang
    Yepeng Wang
    Neural Computing and Applications, 2023, 35 : 2575 - 2599
  • [43] An Improved Forest Fire and Smoke Detection Model Based on YOLOv5
    Li, Junhui
    Xu, Renjie
    Liu, Yunfei
    FORESTS, 2023, 14 (04):
  • [44] Tunnel lining crack detection model based on improved YOLOv5
    Duan, Shuqian
    Zhang, Minghuan
    Qiu, Shili
    Xiong, Jiecheng
    Zhang, Hao
    Li, Chenyang
    Jiang, Quan
    Kou, Yongyuan
    TUNNELLING AND UNDERGROUND SPACE TECHNOLOGY, 2024, 147
  • [45] Anomaly Detection Model for Key Places Based on Improved YOLOv5
    Wang Yuanxin
    Yuan Deyu
    Meng, Yuyan
    Meng, Ding
    ARTIFICIAL INTELLIGENCE AND SECURITY, ICAIS 2022, PT II, 2022, 13339 : 51 - 61
  • [46] Automatic detection of indoor occupancy based on improved YOLOv5 model
    Wang, Chao
    Zhang, Yunchu
    Zhou, Yanfei
    Sun, Shaohan
    Zhang, Hanyuan
    Wang, Yepeng
    NEURAL COMPUTING & APPLICATIONS, 2023, 35 (03): : 2575 - 2599
  • [47] A Vehicle Recognition Model Based on Improved YOLOv5
    Shao, Lei
    Wu, Han
    Li, Chao
    Li, Ji
    ELECTRONICS, 2023, 12 (06)
  • [48] CA-YOLOv5: Detection model for healthy and diseased silkworms in mixed conditions based on improved YOLOv5
    Shi, Hongkang
    Xiao, Wenfu
    Zhu, Shiping
    Li, Linbo
    Zhang, Jianfei
    INTERNATIONAL JOURNAL OF AGRICULTURAL AND BIOLOGICAL ENGINEERING, 2023, 16 (06) : 236 - 245
  • [49] Improved YOLOv5 Based on the Mobilevit Backbone for the Detection of Steel Surface Defects Improved YOLOv5 based on the mobilevit backbone and BiFPN
    Qiu, Kun
    Wang, Changkun
    PROCEEDINGS OF 2024 3RD INTERNATIONAL CONFERENCE ON CYBER SECURITY, ARTIFICIAL INTELLIGENCE AND DIGITAL ECONOMY, CSAIDE 2024, 2024, : 305 - 309
  • [50] YOLOv5-R: lightweight real-time detection based on improved YOLOv5
    Ren, Jian
    Wang, Zhijie
    Zhang, Yifan
    Liao, Lei
    JOURNAL OF ELECTRONIC IMAGING, 2022, 31 (03)