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 条
  • [31] Helmet detection method based on improved YOLOv5
    Hou G.
    Chen Q.
    Yang Z.
    Zhang Y.
    Zhang D.
    Li H.
    Gongcheng Kexue Xuebao/Chinese Journal of Engineering, 2024, 46 (02): : 329 - 342
  • [32] An Improved UAV Detection Method Based on YOLOv5
    Liu, Xinfeng
    Chen, Mengya
    Li, Chenglong
    Tian, Jie
    Zhou, Hao
    Ullah, Inam
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, ICIC 2023, PT I, 2023, 14086 : 739 - 750
  • [33] Hand target detection based on improved YOLOv5
    Xu Z.
    Meng J.
    Fang J.
    International Journal of Wireless and Mobile Computing, 2023, 25 (04) : 353 - 361
  • [34] Driver Attention Detection Based on Improved YOLOv5
    Wang, Zhongzhou
    Yao, Keming
    Guo, Fuao
    APPLIED SCIENCES-BASEL, 2023, 13 (11):
  • [35] Insulator Breakage Detection Based on Improved YOLOv5
    Han, Gujing
    He, Min
    Gao, Mengze
    Yu, Jinyun
    Liu, Kaipei
    Qin, Liang
    SUSTAINABILITY, 2022, 14 (10)
  • [36] Precision detection of crop diseases based on improved YOLOv5 model
    Zhao, Yun
    Yang, Yuan
    Xu, Xing
    Sun, Cheng
    FRONTIERS IN PLANT SCIENCE, 2023, 13
  • [37] Laboratory Behavior Detection Method Based on Improved Yolov5 Model
    Zhang, Zhaofeng
    Ao, Daiqin
    Zhou, Luoyu
    Yuan, Xiaolong
    Luo, Mingzhang
    2021 INTERNATIONAL CONFERENCE ON CYBER-PHYSICAL SOCIAL INTELLIGENCE (ICCSI), 2021,
  • [38] Pedestrian detection method based on improved YOLOv5
    You, Shangtao
    Gu, Zhengchao
    Zhu, Kai
    SYSTEMS SCIENCE & CONTROL ENGINEERING, 2024, 12 (01)
  • [39] Traffic Sign Detection Based on the Improved YOLOv5
    Zhang, Rongyun
    Zheng, Kunming
    Shi, Peicheng
    Mei, Ye
    Li, Haoran
    Qiu, Tian
    APPLIED SCIENCES-BASEL, 2023, 13 (17):
  • [40] Lightweight Algorithm for Apple Detection Based on an Improved YOLOv5 Model
    Sun, Yu
    Zhang, Dongwei
    Guo, Xindong
    Yang, Hua
    PLANTS-BASEL, 2023, 12 (17):