计算机科学 ›› 2023, Vol. 50 ›› Issue (11A): 230200101-6.doi: 10.11896/jsjkx.230200101

• 图像处理&多媒体技术 • 上一篇    下一篇

基于改进的YOLOv5s列车轨道线检测方法

姜珂, 石建强, 陈光武   

  1. 兰州交通大学光电技术与智能控制教育部重点实验室 兰州 730070
    兰州交通大学自动化与电气工程学院 兰州 730070
    甘肃省高原交通信息工程及控制重点实验室 兰州 730070
  • 发布日期:2023-11-09
  • 通讯作者: 姜珂(948866329@qq.com)
  • 基金资助:
    甘肃省科技计划项目(21ZD4WA018,2020-61-14,22YF7GA140,18JR3RA131);甘肃省教育厅科技项目(2017-A24);兰州市人才创新创业项目(2022-RC-56)

Railway Track Detection Method Based on Improved YOLOv5s

JIANG Ke, SHI Jianqiang, CHEN Guangwu   

  1. Key Laboratory of Opt-Electonic Technology and Intelligent Control Ministry of Education,Lanzhou 730070,China
    School of Automation and Electrical Engineering,Lanzhou Jiaotong University,Lanzhou Jiaotong University,Lanzhou 730070,China
    Gansu Provincial Key Laboratory of Traffic Information Engineering and Control,Lanzhou 730070,China
  • Published:2023-11-09
  • About author:JIANG Ke,born in 1997,postgraduate.Her main research interests include train tracking and safety.
  • Supported by:
    Gansu Science and Technology Plan Projects(21ZD4WA018,2020-61-14,22YF7GA140,18JR3RA131),Science and Technology Project of Education Department of Gansu Province(2017-A24) and Lanzhou Talent Innovation and Entrepreneurship Project(2022-RC-56).

摘要: 轨道线检测有助于提高列车的行驶安全,但检测效果易受列车行驶环境的影响。针对这种情况,提出了基于图像预处理并使用改进后的YOLOv5s网络进行轨道线检测的方法。首先,对图像预处理,使用HSV分离出图像的多余信息后,基于Otsu阈值处理,提高了图像检测目标的显著度,降低了目标识别的复杂程度;其次,考虑到列车车载系统轻量化的要求,对YOLOv5s目标识别网络进行了改进,通过添加 CBAM注意力机制模块改进主干网络,来加强有效的特征信息,可以在确保检测结果的基础上提高检测速度,并使得检测算法模型易于部署到移动端设备中。使用公开的列车行驶图像构建数据集进行实验,实验结果表明提出的检测算法在数据集测试中的mAP达到了94.1%,具备一定的实时性和鲁棒性。

关键词: 列车前方环境理解, 列车轨道线, YOLOv5s, 图像处理, CBAM模块

Abstract: Track line detection is helpful to improve the running safety of the train,but the detection effect is easily affected by the running environment of the train,this paper proposes a method based on image pre-processing and using the improved YOLOv5s network for track line detection.Firstly,the image pre-processing,using HSV to separate out the redundant information of the image and then based on Otsu thresholding,improves the saliency of the image detection target and reduces the complexity of target recognition.Secondly,considering the requirement of light weight of the train on-board system,the YOLOv5s target recognition network is improved,and the backbone network is improved by adding CBAM attention mechanism module to enhance the effective feature information,which can improve the detection speed on the basis of ensuring the detection results and make the detection algorithm model easy to deploy to mobile devices.Experimental results show that the proposed detection algorithm achieves 94.1% mAP in the dataset test with certain real-time performance and robustness.

Key words: Train front environmental understanding, Railway track line, YOLOv5s, Image processing, CBAM module

中图分类号: 

  • U213
[1]XIAO Y,SU L Y.Research on the Integrated Technology of the Automatic Driving System for Rail Transit[J].China Railway,2015,5(5):109-113.
[2]LIU D W,GUO J,WANG X M,et al.Intelligent MonitoringTechnologies forRailway Signaling Systems in China[J].Journal of Southwest Jiaotong University,2014,49(9):904-912.
[3]APKING A.Worldwide Market for Railway Industries Study:Market Volumes for OEM Business and After-Sales Service as Well as Prospects for Market Developments of Infrastructure and Rolling Stock[J].SCI Verkehr GmbH:Köln,Germany,2018:7.
[4]XIAO J S,CHENG X,LI B J,et al.Lane detection algorithmbased on Beamlet transformation and K-means clustering[J].Journal of Sichuan University(Engineering Science Edition),2015,47(4):98-103.
[5]ETXEBERRIA-GARCIA M,LABAYEN M,ZAMALLOA M,et al.Application of computer vision and deep learning in the railway domain for autonomous train stop operation[C]//2020 IEEE/SICE International Symposium on System Integration(SII).IEEE,2020:943-948.
[6]KAPOOR R,GOEL R,SHARMA A.Deep learning based object and railway track recognition using train mounted thermal imaging system[J].Journal of Computational and Theoretical Nanoscience,2020,17(11):5062-5071.
[7]DENG Y W,PU H T,HUA X B.Research on Lane Detection Based On RC-DBSCAN[J].Journal of Hunan University(Natural Sciences),2021,48(10):85-92.
[8]MUTHALAGU R,BOLIMERA A,KALAIC V.Lane detection technique based on perspective transformation and histogram analysis for self-driving cars[J].Computers & Electrical Engineering,2020,85:106653.
[9]WEI X,YANG Z,LIU Y,et al.Railway track fastener defect detection based on image processsing and deep learning techniques:A comparative study[J].Engineering Applications of Artificial Intelligence,2019,80:66-81.
[10]HE H,LIU A,QIU J.Lane Line Detection Method Based on MFD-MCN[J].Journal of Hunan Institute of Engineering(Na-tural Science Edition),2022,32(2):48-53.
[11]QIN N,HU X,DAI H.Deep fusion of multi-view and multimodal representation of ALS point cloud for 3D terrain scene re-cognition[J].ISPRS Journal of Photogrametry and Remote Sensing,2018,143:205-212.
[12]WANG J T,HONG W,GONG L.Lane detection algorithmbased ondensity clustering and RANSAC[C]//2018 Chinese Control And Decision Conference(CCDC).Shenyang,China:IEEE,2018:919-924.
[13]LI X J,DENG Y M,CHEN Z H,et al.Improved YOLOv5’s Foreign Object Debris Detection Algorithm for Airport Runways[J].Computer Engineering and Applications,2023,59(2):202-211.
[14]WOO S,PARK J,LEE J Y,et al.Cbam:Convolutional block attention module[C]//Proceedings of the European Conference on Computer Vision(ECCV).2018:3-19.
[15]WEI X K,SUO D,WEI D H.A Survey of The Application of Machine Vision In Rail Transit System Inspection[J].Control and Decision,2021,36(2):257-282.
[16]WANG S,LIU F,LIU B.Research on application of deep convolutional network in high-speed railway track inspection based on distributed fiber acoustic sensing[J].Optics Communications,2021,492:126-141.
[17]WANG G,CHEN X C,HAN D Y.Research on threshold segmentation algorithm of coal CT images based on improved Otsu[J].Coal Science and Technology,2021,49(1):264-271.
[18]YUE X X,JIA J X,CHEN X D,et al.Road small target detection algorithm based on improved YOLO V3[J].Computer Engineering and Applications,2020,56(21):218-223.
[19]LU D,MA W Q.Gesture Recognition Based on ImprovedYOLOv4-tiny Algorithm[J].Journal of Electronics & Information Technology,2021:1-9.
[20]LYU Z,ZHANG D,LUO J.A GPU-free real-time object detection method for apron surveillance video based on quantized MobileNet-SSD[J].IET Image Processing,2022.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!