Electronic Science and Technology ›› 2022, Vol. 35 ›› Issue (9): 37-43.doi: 10.16180/j.cnki.issn1007-7820.2022.09.006

Previous Articles     Next Articles

A Research on Distance Measurement Between Trains in Rail Transit Based on Machine Vision

BI Jiazhen1,SHEN Tuo1,2,ZHANG Xuanxiong1   

  1. 1. School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China
    2. Shanghai Key Laboratory of Rail Infrastructure Durability and System Safety,Tongji University,Shanghai 201804,China
  • Received:2021-03-23 Online:2022-09-15 Published:2022-09-15
  • Supported by:
    National Natural Science Foundation of China(U1734211)


A safe distance between two moving trains is an important condition to avoid train rear-end collision. Since the image data obtained by machine vision is rich in information and can be integrated in many aspects based on the collected images, this study proposes a distance measurement method based on monocular machine vision. This method uses the constant distance between the two tracks of the train (1 435 mm) as a benchmark to estimate the distance between trains. The images collected by the monocular camera are processed and analyzed by the convolution neural network to extract the track features. Based on the existing small hole imaging principle, the mapping relationship between the world coordinate system and the pixel coordinate system is derived, so as to optimize the calculation formula of the distance between trains. The experimental results show that the error rate of the system is less than 6%, and the measurement time of the system is within 40 ms, indicating that the method realizes the effective fusion and integration of ranging and other information obtained in the image, and can be used to judge the braking distance of the train.

Key words: distance measurement, machine vision, monocular camera, deep learning, image processing, track detection, pinhole imaging model, convolution neural network

CLC Number: 

  • TP391