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

Computer Engineering & Science ›› 2026, Vol. 48 ›› Issue (3): 561-570.

• Graphics and Images • Previous Articles    

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

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