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

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

• 图形与图像 • 上一篇    

基于改进YOLOv8的道路障碍物检测模型

蒋建伟,贾小云,段克盼,郭宇,盛良浩,魏联婷   

  1. (陕西科技大学电子信息与人工智能学院,陕西 西安 710021)

  • 收稿日期:2024-06-23 修回日期:2024-09-09 出版日期:2026-03-25 发布日期:2026-03-25

A road obstacle detection model based on improved YOLOv8

JIANG Jianwei,JIA Xiaoyun,DUAN Kepan,GUO Yu,SHENG Lianghao,WEI Lianting   

  1. (School of Electronic Information and Artificial Intelligence,
    Shaanxi University of Science and Technology,Xi’an  710021,China)
  • Received:2024-06-23 Revised:2024-09-09 Online:2026-03-25 Published:2026-03-25

摘要: 道路障碍物检测是智能驾驶技术的核心环节。针对目前道路小目标障碍物检测精度低、恶劣环境场景检测性能差和道路障碍物数据集稀缺等问题,整理并构建适合道路场景的障碍物数据集,并基于YOLOv8模型提出一种检测精度高的新模型YOLOv8-J。首先,设计基于RepViT的轻量级主干网络LskViT,提高模型对多尺度特征的提取能力;其次,引入SPD-Conv卷积模块,增强模型对低分辨率图像的学习能力;最后,增加一层小目标检测层,帮助模型获得更多的浅层特征,提高对小目标障碍物的检测性能。实验结果表明,与基线模型YOLOv8相比,改进的YOLOv8-J模型的mAP@0.5和mAP@0.5:0.95值分别提升了5.9个百分点和6.1个百分点,改进后的模型能够适用于道路障碍物检测任务,进一步提升了恶劣环境下对小目标障碍物的检测性能。


关键词: 道路障碍物, 注意力机制, 卷积模块, 模型优化, YOLOv8模型

Abstract: Road obstacle detection is a significant part of intelligent driving technology. In response to the current problems of low accuracy in detecting small obstacles on roads, poor detection performance in adverse environmental scenes, and scarcity of road obstacle datasets, a suitable obstacle dataset for road scenes is organized and constructed. Based on the YOLOv8 model, a new model, YOLOv8-J with high detection accuracy is proposed. Firstly, a lightweight backbone network called LskViT based on RepViT is designed to enhance the model’s ability to extract multi-scale features. Secondly, the SPD-Conv convolutional module is introduced to strengthen the model’s learning capability for low-resolution images. Finally, an additional small object detection layer is added to help the model capture more shallow features, thereby improving its detection performance for small obstacles. Experimental results demonstrate that, compared to the baseline model YOLOv8, the improved YOLOv8-J model achieves increases of 5.9 percentage points and 6.1 percentage points in mAP@0.5 and mAP@0.5:0.95 values, respectively. The improved model is well-suited for road obstacle detection tasks and further enhances detection performance for small obstacles in adverse environments.

Key words: road obstacle, attention mechanism, convolutional module, model optimization, YOLOv8 model