High-precision map lane line generation method, device and electronic equipment

By generating and optimizing map lane lines, using lane line camera data and vehicle camera trajectories, we solve the problems of low geometric generation efficiency and poor accuracy of lane line elements in the existing technology, and achieve high-precision lane lines in complex environments. Information acquisition.

CN113932796BActive Publication Date: 2024-09-10BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111203786.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2024-09-10
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

Existing lane line element geometry generation technology is inefficient and prone to failure when image data is poor, making it difficult to obtain accurate lane line geometric information in complex geographical environments.

Method used

Generate an initial map through multi-frame lane line camera data, optimize ground parameters and geometric positions based on the constraint relationship between map lane lines and observation lane lines, generate a target map, and use vehicle camera trajectories and image sequences to extract lane line elements for fusion or reconstruction.

Benefits of technology

Efficiently obtain accurate lane line geometric information in complex geographical environments, improving the accuracy and stability of high-precision maps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113932796B
    Figure CN113932796B
Patent Text Reader

Abstract

The present disclosure at least provides a method, device and electronic device for generating map lane lines, which relate to the fields of high-precision maps, autonomous driving, intelligent transportation, etc. The specific implementation scheme includes: generating an initial map based on multiple frames of lane line camera data, the lane line camera data includes observed lane lines, and the initial map includes ground parameters and at least one map lane line; according to the constraint relationship between each map lane line and each frame of observed lane line, optimizing the ground parameters in the initial map and the geometric position of each map lane line, and generating a target map. The technical scheme disclosed in the present disclosure can obtain accurate lane line geometric position information in a complex geographical environment, thereby improving the accuracy of high-precision maps.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to the fields of high-precision maps, autonomous driving, and intelligent transportation, and specifically to a method and device for generating map lane lines, an electronic device, a storage medium, a computer program product, and an autonomous driving vehicle. Background Art

[0002] High-precision maps, also known as high-precision maps, are used by self-driving cars. High-precision maps have accurate vehicle location information and rich road element data information such as lane line information, which can help cars predict complex road information such as slope, curvature, and heading, and better avoid potential risks.

[0003] Most existing lane line element geometry generation technology solutions are based on multi-vision geometry technology, which reconstructs dense or sparse 3D point clouds from the original image sequence, then uses these 3D point clouds to obtain ground grids, and then obtains lane line geometry information on the ground grid through detection or manual annotation. This method is inefficient and strongly relies on the ground 3D point cloud reconstructed from the image. In the case of poor image data, the ground 3D point cloud reconstruction may fail, resulting in the failure of the lane line element geometry generation task. Summary of the invention

[0004] The present disclosure provides a method and device for generating map lane lines, an electronic device, a storage medium, a computer program product, and an autonomous driving vehicle.

[0005] According to a first aspect of the present disclosure, a method for generating a map lane line is provided, comprising:

[0006] Generate an initial map based on multiple frames of lane line camera data, the lane line camera data including observed lane lines, and the initial map including ground parameters and at least one map lane line;

[0007] According to the constraint relationship between each map lane line and each frame observation lane line, the ground parameters in the initial map and the geometric position of each map lane line are optimized to generate the target map.

[0008] According to a second aspect of the present disclosure, a device for generating a map lane line is provided, comprising:

[0009] An initial map generation module, used to generate an initial map based on multiple frames of lane line camera data, the lane line camera data including observed lane lines, and the initial map including ground parameters and at least one map lane line;

[0010] The optimization module is used to optimize the ground parameters in the initial map and the geometric positions of the lane lines in each map according to the constraint relationship between the lane lines in each map and the lane lines observed in each frame, so as to generate a target map.

[0011] According to a third aspect of the present disclosure, there is provided an electronic device, comprising:

[0012] at least one processor; and

[0013] a memory communicatively connected to at least one processor; wherein,

[0014] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the at least one processor to execute the method provided by any embodiment of the present disclosure.

[0015] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to enable a computer to execute the method provided by any embodiment of the present disclosure.

[0016] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, which implements the method provided by any embodiment of the present disclosure when executed by a processor.

[0017] According to a sixth aspect of the present disclosure, an autonomous driving vehicle is provided, comprising a generating device provided by any embodiment of the present disclosure or an electronic device provided by any embodiment of the present disclosure.

[0018] The technical solution of the disclosed embodiment can obtain accurate lane line geometric position information in complex geographical environments, thereby improving the accuracy of high-precision maps.

[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0021] Figure 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure;

[0022] Figure 2 is a flow chart of a method for generating a map lane line according to an embodiment of the present disclosure;

[0023] Figure 3 is a partial schematic diagram of a map lane line according to an embodiment of the present disclosure;

[0024] Figure 4 is a partial top view of a lane line on a map according to an embodiment of the present disclosure;

[0025] Figure 5 is a flowchart of a method for generating a map lane line according to an embodiment of the present disclosure;

[0026] Figure 6 is an application example diagram of the method for generating map lane lines according to an embodiment of the present disclosure;

[0027] Figure 7 is a block diagram of a device for generating a map lane line according to an embodiment of the present disclosure;

[0028] Figure 8 The block diagram is a block diagram of an electronic device for implementing the method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0030] High-precision map updates and 0-to-1 mapping based on visual crowdsourcing technology are a powerful supplement to the traditional mapping model based on collection vehicles equipped with high-level inertial navigation equipment, high-beam laser radar (Light Detection and Ranging, also known as Laser Radar, LiDAR) and Global Navigation Satellite System (GNNS) equipment. Compared with the collection vehicle model, the visual crowdsourcing method has the advantages of low cost, high coverage and good timeliness. The embodiment of the present application provides a method for generating map lane lines for the geometric generation task of lane line elements in the visual crowdsourcing reconstruction problem. The lane line elements extracted from the lane line image sequence collected by the on-board camera trajectory and the on-board camera are used to fuse or reconstruct the map lane lines, and the ground parameters of the lane lines are jointly optimized based on the constraint relationship between the 3D sampling points on the map lane lines and their associated frame lane lines, thereby obtaining the geometric position information of the lane line elements.

[0031] Figure 1 A schematic diagram of an application scenario of an embodiment of the present disclosure is shown. Figure 1As shown, the terminal 101 can be hardware, such as an in-vehicle terminal, a mobile phone, a tablet, a portable computer and other electronic devices. When the terminal 101 is software or an application (Application, APP), it can be installed in the above-mentioned electronic device. The server 102 can provide various services, such as providing support for applications installed on the terminal 101. The method for generating map lane lines provided in the embodiment of the present disclosure can be executed by the server 102 or by the terminal 101, and the corresponding device corresponding to the method can be set in the terminal 101 or in the server 102. Among them, any number of terminals, networks and servers can be configured to achieve the needs.

[0032] Figure 2 A flow chart showing a method for generating a map lane line according to an embodiment of the present disclosure is shown. Figure 2 As shown, the generation method includes:

[0033] Step S201: generating an initial map according to multiple frames of lane line camera data, wherein the lane line camera data includes observed lane lines, and the initial map includes ground parameters and at least one map lane line;

[0034] Step S202: According to the constraint relationship between each 3D sampling point and each frame observation lane line, the ground parameters in the initial map and the geometric position of each map lane line are optimized to generate a target map.

[0035] In this embodiment, when the vehicle is driving, the on-board camera can capture a video including lane lines. The video includes a plurality of consecutive lane line image frames (also called lane line image sequence). The lane line elements extracted from each lane line image frame in the camera coordinate system are observed lane lines, specifically 2D observed lane lines (also called 2D lane line observations). Figure 3 In addition, as the vehicle moves, the trajectory of the onboard camera can also be obtained, and then the camera pose of each frame can be obtained.

[0036] Based on the installation position of the on-board camera on the vehicle and the camera pose, the ground parameters corresponding to each frame of lane line camera data can be estimated, and based on the obtained 2D observed lane lines in each frame, the map lane lines can be associated or reconstructed to generate an initial map.

[0037] For example, Figure 3 As shown, in the world coordinate system, the initial map includes several map lane lines, and each map lane line can be represented as a set of multiple 3D sampling points. Figure 4 A bird's-eye view of a map is shown, wherein map lane line 1 and map lane line 2 both include multiple 3D sampling points.

[0038] Furthermore, in step S202, the constraint relationship between each map lane line and each frame observation lane line can be characterized as the constraint relationship between each 3D sampling point and each frame 2D observation lane line. Exemplarily, the distance between the 3D observation lane line (i.e., 3D lane line observation) estimated based on each frame 2D observation lane line and the corresponding ground parameter should be minimized, so that more accurate ground parameters of each frame and the position of each 3D sampling point can be obtained, thereby optimizing the ground parameters and the geometric position of the map lane line to obtain the target map.

[0039] In the prior art, lane line images are projected onto the ground plane and detected to obtain lane line geometry information, and the lane lines in multiple lane line images are fused to obtain the final lane line 2D geometry information. This method can only handle simple scenes, and has relatively poor effects on complex scenes such as uphill, downhill, and curved roads.

[0040] However, the lane line image generation method of this embodiment, based on the joint optimization of lane line elements and ground parameters, can efficiently obtain accurate lane line geometry information in complex geographical environments such as uphill, downhill, and curves, thereby improving the accuracy of high-precision maps.

[0041] In one embodiment, the multiple frames of lane line camera data include current frame lane line camera data and multiple frames of historical frame lane line camera data. Figure 5 As shown, step S201 may include:

[0042] Step S501: Determine whether there is a map lane line associated with the current frame lane line in the initial map based on the current frame lane line camera data and multiple frames of historical frame lane line camera data; if there is an associated map lane line, proceed to step S502; if there is no associated map lane line, proceed to step S503;

[0043] Step S502: According to the lane line camera data of the current frame, the observed lane line of the current frame is fused to the associated map lane line;

[0044] Step S503: Generate a new map lane line in the initial map according to the current frame lane line camera data.

[0045] That is to say, after each frame of new lane line camera data (current frame lane line camera data) arrives, for the 2D observation lane line associated with the map lane line, the corresponding 3D sampling points are added to the associated map lane line, so as to merge it into the initial map. For the 2D observation lane line that is not associated, a new map lane line will be created in the initial map.

[0046] Therefore, the 2D observed lane lines of the new frame can be matched with the historical data. According to the matching results, in the lane line element reconstruction stage, fusion or new map lane lines are performed to efficiently generate the initial map.

[0047] In one example, the lane line camera data also includes a camera posture, which may include in step S501: determining the current frame camera coordinate system according to the current frame camera posture; converting the 2D observed lane lines of each historical frame to the current frame camera coordinate system; determining the first distance between the converted 2D observed lane lines of each historical frame and the 2D observed lane line of the current frame; and determining whether there is an associated map lane line according to whether there is a first distance that meets a first threshold condition.

[0048] The camera coordinate system is in 3D space and is defined in the camera's visible area. The camera coordinate system of the current frame can be determined based on the camera's position in the current frame, such as Figure 3 Furthermore, based on the conversion relationship between the camera pose of the current frame and the camera pose of the historical frame, the 2D observed lane lines of each historical frame can be transformed into the current frame coordinate system.

[0049] In the current frame camera coordinate system, the distances from the transformed 2D observation lane lines of each historical frame to the 2D observation lane line of the current frame can be calculated, thereby obtaining multiple first distances. For example, a fitting curve corresponding to the 2D observation lane line can be obtained to calculate the first distance.

[0050] Furthermore, a first threshold condition may be preset to determine whether each first distance satisfies the first threshold condition. When there is a first distance that satisfies the first threshold condition, there is a map lane line associated with the current frame 2D observation lane line; when there is no first distance that satisfies the first threshold condition, there is no map lane line associated with the current frame 2D observation lane line. The associated map lane line is the map lane line corresponding to the historical frame 2D observation lane line corresponding to the first distance that satisfies the first threshold condition.

[0051] Based on this, this embodiment provides a matching method based on the association of lane lines between frames, that is, the current frame is associated with all historical frames in the local map, so as to fuse or reconstruct the lane lines of the map. This method utilizes the continuity and association of data between frames, and can quickly and efficiently match historical data.

[0052] In another example, step S501 may include: obtaining a historical map corresponding to multiple frames of historical frame lane line camera data; determining the current frame camera coordinate system and the target area to be drawn from the historical map according to the current frame camera posture; obtaining multiple historical map lane lines within the target area; respectively determining the second distance between each historical map lane line and the current frame 2D observation lane line; and determining whether there are associated map lane lines among the multiple historical map lane lines according to whether there is a second distance that meets a second threshold.

[0053] Before the current frame lane line camera data arrives, there is already a historical map generated based on multiple frames of historical frame lane line camera data. First, a target area can be delineated in the historical map according to the current frame's position; then, the 3D sampling points on all map lane lines (historical map lane lines) in the target area are taken out and transformed to the current frame coordinate system; then, for each historical map lane line, the distance from each transformed 3D sampling point on it to the current frame 2D observation lane line fitting curve is calculated, thereby obtaining multiple second distances.

[0054] Furthermore, a second threshold condition may be preset to determine whether each second distance satisfies the second threshold condition. When there is a second distance that satisfies the second threshold condition, there is a map lane line associated with the current frame 2D observation lane line; when there is no second distance that satisfies the second threshold condition, there is no map lane line associated with the current frame 2D observation lane line. The associated map lane line is the historical map lane line corresponding to the second distance that satisfies the second threshold condition.

[0055] Based on this, this embodiment provides a matching method based on map lane line association, that is, associating the observed lane line of the current frame with the map lane line reconstructed in the historical map, so as to fuse or reconstruct the map lane line. This method can be performed independently of the inter-frame lane line association method, or it can be used as a supplement to the inter-frame lane line association method. For example, if the associated map lane line is not matched through the inter-frame lane line association method, the map lane line association method can be performed to improve the accuracy of data fusion, thereby improving the accuracy and efficiency of high-precision maps.

[0056] Exemplarily, a 3D sampling point has a translation vector and a rotation matrix. Figure 4 As shown in Figure 1, each 3D sampling point is restricted to move in a plane perpendicular to the ground, so it has only two degrees of freedom. Let the independent variable of the 3D sampling point be: v∈R 2 , then its three-dimensional coordinates are expressed as:

[0057] P=T init +R init (0,v[0],v[1]).

[0058] Where T init and R init They are the translation vector and the rotation matrix, both of which are constants and determined when the 3D sampling point is generated. Each 3D sampling point on the map lane line also records which frames of lane lines are associated with it, such as Figure 4 shown.

[0059] In one embodiment, step S202 may include: taking any frame 2D observation lane line as the target frame 2D observation lane line, estimating the target frame ground parameters according to the camera posture corresponding to the target frame 2D observation lane line, and determining the corresponding 3D observation lane line curve according to the target frame ground parameters and the target frame 2D observation lane line; constructing a first energy equation according to the distance between each 3D sampling point and the tangent of each frame 3D observation lane line curve; constructing a second energy equation according to the continuity between the ground parameters of each adjacent frame; and optimizing the ground parameters in the initial map and the position of each 3D sampling point according to the first energy equation and the second energy equation.

[0060] Exemplarily, for any target frame lane line camera data, such as the j-th frame lane line camera data. A fitting curve of the j-th frame 2D observation lane line can be obtained, such as a fitting cubic equation, and an estimated ground parameter, namely the j-th frame ground parameter. Based on the j-th frame ground parameter, in the j-th frame camera coordinate system, its ground plane can be estimated to be ax+by+cz+h=0, where a, b, c are ground parameters, a2+b2+c2=1, and the absolute value of h represents the distance from the camera center to the ground. Assume that the fitting curve equation of the 2D observation lane line on the camera plane is u=f j (v), (u,v) represent the coordinates on the camera plane.

[0061] Then, by deriving the curve equation of the j-th frame 2D observed lane line projected onto the curve on the 3D ground plane, the j-th frame 3D observed lane line curve can be obtained, that is, the j-th frame 3D observed lane line observation. The j-th frame 3D observed lane line curve can be expressed as:

[0062]

[0063]

[0064]

[0065] Furthermore, the tangent line of the 3D observed lane curve in the jth frame can be expressed as:

[0066]

[0067] Based on the coordinates of the i-th 3D sampling point transformed in the camera coordinates (f j (v i ),v i ), the distance from the 3D sampling point to the tangent can be calculated. Thus, by collecting the distances between all 3D sampling points and the tangents of the 3D observed lane curves of each frame, the first energy equation can be constructed:

[0068]

[0069]

[0070] At the same time, considering that the ground overlap area observed by camera data in adjacent frames is large, the ground parameters of adjacent frames should be continuous, thus, the second energy equation can be constructed:

[0071]

[0072] Combining the first energy equation with the second energy equation, we get the total energy equation:

[0073] E=E dis +E smooth .

[0074] By solving the energy equation based on the least squares method, the ground parameters and the positions of the 3D sampling points can be optimized, that is, the initial map can be optimized to obtain the target map.

[0075] Based on this, by simultaneously minimizing the distance from the lane line 3D sampling point to the associated frame lane line, more accurate ground parameters and map lane line positions for each frame can be obtained.

[0076] Combine the following Figure 6 An application example of the embodiment of the present disclosure is introduced. Figure 6 As shown, first, data preparation is performed, that is, preparation for receiving lane line camera data; for the lane line camera data of the newly arrived frame (that is, the current frame), the camera posture and 2D observed lane lines are extracted; then, lane line element association is performed, including: first, historical data is matched or associated by means of lane line association between frames, and if the association is successful, the lane line element reconstruction stage is performed; if the association is unsuccessful, matching or association is performed by means of map lane line association, and whether the association is successful or unsuccessful, the lane line element reconstruction stage is entered.

[0077] In the lane line element reconstruction stage, when associated with the map lane line, sparse map lane lines are generated based on the current frame camera pose and 2D observed lane lines, and corresponding 3D sampling points are added to the associated map lane lines to achieve lane line fusion, and the constraint relationship (energy term or energy equation) between the 3D sampling points and each frame lane line is updated; when not associated with the map lane line, a new map lane line is created, and the constraint relationship (energy term or energy equation) between the new map lane line and the associated frame lane line is constructed based on the 3D sampling points on the new map lane line.

[0078] Then, the ground parameters of the lanes are jointly optimized based on the constraints. This process is repeated until all lane elements are added to the map in chronological order. Finally, the ground parameters and lane positions in the map are jointly optimized, and the semantic information is attached to the lanes on the map to complete the construction of a single lane map.

[0079] Figure 7 A device for generating a map lane line according to an embodiment of the present disclosure is shown, comprising:

[0080] An initial map generation module 701 is used to generate an initial map based on multiple frames of lane line camera data, where the lane line camera data includes observed lane lines, and the initial map includes ground parameters and at least one map lane line;

[0081] The optimization module 702 is used to optimize the ground parameters in the initial map and the geometric positions of each map lane line according to the constraint relationship between each map lane line and each frame observation lane line to generate a target map.

[0082] In one embodiment, the multiple frames of lane line camera data include current frame lane line camera data and multiple frames of historical frame lane line camera data, and the initial map generation module 701 includes:

[0083] An associated map lane line determination unit, used to determine whether the initial map has a map lane line associated with the current frame lane line based on the current frame lane line camera data and multiple frames of historical frame lane line camera data;

[0084] The map lane line reconstruction unit is used to fuse the current frame observation lane line with the associated map lane line according to the current frame lane line camera data when there is an associated map lane line; or, if there is no associated map lane line, generate a new map lane line in the initial map according to the current frame lane line camera data.

[0085] In one embodiment, the lane line camera data also includes a camera posture, and the associated map lane line determination unit is specifically used to: determine the current frame camera coordinate system based on the current frame camera posture; transform the 2D observation lane lines of each historical frame into the current frame camera coordinate system; determine the first distance between the transformed 2D observation lane lines of each historical frame and the 2D observation lane line of the current frame; and determine whether there is an associated map lane line based on whether there is a first distance that meets a first threshold condition.

[0086] In one embodiment, the lane line camera data also includes a camera pose, and the associated map lane line determination unit is specifically used to: obtain a historical map corresponding to the multiple frames of historical frame lane line camera data;

[0087] Determine the current frame camera coordinate system and the target area to be drawn from the historical map according to the current frame camera posture; obtain multiple historical map lane lines within the target area; respectively determine the second distance between each historical map lane line and the current frame 2D observation lane line; determine whether there is an associated map lane line among the multiple historical map lane lines according to whether there is a second distance that meets a second threshold.

[0088] In one implementation, the map lane line includes multiple 3D sampling points, and the optimization module 702 may include:

[0089] A 3D observation lane line curve determination unit is used to respectively use any frame 2D observation lane line as a target frame 2D observation lane line, estimate the target frame ground parameters according to the camera posture corresponding to the target frame 2D observation lane line, and determine the corresponding 3D observation lane line curve according to the target frame ground parameters and the target frame 2D observation lane line;

[0090] A first energy equation construction unit, used to construct a first energy equation according to the distances between each 3D sampling point and the tangent line of the 3D observation lane line curve of each frame;

[0091] A second energy equation constructing unit, used for constructing a second energy equation according to the continuity between ground parameters of each adjacent frame;

[0092] The optimization unit is used to optimize the ground parameters in the initial map and the positions of each 3D sampling point according to the first energy equation and the second energy equation.

[0093] The functions of each module in each device in the embodiments of the present disclosure can be found in the corresponding description in the above method, and will not be repeated here.

[0094] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product. The electronic device can be a device for generating lane lines of a high-precision map, or a device for training a semantic segmentation model.

[0095] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0096] like Figure 8 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0097] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0098] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above. For example, in some embodiments, the various methods described above may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the various methods described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the various methods described above in any other appropriate manner (e.g., by means of firmware).

[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0100] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0101] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or lane ball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0103] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0104] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0105] According to an embodiment of the present disclosure, the present disclosure also provides an autonomous driving vehicle, comprising a high-precision map lane line generation device provided by any embodiment of the present disclosure or a high-precision map lane line generation device provided by any embodiment of the present disclosure.

[0106] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0107] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for generating a map lane line, comprising: Generate an initial map based on multiple frames of lane line camera data, wherein the lane line camera data includes observed lane lines, and the initial map includes ground parameters and at least one map lane line; According to the constraint relationship between each map lane line and each frame observation lane line, the ground parameters in the initial map and the geometric position of each map lane line are optimized to generate a target map; The map lane line includes a plurality of 3D sampling points, and the method of optimizing the ground parameters in the initial map and the geometric position of each map lane line according to the constraint relationship between each map lane line and each frame observation lane line to generate a target map includes: Taking any frame of 2D observation lane line as the target frame of 2D observation lane line, estimating the target frame ground parameters according to the camera pose corresponding to the target frame of 2D observation lane line, and determining the corresponding 3D observation lane line curve according to the target frame ground parameters and the target frame of 2D observation lane line; A first energy equation is constructed according to the distance between each 3D sampling point and the tangent of the 3D observation lane line curve of each frame; a second energy equation is constructed according to the continuity between the ground parameters of each adjacent frame; and the ground parameters in the initial map and the position of each 3D sampling point are optimized according to the first energy equation and the second energy equation.

2. The generation method according to claim 1, wherein: The multiple frames of lane line camera data include current frame lane line camera data and multiple frames of historical frame lane line camera data. The generating of the initial map according to the multiple frames of lane line camera data includes: Determining whether the initial map has a map lane line associated with the current frame lane line according to the current frame lane line camera data and the multiple frames of historical frame lane line camera data; In the case where the associated map lane line exists, the current frame observation lane line is fused with the associated map lane line according to the current frame lane line camera data; or, in the case where the associated map lane line does not exist, a new map lane line is generated in the initial map according to the current frame lane line camera data.

3. The generation method according to claim 2, wherein: The lane line camera data also includes a camera pose, and determining whether the initial map has a map lane line associated with the current frame lane line according to the current frame lane line camera data and the multiple frames of historical frame lane line camera data includes: Determine the camera coordinate system of the current frame according to the camera pose of the current frame; Convert the 2D observed lane lines of each historical frame to the camera coordinate system of the current frame; Determine a first distance between the converted 2D observed lane lines of each historical frame and the 2D observed lane lines of the current frame; Whether the associated map lane line exists is determined based on whether a first distance that satisfies a first threshold condition exists.

4. The generation method according to claim 2, wherein: The lane line camera data also includes a camera pose, and determining whether the initial map has a map lane line associated with the current frame lane line according to the current frame lane line camera data and the multiple frames of historical frame lane line camera data includes: Obtaining a historical map corresponding to the multiple frames of historical frame lane line camera data; Determine the current frame camera coordinate system and the target area to be drawn from the historical map according to the current frame camera posture; Acquire multiple lane lines on historical maps within the target area; Determine second distances between the plurality of lane lines in the historical map and the lane line in the current frame 2D observation respectively; According to whether there is a second distance that satisfies a second threshold condition, it is determined whether the associated map lane line exists in the plurality of historical map lane lines.

5. The generation method according to any one of claims 1 to 4, wherein: The 3D sample point has a translation vector and a rotation matrix.

6. A device for generating a map lane line, comprising: An initial map generation module, configured to generate an initial map based on a plurality of frames of lane line camera data, wherein the lane line camera data includes observed lane lines, and the initial map includes ground parameters and at least one map lane line; An optimization module, for optimizing the ground parameters in the initial map and the geometric positions of the lane lines of each map according to the constraint relationship between the lane lines of each map and the lane lines of each frame observation, so as to generate a target map; Wherein, the map lane line includes multiple 3D sampling points, and the optimization module includes: A 3D observation lane line curve determination unit is used to respectively use any frame 2D observation lane line as a target frame 2D observation lane line, estimate the target frame ground parameters according to the camera posture corresponding to the target frame 2D observation lane line, and determine the corresponding 3D observation lane line curve according to the target frame ground parameters and the target frame 2D observation lane line; A first energy equation construction unit, used to construct a first energy equation according to the distances between each 3D sampling point and the tangent line of the 3D observation lane line curve of each frame; A second energy equation constructing unit, used for constructing a second energy equation according to the continuity between ground parameters of adjacent frames; An optimization unit is used to optimize the ground parameters in the initial map and the positions of each 3D sampling point according to the first energy equation and the second energy equation.

7. The generating device according to claim 6, wherein: The multiple frames of lane line camera data include current frame lane line camera data and multiple frames of historical frame lane line camera data, and the initial map generation module includes: an associated map lane line determination unit, configured to determine whether the initial map has a map lane line associated with the current frame lane line based on the current frame lane line camera data and the multiple frames of historical frame lane line camera data; A map lane line reconstruction unit is used to fuse the current frame observation lane line with the associated map lane line based on the current frame lane line camera data when the associated map lane line exists; or to generate a new map lane line in the initial map based on the current frame lane line camera data when the associated map lane line does not exist.

8. The generating device according to claim 7, wherein: The lane line camera data also includes a camera pose, and the associated map lane line determination unit is specifically used for: Determine the camera coordinate system of the current frame according to the camera pose of the current frame; Convert the 2D observed lane lines of each historical frame to the camera coordinate system of the current frame; Determine a first distance between the converted 2D observed lane lines of each historical frame and the 2D observed lane lines of the current frame; Whether the associated map lane line exists is determined based on whether a first distance that satisfies a first threshold condition exists.

9. The generating device according to claim 7, wherein: The lane line camera data also includes a camera pose, and the associated map lane line determination unit is specifically used for: Obtaining a historical map corresponding to the multiple frames of historical frame lane line camera data; Determine the current frame camera coordinate system and the target area to be drawn from the historical map according to the current frame camera posture; Acquire multiple lane lines on historical maps within the target area; Determine second distances between the plurality of lane lines in the historical map and the lane line in the current frame 2D observation respectively; According to whether there is a second distance that satisfies a second threshold condition, it is determined whether the associated map lane line exists in the plurality of historical map lane lines.

10. The generating device according to any one of claims 6 to 9, wherein: The 3D sample point has a translation vector and a rotation matrix.

11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 5.

13. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5.

14. An autonomous driving vehicle, comprising the generating device according to any one of claims 6 to 10 or the electronic device according to claim 11.