基于改进YOLOv5的智慧园区人车混杂动态目标检测

胡玉玲 ,  邹伟光 ,  王鑫依

科学技术与工程 ›› 2024, Vol. 24 ›› Issue (33) :14298-14305

PDF (10876KB)
科学技术与工程 ›› 2024, Vol. 24 ›› Issue (33) :14298-14305 DOI: 10.12404/j.issn.1671-1815.2307723
自动化技术、计算机技术

基于改进YOLOv5的智慧园区人车混杂动态目标检测

作者信息 +

Hybrid Dynamic Object Detection of Intelligent Park Based on Improved YOLOv5

Author information +
文章历史 +

摘要

在城市安全背景下,人车密集的智慧园区安全问题日益引起关注。实时检测进入园区内的人员、车辆,可以为应急情景下制定园区内人车的合理疏散策略提供重要的数据参考。为解决当前目标检测在应急事件发生时的环境复杂、目标密集、遮挡等导致的精度问题,以及模型计算量导致的快速性问题,提出了一种基于改进轻量级YOLOv5的人车混杂目标检测算法。在原始YOLOv5模型的基础上,将骨干网中的结构空间金字塔池化(spatial pyramid pooling-fast, SPPF)改进为SimSPPF,保持并改善模型实时性。在中尺度层增加一条额外的边,引入通道注意力模块(coordinate attention, CA),使得模型在检测人车混杂的场景中的准确度得到提高。实验结果表明,相较于YOLOv5s,该算法在保持检测速度在142帧/s的同时,精度上提高了2.1%,满足了智慧园区对于人、车混杂动态检测的准确性与实时性需求。

Abstract

In the context of urban security, the security problem of intelligent parks with dense human and vehicle has attracted increasing attention. Real-time detection of people and vehicles entering the park can provide important data reference for formulating reasonable evacuation strategies for people and vehicles in the park under emergency scenarios. To solve the accuracy problems caused by the complex environment, dense objects and occlusion of the current object detection during the occurrence of emergency events, as well as the rapidity problems caused by the number of model calculations, a hybrid object detection algorithm based on the improved lightweight YOLOv5 was proposed. Based on the original YOLOv5 model, the spatial pyramid pool structure spatial pyramid pooling-fast(SPPF) in the backbone network was improved to SimSPPF to improve the real-time performance of the model. By adding an extra edge to the mesoscale layer and introducing the channel attention mechanism coordinate attention(CA), the accuracy of the model in detecting the hybrid scene was improved. The experimental results show that compared with YOLOv5s, the algorithm not only maintains the detection speed at 142 frame/s but also improves the accuracy by 2.1% which meets the accuracy and real-time requirements of the hybrid dynamic detection of people and vehicles in the smart park.

关键词

智慧园区 / 应急疏散 / 人车混杂 / 动态目标检测 / 改进YOLOv5

Key words

smart park / emergency evacuation / people and vehicles mixed / dynamic target detection / improved YOLOv5

引用本文

引用格式 ▾
胡玉玲, 邹伟光, 王鑫依. 基于改进YOLOv5的智慧园区人车混杂动态目标检测[J]. 科学技术与工程, 2024, 24(33): 14298-14305 DOI:10.12404/j.issn.1671-1815.2307723
HU Yu-ling, ZOU Wei-guang, WANG Xin-yi. Hybrid Dynamic Object Detection of Intelligent Park Based on Improved YOLOv5[J]. Science Technology and Engineering, 2024, 24(33): 14298-14305 DOI:10.12404/j.issn.1671-1815.2307723

登录浏览全文

4963

注册一个新账户 忘记密码

参考文献

基金资助

国家重点研发项目(2018YFC0807806)

北京建筑大学基本科研业务基金(X20109)

PDF (10876KB)

36

访问

0

被引

详细

导航
相关文章

/

〈 〉