[go: up one dir, main page]

CN107705577A - A kind of real-time detection method and system based on lane line demarcation vehicle peccancy lane change - Google Patents

A kind of real-time detection method and system based on lane line demarcation vehicle peccancy lane change Download PDF

Info

Publication number
CN107705577A
CN107705577A CN201711026761.4A CN201711026761A CN107705577A CN 107705577 A CN107705577 A CN 107705577A CN 201711026761 A CN201711026761 A CN 201711026761A CN 107705577 A CN107705577 A CN 107705577A
Authority
CN
China
Prior art keywords
vehicle
tracking
lane line
size
lane
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201711026761.4A
Other languages
Chinese (zh)
Other versions
CN107705577B (en
Inventor
李松斌
杨洁
赵思奇
刘鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanhai Research Station Institute Of Acoustics Chinese Academy Of Sciences
Institute of Acoustics CAS
Original Assignee
Institute of Acoustics CAS
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 Institute of Acoustics CAS filed Critical Institute of Acoustics CAS
Priority to CN201711026761.4A priority Critical patent/CN107705577B/en
Publication of CN107705577A publication Critical patent/CN107705577A/en
Application granted granted Critical
Publication of CN107705577B publication Critical patent/CN107705577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
    • 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
    • G06N3/045Combinations of networks
    • 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
    • G06V20/584Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of vehicle lights or traffic lights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/08Detecting or categorising vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Traffic Control Systems (AREA)

Abstract

本发明涉及一种基于车道线标定车辆违章变道的实时检测方法,具体包括:步骤1)标定车道线L,计算并获取检测矩形区域D和图像I;步骤2)在步骤1)的检测矩形区域D内,基于深层卷积神经网络检测出图像I的车辆集合A={A1,A2,...,Ai};步骤3)根据步骤2)得到的车辆集合A,筛选出与车道线L相交的车辆集合B={B1,B2,...,Bi},其中,再与跟踪车辆列表TL进行匹配,并更新跟踪车辆列表TL={T1,T2,...,Tj};步骤4)判断更新后的跟踪车辆列表TL中的跟踪车辆Tj是否为违章变道车辆;如果跟踪车辆Tj为违章变道车辆,则标注出跟踪车辆Tj的位置,并从更新后的跟踪车辆列表TL中删除违章变道车辆Tj的信息。

The present invention relates to a real-time detection method for illegal lane changes of vehicles based on lane line marking, specifically comprising: step 1) marking the lane line L, calculating and obtaining the detection rectangle area D and image I; step 2) the detection rectangle in step 1) In area D, based on the deep convolutional neural network, the vehicle set A of image I is detected = {A 1 , A 2 ,...,A i }; step 3) According to the vehicle set A obtained in step 2), filter out the vehicle set A={A 1 ,A 2 ,...,A i }; Vehicle set B={B 1 ,B 2 ,...,B i } where the lane line L intersects, where, Then match with the tracked vehicle list TL, and update the tracked vehicle list TL={T 1 , T 2 ,...,T j }; step 4) judge whether the tracked vehicle T j in the updated tracked vehicle list TL is Vehicles changing lanes illegally; if the tracking vehicle T j is a vehicle changing lanes illegally, mark the position of the tracking vehicle T j , and delete the information of the illegal lane changing vehicle T j from the updated tracking vehicle list TL.

Description

一种基于车道线标定车辆违章变道的实时检测方法及系统A real-time detection method and system for illegal lane changes of vehicles based on lane line calibration

技术领域technical field

本发明属于智能交通系统和图像识别的技术领域,具体涉及一种基于车道线标定车辆违章变道的实时检测方法及系统。The invention belongs to the technical field of intelligent transportation systems and image recognition, and in particular relates to a real-time detection method and system for illegally changing lanes of vehicles based on lane line marking.

背景技术Background technique

随着社会的进步和发展,城市机动车与日俱增,机动车数量不断攀升使得交通事故愈发严重,近年来道路交通事故造成的经济损失和死亡人数也在不断上升。控制交通事故发生成为交通管理部门越来越重视的问题,而造成交通事故的首要原因就是汽车违法行为。作为一种常见的交通违法行为,违章变道不仅会造成交通拥堵,甚至可能会造成严重交通事故,为了降低交通事故发生率,交通管理部门不断推进智能交通管理系统,而智能交通管理系统中基于监控视频的违章变道检测技术较为关键,因此研究基于监控视频的车辆违章变道检测很有必要。With the progress and development of society, the number of urban motor vehicles is increasing day by day, and the increasing number of motor vehicles makes traffic accidents more and more serious. In recent years, the economic losses and death toll caused by road traffic accidents are also increasing. Controlling the occurrence of traffic accidents has become a problem that traffic management departments pay more and more attention to, and the primary cause of traffic accidents is automobile violations. As a common traffic violation, illegal lane changes will not only cause traffic congestion, but may even cause serious traffic accidents. In order to reduce the incidence of traffic accidents, traffic management departments continue to promote intelligent traffic management systems, which are based on The illegal lane change detection technology of surveillance video is more critical, so it is necessary to study the detection of vehicle illegal lane change based on surveillance video.

现有的对车辆违章变道检测的方法主要有两类:一类是基于空间距离,如激光检测法、红外线检测法以及超声波检测法,此类方法存在设备昂贵、空间覆盖面积小、设备间会相互干扰以及不能处理遮挡情况等问题;另一类是基于计算机视觉技术,此类方法具有安装维护简单、可视性高、检测准确度高等优点。There are two main types of existing detection methods for vehicle violations and lane changes: one is based on spatial distance, such as laser detection, infrared detection and ultrasonic detection. The other is based on computer vision technology, which has the advantages of simple installation and maintenance, high visibility, and high detection accuracy.

目前,基于计算机视觉技术的违章变道车辆检测方法是先提取运动目标集合,再找出运动车辆集合及位置信息,最后再判断每辆车的运动轨迹离散程度是否超出设定阈值,以此判断车辆是否违章变道。现有的方法在路面车辆较少时,且车辆运动较快时检测效果比较好;但是,不能应对车辆运动缓慢或者路面车辆较多时的违章变道。此外,现有的方法易受光照、遮挡、阴影和视频抖动等因素的影响;在车辆较多时,对每辆车进行跟踪的方式计算量太大,很难满足实时要求。因此,针对违章变道车辆检测,急需一种适用范围广、准确度高、检测速度快,能满足实时要求的车辆违章变道实时检测方法。At present, the detection method of illegal lane-changing vehicles based on computer vision technology is to first extract the moving target set, then find out the moving vehicle set and location information, and finally judge whether the dispersion of each vehicle’s trajectory exceeds the set threshold, so as to judge Whether the vehicle changed lanes illegally. The existing methods have a better detection effect when there are fewer vehicles on the road and the vehicles are moving faster; however, they cannot deal with illegal lane changes when the vehicles are moving slowly or there are many vehicles on the road. In addition, existing methods are susceptible to factors such as illumination, occlusion, shadows, and video jitter; when there are many vehicles, the way to track each vehicle is too computationally intensive to meet real-time requirements. Therefore, for the detection of illegal lane-changing vehicles, there is an urgent need for a real-time detection method for illegal lane-changing vehicles with wide application range, high accuracy, and fast detection speed, which can meet real-time requirements.

发明内容Contents of the invention

本发明的目的在于,为解决现有的车辆违章变道的实时检测方法存在上述缺陷,本发明提供了一种基于车道线标定的车辆违章变道的实时检测方法,该方法适用范围广,检测结果稳定可靠、准确度高、检测速度快,能满足车辆违章变道实时检测要求。另外,该方法能够实现对视频中违章变道车辆的快速精确识别。The purpose of the present invention is to solve the above-mentioned defects in the existing real-time detection method for illegal lane changes of vehicles. The results are stable and reliable, with high accuracy and fast detection speed, which can meet the real-time detection requirements of vehicles changing lanes illegally. In addition, the method can realize fast and accurate identification of illegal lane-changing vehicles in the video.

为实现上述目的,本发明提供了一种基于车道线标定的车辆违章变道实时检测方法,具体包括:In order to achieve the above object, the present invention provides a real-time detection method for illegal lane changes of vehicles based on lane line calibration, which specifically includes:

步骤1)标定车道线L,计算并获取检测矩形区域D和图像I;Step 1) mark the lane line L, calculate and obtain the detection rectangular area D and the image I;

步骤2)在步骤1)的检测矩形区域D内,基于深层卷积神经网络检测出图像I的车辆集合A={A1,A2,...,Ai};Step 2) In the detection rectangular area D of step 1), the vehicle set A={A 1 , A 2 ,...,A i } of the image I is detected based on the deep convolutional neural network;

步骤3)根据步骤2)得到的车辆集合A,筛选出与车道线L相交的车辆集合B={B1,B2,...,Bi},其中,再与跟踪车辆列表TL进行匹配,并更新跟踪车辆列表TL={T1,T2,...,Tj};Step 3) According to the vehicle set A obtained in step 2), filter out the vehicle set B that intersects the lane line L={B 1 , B 2 ,...,B i }, where, Then match with the tracked vehicle list TL, and update the tracked vehicle list TL={T 1 , T 2 ,...,T j };

步骤4)判断更新后的跟踪车辆列表TL中的跟踪车辆Tj是否为违章变道车辆;如果跟踪车辆Tj为违章变道车辆,则标注出跟踪车辆Tj的位置,并从更新后的跟踪车辆列表TL中删除违章变道车辆Tj的信息。Step 4) Determine whether the tracking vehicle T j in the updated tracking vehicle list TL is an illegal lane-changing vehicle; if the tracking vehicle T j is an illegal lane-changing vehicle, then mark the position of the tracking vehicle T j , and use Delete the information of illegal lane-changing vehicles T j from the tracked vehicle list TL.

所述步骤1)具体包括:Described step 1) specifically comprises:

步骤1-1)标定车道线L={L1,L2,...,Lj},每条车道线Lj的位置包括:起点pbj={xbj,ybj}和终点pej={xej,yej},其中,xbj,ybj分别为起点的横、纵坐标,xej,yej分别为终点的横、纵坐标;Step 1-1) Mark the lane line L={L 1 ,L 2 ,...,L j }, the position of each lane line L j includes: starting point pb j ={x bj ,y bj } and end point pe j ={x ej , y ej }, wherein, x bj , y bj are the horizontal and vertical coordinates of the starting point respectively, x ej , y ej are the horizontal and vertical coordinates of the end point respectively;

步骤1-2)根据步骤1-1)的车道线位置,计算出检测区域矩形D={x,y,w,h},其中,Step 1-2) Calculate the detection area rectangle D={x, y, w, h} according to the position of the lane line in step 1-1), where,

x=min(xb1,xe1,xb2,xe2,...,xbj,xej)x=min(x b1 ,x e1 ,x b2 ,x e2 ,...,x bj ,x ej )

y=min(yb1,ye1,yb2,ye2,...,ybj,yej)y=min(y b1 ,y e1 ,y b2 ,y e2 ,...,y bj ,y ej )

w=max(xb1,xe1,xb2,xe2,...,xbj,xej)-xw=max(x b1 ,x e1 ,x b2 ,x e2 ,...,x bj ,x ej )-x

h=max(yb1,ye1,yb2,ye2,...,ybj,yej)-yh=max(y b1 ,y e1 ,y b2 ,y e2 ,...,y bj ,y ej )-y

步骤2)具体包括:Step 2) specifically includes:

根据步骤1)的检测区域D和图像I,将该图像I中的检测区域D归一化到576×576作为输入图像,基于深层卷积神经网络检测出图像I中的车辆集合A={A1,A2,...,Ai},Ai的位置记为PAi={xi,yi,wi,hi},检测效果如图2(b)所示;According to the detection area D and image I in step 1), the detection area D in the image I is normalized to 576×576 as the input image, and the vehicle set A in the image I is detected based on the deep convolutional neural network = {A 1 ,A 2 ,...,A i }, the position of A i is recorded as PA i ={ xi ,y i ,w i ,h i }, the detection effect is shown in Figure 2(b);

其中,该卷积神经网络包括:7个卷积层、4个下采样层、2个全连接层和一个输出层;卷积层中扫描边界自动填充0,均利用Leaky-ReLu函数对神经元进行激活;下采样层中均采用最大池化。Among them, the convolutional neural network includes: 7 convolutional layers, 4 downsampling layers, 2 fully connected layers and an output layer; the scanning boundary in the convolutional layer is automatically filled with 0, and the Leaky-ReLu function is used to Activation; maximum pooling is used in the downsampling layer.

卷积层C1的卷积核大小为9×9,32个卷积核,步长为2,生成特征图大小为288×288;下采样层S1窗口大小为4×4,步长为4,生成特征图大小为72×72;卷积层C2卷积核大小为1×1,4个卷积核,步长为1,生成特征图大小为72×72;卷积层C3卷积核大小为3×3,8个卷积核,步长为1,生成特征图大小为72×72;下采样层S2窗口大小为2×2,步长为2,生成特征图大小为36×36;卷积层C4卷积核大小为1×1,8个卷积核,步长为1,生成特征图大小为36×36;卷积层C5卷积核大小为3×3,16个卷积核,步长为1,生成特征图大小为36×36;下采样层S3窗口大小为2×2,步长为2,生成特征图大小为18×18;卷积层C6卷积核大小为3×3,32个卷积核,步长为1,生成特征图大小为18×18;下采样层S4窗口大小为2×2,步长为2,生成特征图大小为9×9;卷积层C7卷积核大小为1×1,64个卷积核,步长为1,生成特征图大小为9×9;全连接层F1由256个神经元构成,使用Relu函数对神经元进行激活;全连接层F2由4096个神经元构成,使用Leaky-ReLu函数对神经元进行激活;输出层由891个神经元构成,使用Relu函数对神经元进行激活。The convolution kernel size of the convolution layer C1 is 9×9, 32 convolution kernels, the step size is 2, and the size of the generated feature map is 288×288; the window size of the downsampling layer S1 is 4×4, and the step size is 4, The size of the generated feature map is 72×72; the size of the convolutional layer C2 convolution kernel is 1×1, 4 convolution kernels, the step size is 1, and the size of the generated feature map is 72×72; the size of the convolutional layer C3 convolution kernel is 3×3, 8 convolution kernels, the step size is 1, and the size of the generated feature map is 72×72; the size of the downsampling layer S2 window is 2×2, the step size is 2, and the size of the generated feature map is 36×36; The convolution layer C4 convolution kernel size is 1×1, 8 convolution kernels, the step size is 1, and the generated feature map size is 36×36; the convolution layer C5 convolution kernel size is 3×3, 16 convolutions Kernel, the step size is 1, and the size of the generated feature map is 36×36; the window size of the downsampling layer S3 is 2×2, the step size is 2, and the size of the generated feature map is 18×18; the size of the convolution layer C6 convolution kernel is 3×3, 32 convolution kernels, the step size is 1, and the size of the generated feature map is 18×18; the size of the downsampling layer S4 window is 2×2, the step size is 2, and the size of the generated feature map is 9×9; The size of the multilayer C7 convolution kernel is 1×1, 64 convolution kernels, the step size is 1, and the size of the generated feature map is 9×9; the fully connected layer F1 is composed of 256 neurons, and the neurons are processed using the Relu function. Activation; the fully connected layer F2 is composed of 4096 neurons, and the neurons are activated using the Leaky-ReLu function; the output layer is composed of 891 neurons, and the neurons are activated using the Relu function.

所述步骤3)具体包括:Described step 3) specifically comprises:

步骤3-1)根据步骤2)得到的车辆集合A={A1,A2,...,Ai},从中筛选出与车道线L相交的车辆集合B={B1,B2,...,Bi},其中, Step 3-1) Based on the vehicle set A={A 1 ,A 2 ,...,A i } obtained in step 2), select the vehicle set B={B 1 ,B 2 , ...,B i }, where,

步骤3-2)根据步骤3-1)得到的车辆集合B,遍历跟踪车辆列表TL={T1,T2,...,Tj},选出重合度Uij>0.2的车辆集合C,C={C1,C2,...,Cm};计算Hog特征hogj和hogk,再计算其余弦距离Cosjk;再选出跟踪车辆Tj与车辆集合C中最大的余弦距离Cosjm及对应的车辆Cm,若Cosjm>0.75,则Tj和Cm相互匹配,并进入步骤3-3);若Cosjm≤0.75,则车辆集合C中不存在和跟踪车辆Tj相匹配的车辆,并进入步骤3-4);Step 3-2) Traverse the tracked vehicle list TL={T 1 , T 2 ,...,T j } according to the vehicle set B obtained in step 3-1), and select the vehicle set C whose coincidence degree U ij >0.2 , C={C 1 ,C 2 ,...,C m }; calculate the Hog features hog j and hog k , and then calculate the cosine distance Cos jk ; then select the largest cosine distance between the tracking vehicle T j and the vehicle set C Cos jm and the corresponding vehicle C m , if Cos jm > 0.75, then T j and C m match each other, and enter step 3-3); if Cos jm ≤ 0.75, then there is no tracking vehicle T j in the vehicle set C matching vehicle, and proceed to steps 3-4);

步骤3-3)根据步骤3-2)得到的车辆Cm,更新跟踪车辆Tj的车辆位置为当前车辆位置,即TPj=CPm;更新跟踪车辆为当前车辆图片,即TMj=CMm;连续跟丢次数TTj=0,跟踪点与车道线L的水平有向距离TDj更新为当前跟踪点与车道线L的水平有向距离,即TDj=CDm;此时Cm已被匹配,当前车辆是否被匹配标志CFi=true;Step 3-3) According to the vehicle C m obtained in step 3-2), update the vehicle position of the tracking vehicle T j to the current vehicle position, that is, TP j =CP m ; update the tracking vehicle to the current vehicle picture, that is, TM j =CM m ; consecutive follow-up times TT j = 0, the horizontal directional distance TD j between the tracking point and the lane line L is updated to the horizontal directional distance between the current tracking point and the lane line L, that is, TD j = CD m ; at this time C m Has been matched, whether the current vehicle is matched flag CF i = true;

步骤3-4)更新跟踪车辆Tj的连续跟丢次数TTj’,其中,TTj’=TTj+1,若TTj’的连续跟丢次数大于3次,则从跟踪车辆列表中删除车辆TjStep 3-4) Update the number of consecutive lost times TT j ' of the tracking vehicle T j , where TT j '=TT j + 1, if the number of consecutive lost times of TT j ' is greater than 3 times, delete it from the list of tracking vehicles Vehicle T j ;

步骤3-5)遍历车辆集合B,将未被匹配的车辆Bu={BPu,BMu,BFu,BQu,BDu}作为新的跟踪车辆Tu={TPu,TMu,TTu,TODu,TDu}加入到跟踪车辆列表TL中,更新车辆跟踪列表TL,其中,Step 3-5) Traversing the vehicle set B, taking the unmatched vehicle B u ={BP u ,BM u ,BF u ,BQ u ,BD u } as the new tracking vehicle T u ={TP u ,TM u , TT u , TOD u , TD u } are added to the tracking vehicle list TL, and the vehicle tracking list TL is updated, wherein,

TPu=BPu TP u = BP u

TMu=BMu TM u =BM u

TTu=0TT u =0

TODu=BDu TOD u = BD u

TDu=BDu TDu = BDu .

所述步骤3-1)具体包括:The step 3-1) specifically includes:

步骤3-1-1)根据步骤1)和步骤2)得到的车道线L和车辆Ai位置矩形PAi,计算车道线Lj与车辆Ai位置矩形PAi四边的交点,且车道线Lj与矩形左侧边缘、右侧边缘、上侧边缘、下侧边缘的交点分别为plij={xlij,ylij}、prij={xrij,yrij}、puij={xuij,yuij}、pdij={xdij,ydij};Step 3-1-1) According to the lane line L obtained in step 1) and step 2) and the vehicle A i position rectangle PA i , calculate the intersection of the lane line L j and the four sides of the vehicle A i position rectangle PA i , and the lane line L The intersection points of j and the left edge, right edge, upper edge, and lower edge of the rectangle are respectively pl ij ={x lij ,y lij }, pr ij ={x rij ,y rij }, pu ij ={x uij ,y uij }, pd ij ={x dij ,y dij };

其中,{xlij,ylij}分别为左侧边缘交点横、纵坐标,{xrij,yrij}分别为右侧边缘交点横、纵坐标,{xuij,yuij}分别为上侧边缘交点横、纵坐标,分别为下侧边缘交点横、纵坐标。Among them, {x lij , y lij } are the abscissa and ordinate of the left edge intersection respectively, {x rij ,y rij } are the abscissa and ordinate of the right edge intersection respectively, {x uij ,y uij } are the upper edge respectively The abscissa and ordinate of the intersection point are respectively the abscissa and ordinate of the intersection point of the lower edge.

步骤3-1-2)根据步骤3-1-1)得到的车道线与矩形的交点,若交点在矩形上边和左边且满足如下预设条件,将车辆矩形Ai加入到车辆集合B中;Step 3-1-2) According to the intersection of the lane line and the rectangle obtained in step 3-1-1), if the intersection is on the top and left of the rectangle and meets the following preset conditions, add the vehicle rectangle A i to the vehicle set B;

xi+wi/4<xuij<xi+wi x i + w i /4 < x uij < x i + w i

yi+hi/2<ylij<yi+hi y i +h i /2<y lij <y i +h i

步骤3-1-3)根据步骤3-1-1)得到的车道线与矩形的交点,若交点在矩形上边和右边且满足如下预设条件,将车辆矩形Ai加入到车辆集合B中;Step 3-1-3) According to the intersection point of the lane line and the rectangle obtained in step 3-1-1), if the intersection point is on the upper side and the right side of the rectangle and meets the following preset conditions, add the vehicle rectangle A i to the vehicle set B;

xi<xuij<xi+3wi/4x i < x uij < x i +3w i /4

yi+hi/2<yrij<yi+hi y i +h i /2<y rij <y i +h i

步骤3-1-4)根据步骤3-1-1)得到的车道线与矩形的交点,若交点在矩形上边和下边且满足如下预设条件,将车辆矩形Ai加入到车辆集合B中;Step 3-1-4) According to the intersection point of the lane line and the rectangle obtained in step 3-1-1), if the intersection point is on the upper and lower sides of the rectangle and meets the following preset conditions, add the vehicle rectangle A i to the vehicle set B;

xi+wi/4<xuij<xi+3wi/4x i +w i /4<x uij <x i +3w i /4

xi+wi/4<xdij<xi+3wi/4x i +w i /4<x dij <x i +3w i /4

所述步骤3-2)具体包括:The step 3-2) specifically includes:

步骤3-2-1)根据步骤3-1)得到的车辆集合B,初始化车辆信息,其包括:车辆位置BPi={xi,yi,wi,hi}、车辆图片BMi、当前车辆是否被匹配标志BFi=false、跟踪点BQi=(xi+wi/2,yi+4hi/5)和跟踪点BQi与每条车道线Lj的水平有向距离Bdij,即车辆Bi={BPi,BMi,BFi,BQi,BDi},其中,BDi={Bdi1,Bdi2,...,Bdij};Step 3-2-1) According to the vehicle set B obtained in step 3-1), initialize the vehicle information, which includes: vehicle position BP i ={ xi , y i , w i , h i }, vehicle picture BM i , Whether the current vehicle is matched with the flag BF i = false, the tracking point BQ i = ( xi + w i /2, y i +4h i /5) and the horizontal directional distance between the tracking point BQ i and each lane line L j Bd ij , that is, vehicle B i ={BP i ,BM i ,BF i ,BQ i ,BD i }, where BD i ={Bd i1 ,Bd i2 ,...,Bd ij };

步骤3-2-2)遍历跟踪车辆列表TL={T1,T2,...,Tj},Tj={TPj,TMj,TTj,TODj,TDj},Tj∈TL,其中,TPj表示车辆位置,TMj表示车辆图片,TTj表示连续跟丢次数,TODj表示起始跟踪点与车道线L的水平有向距离,TDj表示当前跟踪点与车道线L的水平有向距离;TODj={TOdj1,TOdj2,...,TOdjl},TDj={Tdj1,Tdj2,...,Tdjl};计算跟踪车辆Tj的车辆位置TPj与车辆集合B中未被匹配的每辆车位置BPi的重合度UijStep 3-2-2) Traverse the tracked vehicle list TL={T 1 , T 2 ,...,T j }, T j ={TP j ,TM j ,TT j ,TOD j ,TD j }, T j ∈TL, where TP j represents the vehicle position, TM j represents the vehicle picture, TT j represents the number of consecutive follow-ups, TOD j represents the horizontal distance between the initial tracking point and the lane line L, TD j represents the current tracking point and the lane Horizontal directional distance of line L; TOD j = {TOd j1 , TOd j2 ,..., TOd jl }, TD j = {Td j1 , Td j2 ,..., Td jl }; calculate the tracking vehicle T j The coincidence degree U ij of the vehicle position TP j and each unmatched vehicle position BP i in the vehicle set B:

Uij=Scij/Szij U ij =S cij /S zij

其中,Szij为BPi和TPj矩形面积的并集,Scij为BPi和TPj矩形面积的交集;Among them, S zij is the union of the rectangular areas of BP i and TP j , and S cij is the intersection of the rectangular areas of BP i and TP j ;

选出重合度Uij>0.2的车辆集合C,C={C1,C2,...,Cm};若C为空,则车辆集合B中不存在与跟踪车辆Tj相匹配的车辆,并进入步骤3-4);若C不为空,则进入步骤3-2-3);Select the vehicle set C whose coincidence degree U ij >0.2, C={C 1 ,C 2 ,...,C m }; if C is empty, there is no vehicle matching the tracking vehicle T j in the vehicle set B, and enter step 3-4); if C is not If it is empty, go to step 3-2-3);

步骤3-2-3)根据步骤3-2-2)得到的车辆集合C={C1,C2,...,Cm},将跟踪车辆Tj的车辆图片TMj和车辆集合C中每辆车的图片CMk归一化到64×64大小,并进行灰度化,计算Hog特征hogj和hogk;其中,所述计算中,采用的窗口大小为64×64,块大小为16×16,块滑动增量大小为8×8,胞元大小为8×8,每个胞单元中梯度直方图的数量为9;Step 3-2-3) According to the vehicle set C={C 1 ,C 2 ,...,C m } obtained in step 3-2-2), the vehicle picture TM j of the tracking vehicle T j and the vehicle set C The picture CM k of each car in the CM k is normalized to 64×64 size, and grayscaled, and the Hog features hog j and hog k are calculated; wherein, in the calculation, the window size used is 64×64, and the block size is 16×16, the block sliding increment size is 8×8, the cell size is 8×8, and the number of gradient histograms in each cell unit is 9;

步骤3-2-4)根据步骤3-2-3)得到的Hog特征hogj和hogk,计算其余弦距离CosjkStep 3-2-4) Calculate the cosine distance Cos jk according to the Hog features hog j and hog k obtained in step 3-2-3);

步骤3-2-5)根据步骤3-2-4)得到的余弦距离Cosjk,选出跟踪车辆Tj与车辆集合C中最大的余弦距离Cosjm及其对应的车辆Cm,若Cosjm>0.75,则Tj和Cm相互匹配,并进入步骤3-3);若Cosjm≤0.75,则车辆集合C中不存在和跟踪车辆Tj相匹配的车辆,并进入步骤3-4)。Step 3-2-5) According to the cosine distance Cos jk obtained in step 3-2-4), select the largest cosine distance Cos jm between the tracking vehicle T j and the vehicle set C and its corresponding vehicle C m , if Cos jm >0.75, then T j and C m match each other, and go to step 3-3); if Cos jm ≤0.75, there is no vehicle matching the tracking vehicle T j in vehicle set C, and go to step 3-4) .

所述步骤4)具体包括:Described step 4) specifically comprises:

步骤4-1)遍历根据步骤3-5)得到的更新后的跟踪车辆列表TL,遍历更新后的跟踪车辆列表TL,计算Tj的起始跟踪点与车道线Lj的水平有向距离TOd′jj和当前跟踪点与车道线Lj的水平有向距离Td′jj的乘积,若TOd′jj*Td′jj<0,表示车辆先后位于车道线Lj两侧,Tj为违章变道车辆;Step 4-1) traverse the updated tracking vehicle list TL obtained according to step 3-5), traverse the updated tracking vehicle list TL, and calculate the horizontal directional distance TOd between the initial tracking point of T j and the lane line L jjj and the product of the horizontal directional distance Td′ jj between the current tracking point and the lane line L j , if TOd′ jj *Td′ jj <0, it means that the vehicle is located on both sides of the lane line L j one after another, and T j is an illegal lane change vehicle;

步骤4-2)根据步骤4-1)得到的违章变道车辆Tj,则标注出跟踪车辆Tj的位置,并从更新后的跟踪车辆列表TL中删除违章变道车辆Tj的信息。Step 4-2) According to the illegal lane-changing vehicle T j obtained in step 4-1), the position of the tracking vehicle T j is marked, and the information of the illegal lane-changing vehicle T j is deleted from the updated tracking vehicle list TL.

一种基于车道线标定车辆违章变道的实时检测系统,所述检测系统为智能交通管理系统,包括存储器、处理器和存储在存储器上的并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现所述检测方法的步骤。A real-time detection system for marking vehicle illegal lane changes based on lane lines, the detection system is an intelligent traffic management system, including a memory, a processor and a computer program stored on the memory and operable on the processor, characterized in that , implementing the steps of the detection method when the processor executes the program.

本发明的优点在于:The advantages of the present invention are:

本发明是基于深层卷积神经网络检测出图像中的车辆集合,相比于利用运动特征提取车辆集合的方法准确度更高、适用范围更广。另外,本发明的方法筛选出与车道线相交的车辆再进行匹配判断,不必记录和判断每一辆车的运动轨迹,检测速度快,能满足实时识别要求。The present invention detects the vehicle set in the image based on a deep convolutional neural network, which has higher accuracy and wider application range than the method of extracting the vehicle set by using motion features. In addition, the method of the present invention screens out the vehicles that intersect with the lane line and then performs matching judgment, without recording and judging the trajectory of each vehicle, the detection speed is fast, and the real-time recognition requirements can be met.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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 For some embodiments of the present invention, those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明的一种基于车道线标定的车辆违章变道实时检测方法的流程图;Fig. 1 is a kind of flow chart of the real-time detection method of vehicle illegal lane change based on lane marking of the present invention;

图2(a)是利用本发明实施例中的一种基于车道线标定的车辆违章变道实时检测方法的步骤1)设定车道线的效果示意图;Fig. 2 (a) is a schematic diagram of the effect of setting lane lines in step 1) of a real-time detection method for vehicle violations and lane changes based on lane line marking in an embodiment of the present invention;

图2(b)是利用本发明实施例中的一种基于车道线标定的车辆违章变道实时检测方法的步骤2)检出车辆集合的效果示意图;Fig. 2 (b) is a schematic diagram of the effect of detecting a vehicle set in step 2) of a real-time detection method for vehicle violations and lane changes based on lane line marking in an embodiment of the present invention;

图2(c)是利用本发明实施例中的一种基于车道线标定的车辆违章变道实时检测方法的步骤3)筛选出的与车道线相交的车辆集合的效果示意图;Fig. 2 (c) is a schematic diagram of the effect of the set of vehicles intersecting with lane lines screened out in step 3) of a real-time detection method for vehicle violations and lane changes based on lane line marking in an embodiment of the present invention;

图2(d)是利用本发明实施例中的一种基于车道线标定的车辆违章变道实时检测方法的步骤5)标注跟踪车辆列表中的违章变道车辆集合的效果示意图;Fig. 2(d) is a schematic diagram of the effect of marking the collection of illegal lane changing vehicles in the tracking vehicle list in step 5) of a real-time detection method for vehicle lane change lane marking based on lane line marking in an embodiment of the present invention;

图2(e)是利用本发明实施例中的一种基于车道线标定的车辆违章变道实时检测方法的步骤5)违章车辆驶离状态的效果示意图;Fig. 2 (e) is a schematic diagram of the effect of step 5) the driving away state of illegal vehicles using a real-time detection method for vehicle violations and lane changes based on lane markings in an embodiment of the present invention;

图3是本发明实施例中的车辆检测模型的网络结构图。Fig. 3 is a network structure diagram of the vehicle detection model in the embodiment of the present invention.

具体实施方式detailed description

如图1所示,本发明提供了一种基于车道线标定的车辆违章变道实时检测方法,具体包括:As shown in Figure 1, the present invention provides a real-time detection method for vehicle violations and lane changes based on lane line calibration, which specifically includes:

步骤1)标定车道线L,计算并获取检测矩形区域D和图像I;Step 1) mark the lane line L, calculate and obtain the detection rectangular area D and the image I;

步骤2)在步骤1)的检测矩形区域D内,基于深层卷积神经网络检测出图像I的车辆集合A={A1,A2,...,Ai};Step 2) In the detection rectangular area D of step 1), the vehicle set A={A 1 , A 2 ,...,A i } of the image I is detected based on the deep convolutional neural network;

步骤3)根据步骤2)得到的车辆集合A,筛选出与车道线L相交的车辆集合B={B1,B2,...,Bi},其中,再与跟踪车辆列表TL进行匹配,并更新跟踪车辆列表TL={T1,T2,...,Tj};Step 3) According to the vehicle set A obtained in step 2), filter out the vehicle set B that intersects the lane line L={B 1 , B 2 ,...,B i }, where, Then match with the tracked vehicle list TL, and update the tracked vehicle list TL={T 1 , T 2 ,...,T j };

步骤4)判断更新后的跟踪车辆列表TL中的跟踪车辆Tj是否为违章变道车辆;如果跟踪车辆Tj为违章变道车辆,则标注出跟踪车辆Tj的位置,并从更新后的跟踪车辆列表TL中删除违章变道车辆Tj的信息。Step 4) Determine whether the tracking vehicle T j in the updated tracking vehicle list TL is an illegal lane-changing vehicle; if the tracking vehicle T j is an illegal lane-changing vehicle, then mark the position of the tracking vehicle T j , and use Delete the information of illegal lane-changing vehicles T j from the tracked vehicle list TL.

所述步骤1)具体包括:Described step 1) specifically comprises:

步骤1-1)标定车道线L={L1,L2,...,Lj},每条车道线Lj的位置包括:起点pbj={xbj,ybj}和终点pej={xej,yej},如图2(a)所示;其中,xbj,ybj分别为起点的横、纵坐标,xej,yej分别为终点的横、纵坐标;Step 1-1) Mark the lane line L={L 1 ,L 2 ,...,L j }, the position of each lane line L j includes: starting point pb j ={x bj ,y bj } and end point pe j ={x ej , y ej }, as shown in Figure 2(a); wherein, x bj , y bj are the abscissa and ordinate of the starting point respectively, x ej , y ej are the abscissa and ordinate of the end point respectively;

步骤1-2)根据步骤1-1)的车道线位置,计算出检测区域矩形D={x,y,w,h},其中,Step 1-2) Calculate the detection area rectangle D={x, y, w, h} according to the position of the lane line in step 1-1), where,

x=min(xb1,xe1,xb2,xe2,...,xbj,xej)x=min(x b1 ,x e1 ,x b2 ,x e2 ,...,x bj ,x ej )

y=min(yb1,ye1,yb2,ye2,...,ybj,yej)y=min(y b1 ,y e1 ,y b2 ,y e2 ,...,y bj ,y ej )

w=max(xb1,xe1,xb2,xe2,...,xbj,xej)-xw=max(x b1 ,x e1 ,x b2 ,x e2 ,...,x bj ,x ej )-x

h=max(yb1,ye1,yb2,ye2,...,ybj,yej)-yh=max(y b1 ,y e1 ,y b2 ,y e2 ,...,y bj ,y ej )-y

步骤2)具体包括:Step 2) specifically includes:

根据步骤1)的检测区域D和图像I,将该图像I中的检测区域D归一化到576×576作为输入图像,基于深层卷积神经网络检测出图像I中的车辆集合A={A1,A2,...,Ai},Ai的位置记为PAi={xi,yi,wi,hi},检测效果如图2(b)所示;According to the detection area D and image I in step 1), the detection area D in the image I is normalized to 576×576 as the input image, and the vehicle set A in the image I is detected based on the deep convolutional neural network = {A 1 ,A 2 ,...,A i }, the position of A i is recorded as PA i ={ xi ,y i ,w i ,h i }, the detection effect is shown in Figure 2(b);

其中,如图3所示,该卷积神经网络包括:7个卷积层、4个下采样层、2个全连接层和一个输出层;卷积层中扫描边界自动填充0,均利用Leaky-ReLu函数对神经元进行激活;下采样层中均采用最大池化。Among them, as shown in Figure 3, the convolutional neural network includes: 7 convolutional layers, 4 downsampling layers, 2 fully connected layers, and an output layer; the scanning boundaries in the convolutional layers are automatically filled with 0, all using Leaky -The ReLu function activates the neurons; the maximum pooling is used in the downsampling layer.

卷积层C1的卷积核大小为9×9,32个卷积核,步长为2,生成特征图大小为288×288;下采样层S1窗口大小为4×4,步长为4,生成特征图大小为72×72;卷积层C2卷积核大小为1×1,4个卷积核,步长为1,生成特征图大小为72×72;卷积层C3卷积核大小为3×3,8个卷积核,步长为1,生成特征图大小为72×72;下采样层S2窗口大小为2×2,步长为2,生成特征图大小为36×36;卷积层C4卷积核大小为1×1,8个卷积核,步长为1,生成特征图大小为36×36;卷积层C5卷积核大小为3×3,16个卷积核,步长为1,生成特征图大小为36×36;下采样层S3窗口大小为2×2,步长为2,生成特征图大小为18×18;卷积层C6卷积核大小为3×3,32个卷积核,步长为1,生成特征图大小为18×18;下采样层S4窗口大小为2×2,步长为2,生成特征图大小为9×9;卷积层C7卷积核大小为1×1,64个卷积核,步长为1,生成特征图大小为9×9;全连接层F1由256个神经元构成,使用Relu函数对神经元进行激活;全连接层F2由4096个神经元构成,使用Leaky-ReLu函数对神经元进行激活;输出层由891个神经元构成,使用Relu函数对神经元进行激活。The convolution kernel size of the convolution layer C1 is 9×9, 32 convolution kernels, the step size is 2, and the size of the generated feature map is 288×288; the window size of the downsampling layer S1 is 4×4, and the step size is 4, The size of the generated feature map is 72×72; the size of the convolutional layer C2 convolution kernel is 1×1, 4 convolution kernels, the step size is 1, and the size of the generated feature map is 72×72; the size of the convolutional layer C3 convolution kernel is 3×3, 8 convolution kernels, the step size is 1, and the size of the generated feature map is 72×72; the size of the downsampling layer S2 window is 2×2, the step size is 2, and the size of the generated feature map is 36×36; The convolution layer C4 convolution kernel size is 1×1, 8 convolution kernels, the step size is 1, and the generated feature map size is 36×36; the convolution layer C5 convolution kernel size is 3×3, 16 convolutions Kernel, the step size is 1, and the size of the generated feature map is 36×36; the window size of the downsampling layer S3 is 2×2, the step size is 2, and the size of the generated feature map is 18×18; the size of the convolution layer C6 convolution kernel is 3×3, 32 convolution kernels, the step size is 1, and the size of the generated feature map is 18×18; the size of the downsampling layer S4 window is 2×2, the step size is 2, and the size of the generated feature map is 9×9; The size of the multilayer C7 convolution kernel is 1×1, 64 convolution kernels, the step size is 1, and the size of the generated feature map is 9×9; the fully connected layer F1 is composed of 256 neurons, and the neurons are processed using the Relu function. Activation; the fully connected layer F2 is composed of 4096 neurons, and the neurons are activated using the Leaky-ReLu function; the output layer is composed of 891 neurons, and the neurons are activated using the Relu function.

所述步骤3)具体包括:Described step 3) specifically comprises:

步骤3-1)根据步骤2)得到的车辆集合A={A1,A2,...,Ai},从中筛选出与车道线L相交的车辆集合B={B1,B2,...,Bi},其中, Step 3-1) Based on the vehicle set A={A 1 ,A 2 ,...,A i } obtained in step 2), select the vehicle set B={B 1 ,B 2 , ...,B i }, where,

步骤3-2)根据步骤3-1)得到的车辆集合B,遍历跟踪车辆列表TL={T1,T2,...,Tj},选出重合度Uij>0.2的车辆集合C,C={C1,C2,...,Cm};计算Hog特征hogj和hogk,再计算其余弦距离Cosjk;再选出跟踪车辆Tj与车辆集合C中最大的余弦距离Cosjm及对应的车辆Cm,若Cosjm>0.75,则Tj和Cm相互匹配,并进入步骤3-3);若Cosjm≤0.75,则车辆集合C中不存在和跟踪车辆Tj相匹配的车辆,并进入步骤3-4);Step 3-2) Traverse the tracked vehicle list TL={T 1 , T 2 ,...,T j } according to the vehicle set B obtained in step 3-1), and select the vehicle set C whose coincidence degree U ij >0.2 , C={C 1 ,C 2 ,...,C m }; calculate the Hog features hog j and hog k , and then calculate the cosine distance Cos jk ; then select the largest cosine distance between the tracking vehicle T j and the vehicle set C Cos jm and the corresponding vehicle C m , if Cos jm > 0.75, then T j and C m match each other, and enter step 3-3); if Cos jm ≤ 0.75, then there is no tracking vehicle T j in the vehicle set C matching vehicle, and proceed to steps 3-4);

步骤3-3)根据步骤3-2)得到的车辆Cm,更新跟踪车辆Tj的车辆位置为当前车辆位置,即TPj=CPm;更新跟踪车辆为当前车辆图片,即TMj=CMm;连续跟丢次数TTj=0,跟踪点与车道线L的水平有向距离TDj更新为当前跟踪点与车道线L的水平有向距离,即TDj=CDm;此时Cm已被匹配,当前车辆是否被匹配标志CFi=true;Step 3-3) According to the vehicle C m obtained in step 3-2), update the vehicle position of the tracking vehicle T j to the current vehicle position, that is, TP j =CP m ; update the tracking vehicle to the current vehicle picture, that is, TM j =CM m ; consecutive follow-up times TT j = 0, the horizontal directional distance TD j between the tracking point and the lane line L is updated to the horizontal directional distance between the current tracking point and the lane line L, that is, TD j = CD m ; at this time C m Has been matched, whether the current vehicle is matched flag CF i = true;

步骤3-4)更新跟踪车辆Tj的连续跟丢次数TTj’,其中,TTj’=TTj+1,若TTj’的连续跟丢次数大于3次,则从跟踪车辆列表中删除车辆TjStep 3-4) Update the number of consecutive lost times TT j ' of the tracking vehicle T j , where TT j '=TT j + 1, if the number of consecutive lost times of TT j ' is greater than 3 times, delete it from the list of tracking vehicles Vehicle T j ;

步骤3-5)遍历车辆集合B,将未被匹配的车辆Bu={BPu,BMu,BFu,BQu,BDu}作为新的跟踪车辆Tu={TPu,TMu,TTu,TODu,TDu}加入到跟踪车辆列表TL中,更新车辆跟踪列表TL,其中,Step 3-5) Traversing the vehicle set B, taking the unmatched vehicle B u ={BP u ,BM u ,BF u ,BQ u ,BD u } as the new tracking vehicle T u ={TP u ,TM u , TT u , TOD u , TD u } are added to the tracking vehicle list TL, and the vehicle tracking list TL is updated, wherein,

TPu=BPu TP u = BP u

TMu=BMu TM u =BM u

TTu=0TT u =0

TODu=BDu TOD u = BD u

TDu=BDu TDu = BDu .

所述步骤3-1)具体包括:The step 3-1) specifically includes:

步骤3-1-1)根据步骤1)和步骤2)得到的车道线Lj和车辆Ai位置矩形PAi,计算车道线Lj与车辆Ai位置矩形PAi四边的交点,且车道线Lj与矩形左侧边缘、右侧边缘、上侧边缘、下侧边缘的交点分别为plij={xlij,ylij}、prij={xrij,yrij}、puij={xuij,yuij}、pdij={xdij,ydij};Step 3-1-1) According to the lane line L j obtained in step 1) and step 2) and the vehicle A i position rectangle PA i , calculate the intersection of the lane line L j and the four sides of the vehicle A i position rectangle PA i , and the lane line The intersection points of L j and the left edge, right edge, upper edge, and lower edge of the rectangle are respectively pl ij ={x lij ,y lij }, pr ij ={x rij ,y rij }, pu ij ={x uij , y uij }, pd ij = {x dij , y dij };

其中,{xlij,ylij}分别为左侧边缘交点横、纵坐标,{xrij,yrij}分别为右侧边缘交点横、纵坐标,{xuij,yuij}分别为上侧边缘交点横、纵坐标,分别为下侧边缘交点横、纵坐标。Among them, {x lij , y lij } are the abscissa and ordinate of the left edge intersection respectively, {x rij ,y rij } are the abscissa and ordinate of the right edge intersection respectively, {x uij ,y uij } are the upper edge respectively The abscissa and ordinate of the intersection point are respectively the abscissa and ordinate of the intersection point of the lower edge.

步骤3-1-2)根据步骤3-1-1)得到的车道线与矩形的交点,若交点在矩形上边和左边且满足如下预设条件,将车辆矩形Ai加入到车辆集合B中;Step 3-1-2) According to the intersection of the lane line and the rectangle obtained in step 3-1-1), if the intersection is on the top and left of the rectangle and meets the following preset conditions, add the vehicle rectangle A i to the vehicle set B;

xi+wi/4<xuij<xi+wi x i + w i /4 < x uij < x i + w i

yi+hi/2<ylij<yi+hi y i +h i /2<y lij <y i +h i

步骤3-1-3)根据步骤3-1-1)得到的车道线与矩形的交点,若交点在矩形上边和右边且满足如下预设条件,将车辆矩形Ai加入到车辆集合B中;Step 3-1-3) According to the intersection point of the lane line and the rectangle obtained in step 3-1-1), if the intersection point is on the upper side and the right side of the rectangle and meets the following preset conditions, add the vehicle rectangle A i to the vehicle set B;

xi<xuij<xi+3wi/4x i < x uij < x i +3w i /4

yi+hi/2<yrij<yi+hi y i +h i /2<y rij <y i +h i

步骤3-1-4)根据步骤3-1-1)得到的车道线与矩形的交点,若交点在矩形上边和下边且满足如下预设条件,将车辆矩形Ai加入到车辆集合B中;Step 3-1-4) According to the intersection point of the lane line and the rectangle obtained in step 3-1-1), if the intersection point is on the upper and lower sides of the rectangle and meets the following preset conditions, add the vehicle rectangle A i to the vehicle set B;

xi+wi/4<xuij<xi+3wi/4x i +w i /4<x uij <x i +3w i /4

xi+wi/4<xdij<xi+3wi/4。x i + w i /4 < x dij < x i +3 w i /4.

所述步骤3-2)具体包括:The step 3-2) specifically includes:

步骤3-2-1)根据步骤3-1)得到的车辆集合B,初始化车辆信息,其包括:车辆位置BPi={xi,yi,wi,hi}、车辆图片BMi、当前车辆是否被匹配标志BFi=false、跟踪点BQi=(xi+wi/2,yi+4hi/5)和跟踪点BQi与每条车道线Lj的水平有向距离Bdij,即车辆Bi={BPi,BMi,BFi,BQi,BDi},其中,BDi={Bdi1,Bdi2,...,Bdil};Step 3-2-1) According to the vehicle set B obtained in step 3-1), initialize the vehicle information, which includes: vehicle position BP i ={ xi , y i , w i , h i }, vehicle picture BM i , Whether the current vehicle is matched with the flag BF i = false, the tracking point BQ i = ( xi + w i /2, y i +4h i /5) and the horizontal directional distance between the tracking point BQ i and each lane line L j Bd ij , that is, vehicle B i ={BP i ,BM i ,BF i ,BQ i ,BD i }, where BD i ={Bd i1 ,Bd i2 ,...,Bd il };

步骤3-2-2)遍历跟踪车辆列表TL={T1,T2,...,Tj},Tj={TPj,TMj,TTj,TODj,TDj},Tj∈TL,其中,TPj表示车辆位置,TMj表示车辆图片,TTj表示连续跟丢次数,TODj表示起始跟踪点与车道线L的水平有向距离,TDj表示当前跟踪点与车道线L的水平有向距离;TODj={TOdj1,TOdj2,...,TOdjl},TDj={Tdj1,Tdj2,...,Tdjl};计算跟踪车辆Tj的车辆位置TPj与车辆集合B中未被匹配的每辆车位置BPi的重合度UijStep 3-2-2) Traverse the tracked vehicle list TL={T 1 , T 2 ,...,T j }, T j ={TP j ,TM j ,TT j ,TOD j ,TD j }, T j ∈TL, where TP j represents the vehicle position, TM j represents the vehicle picture, TT j represents the number of consecutive follow-ups, TOD j represents the horizontal distance between the initial tracking point and the lane line L, TD j represents the current tracking point and the lane Horizontal directional distance of line L; TOD j = {TOd j1 , TOd j2 ,..., TOd jl }, TD j = {Td j1 , Td j2 ,..., Td jl }; calculate the tracking vehicle T j The coincidence degree U ij of the vehicle position TP j and each unmatched vehicle position BP i in the vehicle set B:

Uij=Scij/Szij U ij =S cij /S zij

其中,Szij为BPi和TPj矩形面积的并集,Scij为BPi和TPj矩形面积的交集;Among them, S zij is the union of the rectangular areas of BP i and TP j , and S cij is the intersection of the rectangular areas of BP i and TP j ;

选出重合度Uij>0.2的车辆集合C,C={C1,C2,...,Cm};若C为空,则车辆集合B中不存在与跟踪车辆Tj相匹配的车辆,并进入步骤3-4);若C不为空,则进入步骤3-2-3);Select the vehicle set C whose coincidence degree U ij >0.2, C={C 1 ,C 2 ,...,C m }; if C is empty, there is no vehicle matching the tracking vehicle T j in the vehicle set B, and enter step 3-4); if C is not If it is empty, go to step 3-2-3);

步骤3-2-3)根据步骤3-2-2)得到的车辆集合C={C1,C2,...,Cm},将跟踪车辆Tj的车辆图片TMj和车辆集合C中每辆车的图片CMk归一化到64×64大小,并进行灰度化,计算Hog特征hogj和hogk;其中,所述计算中,采用的窗口大小为64×64,块大小为16×16,块滑动增量大小为8×8,胞元大小为8×8,每个胞单元中梯度直方图的数量为9;Step 3-2-3) According to the vehicle set C={C 1 ,C 2 ,...,C m } obtained in step 3-2-2), the vehicle picture TM j of the tracking vehicle T j and the vehicle set C The picture CM k of each car in the CM k is normalized to 64×64 size, and grayscaled, and the Hog features hog j and hog k are calculated; wherein, in the calculation, the window size used is 64×64, and the block size is 16×16, the block sliding increment size is 8×8, the cell size is 8×8, and the number of gradient histograms in each cell unit is 9;

步骤3-2-4)根据步骤3-2-3)得到的Hog特征hogj和hogk,计算其余弦距离CosjkStep 3-2-4) Calculate the cosine distance Cos jk according to the Hog features hog j and hog k obtained in step 3-2-3);

步骤3-2-5)根据步骤3-2-4)得到的余弦距离Cosjk,选出跟踪车辆Tj与车辆集合C中最大的余弦距离Cosjm及其对应的车辆Cm,若Cosjm>0.75,则Tj和Cm相互匹配,并进入步骤3-3),匹配成功车辆检测效果如图2(c)所示;若Cosjm≤0.75,则车辆集合C中不存在和跟踪车辆Tj相匹配的车辆,并进入步骤3-4),匹配失败车辆检测效果如图2(d)所示。Step 3-2-5) According to the cosine distance Cos jk obtained in step 3-2-4), select the largest cosine distance Cos jm between the tracking vehicle T j and the vehicle set C and its corresponding vehicle C m , if Cos jm >0.75, then T j and C m match each other, and go to step 3-3), the vehicle detection effect is shown in Figure 2(c) if the matching is successful; if Cos jm ≤0.75, there is no tracking vehicle in vehicle set C T j matches the vehicle, and enters step 3-4), and the detection effect of the vehicle that fails to match is shown in Figure 2(d).

所述步骤4)具体包括:Described step 4) specifically comprises:

步骤4-1)遍历更新后的跟踪车辆列表TL,计算Tj的起始跟踪点与车道线Lj的水平有向距离TOd′jj和当前跟踪点与车道线Lj的水平有向距离Td′jj的乘积,若TOd′jj*Td′jj<0,表示车辆先后位于车道线Lj两侧,Tj为违章变道车辆;Step 4-1) Traverse the updated tracking vehicle list TL, calculate the horizontal directional distance TOd′ jj between the starting tracking point of T j and the lane line L j and the horizontal directional distance Td between the current tracking point and the lane line L j The product of ′ jj , if TOd′ jj *Td′ jj <0, means that the vehicles are located on both sides of the lane line L j one after another, and T j is an illegal lane-changing vehicle;

步骤4-2)根据步骤4-1)得到的违章变道车辆Tj,则标注出跟踪车辆Tj的位置,如图2(e)所示,并从更新后的跟踪车辆列表TL中删除违章变道车辆Tj的信息。Step 4-2) According to the illegal lane-changing vehicle T j obtained in step 4-1), mark the position of the tracking vehicle T j , as shown in Figure 2(e), and delete it from the updated tracking vehicle list TL The information of the illegal lane-changing vehicle T j .

其中,图2(a)-2(e)是利用本发明实施例中的方法对违章变道车辆进行检测的效果示意图。2(a)-2(e) are schematic diagrams showing the effect of using the method in the embodiment of the present invention to detect illegal lane-changing vehicles.

一种基于车道线标定车辆违章变道的实时检测系统,所述检测系统为智能交通管理系统,包括存储器、处理器和存储在存储器上的并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现所述检测方法的步骤。A real-time detection system for marking vehicle illegal lane changes based on lane lines, the detection system is an intelligent traffic management system, including a memory, a processor and a computer program stored on the memory and operable on the processor, characterized in that , implementing the steps of the detection method when the processor executes the program.

最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制。尽管参照实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,对本发明的技术方案进行修改或者等同替换,都不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than limit them. Although the present invention has been described in detail with reference to the embodiments, those skilled in the art should understand that modifications or equivalent replacements to the technical solutions of the present invention do not depart from the spirit and scope of the technical solutions of the present invention, and all of them should be included in the scope of the present invention. within the scope of the claims.

Claims (8)

1. a kind of real-time detection method based on lane line demarcation vehicle peccancy lane change, is specifically included:
Step 1) demarcates lane line L, calculates and obtains detection rectangular area D and image I;
Step 2) detects image I vehicle set based on deep layer convolutional neural networks in the detection rectangular area D of step 1) A={ A1,A2,...,Ai};
The vehicle set A that step 3) obtains according to step 2), filter out the vehicle set B={ B intersected with lane line L1, B2,...,Bi, wherein,Matched again with tracking vehicle list TL, and update tracking vehicle list TL={ T1, T2,...,Tj};
Step 4) judges the tracking vehicle T in the tracking vehicle list TL after renewaljWhether it is lane change vehicle violating the regulations;If tracking Vehicle TjFor lane change vehicle violating the regulations, then tracking vehicle T is marked outjPosition, and deleted from the tracking vehicle list TL after renewal Lane change vehicle T violating the regulationsjInformation.
2. detection method according to claim 1, it is characterised in that the step 1) specifically includes:
Step 1-1) demarcation lane line L={ L1,L2,...,Lj, every lane line LjPosition include:Starting point pbj={ xbj, ybjAnd terminal pej={ xej,yej};Wherein, xbj,ybjThe respectively horizontal stroke of starting point, ordinate, xej,yejRespectively the horizontal stroke of terminal, Ordinate;
Step 1-2) according to step 1-1) track line position, calculate detection zone rectangle D={ x, y, w, h }, wherein,
X=min (xb1,xe1,xb2,xe2,...,xbj,xej)
Y=min (yb1,ye1,yb2,ye2,...,ybj,yej)
W=max (xb1,xe1,xb2,xe2,...,xbj,xej)-x
H=max (yb1,ye1,yb2,ye2,...,ybj,yej)-y。
3. detection method according to claim 1, it is characterised in that step 2) specifically includes:
According to the detection zone D and image I of step 1), the detection zone D in image I is normalized to 576 × 576 as defeated Enter image, the vehicle set A={ A in image I are detected based on deep layer convolutional neural networks1,A2,...,Ai, AiPosition note For PAi={ xi,yi,wi,hi};
Wherein, the convolutional neural networks include:7 convolutional layers, 4 down-sampling layers, 2 full articulamentums and an output layer;Volume Scanning boundary filling 0 automatically, enters line activating using Leaky-ReLu function pair neurons in lamination;Used in down-sampling layer Maximum pond;
Convolutional layer C1 convolution kernel size is 9 × 9,32 convolution kernels, and step-length 2, generation characteristic pattern size is 288 × 288;Under Sample level S1 window sizes are 4 × 4, step-length 4, and generation characteristic pattern size is 72 × 72;
Convolutional layer C2 convolution kernels size is 1 × Isosorbide-5-Nitrae convolution kernel, and step-length 1, generation characteristic pattern size is 72 × 72;
Convolutional layer C3 convolution kernels size is 3 × 3,8 convolution kernels, and step-length 1, generation characteristic pattern size is 72 × 72;Down-sampling Layer S2 window sizes are 2 × 2, step-length 2, and generation characteristic pattern size is 36 × 36;
Convolutional layer C4 convolution kernels size is 1 × 1,8 convolution kernels, and step-length 1, generation characteristic pattern size is 36 × 36;
Convolutional layer C5 convolution kernels size is 3 × 3,16 convolution kernels, and step-length 1, generation characteristic pattern size is 36 × 36;Down-sampling Layer S3 window sizes are 2 × 2, step-length 2, and generation characteristic pattern size is 18 × 18;
Convolutional layer C6 convolution kernels size is 3 × 3,32 convolution kernels, and step-length 1, generation characteristic pattern size is 18 × 18;Down-sampling Layer S4 window sizes are 2 × 2, step-length 2, and generation characteristic pattern size is 9 × 9;
Convolutional layer C7 convolution kernels size is 1 × 1,64 convolution kernels, and step-length 1, generation characteristic pattern size is 9 × 9;
Full articulamentum F1 is made up of 256 neurons, enters line activating using Relu function pair neurons;Full articulamentum F2 is by 4096 Individual neuron is formed, and enters line activating using Leaky-ReLu function pair neurons;Output layer is made up of 891 neurons, is used Relu function pair neurons enter line activating.
4. detection method according to claim 1, it is characterised in that the step 3) specifically includes:
Step 3-1) the vehicle set A={ A that are obtained according to step 2)1,A2,...,Ai, therefrom filter out and intersect with lane line L Vehicle set B={ B1,B2,...,Bi, wherein,
Step 3-2) according to step 3-1) obtained vehicle set B, traversal tracking vehicle list TL={ T1,T2,...,Tj, choosing Go out registration Uij> 0.2 vehicle set C,C={ C1,C2,...,Cm};Calculate Hog features hogjAnd hogk, then count Calculate its COS distance Cosjk;Tracking vehicle T is selected againjWith COS distance Cos maximum in vehicle set CjmAnd corresponding vehicle CmIf Cosjm> 0.75, then TjAnd CmIt is mutually matched, and enters step 3-3);If Cosjm≤ 0.75, then in vehicle set C not In the presence of and tracking vehicle TjThe vehicle to match, and enter step 3-4);
Step 3-3) according to step 3-2) obtained vehicle Cm, renewal tracking vehicle TjVehicle location be current vehicle location, i.e., TPj=CPm;Renewal tracking vehicle is Current vehicle picture, i.e. TMj=CMm;Continuously with losing number TTj=0, trace point and track Line L horizontal directed distance TDjIt is updated to the horizontal directed distance of current tracking point and lane line L, i.e. TDj=CDm;Now Cm It has been be matched that, whether Current vehicle is matched mark CFi=true;
Step 3-4) renewal tracking vehicle TjIt is continuous with losing number TTj', wherein, TTj'=TTj+ 1, if TTj' it is continuous with losing Number is more than 3 times, then deletes vehicle T from tracking vehicle listj
Step 3-5) traversal vehicle set B, the vehicle B that will be matchedu={ BPu,BMu,BFu,BQu,BDuAs new tracking Vehicle Tu={ TPu,TMu,TTu,TODu,TDuBe added in tracking vehicle list TL, vehicle tracking list TL is updated, wherein,
TPu=BPu
TMu=BMu
TTu=0
TODu=BDu
TDu=BDu
5. detection method according to claim 4, it is characterised in that the step 3-1) specifically include:
Step 3-1-1) the lane line L and vehicle A that are obtained according to step 1) and step 2)iPosition rectangle PAi, calculate lane line Lj With vehicle AiPosition rectangle PAiThe intersection point on four sides, and lane line LjWith rectangle left edge, right side edge, upper edge, downside The intersection point at edge is respectively plij={ xlij,ylij}、prij={ xrij,yrij}、puij={ xuij,yuij}、pdij={ xdij,ydij};
Wherein, { xlij,ylijIt is respectively that left side edge intersection point is horizontal, ordinate, { xrij,yrijBe respectively right side edge intersection point it is horizontal, Ordinate, { xuij,yuijIt is respectively upper edge intersection point horizontal stroke, ordinate, respectively lower edge intersection point horizontal stroke, ordinate;
Step 3-1-2) according to step 3-1-1) intersection point of obtained lane line and rectangle, if intersection point on rectangle top and the left side and Meet following preparatory condition, by vehicle rectangle AiIt is added in vehicle set B;
xi+wi/ 4 < xuij< xi+wi
yi+hi/ 2 < ylij< yi+hi
Step 3-1-3) according to step 3-1-1) intersection point of obtained lane line and rectangle, if intersection point on rectangle top and the right and Meet following preparatory condition, by vehicle rectangle AiIt is added in vehicle set B;
xi< xuij< xi+3wi/4
yi+hi/ 2 < yrij< yi+hi
Step 3-1-4) according to step 3-1-1) intersection point of obtained lane line and rectangle, if intersection point in rectangle bottom and upper segment and Meet following preparatory condition, by vehicle rectangle AiIt is added in vehicle set B;
xi+wi/ 4 < xuij< xi+3wi/4
xi+wi/ 4 < xdij< xi+3wi/4。
6. detection method according to claim 4, it is characterised in that the step 3-2) specifically include:
Step 3-2-1) according to step 3-1) obtained vehicle set B, information of vehicles is initialized, including:Vehicle location BPi ={ xi,yi,wi,hi, vehicle pictures BMi, Current vehicle whether be matched mark BFi=false, trace point BQi=(xi+wi/ 2,yi+4hi/ 5) and trace point BQiWith every lane line LjHorizontal directed distance Bdij, that is, track vehicle Bi={ BPi,BMi, BFi,BQi,BDi, wherein, BDi={ Bdi1,Bdi2,...,Bdil};
Step 3-2-2) traversal tracking vehicle list TL={ T1,T2,...,Tj, Tj={ TPj,TMj,TTj,TODj,TDj, Tj∈ TL, wherein, TPjRepresent vehicle location, TMjRepresent vehicle pictures, TTjRepresent continuously with losing number, TODjRepresent starting trace point With lane line L horizontal directed distance, TDjRepresent the horizontal directed distance of current tracking point and lane line L;TODj={ TOdj1, TOdj2,...,TOdjl, TDj={ Tdj1,Tdj2,...,Tdjl};Calculate tracking vehicle TjVehicle location TPjWith vehicle set B In each truck position BP for not being matchediRegistration Uij
Uij=Scij/Szij
Wherein, SzijFor BPiAnd TPjThe union of rectangular area, ScijFor BPiAnd TPjThe common factor of rectangular area;
Select registration Uij> 0.2 vehicle set C,C={ C1,C2,...,Cm};If C is sky, in vehicle set B In the absence of with tracking vehicle TjThe vehicle to match, and enter step 3-4);If C is not sky, into step 3-2-3);
Step 3-2-3) according to step 3-2-2) obtained vehicle set C={ C1,C2,...,Cm, vehicle T will be trackedjVehicle Picture TMjWith the picture CM of each car in vehicle set Ck64 × 64 sizes are normalized to, and carry out gray processing, calculate Hog features hogjAnd hogk;Wherein, in the calculating, the window size used is 64 × 64, and block size is 16 × 16, and it is big that block slides increment Small is 8 × 8, and cell element size is 8 × 8, and the quantity of histogram of gradients is 9 in each born of the same parents' unit;
Step 3-2-4) according to step 3-2-3) obtained Hog features hogjAnd hogk, calculate its COS distance Cosjk
Step 3-2-5) according to step 3-2-4) obtained COS distance Cosjk, select tracking vehicle TjWith in vehicle set C most Big COS distance CosjmAnd its corresponding vehicle CmIf Cosjm> 0.75, then TjAnd CmIt is mutually matched, and enters step 3- 3);If Cosjm≤ 0.75, then it is not present and tracks vehicle T in vehicle set CjThe vehicle to match, and enter step 3-4).
7. detection method according to claim 1, it is characterised in that the step 4) specifically includes:
Step 4-1) the tracking vehicle list TL after renewal is traveled through, calculate TjStarting trace point and lane line LjIt is horizontal oriented Distance TOd 'jjWith current tracking point and lane line LjHorizontal directed distance Td 'jjProduct, if TOd 'jj*Td′jj< 0, represent Vehicle is successively located at lane line LjBoth sides, TjFor lane change vehicle of breaking rules and regulations;
Step 4-2) according to step 4-1) obtained lane change vehicle T violating the regulationsj, then tracking vehicle T is marked outjPosition, and from renewal Lane change vehicle T violating the regulations is deleted in tracking vehicle list TL afterwardsjInformation.
8. a kind of real-time detecting system based on lane line demarcation vehicle peccancy lane change, the detecting system is intelligent traffic administration system System, including memory, processor and storage on a memory and the computer program that can run on a processor, its feature It is, the step of claim 1~7 detection method is realized during the computing device described program.
CN201711026761.4A 2017-10-27 2017-10-27 A real-time detection method and system for illegal lane change based on lane marking Active CN107705577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711026761.4A CN107705577B (en) 2017-10-27 2017-10-27 A real-time detection method and system for illegal lane change based on lane marking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711026761.4A CN107705577B (en) 2017-10-27 2017-10-27 A real-time detection method and system for illegal lane change based on lane marking

Publications (2)

Publication Number Publication Date
CN107705577A true CN107705577A (en) 2018-02-16
CN107705577B CN107705577B (en) 2020-05-26

Family

ID=61176340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711026761.4A Active CN107705577B (en) 2017-10-27 2017-10-27 A real-time detection method and system for illegal lane change based on lane marking

Country Status (1)

Country Link
CN (1) CN107705577B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271942A (en) * 2018-09-26 2019-01-25 上海七牛信息技术有限公司 A kind of stream of people's statistical method and system
CN109284752A (en) * 2018-08-06 2019-01-29 中国科学院声学研究所 A rapid detection method for vehicles
CN110348273A (en) * 2018-04-04 2019-10-18 北京四维图新科技股份有限公司 Neural network model training method, system and Lane detection method, system
CN112712703A (en) * 2020-12-09 2021-04-27 上海眼控科技股份有限公司 Vehicle video processing method and device, computer equipment and storage medium
CN114120625A (en) * 2020-08-31 2022-03-01 上汽通用汽车有限公司 Vehicle information integration system, method, and storage medium
US12321245B2 (en) 2019-09-30 2025-06-03 Fujitsu Limited Method and system for reconciling values of a feature

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254429A (en) * 2011-05-13 2011-11-23 东南大学 Video identification-based detection apparatus and method of vehicles against regulations
CN105632186A (en) * 2016-03-11 2016-06-01 博康智能信息技术有限公司 Method and device for detecting vehicle queue jumping behavior
CN105702048A (en) * 2016-03-23 2016-06-22 武汉理工大学 Automobile-data-recorder-based illegal lane occupation identification system and method for automobile on highway
WO2016141553A1 (en) * 2015-03-10 2016-09-15 冯旋宇 System for preventing lane change on solid-line road and method for preventing lane change by using system
CN106297314A (en) * 2016-11-03 2017-01-04 北京文安智能技术股份有限公司 A kind of drive in the wrong direction or the detection method of line ball vehicle behavior, device and a kind of ball machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254429A (en) * 2011-05-13 2011-11-23 东南大学 Video identification-based detection apparatus and method of vehicles against regulations
WO2016141553A1 (en) * 2015-03-10 2016-09-15 冯旋宇 System for preventing lane change on solid-line road and method for preventing lane change by using system
CN105632186A (en) * 2016-03-11 2016-06-01 博康智能信息技术有限公司 Method and device for detecting vehicle queue jumping behavior
CN105702048A (en) * 2016-03-23 2016-06-22 武汉理工大学 Automobile-data-recorder-based illegal lane occupation identification system and method for automobile on highway
CN106297314A (en) * 2016-11-03 2017-01-04 北京文安智能技术股份有限公司 A kind of drive in the wrong direction or the detection method of line ball vehicle behavior, device and a kind of ball machine

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110348273A (en) * 2018-04-04 2019-10-18 北京四维图新科技股份有限公司 Neural network model training method, system and Lane detection method, system
CN109284752A (en) * 2018-08-06 2019-01-29 中国科学院声学研究所 A rapid detection method for vehicles
CN109271942A (en) * 2018-09-26 2019-01-25 上海七牛信息技术有限公司 A kind of stream of people's statistical method and system
US12321245B2 (en) 2019-09-30 2025-06-03 Fujitsu Limited Method and system for reconciling values of a feature
CN114120625A (en) * 2020-08-31 2022-03-01 上汽通用汽车有限公司 Vehicle information integration system, method, and storage medium
CN114120625B (en) * 2020-08-31 2023-02-21 上汽通用汽车有限公司 Vehicle information integration system, method, and storage medium
CN112712703A (en) * 2020-12-09 2021-04-27 上海眼控科技股份有限公司 Vehicle video processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN107705577B (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN107705577A (en) A kind of real-time detection method and system based on lane line demarcation vehicle peccancy lane change
CN110178167B (en) Video Recognition Method of Intersection Violation Based on Camera Cooperative Relay
Soilán et al. Segmentation and classification of road markings using MLS data
CN106127802B (en) A kind of movement objective orbit method for tracing
CN107705560B (en) Road congestion detection method integrating visual features and convolutional neural network
CN114898296B (en) Bus lane occupation detection method based on millimeter wave radar and vision fusion
Wu et al. Applying a functional neurofuzzy network to real-time lane detection and front-vehicle distance measurement
CN103116987B (en) Traffic flow statistic and violation detection method based on surveillance video processing
CN104599502B (en) A traffic flow statistics method based on video surveillance
CN113874927A (en) Parking detection method, system, processing device and storage medium
CN110210363A (en) A kind of target vehicle crimping detection method based on vehicle-mounted image
CN107609491A (en) A kind of vehicle peccancy parking detection method based on convolutional neural networks
Ding et al. Fast lane detection based on bird’s eye view and improved random sample consensus algorithm
Ying et al. Robust lane marking detection using boundary-based inverse perspective mapping
CN103824452A (en) Lightweight peccancy parking detection device based on full view vision
Piao et al. Robust hypothesis generation method using binary blob analysis for multi‐lane detection
CN109902676A (en) A Parking Violation Detection Algorithm Based on Dynamic Background
Tumen et al. Recognition of road type and quality for advanced driver assistance systems with deep learning
Liu et al. Vehicle detection and ranging using two different focal length cameras
JP4940177B2 (en) Traffic flow measuring device
CN113011331A (en) Method and device for detecting whether motor vehicle gives way to pedestrians, electronic equipment and medium
WO2024046053A1 (en) Vehicle violation detection method, apparatus and system, and storage medium
Omidi et al. An embedded deep learning-based package for traffic law enforcement
CN114092902B (en) Method and device for detecting illegal behavior of electric bicycles
Janda et al. Road boundary detection for run-off road prevention based on the fusion of video and radar

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220729

Address after: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee after: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

Patentee after: NANHAI RESEARCH STATION, INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

Address before: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee before: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES