• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:陈霖涛,刘强.基于YOLOv8改进的密集人群检测算法[J].软件工程,2025,28(12):28-33.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于YOLOv8改进的密集人群检测算法
陈霖涛,刘强
(甘肃农业大学信息科学技术学院,甘肃 兰州 730070)
2074797942@qq.com; liuq@gasu.edu.cn
摘 要: 为了在密集人群场景下提高检测精度,提出了一种基于YOLOv8改进的检测算法。首先,采用SENetV2作为主干网络,通过调整卷积网络的终端通道关系,以提升模型性能;其次,引入跨尺度特征融合模块CCFM(Cross-Scale Feature Fusion Module),将不同尺度的特征进行有效融合,增强模型对尺度变化的适应能力及对小尺度对象的检测能力。使用 Dynamic Head检测头,增加自注意力机制,以提高检测精度。此外,应用Slide Loss损失函数,以解决简单样本与困难样本之间的不平衡问题,从而进一步提升性能。实验结果显示,相较于YOLOv8n,改进后的算法在Crowd Human数据集上的mAP50和mAP95分别提升了3.9个百分点和3.2个百分点,同时,在 Wider Person数据集上,也提升了2.0个百分点和3.3个百分点。改进后的算法模型参数量减小了21.1%,实现了高精度与轻量化的良好平衡。
关键词: 密集人群  目标检测  YOLOv8  轻量化
中图分类号:     文献标识码: A
基金项目: 中共甘肃省委宣传部2023年农村电影公益放映第三方监测服务项目(2023zfcg00315)
Improved Dense Crowd Detection Algorithm Based on YOLOv8
CHEN Lintao, LIU Qiang
(College of Information Science and Technology, Gansu Agricultural University, Lanzhou 730070, China)
2074797942@qq.com; liuq@gasu.edu.cn
Abstract: To improve the detection accuracy in dense crowd scenarios, an improved detection algorithm based on YOLOv8 is proposed. Firstly, SENetV2 is adopted as the backbone network to enhance model performance by adjusting the channel relationships at the terminal of the convolutional network. Secondly, the Cross-Scale Feature Fusion Module (CCFM) is introduced to effectively integrate features at different scales, strengthening the model’s adaptability to scale variations and its ability to detect smal-l scale objects. The Dynamic Head detection is employed, incorporating a sel-f attention mechanism to improve detection accuracy. Additionally, the Slide Loss function is applied to address the imbalance between simple and hard samples, further enhancing performance. Experimental results show that compared to YOLOv8n, the improved algorithm achieves increases of 3.9 percentage points and 3.2 percentage points in mAP 50 and mAP 95, respectively, on the Crowd Human dataset, while also improving by 2.0 percentage points and 3.3 percentage points on the Wider Person dataset. The parameter count of the improved model is reduced by 21.1% , achieving an excellent balance between high accuracy and lightweight design.
Keywords: dense crowds  object detection  YOLOv8  lightweight


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫