• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2026, Vol. 48 ›› Issue (3): 551-560.

• 图形与图像 • 上一篇    下一篇

一种面向密集人群的轻量化检测算法:RCL-YOLO

李孟歆,陈嘉铭,吕凡,郑坤妍,赵婧雯   

  1. (沈阳建筑大学电气与控制工程学院,辽宁 沈阳 110168)

  • 收稿日期:2024-05-13 修回日期:2024-09-26 出版日期:2026-03-25 发布日期:2026-03-25
  • 基金资助:
    国家自然科学基金(62133014)

RCL-YOLO:A lightweight dense crowd detection algorithm

LI Mengxin,CHEN Jiaming,L Fan,ZHENG Kunyan,ZHAO Jingwen   

  1. (College of Electrical and Control Engineering,Shenyang Jianzhu University,Shenyang 110168,China)
  • Received:2024-05-13 Revised:2024-09-26 Online:2026-03-25 Published:2026-03-25

摘要: 为了有效解决人员密集场所人员遮挡和漏检问题,进一步改善检测精确度和检测速度,提出了一种改进YOLOv8n的轻量化密集人群检测算法。首先,采用RFAConv感受野注意力卷积代替YOLOv8n主干网络中部分3×3卷积块,增强网络特征提取和捕捉详细特征信息的能力;使用CCFM模块通过跨尺度特征融合结构将特征金字塔结构进行跨尺度信息聚合,用来增强模型对于尺度变化的适应性,使模型能够同时精准定位不同大小的目标;改用LGD轻量化检测头,使用组归一化(GN)代替批量归一化(BN),提升检测头定位和分类的性能。实验结果表明,和原YOLOv8n算法比较,改进后的算法在WiderPerson数据集上的mAP@0.5提升了0.4个百分点,mAP@0.5:0.95提升了0.5个百分点,参数量减少了1.6×106,模型计算量减少了2.4 GFLOPs。通过消融实验和对比实验,验证了所提算法的有效性和泛化能力,改善了密集人群下的遮挡和漏检问题,同时满足了轻量化和精确度需求。


关键词: 轻量化, 密集行人, 目标检测, YOLOv8算法

Abstract: To effectively address the issues of occlusion and missed detection in crowded scenes and further enhance both accuracy and detection speed, a lightweight dense crowd detection algorithm that improves upon YOLOv8 is proposed. Firstly, RFAConv (Receptive Field Attention Convolution) is employed to replace some of the 3×3 convolutional blocks in the YOLOv8 backbone network, thereby strengthening the network’s ability to extract features and capture detailed feature information. Secondly, the cross-scale feature fusion module(CCFM) is utilized to aggregate information across scales through a cross-scale feature fusion structure, enhancing the model’s adaptability to scale variations and enabling it to precisely locate objects of different sizes simultaneously. Additionally, the lightweight detection head(LGD) is adopted, replacing batch normalization (BN) with group normalization (GN) to improve the detection head’s performance in localization and classification. Experimental results demonstrate that, compared to the original YOLOv8 algorithm, the improved algorithm achieves 0.4 percentage points increase in mAP@0.5 and  0.5 percentage points increase in mAP@0.5:0.95 on the WiderPerson dataset, while reducing the parameter count by 1.6×106 and the computational load by 2.4 GFLOPs. Through ablation experiments and comparative model experiments, the effectiveness and generalization capability of the proposed algorithm are validated. It improves the issues of occlusion and missed detection in dense crowds while meeting the requirements for both lightweight design and accuracy.

Key words: light weight, dense pedestrian, object detection, YOLOv8 algorithm