CN114926799A - Lane line detection method, device, equipment and readable storage medium - Google Patents

Lane line detection method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114926799A
CN114926799A CN202210560929.4A CN202210560929A CN114926799A CN 114926799 A CN114926799 A CN 114926799A CN 202210560929 A CN202210560929 A CN 202210560929A CN 114926799 A CN114926799 A CN 114926799A
Authority
CN
China
Prior art keywords
lane line
current
lane
current lane
detection
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.)
Pending
Application number
CN202210560929.4A
Other languages
Chinese (zh)
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.)
Guoqi Intelligent Control Beijing Technology Co Ltd
Original Assignee
Guoqi Intelligent Control Beijing Technology Co Ltd
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 Guoqi Intelligent Control Beijing Technology Co Ltd filed Critical Guoqi Intelligent Control Beijing Technology Co Ltd
Priority to CN202210560929.4A priority Critical patent/CN114926799A/en
Publication of CN114926799A publication Critical patent/CN114926799A/en
Pending legal-status Critical Current

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/588Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a lane line detection method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: acquiring a single-frame lane line, and performing lane line identification detection processing on the single-frame lane line to obtain a current lane line; matching the current lane line with a preset map to obtain a local map of the current vehicle; detecting whether the current lane line is accurate or not according to the local map and the current lane line; and when the current lane line is detected to be inaccurate, constructing a virtual lane line. According to the invention, the lane line is identified and detected, and is matched with the high-precision map, so that whether the current lane line is accurate or not is detected after the local map where the vehicle is located is obtained, therefore, the problem that the lane line detection is influenced by a large error generated by data due to hardware precision, environmental factors or sensor jitter is solved, the lane line detection efficiency is improved, meanwhile, the accuracy and reliability of the lane line detection are greatly improved, and the situations that the existing detection technology needs high detection conditions and has large detection errors are reduced.

Description

一种车道线检测方法、装置、设备及可读存储介质A lane line detection method, device, device and readable storage medium

技术领域technical field

本发明涉及人工智能技术领域,尤其是涉及一种车道线检测方法、装置、设备及可读存储介质。The present invention relates to the technical field of artificial intelligence, and in particular, to a lane line detection method, device, device and readable storage medium.

背景技术Background technique

随着智能辅助驾驶的兴起,车道线检测作为其重要的组成部分,近年来也得以大力发展。ADAS(Advanced Driver Assistance Systems,高级驾驶辅助系统)辅助驾驶中的车道线检测技术主要基于相机传感器,通过图像视频分析检测当前的车道线,为后续的车道偏离提供车道线信息,有效进行偏离预警。With the rise of intelligent assisted driving, lane line detection, as an important part of it, has also been vigorously developed in recent years. The lane line detection technology in ADAS (Advanced Driver Assistance Systems) assisted driving is mainly based on camera sensors. It detects the current lane line through image and video analysis, provides lane line information for subsequent lane departures, and effectively carries out departure warning.

在构思及实现本申请过程中,本申请的发明人发现,现有技术中基于图像视频分析的车道线检测采用的是相机传感器采集到的二维图像,受环境影响较大,特别在成像恶劣的条件下,容易受非车道线点的干扰,无法取得理想的效果,远难满足L3、L4级别的自动驾驶技术指标。此外,基于二维图像信息的车道线检测,没办法得到直接的物理车道线模型,需要根据相机安装的情况进行严格的标定,在图像语义分割的基础上,提取车道线像素点,要训练大量的标签数据来解决多场景适用问题。In the process of conceiving and realizing this application, the inventors of this application found that the lane line detection based on image and video analysis in the prior art adopts the two-dimensional image collected by the camera sensor, which is greatly affected by the environment, especially in the case of poor imaging. Under the condition of , it is easy to be interfered by non-lane line points, can not achieve ideal results, and it is far difficult to meet the L3 and L4 level of automatic driving technical indicators. In addition, for lane line detection based on two-dimensional image information, there is no way to obtain a direct physical lane line model. It needs to be strictly calibrated according to the installation of the camera. On the basis of image semantic segmentation, it takes a lot of training to extract lane line pixels. The label data to solve the problem of multi-scenario application.

前面的叙述在于提供一般的背景信息,并不一定构成现有技术。The preceding statements are intended to provide general background information and may not constitute prior art.

发明内容SUMMARY OF THE INVENTION

本发明实施例所要解决的技术问题在于,提供一种车道线检测方法、装置、设备及可读存储介质,能够解决由于硬件精度、环境因素或传感器抖动导致数据产生较大误差影响车道线检测的问题。The technical problem to be solved by the embodiments of the present invention is to provide a lane line detection method, device, device, and readable storage medium, which can solve the problem of large errors in data caused by hardware accuracy, environmental factors or sensor jitter, which affect lane line detection. question.

为解决上述问题,本申请实施例的第一方面提供了一种车道线检测方法,至少包括如下步骤:In order to solve the above problem, a first aspect of the embodiments of the present application provides a lane line detection method, which at least includes the following steps:

获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;Acquiring a single frame of lane line, and performing lane line recognition and detection processing on the single frame of lane line to obtain the current lane line;

将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;Matching the current lane line with a preset map to obtain a local map where the current vehicle is located;

根据所述局部地图和当前车道线,检测所述当前车道线是否准确;Detecting whether the current lane line is accurate according to the local map and the current lane line;

当检测到所述当前车道线不准确时,构建对应的虚拟车道线。When it is detected that the current lane line is inaccurate, a corresponding virtual lane line is constructed.

在第一方面的一种可能的实现方式中,在所述得到当前车道线之后,包括:In a possible implementation manner of the first aspect, after obtaining the current lane line, the method includes:

获取多帧车道线,对所述多帧车道线进行融合处理,得到校准后的当前车道线。Acquire multiple frames of lane lines, and perform fusion processing on the multiple frames of lane lines to obtain a calibrated current lane line.

在第一方面的一种可能的实现方式中,所述获取多帧车道线,对所述多帧车道线进行融合处理,得到校准后的当前车道线,包括:In a possible implementation manner of the first aspect, the acquiring multiple frames of lane lines, and performing fusion processing on the multiple frames of lane lines to obtain a calibrated current lane line, including:

获取多帧车道线,分别对每帧车道线进行车道线识别检测处理,检测得到每帧车道线对应的初始车道线;Acquire multiple frames of lane lines, perform lane line recognition and detection processing on each frame of lane lines, and detect the initial lane lines corresponding to each frame of lane lines;

根据目标聚类算法,对多组初始车道线先后进行聚类和融合处理,得到校准后的车道线。According to the target clustering algorithm, multiple groups of initial lane lines are clustered and fused successively to obtain calibrated lane lines.

在第一方面的一种可能的实现方式中,在所述得到当前车道线之后,还包括:In a possible implementation manner of the first aspect, after the obtaining the current lane line, the method further includes:

将所述当前车道线与历史车道线进行比对,判断是否偏离历史车道。The current lane line and the historical lane line are compared to determine whether to deviate from the historical lane.

在第一方面的一种可能的实现方式中,所述对所述单帧车道线进行车道线识别检测处理,包括:In a possible implementation manner of the first aspect, performing lane line recognition and detection processing on the single frame of lane lines includes:

对获取的单帧车道线进行相机内外参标定,得到第一车道线信息;The camera internal and external parameters are calibrated on the acquired single frame lane line, and the first lane line information is obtained;

对所述第一车道线先后进行坐标转换和车道线拟合处理,得到当前车道线。Coordinate transformation and lane line fitting are successively performed on the first lane line to obtain the current lane line.

在第一方面的一种可能的实现方式中,在所述得到当前车辆所在的局部地图之后,还包括:In a possible implementation manner of the first aspect, after obtaining the local map where the current vehicle is located, the method further includes:

获取车辆视觉里程计信息,根据所述车辆视觉里程计信息检测所述当前车道线是否准确。Obtain vehicle visual odometer information, and detect whether the current lane line is accurate according to the vehicle visual odometer information.

在第一方面的一种可能的实现方式中,所述根据所述局部地图和当前车道线,检测所述当前车道线是否准确,包括:In a possible implementation manner of the first aspect, the detecting whether the current lane line is accurate according to the local map and the current lane line includes:

获取所述当前车道线对应的局部地图;obtaining a local map corresponding to the current lane line;

提取所述当前车道对应的局部地图中标志性物体的位置信息;extracting location information of landmark objects in the local map corresponding to the current lane;

根据标志性物体的位置信息,对所述当前车道线进行匹配识别,检测当前所述车道线是否准确。According to the position information of the landmark object, the current lane line is matched and identified to detect whether the current lane line is accurate.

相应地,本申请实施例的第二方面提供了一种车道线检测装置,包括:Correspondingly, a second aspect of the embodiments of the present application provides a lane line detection device, including:

单帧车道线提取模块,用于获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;A single-frame lane line extraction module, used to obtain a single-frame lane line, and perform lane line identification and detection processing on the single-frame lane line to obtain the current lane line;

地图匹配模块,用于将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;a map matching module for matching the current lane line with a preset map to obtain a local map where the current vehicle is located;

车道线检测模块,用于根据所述局部地图和当前车道线,检测所述当前车道线是否准确;a lane line detection module, configured to detect whether the current lane line is accurate according to the local map and the current lane line;

车道线构建模块,用于当检测到所述当前车道线不准确时,构建对应的虚拟车道线。The lane line building module is configured to construct a corresponding virtual lane line when it is detected that the current lane line is inaccurate.

本申请实施例的第三方面还提出了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述的车道线检测方法的步骤。A third aspect of the embodiments of the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the lane line described in any one of the above is implemented The steps of the detection method.

本申请实施例的第四方面还提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的车道线检测方法的步骤。A fourth aspect of the embodiments of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any one of the lane line detection methods described above.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

本发明实施例提供的一种车道线检测方法、装置、设备及可读存储介质,所述方法包括:获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;根据所述局部地图和当前车道线,检测所述当前车道线是否准确;当检测到所述当前车道线不准确时,构建对应的虚拟车道线。本发明实施例通过对车道线进行识别检测,与高精度地图进行匹配,得到车辆所在的局部地图后检测当前车道线是否准确,从而解决由于硬件精度、环境因素或传感器抖动导致数据产生较大误差影响车道线检测的问题,在提高车道线检测效率的同时,极大提高了车道线检测的准确性和可靠性,有效降低车道线检测的误差,减少现有检测技术需要较高检测条件且检测误差较大的情况。Embodiments of the present invention provide a lane line detection method, device, device, and readable storage medium. The method includes: acquiring a single frame of lane lines, performing lane line identification and detection processing on the single frame of lane lines, and obtaining a current lane match the current lane line with the preset map to obtain the local map where the current vehicle is located; according to the local map and the current lane line, detect whether the current lane line is accurate; when the current lane line is detected When inaccurate, construct the corresponding virtual lane line. In the embodiment of the present invention, the lane lines are identified and detected, matched with high-precision maps, and the local map where the vehicle is located is obtained, and then the current lane lines are detected to be accurate, so as to solve the problem of large errors in data caused by hardware accuracy, environmental factors or sensor jitter The problem that affects the detection of lane lines, while improving the efficiency of lane line detection, greatly improves the accuracy and reliability of lane line detection, effectively reduces the error of lane line detection, and reduces the existing detection technology that requires higher detection conditions and detection. Larger errors.

附图说明Description of drawings

图1为本申请一实施例的车道线检测方法的流程示意图;FIG. 1 is a schematic flowchart of a lane line detection method according to an embodiment of the present application;

图2为本申请一实施例的车道线检测装置的结构示意框图;FIG. 2 is a schematic block diagram of the structure of a lane line detection device according to an embodiment of the application;

图3为本申请一实施例的计算机设备的结构示意框图。FIG. 3 is a schematic structural block diagram of a computer device according to an embodiment of the present application.

本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”等的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for description purposes, and cannot be interpreted as indicating or implying relative importance or implying the number of indicated technical features . Thus, a feature defined as "first", "second", etc., may expressly or implicitly include one or more of that feature. In the description of this application, unless stated otherwise, "plurality" means two or more.

本申请实施例可以应用于服务器中,服务器可以是独立的服务器,也可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。The embodiments of the present application may be applied to a server, and the server may be an independent server, or may provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security Services, Content Delivery Network (CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.

首先介绍本发明可以提供的应用场景,如提供一种车道线检测方法、装置、设备及可读存储介质,能够实现车道线检测,提高车道线检测效率和精准性。First, the application scenarios that the present invention can provide are introduced, such as providing a lane line detection method, device, equipment and readable storage medium, which can realize lane line detection and improve the efficiency and accuracy of lane line detection.

本发明第一实施例:The first embodiment of the present invention:

请参阅图1。See Figure 1.

如图1所示,本实施例提供了一种车道线检测方法,至少包括如下步骤:As shown in FIG. 1 , this embodiment provides a lane line detection method, which at least includes the following steps:

S1、获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;S1. Acquire a single frame of lane line, and perform lane line identification and detection processing on the single frame of lane line to obtain the current lane line;

S2、将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;S2, matching the current lane line with a preset map to obtain a local map where the current vehicle is located;

S3、根据所述局部地图和当前车道线,检测所述当前车道线是否准确;S3, according to the local map and the current lane line, detect whether the current lane line is accurate;

S4、当检测到所述当前车道线不准确时,构建对应的虚拟车道线。S4. When it is detected that the current lane line is inaccurate, construct a corresponding virtual lane line.

在现有技术中,基于图像视频分析的车道线检测采用的是相机传感器采集到的二维图像,受环境影响较大,特别在成像恶劣的条件下,容易受非车道线点的干扰,无法取得理想的效果,远难满足L3、L4级别的自动驾驶技术指标。此外,基于二维图像信息的车道线检测,没办法得到直接的物理车道线模型,需要根据相机安装的情况进行严格的标定,在图像语义分割的基础上,提取车道线像素点,要训练大量的标签数据来解决多场景适用问题。In the prior art, the lane line detection based on image and video analysis adopts the two-dimensional image collected by the camera sensor, which is greatly affected by the environment. To achieve ideal results, it is far from meeting the L3 and L4 level of autonomous driving technical indicators. In addition, for lane line detection based on two-dimensional image information, there is no way to obtain a direct physical lane line model. It needs to be strictly calibrated according to the installation of the camera. On the basis of image semantic segmentation, it takes a lot of training to extract lane line pixels. The label data to solve the problem of multi-scenario application.

而本实施例为了解决上述技术问题,提出一种车道线检测方法,通过对车道线进行识别检测,与高精度地图进行匹配,得到车辆所在的局部地图后检测当前车道线是否准确,从而解决由于硬件精度、环境因素或传感器抖动导致数据产生较大误差影响车道线检测的问题,在提高车道线检测效率的同时,极大提高了车道线检测的准确性和可靠性,有效降低车道线检测的误差,减少现有检测技术需要较高检测条件且检测误差较大的情况。In this embodiment, in order to solve the above technical problems, a lane line detection method is proposed. By identifying and detecting the lane lines and matching with a high-precision map, the local map where the vehicle is located is obtained and then the current lane line is detected. Hardware accuracy, environmental factors or sensor jitter cause large errors in data that affect lane line detection. While improving the efficiency of lane line detection, it greatly improves the accuracy and reliability of lane line detection, and effectively reduces lane line detection. error, reducing the situation that the existing detection technology requires higher detection conditions and the detection error is large.

具体的,对于步骤S1,通过图像采集装置获取单帧车道线,对获取的单帧车道线进行车道线识别检测处理,从而得到当前车道线。Specifically, for step S1, a single frame of lane lines is acquired by an image acquisition device, and lane line recognition and detection processing is performed on the acquired single frame of lane lines, thereby obtaining the current lane lines.

对于步骤S2,主要根据提取得到的当前车道线与预设的高精度地图进行匹配,匹配当前车道线所在高精度地图的位置,在该位置预设范围内获取该位置附近的局部地图。For step S2, the extracted current lane line and the preset high-precision map are mainly matched to match the position of the high-precision map where the current lane line is located, and a local map near the position is obtained within the preset range of the position.

对于步骤S3,根据获取当前车道线所在地图位置的局部地图与当前车道线,根据当前车道线的位置数据和特征,与局部地图中的车道线进行匹配,检测当前车道线是否准确。For step S3, according to the local map and the current lane line obtained on the map where the current lane line is located, and according to the position data and characteristics of the current lane line, match with the lane line in the local map to detect whether the current lane line is accurate.

对于步骤S4,当检测到当前车道线不匹配或不准确时,构建对应的虚拟车道线替代当前车道线。For step S4, when it is detected that the current lane line does not match or is inaccurate, a corresponding virtual lane line is constructed to replace the current lane line.

在优选的实施例中,在所述得到当前车道线之后,包括:In a preferred embodiment, after the obtaining the current lane line, it includes:

获取多帧车道线,对所述多帧车道线进行融合处理,得到校准后的当前车道线。Acquire multiple frames of lane lines, and perform fusion processing on the multiple frames of lane lines to obtain a calibrated current lane line.

在具体的实施例中,在步骤S1之后,还可以通过获取多帧车道线进行融合处理,从而对当前车道线进行校准,得到校准后的当前车道线作为后续车道线检测的基础。In a specific embodiment, after step S1, the current lane line can be calibrated by acquiring multiple frames of lane lines for fusion processing, and the calibrated current lane line can be obtained as the basis for subsequent lane line detection.

在优选的实施例中,所述获取多帧车道线,对所述多帧车道线进行融合处理,得到校准后的当前车道线,包括:In a preferred embodiment, the acquiring multiple frames of lane lines, and performing fusion processing on the multiple frames of lane lines to obtain a calibrated current lane line, including:

获取多帧车道线,分别对每帧车道线进行车道线识别检测处理,检测得到每帧车道线对应的初始车道线;Acquire multiple frames of lane lines, perform lane line recognition and detection processing on each frame of lane lines, and detect the initial lane lines corresponding to each frame of lane lines;

根据目标聚类算法,对多组初始车道线先后进行聚类和融合处理,得到校准后的车道线。According to the target clustering algorithm, multiple groups of initial lane lines are clustered and fused successively to obtain calibrated lane lines.

在具体的实施例中,通过获取多帧车道线进行融合处理从而对当前车道线进行校准的具体过程包括:获取图像采集装置采集的多帧车道线,并分别对每帧车道线均进行车道线识别检测处理,从而提取得到每帧车道线对应的初始车道线,生成多组初始车道线;根据根据目标聚类算法,对多组初始车道线先后进行聚类和融合处理,得到校准后的车道线。In a specific embodiment, the specific process of calibrating the current lane line by acquiring multiple frames of lane lines and performing fusion processing includes: acquiring multiple frames of lane lines collected by an image acquisition device, and performing lane lines on each frame of lane lines respectively. Recognition and detection processing, so as to extract the initial lane lines corresponding to each frame of lane lines, and generate multiple groups of initial lane lines; according to the clustering algorithm according to the target, cluster and fuse multiple groups of initial lane lines successively to obtain calibrated lanes Wire.

示例性地,目标聚类算法可以是K-means聚类算法,也可以是高斯混合模型聚类算法,本实施例对目标聚类算法不做限定,本领域技术人员可以根据需要确定。Exemplarily, the target clustering algorithm may be a K-means clustering algorithm or a Gaussian mixture model clustering algorithm. This embodiment does not limit the target clustering algorithm, which can be determined by those skilled in the art as required.

可选地,对所述多帧车道线进行融合处理,得到校准后的当前车道线,具体可以包括:Optionally, the multi-frame lane lines are fused to obtain a calibrated current lane line, which may specifically include:

根据目标道路的多组车道线定位数据,得到所述目标道路中任一目标位置的多个车道线定位数据;根据目标聚类算法,对任一目标位置的多个车道线定位数据进行聚类,得到任一目标位置的车道线聚类中心;重复所述根据目标道路的多组车道线定位数据,得到所述目标道路中任一目标位置的多个车道线定位数据到所述根据目标聚类算法,对任一目标位置的多个车道线定位数据进行聚类,得到任一目标位置的车道线聚类中心的步骤,得到多个目标位置的车道线聚类中心;根据目标算法,对所述多个目标位置的车道线聚类中心进行融合,得到目标道路的车道线。According to the multiple sets of lane line positioning data of the target road, multiple lane line positioning data of any target position in the target road are obtained; according to the target clustering algorithm, the multiple lane line positioning data of any target position are clustered , obtain the lane line clustering center of any target position; repeat the multiple sets of lane line positioning data according to the target road to obtain multiple lane line positioning data of any target position in the target road to the The steps of clustering multiple lane line positioning data of any target position to obtain the lane line clustering center of any target position, and obtaining the lane line clustering centers of multiple target positions; The lane line clustering centers of the multiple target positions are fused to obtain the lane lines of the target road.

另外,当任一个车道线定位数据与预存的地图数据偏差大于预设阈值,则将车道线定位数据删除。示例性地,预设阈值是当前道路宽度的2倍,当任一个车道线定位数据中车道线经纬度与预存的地图中该车道线对应的车道经纬度之差超过预设阈值,则认为该车道线定位数据为异常数据,将该异常数据删除,从而进一步提高车道线定位和检测的准确性。In addition, when the deviation between any lane line positioning data and the pre-stored map data is greater than a preset threshold, the lane line positioning data is deleted. Exemplarily, the preset threshold is twice the current road width, and when the difference between the longitude and latitude of the lane in any lane line positioning data and the longitude and latitude of the lane corresponding to the lane line in the pre-stored map exceeds the preset threshold, it is considered that the lane line The positioning data is abnormal data, and the abnormal data is deleted, thereby further improving the accuracy of lane line positioning and detection.

在优选的实施例中,在所述得到当前车道线之后,还包括:In a preferred embodiment, after obtaining the current lane line, the method further includes:

将所述当前车道线与历史车道线进行比对,判断是否偏离历史车道。The current lane line and the historical lane line are compared to determine whether to deviate from the historical lane.

在具体的实施例中,在获得当前车道线之后,还可以对当前车道线与历史车道线进行比对,判断两者偏差是否大于预设阈值,若是,则判断当前车道线已偏离历史车道;若否,则判断当前车道线未偏离历史车道。In a specific embodiment, after the current lane line is obtained, the current lane line and the historical lane line can also be compared to determine whether the deviation between the two is greater than a preset threshold, and if so, it is determined that the current lane line has deviated from the historical lane; If not, it is judged that the current lane line does not deviate from the historical lane.

可选地,在获得校准后的当前车道线后,同样可以对校准后的当前车道线与历史车道线进行比对,判断两者偏差是否大于预设阈值,若是,则判断校准后的当前车道线已偏离历史车道;若否,则判断校准后的当前车道线未偏离历史车道。Optionally, after obtaining the calibrated current lane line, it is also possible to compare the calibrated current lane line with the historical lane line to determine whether the deviation between the two is greater than a preset threshold, and if so, determine the calibrated current lane line. The line has deviated from the historical lane; if not, it is judged that the calibrated current lane line does not deviate from the historical lane.

在优选的实施例中,所述对所述单帧车道线进行车道线识别检测处理,包括:In a preferred embodiment, performing lane line recognition and detection processing on the single-frame lane line includes:

对获取的单帧车道线进行相机内外参标定,得到第一车道线信息;The camera internal and external parameters are calibrated on the acquired single frame lane line, and the first lane line information is obtained;

对所述第一车道线先后进行坐标转换和车道线拟合处理,得到当前车道线。Coordinate transformation and lane line fitting are successively performed on the first lane line to obtain the current lane line.

在具体的实施例中,所述步骤S1,具体可以包括:获取单帧车道线后,对单帧车道线先后进行相机内外参标定、坐标转换和拟合处理,从而得到当前车道线。相机内外参标定在图像处理中是必不可少的一步,主要是计算相机的内外参数以及畸变参数;畸变参数进行畸变矫正,生成校正后的图像;内外参数一般进行图像三维场景重构;而相机标定涉及四个坐标系,包括世界坐标系、相机坐标系、图像物理坐标系、图像像素坐标系,因此还需要进行坐标转换;完成坐标转换后对车道线进行拟合处理,最后得到当前车道线。In a specific embodiment, the step S1 may specifically include: after acquiring a single frame of lane line, successively performing camera internal and external parameter calibration, coordinate transformation and fitting processing on the single frame of lane line to obtain the current lane line. The calibration of the internal and external parameters of the camera is an essential step in image processing, mainly to calculate the internal and external parameters of the camera and the distortion parameters; the distortion parameters are corrected for distortion, and the corrected image is generated; the internal and external parameters are generally used for image 3D scene reconstruction; while the camera The calibration involves four coordinate systems, including the world coordinate system, the camera coordinate system, the image physical coordinate system, and the image pixel coordinate system, so coordinate transformation is also required; after the coordinate transformation is completed, the lane line is fitted, and the current lane line is finally obtained. .

在优选的实施例中,在所述得到当前车辆所在的局部地图之后,还包括:In a preferred embodiment, after obtaining the local map where the current vehicle is located, the method further includes:

获取车辆视觉里程计信息,根据所述车辆视觉里程计信息检测所述当前车道线是否准确。Obtain vehicle visual odometer information, and detect whether the current lane line is accurate according to the vehicle visual odometer information.

在具体的实施例中,在步骤S2之后,具体还可以包括通过视觉里程计技术检测当前车道线是否准确,通过车辆视觉里程计信息检测当前车道线,首先获取当前车辆的视觉里程计信息,然后基于单目视觉的车道线检测和单目视觉里程计定位精度优化,视觉里程计(VO)是利用车载相机采集到的图像信息来恢复车体本身的6自由度信息,包括3自由度的旋转和3自由度的平移。视觉传感器可以提供丰富的感知信息,从而进行精准的车道线检测。In a specific embodiment, after step S2, the method may further include detecting whether the current lane line is accurate through the visual odometry technology, detecting the current lane line through the vehicle visual odometer information, first obtaining the visual odometer information of the current vehicle, and then Based on monocular vision lane line detection and monocular visual odometry positioning accuracy optimization, visual odometer (VO) uses the image information collected by the vehicle camera to restore the 6-DOF information of the car body itself, including the 3-DOF rotation. and translation with 3 degrees of freedom. Vision sensors can provide rich perception information for accurate lane line detection.

在优选的实施例中,所述根据所述局部地图和当前车道线,检测所述当前车道线是否准确,包括:In a preferred embodiment, the detecting whether the current lane line is accurate according to the local map and the current lane line includes:

获取所述当前车道线对应的局部地图;obtaining a local map corresponding to the current lane line;

提取所述当前车道对应的局部地图中标志性物体的位置信息;extracting location information of landmark objects in the local map corresponding to the current lane;

根据标志性物体的位置信息,对所述当前车道线进行匹配识别,检测当前所述车道线是否准确。According to the position information of the landmark object, the current lane line is matched and identified to detect whether the current lane line is accurate.

在具体的实施例中,对于步骤S4,主要是获取当前车道线预设范围内的局部地图;提取所述当前车道对应的局部地图中标志性物体的位置信息;根据标志性物体的位置信息,对所述当前车道线进行匹配识别,检测当前所述车道线是否准确。In a specific embodiment, for step S4, the main steps are to obtain a local map within the preset range of the current lane line; to extract the position information of the landmark objects in the local map corresponding to the current lane; according to the position information of the landmark objects, The current lane line is matched and identified to detect whether the current lane line is accurate.

可选地,步骤S4的具体过程如下:首先获取多个目标道路车道线对应的局部地图;示例性地,局部地图表征包含目标道路车道线以及其他交通要素的地图,其他交通要素可以包括路面、路灯、植物、天空、斑马线、建筑物等。多个目标道路车道线对应的局部地图可以是从预先存储多个目标道路车道线对应的局部地图的数据库中获取,多个目标道路车道线对应的局部地图可以通过将在目标道路车道线巡航的地图采集车所采集的图像数据以及传感器数据进行数据融合得到。其次,提取多个目标道路车道线对应的局部地图中标志性物体的位置信息;示例性地,标志性物体可以斑马线、交通标志牌、大型广告牌,比如,当多个目标道路处于一个十字路口,在各个目标道路与十字路口交汇处都有斑马线,那么则可以选定斑马线为标志性物体。在地图采集车采集目标道路图像时,由于地图采集车配置有定位系统(比如GPS)以及图像采集设备,因此会上传交通要素图像信息以及经纬度信息。最后,根据标志性物体的位置信息对多个目标道路车道线对应的局部地图进行全局融合后,根据标志性物体的位置信息,对所述当前车道线进行匹配识别,检测当前所述车道线是否准确。Optionally, the specific process of step S4 is as follows: first obtain a plurality of local maps corresponding to the lane lines of the target road; exemplarily, the local map represents a map including the lane lines of the target road and other traffic elements, and other traffic elements may include road surfaces, Street lights, plants, sky, zebra crossings, buildings, etc. The local maps corresponding to multiple target road lane lines can be obtained from a database that pre-stores local maps corresponding to multiple target road lane lines, and the local maps corresponding to multiple target road lane lines can be obtained by cruising on the target road lane lines. The image data collected by the map collecting vehicle and the sensor data are obtained by data fusion. Second, the location information of landmark objects in the local map corresponding to the lane lines of multiple target roads is extracted; exemplarily, the landmark objects can be zebra crossings, traffic signs, and large billboards. For example, when multiple target roads are at an intersection , there are zebra crossings at the intersection of each target road and intersection, then the zebra crossing can be selected as a landmark object. When the map collecting vehicle collects the target road image, since the map collecting vehicle is equipped with a positioning system (such as GPS) and an image collecting device, image information of traffic elements and latitude and longitude information will be uploaded. Finally, after global fusion of the local maps corresponding to multiple target road lane lines according to the position information of the landmark object, the current lane line is matched and identified according to the position information of the landmark object, and whether the current lane line is detected is detected. precise.

本实施例提供的一种车道线检测方法,包括:获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;根据所述局部地图和当前车道线,检测所述当前车道线是否准确;当检测到所述当前车道线不准确时,构建对应的虚拟车道线。本实施例通过对车道线进行识别检测,与高精度地图进行匹配,得到车辆所在的局部地图后检测当前车道线是否准确,从而解决由于硬件精度、环境因素或传感器抖动导致数据产生较大误差影响车道线检测的问题,在提高车道线检测效率的同时,极大提高了车道线检测的准确性和可靠性,有效降低车道线检测的误差,减少现有检测技术需要较高检测条件且检测误差较大的情况。A lane line detection method provided by this embodiment includes: acquiring a single frame of lane lines, performing lane line recognition and detection processing on the single frame of lane lines, and obtaining a current lane line; Match to obtain the local map where the current vehicle is located; according to the local map and the current lane line, detect whether the current lane line is accurate; when it is detected that the current lane line is inaccurate, construct a corresponding virtual lane line. In this embodiment, the lane lines are identified and detected and matched with the high-precision map to obtain the local map where the vehicle is located, and then check whether the current lane lines are accurate, so as to solve the problem of large errors in data caused by hardware accuracy, environmental factors or sensor jitter. The problem of lane line detection, while improving the efficiency of lane line detection, greatly improves the accuracy and reliability of lane line detection, effectively reduces the error of lane line detection, and reduces the existing detection technology that requires higher detection conditions and detection errors. larger case.

本发明第二实施例:The second embodiment of the present invention:

请参阅图2。See Figure 2.

如图2所示,本实施例提供了一种车道线检测装置,包括:As shown in FIG. 2, this embodiment provides a lane line detection device, including:

单帧车道线提取模块100,用于获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;A single-frame lane line extraction module 100, configured to acquire a single-frame lane line, and perform lane line identification and detection processing on the single-frame lane line to obtain a current lane line;

地图匹配模块200,用于将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;a map matching module 200, configured to match the current lane line with a preset map to obtain a local map where the current vehicle is located;

车道线检测模块300,用于根据所述局部地图和当前车道线,检测所述当前车道线是否准确;a lane line detection module 300, configured to detect whether the current lane line is accurate according to the local map and the current lane line;

车道线构建模块400,用于当检测到所述当前车道线不准确时,构建对应的虚拟车道线。The lane line construction module 400 is configured to construct a corresponding virtual lane line when it is detected that the current lane line is inaccurate.

可选地,车道线检测装置还可以包括:Optionally, the lane line detection device may further include:

多帧车道线提取模块,用于获取多帧车道线,对所述多帧车道线进行融合处理,得到校准后的当前车道线。The multi-frame lane line extraction module is used for acquiring multi-frame lane lines, and performing fusion processing on the multi-frame lane lines to obtain the calibrated current lane line.

可选地,多帧车道线提取模块具体可以包括:Optionally, the multi-frame lane line extraction module may specifically include:

多帧车道线提取单元,用于获取多帧车道线,分别对每帧车道线进行车道线识别检测处理,检测得到每帧车道线对应的初始车道线;The multi-frame lane line extraction unit is used to obtain multi-frame lane lines, respectively perform lane line recognition and detection processing on each frame of lane lines, and detect the initial lane lines corresponding to each frame of lane lines;

多帧车道线聚类单元,用于根据目标聚类算法,对多组初始车道线先后进行聚类和融合处理,得到校准后的车道线。The multi-frame lane line clustering unit is used to cluster and fuse multiple groups of initial lane lines successively according to the target clustering algorithm to obtain calibrated lane lines.

可选地,车道线检测装置还可以包括:Optionally, the lane line detection device may further include:

历史比对模块,用于将所述当前车道线与历史车道线进行比对,判断是否偏离历史车道。The historical comparison module is used to compare the current lane line with the historical lane line to determine whether to deviate from the historical lane.

可选地,单帧车道线提取模块100具体可以包括:Optionally, the single-frame lane line extraction module 100 may specifically include:

第一处理单元,用于对获取的单帧车道线进行相机内外参标定,得到第一车道线信息;a first processing unit, configured to perform camera internal and external parameter calibration on the acquired single frame lane line to obtain the first lane line information;

第二处理单元,用于对所述第一车道线先后进行坐标转换和车道线拟合处理,得到当前车道线。The second processing unit is used for successively performing coordinate transformation and lane line fitting processing on the first lane line to obtain the current lane line.

可选地,车道线检测装置还可以包括:Optionally, the lane line detection device may further include:

视觉里程计模块,用于获取车辆视觉里程计信息,根据所述车辆视觉里程计信息检测所述当前车道线是否准确。The visual odometry module is used for acquiring vehicle visual odometer information, and detecting whether the current lane line is accurate according to the vehicle visual odometer information.

可选地,车道线检测模块300具体可以包括:Optionally, the lane line detection module 300 may specifically include:

地图获取单元,用于获取所述当前车道线对应的局部地图;a map acquisition unit, configured to acquire a local map corresponding to the current lane line;

位置提取单元,用于提取所述当前车道对应的局部地图中标志性物体的位置信息;a location extraction unit, configured to extract location information of landmark objects in the local map corresponding to the current lane;

检测单元,用于根据标志性物体的位置信息,对所述当前车道线进行匹配识别,检测当前所述车道线是否准确。The detection unit is used for matching and identifying the current lane line according to the position information of the landmark object, and detecting whether the current lane line is accurate.

本实施例首先通过单帧车道线提取模块获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;然后通过地图匹配模块200将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;接着通过车道线检测模块根据所述局部地图和当前车道线,检测所述当前车道线是否准确;最后通过车道线构建模块,用于当检测到所述当前车道线不准确时,构建对应的虚拟车道线。本实施例通过对车道线进行识别检测,与高精度地图进行匹配,得到车辆所在的局部地图后检测当前车道线是否准确,从而解决由于硬件精度、环境因素或传感器抖动导致数据产生较大误差影响车道线检测的问题,在提高车道线检测效率的同时,极大提高了车道线检测的准确性和可靠性,有效降低车道线检测的误差,减少现有检测技术需要较高检测条件且检测误差较大的情况。In this embodiment, the single-frame lane line extraction module first obtains a single-frame lane line, and performs lane line recognition and detection processing on the single-frame lane line to obtain the current lane line; Set the map to be matched to obtain the local map where the current vehicle is located; then use the lane line detection module to detect whether the current lane line is accurate according to the local map and the current lane line; When the current lane line is inaccurate, a corresponding virtual lane line is constructed. In this embodiment, the lane lines are identified and detected and matched with the high-precision map to obtain the local map where the vehicle is located, and then check whether the current lane lines are accurate, so as to solve the problem of large errors in data caused by hardware accuracy, environmental factors or sensor jitter. The problem of lane line detection, while improving the efficiency of lane line detection, greatly improves the accuracy and reliability of lane line detection, effectively reduces the error of lane line detection, and reduces the existing detection technology that requires higher detection conditions and detection errors. larger case.

参照图3,本申请实施例中还提供一种计算机设备,该计算机设备可以是服务器,其内部结构可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于储存车道线检测方法等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种车道线检测方法。所述车道线检测方法,包括:获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;根据所述局部地图和当前车道线,检测所述当前车道线是否准确;当检测到所述当前车道线不准确时,构建对应的虚拟车道线。Referring to FIG. 3 , an embodiment of the present application further provides a computer device. The computer device may be a server, and its internal structure may be as shown in FIG. 3 . The computer device includes a processor, memory, a network interface, and a database connected by a system bus. Among them, the processor of the computer design is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store data such as lane line detection methods. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program implements a lane line detection method when executed by a processor. The lane line detection method includes: acquiring a single frame of lane lines, performing lane line recognition and detection processing on the single frame lane lines to obtain a current lane line; and matching the current lane line with a preset map to obtain a current vehicle The local map where it is located; according to the local map and the current lane line, it is detected whether the current lane line is accurate; when it is detected that the current lane line is inaccurate, a corresponding virtual lane line is constructed.

本申请一实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现一种车道线检测方法,包括步骤:获取单帧车道线,对所述单帧车道线进行车道线识别检测处理,得到当前车道线;将所述当前车道线与预设地图进行匹配,得到当前车辆所在的局部地图;根据所述局部地图和当前车道线,检测所述当前车道线是否准确;当检测到所述当前车道线不准确时,构建对应的虚拟车道线。An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a method for detecting lane lines is implemented, including the steps of: acquiring a single frame of lane lines, Frame lane lines for lane line recognition and detection processing to obtain the current lane line; match the current lane line with a preset map to obtain a local map where the current vehicle is located; detect the current lane line according to the local map and the current lane line Whether the lane line is accurate; when it is detected that the current lane line is inaccurate, a corresponding virtual lane line is constructed.

上述执行的车道线检测方法,通过对车道线进行识别检测,与高精度地图进行匹配,得到车辆所在的局部地图后检测当前车道线是否准确,从而解决由于硬件精度、环境因素或传感器抖动导致数据产生较大误差影响车道线检测的问题,在提高车道线检测效率的同时,极大提高了车道线检测的准确性和可靠性,有效降低车道线检测的误差,减少现有检测技术需要较高检测条件且检测误差较大的情况。The lane line detection method implemented above recognizes and detects lane lines, matches them with high-precision maps, obtains the local map where the vehicle is located, and then detects whether the current lane lines are accurate, so as to solve the problem of data caused by hardware accuracy, environmental factors or sensor jitter. The problem that a large error affects the detection of lane lines, while improving the efficiency of lane line detection, greatly improves the accuracy and reliability of lane line detection, effectively reduces the error of lane line detection, and reduces the need for existing detection technology. Detection conditions and detection errors are large.

在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述模块的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are only illustrative, for example, the division of the modules may be a logical function division, and there may be other division methods in actual implementation, for example, multiple modules or components may be combined or Integration into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of units or modules, and may be in electrical or other forms.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和变形,这些改进和变形也视为本发明的保护范围。The above are the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also considered as It is the protection scope of the present invention.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium provided in this application and used in the embodiments may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Claims (10)

1. A lane line detection method is characterized by at least comprising the following steps:
acquiring a single-frame lane line, and performing lane line identification detection processing on the single-frame lane line to obtain a current lane line;
matching the current lane line with a preset map to obtain a local map of the current vehicle;
detecting whether the current lane line is accurate or not according to the local map and the current lane line;
and when the current lane line is detected to be inaccurate, constructing a corresponding virtual lane line.
2. The lane line detection method according to claim 1, comprising, after the obtaining of the current lane line:
obtaining a plurality of frames of lane lines, and performing fusion processing on the plurality of frames of lane lines to obtain the calibrated current lane line.
3. The method according to claim 2, wherein the acquiring a plurality of frames of lane lines, and performing fusion processing on the plurality of frames of lane lines to obtain a calibrated current lane line includes:
acquiring multiple frames of lane lines, respectively carrying out lane line identification detection processing on each frame of lane line, and detecting to obtain an initial lane line corresponding to each frame of lane line;
and successively clustering and fusing the multiple groups of initial lane lines according to a target clustering algorithm to obtain the calibrated lane lines.
4. The lane line detection method according to claim 1, further comprising, after the obtaining of the current lane line:
and comparing the current lane line with the historical lane line, and judging whether the current lane line deviates from the historical lane line.
5. The lane line detection method according to claim 1, wherein the performing lane line identification detection processing on the single-frame lane line includes:
carrying out camera internal and external parameter calibration on the acquired single-frame lane line to obtain first lane line information;
and carrying out coordinate conversion and lane line fitting treatment on the first lane line in sequence to obtain the current lane line.
6. The lane line detection method according to claim 1, further comprising, after the obtaining of the local map of the current vehicle,:
and acquiring vehicle visual odometer information, and detecting whether the current lane line is accurate or not according to the vehicle visual odometer information.
7. The lane line detection method according to claim 1, wherein the detecting whether the current lane line is accurate according to the local map and the current lane line includes:
acquiring a local map corresponding to the current lane line;
extracting the position information of the landmark object in the local map corresponding to the current lane;
and matching and identifying the current lane line according to the position information of the landmark object, and detecting whether the current lane line is accurate or not.
8. A lane line detection apparatus, comprising:
the single-frame lane line extraction module is used for acquiring a single-frame lane line and carrying out lane line identification detection processing on the single-frame lane line to obtain a current lane line;
the map matching module is used for matching the current lane line with a preset map to obtain a local map of the current vehicle;
the lane line detection module is used for detecting whether the current lane line is accurate or not according to the local map and the current lane line;
and the lane line building module is used for building a corresponding virtual lane line when the current lane line is detected to be inaccurate.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the lane line detection method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the lane line detection method according to any one of claims 1 to 7.
CN202210560929.4A 2022-05-20 2022-05-20 Lane line detection method, device, equipment and readable storage medium Pending CN114926799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210560929.4A CN114926799A (en) 2022-05-20 2022-05-20 Lane line detection method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210560929.4A CN114926799A (en) 2022-05-20 2022-05-20 Lane line detection method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114926799A true CN114926799A (en) 2022-08-19

Family

ID=82811425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210560929.4A Pending CN114926799A (en) 2022-05-20 2022-05-20 Lane line detection method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114926799A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117723070A (en) * 2024-02-06 2024-03-19 合众新能源汽车股份有限公司 Method and device for determining map matching initial value, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103954275A (en) * 2014-04-01 2014-07-30 西安交通大学 Lane line detection and GIS map information development-based vision navigation method
CN108985230A (en) * 2018-07-17 2018-12-11 深圳市易成自动驾驶技术有限公司 Method for detecting lane lines, device and computer readable storage medium
CN109186615A (en) * 2018-09-03 2019-01-11 武汉中海庭数据技术有限公司 Lane side linear distance detection method, device and storage medium based on high-precision map
CN109426800A (en) * 2017-08-22 2019-03-05 北京图森未来科技有限公司 A kind of method for detecting lane lines and device
CN109460739A (en) * 2018-11-13 2019-03-12 广州小鹏汽车科技有限公司 Method for detecting lane lines and device
CN110426051A (en) * 2019-08-05 2019-11-08 武汉中海庭数据技术有限公司 A kind of lane line method for drafting, device and storage medium
CN110675635A (en) * 2019-10-09 2020-01-10 北京百度网讯科技有限公司 Method and device for acquiring external parameters of camera, electronic equipment and storage medium
CN111213154A (en) * 2019-03-08 2020-05-29 深圳市大疆创新科技有限公司 Lane line detection method, lane line detection equipment, mobile platform and storage medium
CN111295666A (en) * 2019-04-29 2020-06-16 深圳市大疆创新科技有限公司 Lane line detection method, device, control equipment and storage medium
CN114494617A (en) * 2021-12-27 2022-05-13 中智行(苏州)科技有限公司 Automatic lane line extraction method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103954275A (en) * 2014-04-01 2014-07-30 西安交通大学 Lane line detection and GIS map information development-based vision navigation method
CN109426800A (en) * 2017-08-22 2019-03-05 北京图森未来科技有限公司 A kind of method for detecting lane lines and device
CN108985230A (en) * 2018-07-17 2018-12-11 深圳市易成自动驾驶技术有限公司 Method for detecting lane lines, device and computer readable storage medium
CN109186615A (en) * 2018-09-03 2019-01-11 武汉中海庭数据技术有限公司 Lane side linear distance detection method, device and storage medium based on high-precision map
CN109460739A (en) * 2018-11-13 2019-03-12 广州小鹏汽车科技有限公司 Method for detecting lane lines and device
CN111213154A (en) * 2019-03-08 2020-05-29 深圳市大疆创新科技有限公司 Lane line detection method, lane line detection equipment, mobile platform and storage medium
CN111295666A (en) * 2019-04-29 2020-06-16 深圳市大疆创新科技有限公司 Lane line detection method, device, control equipment and storage medium
CN110426051A (en) * 2019-08-05 2019-11-08 武汉中海庭数据技术有限公司 A kind of lane line method for drafting, device and storage medium
CN110675635A (en) * 2019-10-09 2020-01-10 北京百度网讯科技有限公司 Method and device for acquiring external parameters of camera, electronic equipment and storage medium
CN114494617A (en) * 2021-12-27 2022-05-13 中智行(苏州)科技有限公司 Automatic lane line extraction method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117723070A (en) * 2024-02-06 2024-03-19 合众新能源汽车股份有限公司 Method and device for determining map matching initial value, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2022007818A1 (en) Method for updating high-definition map, and vehicle, server and storage medium
CN108802785B (en) Vehicle self-positioning method based on high-precision vector map and monocular vision sensor
CN108051836B (en) Positioning method, device, server and system
CN109426800B (en) A kind of lane line detection method and device
WO2020043081A1 (en) Positioning technique
CN110146910A (en) A positioning method and device based on GPS and lidar data fusion
CN113419245B (en) Real-time mapping system and mapping method based on V2X
CN111256693B (en) Pose change calculation method and vehicle-mounted terminal
CN114118188B (en) Processing system, method and storage medium for moving objects in images to be detected
CN112084835A (en) Generating map features based on aerial data and telemetry data
CN114111817B (en) Vehicle positioning method and system based on SLAM map and high-precision map matching
CN111582296B (en) Remote sensing image comprehensive matching method and device, electronic equipment and storage medium
CN115564865A (en) Construction method and system of crowdsourcing high-precision map, electronic equipment and vehicle
CN114639085A (en) Traffic signal identification method, device, computer equipment and storage medium
CN112380314A (en) Road network information processing method and device, storage medium and electronic equipment
CN111753901A (en) Data fusion method, device and system and computer equipment
CN114926799A (en) Lane line detection method, device, equipment and readable storage medium
KR102664123B1 (en) Apparatus and method for generating vehicle data, and vehicle system
CN113836251B (en) Cognitive map construction method, device, equipment and medium
CN117274402B (en) Calibration method and device for camera external parameters, computer equipment and storage medium
CN116412804A (en) Laser radar vision fusion map building method, device and medium for traffic sign board
CN112507977A (en) Lane line positioning method and device and electronic equipment
CN114821539B (en) Lane detection method, device, equipment and medium based on neural network
CN116229118A (en) Bird's eye view target detection method based on manifold matching
CN114821539A (en) Lane line detection method, device, equipment and medium based on neural network

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