WO2022267266A1 - Vehicle control method based on visual recognition, and device - Google Patents

Vehicle control method based on visual recognition, and device Download PDF

Info

Publication number
WO2022267266A1
WO2022267266A1 PCT/CN2021/123566 CN2021123566W WO2022267266A1 WO 2022267266 A1 WO2022267266 A1 WO 2022267266A1 CN 2021123566 W CN2021123566 W CN 2021123566W WO 2022267266 A1 WO2022267266 A1 WO 2022267266A1
Authority
WO
WIPO (PCT)
Prior art keywords
train
obstacle
control method
images
image
Prior art date
Application number
PCT/CN2021/123566
Other languages
French (fr)
Chinese (zh)
Inventor
曾云峰
于延霞
赵焱
陈龙
张朋
王嵩淞
邢淑梅
王蒙蒙
赵良
刘嘉琛
Original Assignee
中车大连机车车辆有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中车大连机车车辆有限公司 filed Critical 中车大连机车车辆有限公司
Publication of WO2022267266A1 publication Critical patent/WO2022267266A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Definitions

  • the invention belongs to the field of vehicle control, and in particular relates to a visual recognition-based train control method and equipment.
  • the present invention proposes a train control method and computer equipment based on visual recognition, wherein the method includes:
  • the algorithm of the neural network model is SSD algorithm.
  • the evaluating according to the obstacle characteristics includes:
  • the evaluating according to the obstacle characteristics further includes:
  • the braking control of the train according to the evaluation result includes:
  • the performing brake control on the train according to the evaluation result further includes:
  • the acquisition of image information within the train operation limit includes:
  • the acquisition of image information within the train operation limit includes:
  • Another aspect of the present invention also proposes a computer device, including a processor and a memory, the memory stores processor-executable instructions, and the instructions implement the above method when executed.
  • the real-time picture of the train operation limit is obtained, and the real-time picture is preprocessed, and then the current frame and the background frame of the picture of the preprocessed picture are differentially calculated to obtain a feature image for feature recognition, Extract the obstacles in the feature image, determine the distance of the obstacles through the radar, and judge whether the obstacles pose a threat to the safe operation of the train, and perform braking operations on the train when the obstacles threaten the safe operation of the train.
  • FIG. 1 is a flowchart of a method according to an embodiment of the present invention.
  • one aspect of the present invention proposes a train control method and computer equipment based on visual recognition, wherein the method includes:
  • Step S100 acquiring an image within the train running limit, and performing preprocessing on the image
  • Step S200 using the difference algorithm between the current frame and the background frame, performing binarization processing on the preprocessed image to obtain a feature image;
  • Step S300 performing obstacle feature extraction on the feature image according to the neural network model.
  • Step S400 perform evaluation according to the characteristics of the obstacle, and perform braking control on the train according to the evaluation result.
  • step S100 real-time acquisition of images within the train running limit
  • the so-called running limit refers to the range that has a certain impact on the safe running of the train when the train is running, and the video size is not less than 720P, the number of frames per second is not lower than 12 frames per second to obtain real-time images of the front of the train.
  • the image of each frame is preprocessed to reduce the interference of background noise such as lights and sunlight.
  • each frame of the collected image is preprocessed using algorithms such as grayscale and filtering to remove noise.
  • step S200 for each preprocessed image frame, a difference operation is performed between it and the background frame image, and binarization processing is performed to convert the image into a feature image composed of 0 and 1. Select the previous frame image as the background frame, subtract it from the current frame image, and then perform binarization as the feature image, which can provide the most complete feature data.
  • the fields of view of the track area in the direction of train travel is the same in most scenarios, for example, the images of the track area captured by the camera within the train operation limit during straight-line driving are always "the same", because the train The running track is almost full of regularly appearing sleepers, poles for power supply, rails and other road facilities. Therefore, several common pictures in the direction of the train can be selected as the background frame of the background picture and the current frame is differentially calculated to obtain a binarized feature image. In addition, a plurality of feature images are obtained as a reference by performing a differential operation with a plurality of background images.
  • pictures with different scenes can also be used as the background image in some cases, for example, in the case of a curve, or pictures in some special cases can be used as the background image.
  • select different scenes curves, straight lines, etc.
  • a comprehensive scene confirmation can be carried out through various background pictures under various scene types, and the safety of the current road is determined again by obstacle feature extraction under the scene confirmation.
  • the background frame is determined according to different ecological environments. Specifically, in the case of a train running on a curve, it is necessary to select pictures of the track area of the curve in different geographical locations as the background frame. More specifically, several curve scenes in arid areas are selected as background frames, and several outlander scenes in humid areas in the south are selected as regions, because in the curve scenes, the camera has a wider field of view, so there may be differences due to geographical differences. Factors misjudgment of some obstacles in the outer lane. Therefore, common images of the same scene in different climates can be selected as background frames.
  • the background frame when multiple scenes of the same track type are different. And it can contain multiple track types, such as curved roads, straight roads, bridges, tunnels, etc., and can judge the road change trend of the train running based on multiple background frames, for example, when the current frame image starts to match multiple background frames of the until type , in the next frame and several subsequent frames more background frames matching the curve type, it can be determined that the current train is heading to the outer lane.
  • multiple track types such as curved roads, straight roads, bridges, tunnels, etc.
  • step S300 the obtained feature image is input into the trained neural network model, and the obstacle in the feature image is identified through the neural network model, and the feature information of the obstacle is extracted, such as the position and size of the obstacle, etc. .
  • step S400 it is analyzed whether the location of the obstacle affects the running of the train, and whether the size and distance of the obstacle affect the driving safety of the vehicle.
  • the algorithm of the neural network model is the SSD algorithm.
  • the model used to identify obstacles in the feature image is obtained by training with the SSD algorithm.
  • the SSD algorithm takes into account both speed and accuracy, and can be used for detection of multiple categories, and has better detection performance for small target objects.
  • avoiding the use of fully connected layers in the network structure accelerates the processing speed.
  • evaluating according to the obstacle characteristics includes:
  • the features identified by the neural network model are evaluated, and the types of obstacles are analyzed, including trains, people and small obstacles. And the distance from the corresponding obstacle in the characteristic image of the train track area to the current vehicle position is obtained through the radar. And based on the type, size and distance of the obstacle, evaluate the impact of the obstacle on the train running safety, as shown in the following table,
  • Obstacles with a width greater than 2800mm are classified as trains, obstacles with a width of 400mm are classified as people, and obstacles with a width of less than 300mm are classified as small obstacles.
  • train-type obstacles when the distance is less than 280m, it is regarded as a threat to the safety of train running.
  • obstacles classified as people when the distance between them and the train is less than 200m, it is considered to affect the safety of the train.
  • it is classified as a small obstacle its distance from the current train is less than 100 meters, and it is considered to affect the driving safety of the train.
  • the sound and light alarm will be triggered immediately, and a control command will be output to brake the train.
  • the evaluating according to the obstacle characteristics further includes:
  • the braking control of the train according to the evaluation result includes:
  • the TCMS system After visually analyzing the images captured by the high-definition camera, if obstacles are found in the track area, alarm data will be output to the TCMS system through the TRDP interface. At the same time, real-time images of obstacles in the front track area are transmitted through the PIS network interface.
  • the three-layer switch of the vehicle After receiving the alarm information and image information, the three-layer switch of the vehicle transmits the information to the ground OCC through the vehicle-ground communication system. After OCC obtains the alarm information and image information of obstacle detection, it forwards them to the ground vehicle health management system, and the ground health management system forwards the information to the ground intelligent operation and maintenance platform.
  • evaluate the obstacle classify the obstacle, and judge the distance between the obstacle and the train to determine whether it affects the safety of the train.
  • the obstacle affects the safety of the vehicle, it will automatically trigger the sound and light warning immediately. Notify the train driver and passengers that there are obstacles in front of the train that affect the safety of the train. Simultaneously apply the emergency brake. Control the train to stop or reduce the speed to a safe level.
  • the braking control of the train according to the evaluation result further includes:
  • the braking operation is performed immediately when there is an obstacle in only one image, which will instead cause unnecessary losses.
  • the obstacle in front is only a light obstacle that suddenly appears or drifts by. Therefore, in the next frame of the video image, the obstacle may leave the train track area, and if the brake is forced to cause adverse effects.
  • by judging a plurality of characteristic images of a plurality of video frames that are adjacent or at intervals of a certain time if the obstacle affects the safety of the train in a plurality of characteristic images, then further Apply brakes and other safety control operations to trains to reduce the safety risks caused by accidental misjudgments of single-frame feature images.
  • the video content captured by the train within 2 minutes before and after the video frame is saved, and the image quality is not high.
  • the acquisition of image information within the train operation limit includes:
  • the high-definition camera is used to obtain the image information within the train operation limit
  • the millimeter-wave radar is used to obtain the distance between the object within the train operation limit and the train.
  • the acquisition of image information within the train operation limit includes:
  • the image information within the train running limit and the distance between the object in front and the train can be obtained by means of lidar scanning.
  • Another aspect of the present invention also proposes a computer device, including a processor and a memory, the memory stores processor-executable instructions, and the instructions implement the above method when executed.
  • the real-time picture of the train operation limit is obtained, and the real-time picture is preprocessed, and then the current frame and the background frame of the picture of the preprocessed picture are differentially calculated to obtain a feature image for feature recognition, Extract the obstacles in the feature image, determine the distance of the obstacles through the radar, and judge whether the obstacles pose a threat to the safe operation of the train, and perform braking operations on the train when the obstacles threaten the safe operation of the train.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Molecular Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Multimedia (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

A vehicle control method based on visual recognition, and a device. The method comprises: acquiring an image in a vehicle running limit, and pre-processing the image (S100); performing binarization processing on the pre-processed image by using a difference algorithm between the current frame and a background frame, so as to acquire a feature image (S200); performing obstacle feature extraction on the feature image according to a neural network model (S300); and performing evaluation according to the obstacle feature, and performing braking control on a vehicle according to an evaluation result (S400). The solution of actively detecting an obstacle and controlling a vehicle is realized, thereby providing better and active vehicle safety early warning and braking.

Description

一种基于视觉识别的列车控制方法及设备A train control method and device based on visual recognition 技术领域technical field
本发明属于车辆控制领域,具体涉及一种基于视觉识别的列车控制方法及设备。The invention belongs to the field of vehicle control, and in particular relates to a visual recognition-based train control method and equipment.
背景技术Background technique
近些年来,国内的无人驾驶项目逐渐增多,车辆配置了基于机械触发原理的被动式障碍物检测系统,在后续的国内各无人驾驶项目上,被动式障碍物检测系统成为标准配置,但被动式障碍物检测的方案不能对列车前进方向内的障碍物实现提前检测与预警,不可避免地会对车辆设备安全、行车安全有一定影响。In recent years, domestic unmanned driving projects have gradually increased. Vehicles are equipped with passive obstacle detection systems based on mechanical trigger principles. In subsequent domestic unmanned driving projects, passive obstacle detection systems have become standard configurations, but passive obstacle detection systems The object detection scheme cannot realize early detection and early warning of obstacles in the direction of the train, which will inevitably have a certain impact on the safety of vehicle equipment and driving safety.
发明内容Contents of the invention
为解决以上问题,本发明提出了一种基于视觉识别的列车控制方法及计算机设备,其中,方法包括:In order to solve the above problems, the present invention proposes a train control method and computer equipment based on visual recognition, wherein the method includes:
获取列车运行限界内的图像,并对所述图像进行预处理;Obtain images within the train running limits, and preprocess the images;
通过当前帧与背景帧的差分算法,对预处理后的所述图像进行二值化处理获取特征图像;Performing binarization processing on the preprocessed image through a difference algorithm between the current frame and the background frame to obtain a feature image;
根据神经网络模型对所述特征图像进行障碍物特征提取;以及performing obstacle feature extraction on the feature image according to the neural network model; and
根据所述障碍物特征进行评估,并根据评估结果对列车进行制动控制。Evaluate according to the characteristics of the obstacle, and perform braking control on the train according to the evaluation result.
在本发明的一些实施方式中,所述神经网络模型的算法为SSD算法。In some embodiments of the present invention, the algorithm of the neural network model is SSD algorithm.
在本发明的一些实施方式中,所述根据所述障碍物特征进行评估包括:In some embodiments of the present invention, the evaluating according to the obstacle characteristics includes:
提取障碍物的形态特征,根据障碍物的形态特征进行分类,并获取所 述分类后的障碍物的大小及距离;以及Extracting the morphological features of the obstacles, classifying them according to the morphological features of the obstacles, and obtaining the size and distance of the classified obstacles; and
根据所述障碍物的分类、大小及距离评估是否影响列车运行安全。According to the classification, size and distance of the obstacle, it is evaluated whether it affects the safety of train operation.
在本发明的一些实施方式中,所述根据所述障碍物特征进行评估还包括:In some implementations of the present invention, the evaluating according to the obstacle characteristics further includes:
去除列车运行限界内原有的固定物体的特征影响。Remove the characteristic influence of the original fixed objects within the train running limit.
在本发明的一些实施方式中,所述根据评估结果对列车进行制动控制包括:In some embodiments of the present invention, the braking control of the train according to the evaluation result includes:
当所述评估结果为影响列车运行安全时,对列车进行紧急制动并发出警报。When the evaluation result affects the safety of train operation, emergency braking is performed on the train and an alarm is issued.
在本发明的一些实施方式中,所述根据评估结果对列车进行制动控制还包括:In some embodiments of the present invention, the performing brake control on the train according to the evaluation result further includes:
当检测到多张特征图像中具有同一障碍物时方可进行紧急制动并发出警报。When the same obstacle is detected in multiple characteristic images, emergency braking and an alarm can be issued.
在本发明的一些实施方式中,还包括:In some embodiments of the present invention, also include:
若发生警报,将警报前后预定时间内的获取的所述列车运行限界内的图像进行保存。If an alarm occurs, images within the train operation limit acquired within a predetermined time before and after the alarm are saved.
在本发明的一些实施方式中,所述获取列车运行限界内的图像信息包括:In some implementations of the present invention, the acquisition of image information within the train operation limit includes:
通过高清摄像机获取当前列车运行限界内的多帧图像;以及Obtain multiple frames of images within the current train operating limits through high-definition cameras; and
通过毫米波雷达获取当前列车运行限界内对应物体的距离。Obtain the distance of the corresponding object within the current train operation limit through the millimeter wave radar.
在本发明的一些实施方式中,所述获取列车运行限界内的图像信息包括:In some implementations of the present invention, the acquisition of image information within the train operation limit includes:
通过激光雷达获取当前列车运行限界内的多帧图像以及图像中对应物体的距离。Obtain multiple frames of images within the current train running limit and the distance of corresponding objects in the images through lidar.
本发明的另一方面还提出了一种计算机设备,包括处理器和存储器,所述存储器存储有处理器可执行指令,所述指令在被执行时实现上述的方 法。Another aspect of the present invention also proposes a computer device, including a processor and a memory, the memory stores processor-executable instructions, and the instructions implement the above method when executed.
通过本发明所提供的方法,获取列车运行限界的实时画面,并对实时画面进行预处理,再将预处理后的画面的图片的当前帧与背景帧进行差分运算获取特征图像用于特征识别,提取特征图像中的障碍物,并通过雷达确定障碍物的距离,并判断障碍物对列车的安全运行是否有威胁,当障碍物威胁到列车运行安全时对列车执行制动操作。通过上述方案实现了一种主动障碍物检测和控制列车的方案,提供更好的主动的列车安全控制方案。Through the method provided by the present invention, the real-time picture of the train operation limit is obtained, and the real-time picture is preprocessed, and then the current frame and the background frame of the picture of the preprocessed picture are differentially calculated to obtain a feature image for feature recognition, Extract the obstacles in the feature image, determine the distance of the obstacles through the radar, and judge whether the obstacles pose a threat to the safe operation of the train, and perform braking operations on the train when the obstacles threaten the safe operation of the train. Through the above scheme, a scheme for active obstacle detection and train control is realized, and a better active train safety control scheme is provided.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and those skilled in the art can obtain other embodiments according to these drawings without any creative effort.
图1为本发明一实施例的方法流程图。FIG. 1 is a flowchart of a method according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明实施例进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
如图1所示,本发明的一方面提出了一种基于视觉识别的列车控制方法及计算机设备,其中,方法包括:As shown in Figure 1, one aspect of the present invention proposes a train control method and computer equipment based on visual recognition, wherein the method includes:
步骤S100、获取列车运行限界内的图像,并对所述图像进行预处理;Step S100, acquiring an image within the train running limit, and performing preprocessing on the image;
步骤S200、通过当前帧与背景帧的差分算法,对预处理后的所述图像进行二值化处理获取特征图像;Step S200, using the difference algorithm between the current frame and the background frame, performing binarization processing on the preprocessed image to obtain a feature image;
步骤S300、根据神经网络模型对所述特征图像进行障碍物特征提取;以及Step S300, performing obstacle feature extraction on the feature image according to the neural network model; and
步骤S400、根据所述障碍物特征进行评估,并根据评估结果对列车进行制动控制。Step S400, perform evaluation according to the characteristics of the obstacle, and perform braking control on the train according to the evaluation result.
在本实施例中,在步骤S100中,实时获取列车运行限界内的图像,所谓运行限界是指列车运行时在对列车的安全行驶具有一定影响的范围,通过视频采集设备以视频尺寸不低于720P,帧数每秒不低于12帧的采样速度获取列车运行前方的实时画面。同时对每一帧的图像进行预处理,降低灯光、阳光等背景噪声干扰,在一些实施例中,对采集到的每一帧图像采用灰度化、滤波去燥等算法进行预处理。此外为确定图片中对列车安全行驶的有效范围,还需通过边缘检测敏感窗口确定影响列出安全行驶的轨行区。In this embodiment, in step S100, real-time acquisition of images within the train running limit, the so-called running limit refers to the range that has a certain impact on the safe running of the train when the train is running, and the video size is not less than 720P, the number of frames per second is not lower than 12 frames per second to obtain real-time images of the front of the train. At the same time, the image of each frame is preprocessed to reduce the interference of background noise such as lights and sunlight. In some embodiments, each frame of the collected image is preprocessed using algorithms such as grayscale and filtering to remove noise. In addition, in order to determine the effective range of the safe running of the train in the picture, it is also necessary to determine the track area that affects the safe running of the list through the edge detection sensitive window.
在步骤S200中,对预处理之后的每一帧图像,将其与背景帧图像进行差分运算,进行二值化处理,将图像转换成0,1组成的特征图像。选取前一帧图像作为背景帧,并与当前帧图像相减,再进行二值化作为特征图像,可以提供最完整的特征数据。In step S200 , for each preprocessed image frame, a difference operation is performed between it and the background frame image, and binarization processing is performed to convert the image into a feature image composed of 0 and 1. Select the previous frame image as the background frame, subtract it from the current frame image, and then perform binarization as the feature image, which can provide the most complete feature data.
在一些实施例中,由于列车行进方向的轨行区视野大多数场景下都是相同的,例如直线行驶过程中摄像机捕捉的到列车运行限界内的轨行区画面总是“千篇一律”,因为列车行驶的轨道上几乎全是规律出现的枕木及供电用的电杆、铁轨等道路设施。因此可选择几幅常见的列车行进方向的图片作为背景图片的背景帧与当前帧进行差分运算获取二值化的特征图像。并且通过与多幅背景图进行差分运算获取多个特征图像作参考。In some embodiments, since the field of view of the track area in the direction of train travel is the same in most scenarios, for example, the images of the track area captured by the camera within the train operation limit during straight-line driving are always "the same", because the train The running track is almost full of regularly appearing sleepers, poles for power supply, rails and other road facilities. Therefore, several common pictures in the direction of the train can be selected as the background frame of the background picture and the current frame is differentially calculated to obtain a binarized feature image. In addition, a plurality of feature images are obtained as a reference by performing a differential operation with a plurality of background images.
在一些实施例中,在一些情况下也可通过具有不同场景的图片作为背景图像,例如弯道情况下,或者一些特殊情况下的图片作为背景图像。并且选择不同场景(弯道,直线等场景),再结合多幅背景图片进行差分,可判断出列车运行限界内轨行区的道路变化趋势。如可通过多幅背景图片与当前帧图像哪个更接近,或者在一段时间内连续的多帧图像与多个多样的背景帧进行差分运算后的特征图像的相似度,如果多个连续的多帧图像与某一背景帧图像的重合度更高,则说明列车正处于该背景帧图像所属的道路场景。In some embodiments, pictures with different scenes can also be used as the background image in some cases, for example, in the case of a curve, or pictures in some special cases can be used as the background image. And select different scenes (curves, straight lines, etc.), and then combine multiple background pictures to make a difference, you can judge the road change trend of the track area within the train operation limit. For example, which of the multiple background pictures is closer to the current frame image, or the similarity of the feature image after the differential operation between the continuous multi-frame images and multiple diverse background frames within a period of time, if multiple consecutive multi-frames A higher overlap between the image and a certain background frame image indicates that the train is in the road scene to which the background frame image belongs.
此外,在一些实施例中,过可通过多种场景类型下的多种背景图片进 行综合的场景确确认,并在场景确认下再次障碍物特征提取确定当前道路的安全性。例如,根据不同的生态环境确定背景帧,具体为,对于列车弯道行驶情况下,需选择在不同地理位置场景的弯道的轨行区图片作为背景帧。更具体地为,选择若干幅干旱地区的弯道场景作为背景帧,再选择若干幅南方湿润地区的外道场景作为地区,因为在弯道场景中,摄像机拍摄的视野较为广,因此可能存在因地域因素对外道中的一些障碍物进行误判的情况。因此可选择不同气候下同一场景的常见图像作为背景帧。也即同一轨道类型的多个场景不同的情况下的背景帧。并且可包含多个轨道类型,如弯道,直道,桥梁,隧道等类型等,并且可根据多个背景帧判断列车行驶的道路变化趋势,例如当当前帧图像开始匹配直到类型的多个背景帧,在下一帧及后续几帧更多匹配弯道类型的背景帧,便可确定当前列车正驶向外道。In addition, in some embodiments, a comprehensive scene confirmation can be carried out through various background pictures under various scene types, and the safety of the current road is determined again by obstacle feature extraction under the scene confirmation. For example, the background frame is determined according to different ecological environments. Specifically, in the case of a train running on a curve, it is necessary to select pictures of the track area of the curve in different geographical locations as the background frame. More specifically, several curve scenes in arid areas are selected as background frames, and several outlander scenes in humid areas in the south are selected as regions, because in the curve scenes, the camera has a wider field of view, so there may be differences due to geographical differences. Factors misjudgment of some obstacles in the outer lane. Therefore, common images of the same scene in different climates can be selected as background frames. That is, the background frame when multiple scenes of the same track type are different. And it can contain multiple track types, such as curved roads, straight roads, bridges, tunnels, etc., and can judge the road change trend of the train running based on multiple background frames, for example, when the current frame image starts to match multiple background frames of the until type , in the next frame and several subsequent frames more background frames matching the curve type, it can be determined that the current train is heading to the outer lane.
在步骤S300中,将获得的特征图像,输入到已经训练好的神经网络模型,通过神经网络模型对特征图像中的障碍物进行识别,提取障碍物的特征信息,如障碍物的位置,大小等。In step S300, the obtained feature image is input into the trained neural network model, and the obstacle in the feature image is identified through the neural network model, and the feature information of the obstacle is extracted, such as the position and size of the obstacle, etc. .
在步骤S400中,分析该障碍物出现的位置对列车运行行驶是否有影响,障碍物的大小以及距离等是否影响车辆的行驶安全。In step S400, it is analyzed whether the location of the obstacle affects the running of the train, and whether the size and distance of the obstacle affect the driving safety of the vehicle.
在本发明的一些实施例中,神经网络模型的算法为SSD算法。In some embodiments of the present invention, the algorithm of the neural network model is the SSD algorithm.
在本实施例中,用于特征图像中障碍物进行识别的模型采用SSD算法训练所得,SSD算法兼顾速度与精度,可用于多个类别分类的检测,对小目标物体探测性能较好。并且在网络结构中避免使用全连接层,加速了运算处理速度。In this embodiment, the model used to identify obstacles in the feature image is obtained by training with the SSD algorithm. The SSD algorithm takes into account both speed and accuracy, and can be used for detection of multiple categories, and has better detection performance for small target objects. In addition, avoiding the use of fully connected layers in the network structure accelerates the processing speed.
在本发明的一些实施方式中,根据所述障碍物特征进行评估包括:In some embodiments of the present invention, evaluating according to the obstacle characteristics includes:
提取障碍物的形态特征,根据障碍物的形态特征进行分类,并获取所述分类后的障碍物的大小及距离;以及Extracting the morphological features of the obstacles, classifying them according to the morphological features of the obstacles, and obtaining the size and distance of the classified obstacles; and
根据所述障碍物的分类、大小及距离评估是否影响列车运行安全。According to the classification, size and distance of the obstacle, it is evaluated whether it affects the safety of train operation.
在本实施例中,对通过神经网络模型识别后的特征进行评估,分析障 碍物的类型,包括列车、人和小障碍物。并通过雷达获取到列车轨行区特征图像中对应障碍物到当前车辆位置的距离。并基于障碍物的类型、大小和距离评估该障碍物对列车行驶安全的影响,如下表所示,In this embodiment, the features identified by the neural network model are evaluated, and the types of obstacles are analyzed, including trains, people and small obstacles. And the distance from the corresponding obstacle in the characteristic image of the train track area to the current vehicle position is obtained through the radar. And based on the type, size and distance of the obstacle, evaluate the impact of the obstacle on the train running safety, as shown in the following table,
Figure PCTCN2021123566-appb-000001
Figure PCTCN2021123566-appb-000001
对宽度高于2800mm的障碍物归为列车,将宽度在400mm的障碍物分类为人,将宽度小于300mm的障碍物归类为小障碍物。对于列车类障碍物,当其距离低于280m的情况下,视为对列车行驶安全造成威胁。对于归类为人的障碍物当其与列车的距离低于200m是视为影响列车行驶安全。当其归类为小型障碍物的障碍物,其与当前列车的距离低于100米时视为影响列成行驶安全。当列车前进方向上存在影响列车安全行驶的障碍物时(存在障碍物或者存在追尾风险),则立刻触发声光报警,并输出控制指令对列车进行制动。Obstacles with a width greater than 2800mm are classified as trains, obstacles with a width of 400mm are classified as people, and obstacles with a width of less than 300mm are classified as small obstacles. For train-type obstacles, when the distance is less than 280m, it is regarded as a threat to the safety of train running. For obstacles classified as people, when the distance between them and the train is less than 200m, it is considered to affect the safety of the train. When it is classified as a small obstacle, its distance from the current train is less than 100 meters, and it is considered to affect the driving safety of the train. When there is an obstacle in the direction of the train that affects the safe running of the train (there is an obstacle or there is a risk of rear-end collision), the sound and light alarm will be triggered immediately, and a control command will be output to brake the train.
在本发明的一些实施例中,所述根据所述障碍物特征进行评估还包括:In some embodiments of the present invention, the evaluating according to the obstacle characteristics further includes:
去除列车运行限界内原有的固定物体的特征影响。Remove the characteristic influence of the original fixed objects within the train running limit.
在本实施例中,由于在列车行驶过程中,列车前方的轨行区中存在一些常用的列车用的设施,因此需要将一些列车运行限界内原有的设施所造成的影响去除。因此,在本实施例中,需要通过对大量的带有列车运行限界常见的实施的图像进行标注,再通过神经网络模型进行训练,当在特征图像中再次出现该“障碍物”时将其归类为正常的固定物体。对该物体不安全性评估。In this embodiment, since there are some commonly used facilities for trains in the track area in front of the train during the running of the train, it is necessary to remove the influence caused by the original facilities within the train running limit. Therefore, in this embodiment, it is necessary to mark a large number of images with common implementations of train operation limits, and then train through the neural network model. When the "obstacle" appears again in the feature image, it will be classified as Classes are normal fixed objects. Evaluate the object's unsafety.
在本发明的一些实施例中,所述根据评估结果对列车进行制动控制包括:In some embodiments of the present invention, the braking control of the train according to the evaluation result includes:
当所述评估结果为影响列车运行安全时,对列车进行紧急制动并发出警报。When the evaluation result affects the safety of train operation, emergency braking is performed on the train and an alarm is issued.
在本实施例中,对高清摄像机拍摄的图像进行视觉分析后,如果发现轨行区有障碍物,将会通过TRDP接口向TCMS系统输出报警数据。同时通过PIS网络接口传输前方轨行区障碍物的实时画面。车辆三层交换机在接收到报警信息和图像信息后,通过车地通信系统将信息传递给地面OCC。OCC获取障碍物检测的报警信息和图像信息后,将它们转发给地面车辆健康管理系统,地面健康管理系统再将信息转发给地面智慧运维平台。In this embodiment, after visually analyzing the images captured by the high-definition camera, if obstacles are found in the track area, alarm data will be output to the TCMS system through the TRDP interface. At the same time, real-time images of obstacles in the front track area are transmitted through the PIS network interface. After receiving the alarm information and image information, the three-layer switch of the vehicle transmits the information to the ground OCC through the vehicle-ground communication system. After OCC obtains the alarm information and image information of obstacle detection, it forwards them to the ground vehicle health management system, and the ground health management system forwards the information to the ground intelligent operation and maintenance platform.
进一步,对障碍物的进行评估,对障碍物进行分类,并判断障碍物与列车的距离以确定其是否影响列车行驶安全,当障碍物影响车辆行驶的安全的时候,立刻自动触发声光警示以通知列车驾驶人员以及乘客前方存在障碍物影响列车行驶安全。同时施加紧急制动。控制列车停下或将速度降到安全水平。Further, evaluate the obstacle, classify the obstacle, and judge the distance between the obstacle and the train to determine whether it affects the safety of the train. When the obstacle affects the safety of the vehicle, it will automatically trigger the sound and light warning immediately. Notify the train driver and passengers that there are obstacles in front of the train that affect the safety of the train. Simultaneously apply the emergency brake. Control the train to stop or reduce the speed to a safe level.
在本发明的一些实施例中,所述根据评估结果对列车进行制动控制还包括:In some embodiments of the present invention, the braking control of the train according to the evaluation result further includes:
当检测到多张特征图像中具有同一障碍物时方可进行紧急制动并发出警报。When the same obstacle is detected in multiple characteristic images, emergency braking and an alarm can be issued.
在本实施例中,在一些情况下,仅通过一张图像存在障碍物便立刻做出制动操作,反而会造成不必要的损失。例如,前方障碍物只是突然出现 或飘过的轻质障碍物,因此,可能在下一帧的视频图像中,该障碍物便脱离列车轨行区,如果强制进行制动反而造成恶劣影响。为此,在本实施例中,通过对相邻或间隔一定时间的多个视频帧的多个特征图像进行判断,若多个特征图像中均出现该障碍物影响列车行驶安全的情况,则再对列车施加制动等安全控制操作,以减少由于单帧特征图像存在偶然性的误判情况所带来的安全风险。In this embodiment, in some cases, the braking operation is performed immediately when there is an obstacle in only one image, which will instead cause unnecessary losses. For example, the obstacle in front is only a light obstacle that suddenly appears or drifts by. Therefore, in the next frame of the video image, the obstacle may leave the train track area, and if the brake is forced to cause adverse effects. For this reason, in this embodiment, by judging a plurality of characteristic images of a plurality of video frames that are adjacent or at intervals of a certain time, if the obstacle affects the safety of the train in a plurality of characteristic images, then further Apply brakes and other safety control operations to trains to reduce the safety risks caused by accidental misjudgments of single-frame feature images.
在本发明的一些实施例中,还包括:In some embodiments of the present invention, also include:
若产生警报,将警报前后预定时间内的获取的所述列车运行限界内的图像进行保存。If an alarm is generated, images within the train operation limit acquired within a predetermined time before and after the alarm are saved.
在本实施例中,若从视频采集的图像中存在某一帧的特征图像中的障碍物触发警报,则将该视频帧的前后2分钟内列车所捕获的视频内容进行保存,且图像质量不低于1080P,12帧/秒,以供后续分析使用。In this embodiment, if there is an obstacle in the characteristic image of a certain frame in the image collected from the video to trigger an alarm, then the video content captured by the train within 2 minutes before and after the video frame is saved, and the image quality is not high. Lower than 1080P, 12 frames per second, for subsequent analysis.
在本发明的一些实施方式中,所述获取列车运行限界内的图像信息包括:In some implementations of the present invention, the acquisition of image information within the train operation limit includes:
通过高清摄像机获取当前列车运行限界内的多帧图像;以及Obtain multiple frames of images within the current train operating limits through high-definition cameras; and
通过毫米波雷达获取当前列车运行限界内对应物体的距离。Obtain the distance of the corresponding object within the current train operation limit through the millimeter wave radar.
在本实施例中,通过高清摄像机获取列车运行限界内的图像信息,并同时通过毫米波雷达获取列车运行限界内的物体距离列车的距离。In this embodiment, the high-definition camera is used to obtain the image information within the train operation limit, and at the same time, the millimeter-wave radar is used to obtain the distance between the object within the train operation limit and the train.
在本发明的一些实施方式中,所述获取列车运行限界内的图像信息包括:In some implementations of the present invention, the acquisition of image information within the train operation limit includes:
通过激光雷达获取当前列车运行限界内的多帧图像以及图像中对应物体的距离。Obtain multiple frames of images within the current train running limit and the distance of corresponding objects in the images through lidar.
在本实施例中,可通过激光雷达扫描的方式获取列车运行限界内的图像信息并获取前方物体与列车的距离。In this embodiment, the image information within the train running limit and the distance between the object in front and the train can be obtained by means of lidar scanning.
本发明的另一方面还提出了一种计算机设备,包括处理器和存储器,所述存储器存储有处理器可执行指令,所述指令在被执行时实现上述的方 法。Another aspect of the present invention also proposes a computer device, including a processor and a memory, the memory stores processor-executable instructions, and the instructions implement the above method when executed.
通过本发明所提供的方法,获取列车运行限界的实时画面,并对实时画面进行预处理,再将预处理后的画面的图片的当前帧与背景帧进行差分运算获取特征图像用于特征识别,提取特征图像中的障碍物,并通过雷达确定障碍物的距离,并判断障碍物对列车的安全运行是否有威胁,当障碍物威胁到列车运行安全时对列车执行制动操作。通过上述方案实现了一种主动障碍物检测和控制列车的方案,提供更好的主动的列车安全控制方案。Through the method provided by the present invention, the real-time picture of the train operation limit is obtained, and the real-time picture is preprocessed, and then the current frame and the background frame of the picture of the preprocessed picture are differentially calculated to obtain a feature image for feature recognition, Extract the obstacles in the feature image, determine the distance of the obstacles through the radar, and judge whether the obstacles pose a threat to the safe operation of the train, and perform braking operations on the train when the obstacles threaten the safe operation of the train. Through the above scheme, a scheme for active obstacle detection and train control is realized, and a better active train safety control scheme is provided.

Claims (10)

  1. 一种基于视觉识别的列车控制方法,其特征在于,包括:A visual recognition-based train control method, characterized in that it comprises:
    获取列车运行限界内的图像,并对所述图像进行预处理;Obtain images within the train running limits, and preprocess the images;
    通过当前帧与背景帧的差分算法,对预处理后的所述图像进行二值化处理获取特征图像;Performing binarization processing on the preprocessed image through a difference algorithm between the current frame and the background frame to obtain a feature image;
    根据神经网络模型对所述特征图像进行障碍物特征提取;以及performing obstacle feature extraction on the feature image according to the neural network model; and
    根据所述障碍物特征进行评估,并根据评估结果对列车进行制动控制。Evaluate according to the characteristics of the obstacle, and perform braking control on the train according to the evaluation result.
  2. 根据权利要求1所述的列车控制方法,其特征在于,所述神经网络模型的算法为SSD算法。The train control method according to claim 1, wherein the algorithm of the neural network model is an SSD algorithm.
  3. 根据权利要求2所述的列车控制方法,其特征在于,所述根据所述障碍物特征进行评估包括:The train control method according to claim 2, wherein said evaluating according to said obstacle characteristics comprises:
    提取障碍物的形态特征,根据障碍物的形态特征进行分类,并获取所述分类后的障碍物的大小及距离;以及Extracting the morphological features of the obstacles, classifying them according to the morphological features of the obstacles, and obtaining the size and distance of the classified obstacles; and
    根据所述障碍物的分类、大小及距离评估是否影响列车运行安全。According to the classification, size and distance of the obstacle, it is evaluated whether it affects the safety of train operation.
  4. 根据权利要求3所述的列车控制方法,其特征在于,所述根据所述障碍物特征进行评估还包括:The train control method according to claim 3, wherein said evaluating according to said obstacle characteristics further comprises:
    去除列车运行限界内原有的固定物体的特征影响。Remove the characteristic influence of the original fixed objects within the train running limit.
  5. 根据权利要求3所述的列车控制方法,其特征在于,所述根据评估结果对列车进行制动控制包括:The train control method according to claim 3, wherein the braking control of the train according to the evaluation result comprises:
    当所述评估结果为影响列车运行安全时,对列车进行紧急制动并发出警报。When the evaluation result affects the safety of train operation, emergency braking is performed on the train and an alarm is issued.
  6. 根据权利要求5所述的列车控制方法,其特征在于,所述根据评估结果对列车进行制动控制还包括:The train control method according to claim 5, wherein said performing brake control on the train according to the evaluation result further comprises:
    当检测到多张特征图像中具有同一障碍物时方可进行紧急制动并发出警报。When the same obstacle is detected in multiple characteristic images, emergency braking and an alarm can be issued.
  7. 根据权利要求5或6所述的列车控制方法,其特征在于,还包括:The train control method according to claim 5 or 6, further comprising:
    若产生警报,将警报前后预定时间内的获取的所述列车运行限界内的图像进行保存。If an alarm is generated, images within the train operation limit acquired within a predetermined time before and after the alarm are saved.
  8. 根据权利要求1所述的列车控制方法,其特征在于,所述获取列车运行限界内的图像信息包括:The train control method according to claim 1, wherein said acquiring image information within the train operation limit comprises:
    通过高清摄像机获取当前列车运行限界内的多帧图像;以及Obtain multiple frames of images within the current train operating limits through high-definition cameras; and
    通过毫米波雷达获取当前列车运行限界内对应物体的距离。Obtain the distance of the corresponding object within the current train operation limit through the millimeter wave radar.
  9. 根据权利要求1所述的列车控制方法,其特征在于,所述获取列车运行限界内的图像信息包括:The train control method according to claim 1, wherein said acquiring image information within the train operation limit comprises:
    通过激光雷达获取当前列车运行限界内的多帧图像以及图像中对应物体的距离。Obtain multiple frames of images within the current train running limit and the distance of corresponding objects in the images through lidar.
  10. 一种计算机设备,包括处理器和存储器,所述存储器存储有处理器可执行指令,所述指令在被执行时实现权利要求1-9中任一项所述的方法。A computer device comprising a processor and a memory storing processor-executable instructions which, when executed, implement the method of any one of claims 1-9.
PCT/CN2021/123566 2021-06-24 2021-10-13 Vehicle control method based on visual recognition, and device WO2022267266A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110706644.2A CN113269151A (en) 2021-06-24 2021-06-24 Train control method and equipment based on visual identification
CN202110706644.2 2021-06-24

Publications (1)

Publication Number Publication Date
WO2022267266A1 true WO2022267266A1 (en) 2022-12-29

Family

ID=77236010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/123566 WO2022267266A1 (en) 2021-06-24 2021-10-13 Vehicle control method based on visual recognition, and device

Country Status (2)

Country Link
CN (1) CN113269151A (en)
WO (1) WO2022267266A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113269151A (en) * 2021-06-24 2021-08-17 中车大连机车车辆有限公司 Train control method and equipment based on visual identification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599832A (en) * 2016-12-09 2017-04-26 重庆邮电大学 Method for detecting and recognizing various types of obstacles based on convolution neural network
CN109886215A (en) * 2019-02-26 2019-06-14 常熟理工学院 The cruise of low speed garden unmanned vehicle and emergency braking system based on machine vision
US20200394459A1 (en) * 2019-06-17 2020-12-17 Nvidia Corporation Cell image synthesis using one or more neural networks
CN112319552A (en) * 2020-11-13 2021-02-05 中国铁路哈尔滨局集团有限公司 Rail car operation detection early warning system
CN113269151A (en) * 2021-06-24 2021-08-17 中车大连机车车辆有限公司 Train control method and equipment based on visual identification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599832A (en) * 2016-12-09 2017-04-26 重庆邮电大学 Method for detecting and recognizing various types of obstacles based on convolution neural network
CN109886215A (en) * 2019-02-26 2019-06-14 常熟理工学院 The cruise of low speed garden unmanned vehicle and emergency braking system based on machine vision
US20200394459A1 (en) * 2019-06-17 2020-12-17 Nvidia Corporation Cell image synthesis using one or more neural networks
CN112319552A (en) * 2020-11-13 2021-02-05 中国铁路哈尔滨局集团有限公司 Rail car operation detection early warning system
CN113269151A (en) * 2021-06-24 2021-08-17 中车大连机车车辆有限公司 Train control method and equipment based on visual identification

Also Published As

Publication number Publication date
CN113269151A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN106652465B (en) Method and system for identifying abnormal driving behaviors on road
CN102765365B (en) Pedestrian detection method based on machine vision and pedestrian anti-collision warning system based on machine vision
CN101739829B (en) Video-based vehicle overspeed monitoring method and system
CN110298300B (en) Method for detecting vehicle illegal line pressing
CN111198371A (en) Forward-looking obstacle detection system
CN101964145A (en) Automatic license plate recognition method and system
JP2018516799A (en) Method and apparatus for recognizing and evaluating road surface reflections
KR101040049B1 (en) Fast and robust method for tracking the multiple moving objects in video-based surveillance system
CN111967396A (en) Processing method, device and equipment for obstacle detection and storage medium
Ramezani et al. A new DSWTS algorithm for real-time pedestrian detection in autonomous agricultural tractors as a computer vision system
US8229170B2 (en) Method and system for detecting a signal structure from a moving video platform
CN114119955A (en) Method and device for detecting potential dangerous target
WO2022267266A1 (en) Vehicle control method based on visual recognition, and device
Kapoor et al. Deep learning based object and railway track recognition using train mounted thermal imaging system
CN115909223A (en) Method and system for matching WIM system information with monitoring video data
CN112800974A (en) Subway rail obstacle detection system and method based on machine vision
CN116152753A (en) Vehicle information identification method and system, storage medium and electronic device
CN114120250B (en) Video-based motor vehicle illegal manned detection method
CN114943955B (en) Automatic unloading control method for semitrailer
Xia et al. An automobile detection algorithm development for automated emergency braking system
CN116311166A (en) Traffic obstacle recognition method and device and electronic equipment
CN112115767B (en) Tunnel foreign matter detection method based on Retinex and YOLOv3 models
Klammsteiner et al. Vision Based Stationary Railway Track Monitoring System
Zhao et al. Research on vehicle detection and vehicle type recognition under cloud computer vision
Marzouk et al. Vehicles detection and counting based on internet of things technology and video processing techniques

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21946749

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE