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 条
  • [21] YOLOv5DA: An Improved YOLOv5 Model for Posture Detection of Grouped Pigs
    Shi, Wenhui
    Wang, Xiaopin
    Li, Xuan
    Fu, Yuhua
    Liu, Xiaolei
    Wang, Haiyan
    APPLIED SCIENCES-BASEL, 2024, 14 (22):
  • [22] Unsafe behaviour detection with the improved YOLOv5 model
    Ying, Li
    Lei, Zhao
    Geng, Junwei
    Hu, Jinhui
    Lei, Ma
    Zhao, Zilong
    IET CYBER-PHYSICAL SYSTEMS: THEORY & APPLICATIONS, 2024, 9 (01) : 87 - 98
  • [23] KPE-YOLOv5: An Improved Small Target Detection Algorithm Based on YOLOv5
    Yang, Rujin
    Li, Wenfa
    Shang, Xinna
    Zhu, Deping
    Man, Xunyu
    ELECTRONICS, 2023, 12 (04)
  • [24] YOLOv5-ASFF: A Multistage Strawberry Detection Algorithm Based on Improved YOLOv5
    Li, Yaodi
    Xue, Jianxin
    Zhang, Mingyue
    Yin, Junyi
    Liu, Yang
    Qiao, Xindan
    Zheng, Decong
    Li, Zezhen
    AGRONOMY-BASEL, 2023, 13 (07):
  • [25] GRP-YOLOv5: An Improved Bearing Defect Detection Algorithm Based on YOLOv5
    Zhao, Yue
    Chen, Bolun
    Liu, Bushi
    Yu, Cuiying
    Wang, Ling
    Wang, Shanshan
    SENSORS, 2023, 23 (17)
  • [26] HIC-YOLOv5: Improved YOLOv5 For Small Object Detection
    Tang, Shiyi
    Zhang, Shu
    Fang, Yini
    2024 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION, ICRA 2024, 2024, : 6614 - 6619
  • [27] Fish detection method based on improved YOLOv5
    Li, Lei
    Shi, Guosheng
    Jiang, Tao
    AQUACULTURE INTERNATIONAL, 2023, 31 (05) : 2513 - 2530
  • [28] Traffic Sign Detection Based on Improved YOLOv5
    Zhou, Hua-Ping
    Xu, Chen-Chen
    Sun, Ke-Lei
    Journal of Computers (Taiwan), 2023, 34 (03) : 63 - 73
  • [29] Lymphocyte Detection Method Based on Improved YOLOv5
    Jiang, Peihe
    Li, Yi
    Liu, Ying
    Lu, Ning
    IEEE ACCESS, 2024, 12 : 772 - 781
  • [30] Fish detection method based on improved YOLOv5
    Lei Li
    Guosheng Shi
    Tao Jiang
    Aquaculture International, 2023, 31 : 2513 - 2530