Lane line data set generation method and device, equipment, medium and program product

Through the processing and projection matching of image data, point cloud data and positioning information, a three-dimensional lane line data set is automatically constructed, which solves the time-consuming problem of manual annotation in the existing technology and realizes a method of quickly constructing a large-scale lane line data set. .

CN118865017APending Publication Date: 2024-10-29UISEE SHANGHAI AUTOMOTIVE TECH LTD

Patent Information

Application Number
CN202410865614.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In the existing technology, generating a three-dimensional lane line data set requires manual annotation, which takes a long time and cannot quickly construct a large-scale data set.

Method used

By processing the acquired image data, point cloud data and positioning information, a lane line point cloud data set is generated, and the current lane line point cloud data is projected onto the target lane line point cloud data, and matching is performed until the target lane line does not exist. Point cloud data generates candidate lane line maps, thereby automatically constructing lane line data sets.

Benefits of technology

It realizes the construction of a three-dimensional lane line data set without manual annotation, quickly generates a lane line data set, saves time, and improves the efficiency of data set construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865017A_ABST
    Figure CN118865017A_ABST
Patent Text Reader

Abstract

The invention discloses a lane line data set generation method and device, equipment, a medium and a program product. The method comprises the following steps: processing acquired image data, point cloud data and positioning information to obtain a lane line point cloud data set, and mapping the current lane line point cloud data to target lane line point cloud data based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data to obtain a target lane line point cloud data set; obtaining point cloud data of the to-be-detected target lane line; matching the point cloud data of the target lane line to be detected with the point cloud data of the target lane line, determining new point cloud data of the current lane line according to a matching result, and returning to execute the step of projecting the point cloud data of the current lane line to the point cloud data of the target lane line until the point cloud data of the target lane line does not exist in the point cloud data set of the lane line. Obtaining a candidate lane line map; and the lane line data set is generated according to the candidate lane line map, so that the problem that manual marking is needed when the three-dimensional lane line data set is generated is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a lane line data set generation method, device, equipment, medium and program product. Background Art

[0002] 3D lane line detection is a technology that identifies the 3D position of lane lines in images and is one of the core technologies in the field of autonomous driving. 3D lane line detection is inseparable from a large-scale 3D lane line dataset. Because 3D coordinates involve parameters such as the camera's intrinsic and extrinsic parameters, it is different from the construction of other 2D visual task datasets. When training a 3D lane line pre-annotation model for one's own data, it is impossible to use a public 3D lane line dataset to complete the model training. Therefore, users need to build their own 3D lane line dataset. The dataset construction in the existing technology relies on manual labeling of the target, which takes a lot of time. Therefore, how to quickly build a large-scale 3D lane line dataset becomes an important issue. Summary of the invention

[0003] The present invention provides a lane line data set generation method, device, equipment, medium and program product to solve the problem of manual labeling when generating a three-dimensional lane line data set.

[0004] According to one aspect of the present invention, a method for generating a lane line dataset is provided, comprising:

[0005] Processing the acquired image data, point cloud data and positioning information to obtain a lane line point cloud data set, wherein the lane line point cloud data set includes at least one lane line point cloud data;

[0006] Based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, the current lane line point cloud data is projected onto the target lane line point cloud data to obtain the target lane line point cloud data to be detected; wherein the lane line point cloud data set includes the current lane line point cloud data and the target lane line point cloud data, and the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data;

[0007] Matching the target lane line point cloud data to be detected and the target lane line point cloud data, determining new current lane line point cloud data according to the matching result, returning to execute the positioning information based on the current lane line point cloud data and the positioning information of the target lane line point cloud data, projecting the current lane line point cloud data to the target lane line point cloud data, and obtaining the target lane line point cloud data to be detected, until the lane line point cloud data set does not contain the target lane line point cloud data, and obtaining a candidate lane line map;

[0008] Generate a lane line dataset based on the candidate lane line map.

[0009] According to another aspect of the present invention, there is provided a lane line data set generating device, comprising:

[0010] A data processing module, used to process the acquired image data, point cloud data and positioning information to obtain a lane line point cloud data set, wherein the lane line point cloud data set includes at least one lane line point cloud data;

[0011] The current point cloud mapping module is used to project the current lane line point cloud data onto the target lane line point cloud data based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, so as to obtain the target lane line point cloud data to be detected; wherein the lane line point cloud data set includes the current lane line point cloud data and the target lane line point cloud data, and the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data;

[0012] A point cloud data matching module is used to match the target lane line point cloud data to be detected with the target lane line point cloud data, determine the new current lane line point cloud data according to the matching result, return the execution base based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, project the current lane line point cloud data to the target lane line point cloud data, and obtain the target lane line point cloud data to be detected, until the lane line point cloud data set does not contain the target lane line point cloud data, and obtain the candidate lane line map;

[0013] The data set generation module is used to generate a lane line data set according to the candidate lane line map.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] at least one processor, and a memory communicatively coupled to the at least one processor;

[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the lane line data set generation method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the lane line data set generation method described in any embodiment of the present invention when executed.

[0018] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the method for generating a lane line dataset according to any embodiment of the present invention is implemented.

[0019] The technical solution of the embodiment of the present invention is to obtain a lane line point cloud data set by processing the acquired image data, point cloud data and positioning information, wherein the lane line point cloud data set includes at least one lane line point cloud data; based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, the current lane line point cloud data is mapped to the target lane line point cloud data to obtain the target lane line point cloud data to be detected; wherein, the lane line point cloud data set includes the current lane line point cloud data and the target lane line point cloud data, and the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data; the target lane line point cloud data to be detected and the target lane line point cloud data are matched, and new current lane line point cloud data are determined according to the matching result, and the execution is returned based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, and the current lane line point cloud data is projected to the target lane line point cloud data to obtain the target lane line point cloud data to be detected, until the target lane line point cloud data does not exist in the lane line point cloud data set, and the target lane line point cloud data is obtained. Candidate lane line map; Generate a lane line data set according to the candidate lane line map, solve the problem of manual annotation when generating a three-dimensional lane line data set, obtain a lane line point cloud data set through data processing, map the point cloud data at different times in the lane line point cloud data set, map the current lane line point cloud data to the target lane line point cloud data, obtain the target lane line point cloud data to be detected, and realize mapping the lane line point cloud data from one timestamp to another timestamp, and generate new current lane line point cloud data by matching the target lane line point cloud data to be detected with the target lane line point cloud data, until the target lane line point cloud data does not exist in the lane line point cloud data set, complete the mapping of all lane line point cloud data, and obtain a candidate lane line map formed by the lane line point cloud data at different times. The lane line map can be accurately described by the lane line point cloud data at different times, generate a lane line data set according to the candidate lane line map, and save the lane line data. The generation process of the lane line data set does not rely on manual labor, and the construction of the lane line data set can be automatically realized, and the lane line data set can be quickly constructed.

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

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a flowchart of a method for generating a lane line data set provided according to Embodiment 1 of the present invention;

[0023] Figure 2 is a flowchart of a method for generating a lane line data set provided according to Embodiment 2 of the present invention;

[0024] Figure 3 is a schematic diagram of the structure of a lane line data set generating device provided according to Embodiment 3 of the present invention;

[0025] Figure 4 It is a structural schematic diagram of an electronic device for implementing the lane line data set generation method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] Embodiment 1

[0029] Figure 1This is a flow chart of a lane line data set generation method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of automatically generating lane line data. The method can be executed by a lane line data set generation device. The lane line data set generation device can be implemented in the form of hardware and / or software. The lane line data set generation device can be configured in an electronic device. Figure 1 As shown, the method includes:

[0030] S101. Process the acquired image data, point cloud data and positioning information to obtain a lane line point cloud data set, where the lane line point cloud data set includes at least one lane line point cloud data.

[0031] In this embodiment, the lane line point cloud data set can be understood as a data set for storing lane line point cloud data; the lane line point cloud data can be understood as point cloud data for representing lane lines, which can represent the position of lane lines.

[0032] Image data can be collected by an image acquisition device, which can be set on the vehicle, for example, set in front of the vehicle, and collect the road conditions in front of the vehicle as the vehicle travels, to obtain image data, including lane line data. Point cloud data can be collected by radar, for example, laser radar, which can also be installed on the vehicle, for example, set in front of the vehicle, and collect the road conditions in front of the vehicle as the vehicle travels, to obtain point cloud data, including lane line data. Positioning information can be provided by GPS information, CAN information, etc. Image data, point cloud data and positioning information can be collected at the same time to obtain image data, point cloud data and positioning information at the same time; or, image data, point cloud data and positioning information can be set to collect periodically, but due to the inherent reasons of image acquisition devices, radars, GPS, CAN and other devices, the collection period cannot be set to the same period, so the image data, point cloud data and positioning information have their own timestamps, and there will be a situation where the timestamps are not completely synchronized. In this case, the image data, point cloud data and positioning information can be synchronized by timestamps.

[0033] The acquired image data, point cloud data and positioning information are processed, and the processing method may be synchronization, filtering, etc. For example, the image data and point cloud data are synchronously aligned through the positioning information, the point cloud data and positioning information corresponding to the image data are determined, and the point cloud data is filtered through the aligned image data to obtain the point cloud data containing the lane line; or, the image data and point cloud data are aligned by default, and the point cloud data and positioning information corresponding to the image data are determined by analyzing the timestamps of the image data, point cloud data and positioning information, and then the corresponding point cloud data is filtered through the image data to obtain the point cloud data containing the lane line. The lane line point cloud data is obtained through data processing, and a lane line point cloud data set is formed according to the lane line point cloud data, and the lane line point cloud data set includes at least one lane line point cloud data.

[0034] S102. Based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, the current lane line point cloud data is projected onto the target lane line point cloud data to obtain the target lane line point cloud data to be detected; wherein the lane line point cloud data set includes the current lane line point cloud data and the target lane line point cloud data, and the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data.

[0035] In this embodiment, the current lane line point cloud data can be understood as the lane line point cloud data corresponding to the current timestamp; the target lane line point cloud data can be understood as the lane line point cloud data corresponding to the target timestamp; and the target lane line point cloud data to be detected can be understood as the lane line point cloud data with lane line detection requirements.

[0036] Select one lane line point cloud data from the lane line point cloud set as the current lane line point cloud data, select another lane line point cloud data as the target lane line point cloud data, the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data, in this embodiment, the timestamp corresponding to the current lane line point cloud data is recorded as the current timestamp, and the timestamp corresponding to the target lane line point cloud data is recorded as the target timestamp. The current timestamp and the target timestamp are both timestamps, the data of the current timestamp can be used as a reference for comparison, and the target timestamp can be any timestamp other than the current timestamp, for example, the previous timestamp of the current timestamp, the next timestamp, a timestamp at a certain interval, and so on.

[0037] When selecting the current lane line point cloud data, the selection can be made according to the timestamp of each lane line point cloud data in the lane line point cloud set, or it can be randomly selected. For example, each lane line point cloud data in the lane line point cloud set can be sorted in the order of timestamps. When selecting the current lane line point cloud data, the first timestamp can be selected as the current timestamp in positive order, and the lane line point cloud data corresponding to the first timestamp can be used as the current lane line point cloud data, or the last timestamp can be selected as the current timestamp in reverse order, and the lane line point cloud data corresponding to the last timestamp can be used as the current lane line point cloud data, etc. The target timestamp can be determined according to the current timestamp, for example, the previous timestamp of the current timestamp is used as the target timestamp, and the target lane line point cloud data corresponding to the target timestamp is determined. At the same time, the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data are determined, the current lane line point cloud data is projected according to the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, the current lane line point cloud data is transformed in position and posture according to the positioning information at different times, the current lane line point cloud data is projected onto the target lane line point cloud data, and the obtained lane line point cloud data is used as the target lane line point cloud data to be detected.

[0038] Exemplarily, an embodiment of the present application provides a calculation formula, by which the current lane line point cloud data at time t1 can be projected.

[0039] D t2 ′=R t2 -1 ·(R t1 ·D t1 +t t1 -t t2 );

[0040] Among them, D t2 ′ is the point cloud data of the target lane line to be detected, D t1 is the current lane line point cloud data, R t2 is the rotation matrix at time t2, R t1 is the rotation matrix at time t1, t t1 is the translation matrix at time t1, t t2 is the translation matrix at time t2. Time t1 is the current timestamp corresponding to the current lane line point cloud data, and time t2 is the target timestamp corresponding to the target lane line point cloud data. The positioning information includes the rotation matrix and the translation matrix.

[0041] S103, matching the target lane line point cloud data to be detected with the target lane line point cloud data, and determining new current lane line point cloud data according to the matching result.

[0042] Determine the lane lines in the target lane line point cloud data to be detected and the target lane line point cloud data respectively, match the lane lines in the two frames of point cloud data, and determine the matching result. The matching result can be a lane line match, a lane line mismatch, a lane line partial match, etc. Generate new current lane line point cloud data based on the matching result. For example, when the lane lines in the two frames of point cloud data do not match, determine whether there are newly added lane lines. If so, generate new current lane line point cloud data based on the newly added lane lines and the original lane lines; when the lane lines in the two frames of point cloud data are successfully matched, the lane line data in the two frames of point cloud data can be fused to generate new current lane line point cloud data, or the target lane line point cloud data can be directly used as the new current lane line point cloud data, etc.

[0043] S104. Determine whether the lane line point cloud data set contains the target lane line point cloud data; if so, return to execute S102; otherwise, execute S105.

[0044] Determine whether the lane line point cloud data set contains target lane line point cloud data, that is, after determining the new current lane line point cloud data, determine whether the lane line point cloud data set contains new target lane line point cloud data corresponding to the new current lane line point cloud data. If all the lane line point cloud data in the lane line point cloud data set are selected and matched, it is determined that there is no target lane line point cloud data; otherwise, it is determined that the new target lane line point cloud data contains corresponding target lane line point cloud data. Return to step S102 based on the new current lane line point cloud data, and continue to project the new current lane line point cloud data, that is, project the new current lane line point cloud data based on the new current lane line point cloud data and its corresponding positioning information, and the positioning information of the new target lane line point cloud data.

[0045] For example, taking the reverse processing of lane line point cloud data at time 0-t as an example, the lane line point cloud data at time t is used as the current lane line point cloud data, and the lane line point cloud data at time t-1 is used as the target lane line point cloud data. After the lane line point cloud data at time t is projected, it is matched with the lane line point cloud data at time t-1 to generate new current lane line point cloud data, and the timestamp corresponding to the new current lane line point cloud data is time t-1. At this time, the lane line point cloud data set contains the target lane line point cloud data corresponding to the new lane line point cloud data, and the target lane line point cloud data corresponding to the new lane line point cloud data is the lane line point cloud data at time t-2. The new lane line point cloud data is projected and then matched with the lane line point cloud data at time t-2... until the timestamp corresponding to the new lane line point cloud data is time 0, at which time the new lane line point cloud data does not have the corresponding target lane line point cloud data, and the projection and matching of the lane line point cloud data are terminated, and the data loop processing is terminated.

[0046] S105: Obtain a candidate lane line map.

[0047] In this embodiment, the candidate lane line map can be understood as a map containing lane lines. Through the above-mentioned point cloud data projection, matching and other processing, the lane line point cloud data corresponding to different timestamps are projected in sequence, and the current lane line point cloud data finally obtained contains the lane line point cloud data of all timestamps. The current lane line point cloud data finally obtained forms a candidate lane line map, and the candidate lane line map contains lane lines within a certain distance. Taking the positive sequence processing as an example, the lane line point cloud data at time 0 is projected to time 1 and then combined with the lane line point cloud data at time 1 to generate new lane line point cloud data. This part of the lane line point cloud data is projected to time 2 as the lane line point cloud data at time 1..., and the lane line point cloud data at each time is projected to the next time in sequence, and projected to time t to obtain the final current lane line point cloud data. At this time, the final current lane line point cloud data obtained contains all lane line point cloud data at times 0-t. The current lane line point cloud data finally obtained can form a candidate lane line map.

[0048] S106: Generate a lane line dataset according to the candidate lane line map.

[0049] In this embodiment, the lane line data set can be understood as a set formed by image data with lane lines marked.

[0050] The lane lines in the candidate lane line map are used to annotate the image data and generate a lane line dataset. The image data in the lane line dataset accurately annotates the lane lines, and this part of the image data can be applied to different scenarios such as model training.

[0051] The embodiment of the present invention provides a lane line data set generation method, which solves the problem of manual labeling when generating a three-dimensional lane line data set. A lane line point cloud data set is obtained through data processing. The point cloud data at different times in the lane line point cloud data set are mapped, and the current lane line point cloud data is mapped to the target lane line point cloud data to obtain the target lane line point cloud data to be detected, so as to realize the mapping of the lane line point cloud data from one timestamp to another timestamp. The target lane line point cloud data to be detected is matched with the target lane line point cloud data to generate new current lane line point cloud data until the target lane line point cloud data does not exist in the lane line point cloud data set. The mapping of all lane line point cloud data is completed, and a candidate lane line map formed by the lane line point cloud data at different times is obtained. The lane line map can be accurately described by the lane line point cloud data at different times. A lane line data set is generated according to the candidate lane line map, and the lane line data is saved. The generation process of the lane line data set does not rely on manual labor, and the construction of the lane line data set can be automatically realized, and the lane line data set can be quickly constructed.

[0052] Embodiment 2

[0053] Figure 2 This is a flow chart of a method for generating a lane line data set provided in the second embodiment of the present invention. This embodiment is refined on the basis of the above embodiment. Figure 2 As shown, the method includes:

[0054] S201. Acquire an image data set, a point cloud data set, and a positioning information set, wherein the image data set includes at least one frame of image data, the point cloud data set includes at least one frame of point cloud data, and the positioning information set includes at least one positioning information.

[0055] In this embodiment, the image data set can be understood as a collection of image data, and the image data in the image data set can be sorted in sequence according to timestamps; the point cloud data set can be understood as a collection of point cloud data, and the point cloud data in the point cloud data set can be sorted in sequence according to timestamps; the positioning information set can be understood as a collection of positioning information, and the positioning information in the positioning information set can be sorted in sequence according to timestamps.

[0056] S202: synchronize the timestamps of each image data, each point cloud data and each positioning information to determine the point cloud data corresponding to each frame of image data.

[0057] The image data, point cloud data and positioning information are synchronized with the timestamps, that is, the image data, point cloud data and positioning information are matched. The synchronization method can be to select the closest data according to the timestamp of the three types of data as the synchronization data, or to project the data at a certain moment to another moment after time alignment, and obtain the data at another moment as the synchronization data, etc. By synchronously determining the point cloud data corresponding to each frame of image data, the positioning information corresponding to each frame of image data can also be determined. Taking the determination of the point cloud data and positioning information corresponding to the image data as an example, the timestamp of the image data is determined, and the point cloud data closest in time is selected as the point cloud data corresponding to the image data according to the timestamp, and the positioning information closest in time is selected as the positioning information corresponding to the image data according to the timestamp; or the point cloud data and positioning information at any time are selected, and the point cloud data are converted according to the positioning information and the positioning information of the image data to obtain the point cloud data corresponding to the image data, wherein when selecting the point cloud data and positioning information at any time, the point cloud data and positioning information at the same time can be selected, or the point cloud data and positioning information whose time difference of the timestamp is less than a certain threshold can be selected, and so on.

[0058] Optionally, performing time stamp synchronization on each image data, each point cloud data and each positioning information to determine the point cloud data corresponding to each frame of image data includes:

[0059] A1. For each frame of image data, each point cloud data is screened according to a first timestamp corresponding to the image data to determine matching point cloud data and a second timestamp corresponding to the matching point cloud data.

[0060] In this embodiment, the first timestamp and the second timestamp can both be understood as one timestamp. The matched point cloud data can be understood as point cloud data matched with the image data.

[0061] For each frame of image data, its corresponding point cloud data can be determined by the method of A1-A4. For each frame of image data, the timestamp of the image data is determined and recorded as the first timestamp. The timestamps of each point cloud data are screened according to the first timestamp, and the timestamp closest to the first timestamp is determined and recorded as the second timestamp. The point cloud data corresponding to the second timestamp is used as the matching point cloud data.

[0062] A2. Fit each piece of positioning information according to the timestamp to determine the functional relationship of the positioning information.

[0063] The positioning information at different times is fitted according to the timestamp, and a function F(T) related to the continuous positioning information and the timestamp is constructed to obtain the corresponding functional relationship.

[0064] A3. Based on the functional relationship of the positioning information, determine the first positioning information corresponding to the image data according to the first timestamp, and determine the second positioning information corresponding to the matching point cloud data according to the second timestamp.

[0065] In this embodiment, the first positioning information and the second positioning information are both positioning information.

[0066] Based on the functional relationship of the positioning information, the first timestamp is substituted into the functional relationship to obtain the first positioning information, which is the positioning information of the image data. The second timestamp is substituted into the functional relationship to obtain the second positioning information, which is the positioning information of the matching point cloud data.

[0067] A4. Perform coordinate transformation on the matching point cloud data according to the first positioning information and the second positioning information to obtain point cloud data corresponding to the image data.

[0068] The coordinate transformation of the matching point cloud data is performed according to the first positioning information and the second positioning information, and calculation can be performed according to a predetermined coordinate transformation formula to obtain the point cloud data corresponding to the image data.

[0069] Illustratively, an embodiment of the present application provides a coordinate transformation formula.

[0070] xyz image =R image -1 ·(Rlidar ·xyZ lidar +t lidar -t image );

[0071] Among them, xyz image is the coordinate of the transformed point cloud data, xyz lidar is the coordinate of the point cloud data before transformation, R image is the rotation matrix corresponding to the first timestamp, t image is the translation matrix corresponding to the first timestamp, R lidar is the rotation matrix corresponding to the second timestamp, t lidar is the translation matrix corresponding to the second timestamp. The first positioning information includes R image and t image The second positioning information includes R lidar and t lidar .

[0072] Substitute the coordinates of each point in the matching point cloud data into the above formula for calculation to obtain the transformed coordinates, which are the point cloud data corresponding to the image data.

[0073] Optionally, after determining the point cloud data corresponding to each frame of image data, the method further includes:

[0074] B1. Projecting point cloud data corresponding to a preset number of image data onto the image data. If the point cloud data and the image data do not correspond, adjusting parameters of the image acquisition device to make the point cloud data and the image data correspond.

[0075] In this embodiment, the preset number can be set to a fixed value according to requirements, for example, 20; it can also be set according to the amount of image data, for example, the preset number is 0.1% of the amount of image data.

[0076] A preset number of image data are selected from all the image data, which can be selected in sequence or randomly, and the point cloud data corresponding to this part of the image data is projected onto the image data to determine whether the aligned point cloud data corresponds to the image data; if the point cloud data and the image data do not correspond, the parameters of the image acquisition device may be wrong at this time, and the parameters of the image acquisition device are adjusted to make the point cloud data and the image data correspond. The parameters of the image acquisition device can be at least one of an internal parameter and an external parameter. When determining whether the point cloud data and the image data correspond, it can be determined that the point cloud data and the image data correspond when each frame of the point cloud data and the image data correspond, or it can be determined that the point cloud data and the image data correspond when more than a certain number of the point cloud data and the image data correspond, and so on.

[0077] B2. If the parameters of the image acquisition device cannot be adjusted to make the point cloud data correspond to the image data, it is determined that the image data and the corresponding point cloud data are unusable.

[0078] If the parameters of the image acquisition device cannot be adjusted to make the point cloud data correspond to the image data, it is determined that the image data and the corresponding point cloud data acquired this time are unusable. The image data, point cloud data and positioning information can be re-acquired to generate the lane line data set.

[0079] S203 , filtering the corresponding point cloud data through each image data to obtain a lane line point cloud data set.

[0080] The point cloud data is filtered according to the lane line data in the image data, non-lane line data in the point cloud data is filtered out, and the lane line data is retained to form a lane line point cloud data set.

[0081] Optionally, the corresponding point cloud data is filtered through each image data to obtain a lane line point cloud data set, including:

[0082] C1. For each frame of image data, pre-mark the lane lines of the image data to obtain pre-marked lane line data.

[0083] The lane lines in the image data are pre-marked according to a predetermined two-dimensional lane line detection algorithm to obtain pre-marked lane line data. At this time, the marked lane line data is rough data and not accurate enough.

[0084] C2. Extract ground data from the point cloud data corresponding to the image data to obtain extracted point cloud data.

[0085] Determine the point cloud data corresponding to the image data, that is, the point cloud data aligned with the image data, extract ground data from the point cloud data according to a predetermined algorithm, extract the ground data from the point cloud data, and obtain the extracted point cloud data. Exemplarily, the ground in the point cloud data can be roughly extracted by the RANSAC algorithm in OpenCV.

[0086] C3. Filter the extracted point cloud data according to the pre-labeled lane line data to obtain lane line point cloud data.

[0087] The extracted point cloud data is projected onto the image data, and the extracted point cloud data is filtered according to the lane line data annotated in the image data, and the point cloud that is far away from the pre-annotated lane line data is filtered out, and the point cloud that is within a certain range of the pre-annotated lane line data is retained to obtain the lane line point cloud data. Exemplarily, the present application can retain point cloud data that differs by 2 pixels from the two-dimensional lane line pixel points in the image (i.e., the pre-annotated lane line data).

[0088] C4. Form a lane line point cloud data set based on the lane line point cloud data corresponding to each image data.

[0089] The lane line point cloud data corresponding to each image data retained after filtering is saved in a data set to form a lane line point cloud data set.

[0090] S204. Based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, the current lane line point cloud data is projected onto the target lane line point cloud data to obtain the target lane line point cloud data to be detected; wherein the lane line point cloud data set includes the current lane line point cloud data and the target lane line point cloud data, and the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data.

[0091] S205: Determine a lane line in the target lane line point cloud data, and record it as a first lane line.

[0092] The lane line in the target lane line point cloud data is recorded as the first lane line. The number of the first lane line can be one or more, or it can be 0, that is, there is no lane line.

[0093] S206. Determine a lane line in the point cloud data of the target lane line to be detected, and record it as a second lane line.

[0094] The lane line in the target lane line point cloud data to be detected is recorded as the second lane line. The number of the second lane lines can also be one or more, or 0, that is, there is no lane line.

[0095] S207. For each second lane line, if there is a first lane line matching the second lane line, update the lane line data corresponding to the second lane line according to the lane line point cloud data corresponding to the second lane line and the lane line point cloud data corresponding to the first lane line matching it.

[0096] For each second lane line, determine whether there is a first lane line that matches the second lane line. For example, when the second lane line completely overlaps with the first lane line, or partially overlaps with the first lane line, it is considered that the first lane line and the second lane line represent the same lane line, and the second lane line matches the first lane line. Under normal circumstances, since the first lane line and the second lane line are data collected at two different times, the device collecting data is moving during this process, so the second lane line and the first lane line may partially overlap. If there is a first lane line that matches the second lane line, the lane line point cloud data corresponding to the second lane line and the lane line point cloud data corresponding to the first lane line that matches it are fused. For example, the average of the overlapping parts of the two lane lines is taken, and the non-overlapping parts are not processed. The lane line data obtained after fusion is the updated lane line data corresponding to the second lane line.

[0097] S208: If there is a first lane line that does not match any second lane line, determine that the first lane line is a newly added lane line.

[0098] If there is a first lane line that does not match any second lane line, it can be considered that a new lane line is added, and the first lane line is determined to be the newly added lane line.

[0099] S209, determining new current lane line point cloud data based on the updated second lane line, the newly added lane line, and the lane line data corresponding to the unupdated second lane line.

[0100] The lane line data corresponding to the updated second lane line, the lane line data corresponding to the newly added lane line, and the lane line data corresponding to the unupdated second lane line are used as the new current lane line point cloud data.

[0101] Exemplarily, taking the second lane lines as x1, x2 and x3, and the first lane lines as y1, y2 and y3, x1 and y1 match, x2 and y2 match, and x3 and y3 do not match; x1 and y1 match, and the lane line data corresponding to the updated second lane line is y11, x2 and y2 match, and the lane line data corresponding to the updated second lane line is y22, y3 is the newly added lane line, and x3 is the unupdated lane line; therefore, the new current lane line point cloud data includes: lane line data of y11, y22, y3 and x3.

[0102] S210, determine whether the lane line point cloud data set contains the target lane line point cloud data, if so, return to execute S204; otherwise, execute S211.

[0103] S211. Obtain a candidate lane line map.

[0104] S212: Perform fitting filtering on each lane line in the candidate lane line map to obtain filtered lane line data, and perform lane line marking on the filtered lane line data.

[0105] Since the lane line data in the candidate lane line map may have different degrees of noise, the embodiment of the present application performs filtering processing on each lane line separately. Filtering can be performed by filtering algorithms, lane line fitting, etc., to filter out noise, retain lane line data, and obtain filtered lane line data; and lane line identification is performed on the filtered lane line data, for example, each lane line is numbered, and the number can be used as the index number of each lane line in the data set.

[0106] Optionally, each lane line is subjected to fitting filtering to obtain filtered lane line data, including:

[0107] D1. For lane line data corresponding to each lane line, acquire lane line data of a preset length according to a first preset interval, and form at least one lane line section data set.

[0108] In this embodiment, the first preset interval and the preset length can be understood as a preset length; for example, the first preset interval is 40 meters, the preset length is 80 meters, that is, 80 meters of lane line data are taken every 40 meters, that is, 80 meters of lane line data are taken every 40 meters as a lane line segment, that is, 0-80 meters are taken as a lane line segment, and 40-120 meters are taken as a lane line segment; or, the first preset interval is 30 meters, the preset length is 90 meters, that is, 90 meters of lane line data are taken every 30 meters. The lane line segment data set can be understood as a collection of lane line segments, including point cloud data of a lane line segment.

[0109] A first preset interval and a preset length are preset, and for lane line data corresponding to each lane line, interval values ​​are taken from the lane line data according to the first preset interval, and lane line data of a preset length are obtained every first preset interval, and a corresponding lane line segment data set is formed based on the lane line data of the preset length obtained each time. To ensure data coherence and smoothness, the preset length can be greater than the first preset interval.

[0110] D2. For each lane line segment data set, the lane line data in the lane line segment data set are fitted to obtain an initial lane line equation.

[0111] In this embodiment, the initial lane line equation can be understood as an equation obtained by fitting the data. For each lane line segment data set obtained, data fitting is performed on the lane line data in the lane line segment data set, for example, a cubic equation fitting is performed, and an equation is obtained through data fitting, and this equation is used as the initial lane line equation.

[0112] D3. Determine the filtered lane line data according to each initial lane line equation.

[0113] By substituting the initial lane line equation according to the position, the filtered lane line data can be calculated, for example, by substituting the initial lane line equation at every meter, or at other intervals, and so on.

[0114] Optionally, the filtered lane line data is determined according to each initial lane line equation, including: if the lane line corresponds to multiple initial lane line equations, the filtered lane line data is determined according to the fitting results of the multiple initial lane line equations.

[0115] When obtaining lane line data of a preset length at a first preset interval, if the preset length is greater than the first preset interval, a section of data will be taken multiple times. Therefore, when generating the initial lane line equation, multiple lane line equations will correspond. For example, if 80m of lane line data is taken at 40m intervals, two initial lane line equations will appear in the middle section (for example, 40-80 meters); if 90m of lane line data is taken at 30m intervals, three initial lane line equations will appear in the 60-90m interval. If the lane line corresponds to multiple initial lane line equations, the data of this section of the lane line is respectively substituted into the corresponding multiple initial lane line equations for calculation to obtain fitting results, and the fitting results are averaged and other operations are performed to obtain filtered lane line data; or, multiple initial lane line equations can be fitted to obtain a lane line equation, and then the data of this section of the lane line is substituted into the lane line equation for calculation to obtain filtered lane line data.

[0116] S213: Generate a local lane line map based on the filtered lane line data and the corresponding lane line markings.

[0117] In this embodiment, the local lane line map can be understood as a local map composed of a part of the lane lines, and this local map is a part of the global map in the world coordinate system. The filtered lane line data can form a map, which is the local lane line map, and the lane line data in the local lane line map are marked according to the lane line mark of each lane line.

[0118] S214: Annotate the lane lines of each image data according to the local lane line map to generate a lane line data set.

[0119] The local lane line map includes lane lines at different times (i.e., different positions). The lane lines corresponding to each image data are determined based on the lane lines in the local lane line map, and the lane lines are annotated into the image data. A lane line dataset is generated based on the image data with accurate lane lines annotated.

[0120] Optionally, lane line annotation is performed on each image data according to the local lane line map to generate a lane line dataset, including:

[0121] E1. For each frame of image data, determine the corresponding target positioning information according to the timestamp of the image data.

[0122] In this embodiment, the target positioning information can be understood as the positioning information corresponding to the alignment of the image data and the positioning information. The timestamp of the image data is determined, and the timestamp is substituted into the functional relationship of the positioning information for calculation to determine the corresponding target positioning information; or, based on the timestamp, the positioning information with the closest timestamp is selected as the target positioning information.

[0123] E2. Project the local lane line map to the timestamp corresponding to the image data according to the target positioning information to obtain new lane line coordinate data.

[0124] The local lane line map can be constructed according to the posture at time 0 (for example, the point cloud data at time 0-t is traversed in reverse order to generate the local lane line map), or it can be constructed according to the posture at time t (for example, the point cloud data at time 0-t is traversed in forward order to generate the local lane line map). The lane lines in the local lane line map are projected according to the target positioning information. Taking the construction of the local lane line map according to the posture at time 0 as an example, the local lane line map at time 0 can be projected to the timestamp corresponding to the image data through projection to obtain new lane line coordinate data. At this time, the new lane line coordinate data takes the timestamp corresponding to the image data as the origin.

[0125] E3. Select lane line data of a second preset interval from the new lane line coordinate data as lane line calibration data.

[0126] In this embodiment, the second preset interval can be preset, for example, 100 meters, and the second preset interval can be set according to the accuracy requirements of the lane line data, the acquisition interval of the image data, etc. The lane line calibration data can be understood as data used to calibrate the lane lines in the image, which can be considered as the accurately identified lane lines. The lane line data of the second preset interval is selected from the new lane line coordinate data, and this part of the lane line data is used as the lane line calibration data of the image data to accurately calibrate the lane lines in the image data.

[0127] E4. Generate a lane line dataset based on each image data and its corresponding lane line calibration data.

[0128] Each image data and the lane line calibration data corresponding to each image data are stored in a data set to form a lane line data set.

[0129] Optionally, generating a lane line dataset based on each image data and its corresponding lane line calibration data includes:

[0130] F1. For each frame of image data, the lane line calibration data corresponding to the image data is projected into the image data to form lane line projection data.

[0131] In this embodiment, the lane line projection data can be understood as data formed by projecting the lane line. The lane line calibration data corresponding to the image data is subjected to coordinate projection and projected into the image data, and the obtained lane line coordinates are the lane line projection data.

[0132] F2. Determine whether the pre-annotated lane line data in the image data matches the lane line projection data. If they match, retain the lane line projection data and its corresponding image data.

[0133] Pre-mark the lane lines of the image data, mark the lane line data in the image data, and match the pre-marked lane line data with the lane line projection data. For example, determine whether the distance between the pre-marked lane line data and the lane line projection data corresponding to each lane line is within a certain range. If so, it is considered a match, otherwise, it is considered a mismatch. For example, if the error between the pre-marked lane line data and the lane line projection data corresponding to each lane line is within 2 pixels, it is considered a match. If it matches, it is determined that the calibrated lane line is accurate, and the lane line projection data and its corresponding image data are retained. If it does not match, this frame of image data and its corresponding lane line projection data are discarded.

[0134] Determining whether the pre-annotated lane line data in the image data matches the lane line projection data can also be done manually, that is, manually reviewing whether the pre-annotated lane line data matches the lane line projection data. This execution device receives the review result input by the user and determines whether it matches based on the review result.

[0135] F3. Determine a continuous image set based on the timestamp of each lane line projection data retained, wherein the continuous image set stores at least two frames of continuous lane line projection data.

[0136] In this embodiment, the continuous image set can be understood as a set consisting of image data of continuous frames, and at least two frames of continuous lane line projection data are stored in the continuous image set. The timestamps of the retained lane line projection data are analyzed to determine whether there are at least two frames of continuous lane line projection data, and if so, the continuous lane line projection data is stored in the continuous image set.

[0137] Exemplarily, continuous image set 1 stores lane line projection data of frames 0 to 10, continuous image set 2 stores lane line projection data of frames 17 to 33, etc. The amount of lane line projection data stored in each continuous image set may be different.

[0138] F4. For each continuous image set, if the number of image frames in the continuous image set exceeds a preset number threshold, the lane line projection data in the continuous image set and the corresponding image data are saved to the lane line dataset.

[0139] In this embodiment, the preset number threshold can be preset, for example, the preset number threshold is 10. The number of image frames in the continuous image set is counted, and if the number of image frames exceeds the preset number threshold, all lane line projection data in the continuous image set and the corresponding image data are saved as final data in the lane line data set. The lane line data set can be stored in the three-dimensional lane line database for subsequent model training and other tasks.

[0140] In the process of lane line marking of image data in the embodiment of the present application, if there is unmatched data, it is selected to delete and retain the remaining matching data to construct a data set, which can achieve no human intervention.

[0141] The embodiment of the present invention provides a method for generating a lane line dataset, which solves the problem of manual annotation when generating a three-dimensional lane line dataset, and optimizes the problem of timestamps or data that cannot be fully aligned between point cloud data and image data through timestamp synchronization; for possible noise problems, the noise problem is optimized by constructing a candidate lane line map and filtering the lane lines in the candidate lane line map by fitting. At the same time, a local lane line map is constructed through a long time series, and the local lane line map is fitted and reviewed, etc., to effectively deal with the jitter problem of the same lane line in the time series in real scenes. The generation process of the lane line dataset does not rely on manual labor, and can automatically realize the construction of a large-scale lane line dataset, effectively saving time.

[0142] Embodiment 3

[0143] Figure 3 This is a schematic diagram of the structure of a lane line data set generation device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a data processing module 31, a current point cloud mapping module 32, a point cloud data matching module 33 and a data set generating module 34.

[0144] A data processing module 31 is used to process the acquired image data, point cloud data and positioning information to obtain a lane line point cloud data set, wherein the lane line point cloud data set includes at least one lane line point cloud data;

[0145] The current point cloud mapping module 32 is used to project the current lane line point cloud data onto the target lane line point cloud data based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, so as to obtain the target lane line point cloud data to be detected; wherein the lane line point cloud data set includes the current lane line point cloud data and the target lane line point cloud data, and the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data;

[0146] The point cloud data matching module 33 is used to match the target lane line point cloud data to be detected with the target lane line point cloud data, determine the new current lane line point cloud data according to the matching result, return the execution base based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, project the current lane line point cloud data to the target lane line point cloud data, and obtain the target lane line point cloud data to be detected, until the lane line point cloud data set does not contain the target lane line point cloud data, and obtain the candidate lane line map;

[0147] The data set generating module 34 is used to generate a lane line data set according to the candidate lane line map.

[0148] The embodiment of the present invention provides a lane line data set generation device, which solves the problem of manual labeling when generating a three-dimensional lane line data set. A lane line point cloud data set is obtained through data processing. The point cloud data at different times in the lane line point cloud data set are mapped, and the current lane line point cloud data is mapped to the target lane line point cloud data to obtain the target lane line point cloud data to be detected, so as to realize the mapping of the lane line point cloud data from one timestamp to another timestamp. The target lane line point cloud data to be detected is matched with the target lane line point cloud data to generate new current lane line point cloud data until the target lane line point cloud data does not exist in the lane line point cloud data set. The mapping of all lane line point cloud data is completed, and a candidate lane line map formed by the lane line point cloud data at different times is obtained. The lane line map can be accurately described by the lane line point cloud data at different times. A lane line data set is generated according to the candidate lane line map, and the lane line data is saved. The generation process of the lane line data set does not rely on manual labor, and the construction of the lane line data set can be automatically realized, and the lane line data set can be quickly constructed.

[0149] Optionally, the data processing module 31 includes:

[0150] A data set acquisition unit, used to acquire an image data set, a point cloud data set and a positioning information set, wherein the image data set includes at least one frame of image data, the point cloud data set includes at least one frame of point cloud data, and the positioning information set includes at least one positioning information;

[0151] A synchronization unit, used to synchronize the timestamps of each of the image data, each of the point cloud data and each of the positioning information, and determine the point cloud data corresponding to each frame of image data;

[0152] The filtering unit is used to filter the corresponding point cloud data through each of the image data to obtain a lane line point cloud data set.

[0153] Optionally, the synchronization unit is specifically used to: for each frame of image data, screen each point cloud data according to a first timestamp corresponding to the image data to determine matching point cloud data and a second timestamp corresponding to the matching point cloud data; fit each positioning information according to the timestamp to determine a functional relationship of the positioning information; based on the functional relationship of the positioning information, determine the first positioning information corresponding to the image data according to the first timestamp, and determine the second positioning information corresponding to the matching point cloud data according to the second timestamp; perform coordinate transformation on the matching point cloud data according to the first positioning information and the second positioning information to obtain point cloud data corresponding to the image data.

[0154] Optionally, a filtering unit is specifically used to: pre-mark lane lines for each frame of image data to obtain pre-marked lane line data; extract ground data from point cloud data corresponding to the image data to obtain extracted point cloud data; filter the extracted point cloud data according to the pre-marked lane line data to obtain lane line point cloud data; and form a lane line point cloud data set based on the lane line point cloud data corresponding to each image data.

[0155] Optionally, the data processing module 31 further includes:

[0156] A data availability judgment unit is used to project point cloud data corresponding to a preset number of image data onto image data. If the point cloud data and the image data do not correspond, the parameters of the image acquisition device are adjusted to make the point cloud data and the image data correspond. If the parameters of the image acquisition device cannot be adjusted to make the point cloud data and the image data correspond, it is determined that the image data and the corresponding point cloud data are unusable.

[0157] Optionally, the point cloud data matching module 33 includes:

[0158] A first lane line determination unit, used to determine a lane line in the target lane line point cloud data, recorded as a first lane line;

[0159] A second lane line determination unit, used to determine a lane line in the point cloud data of the target lane line to be detected, recorded as a second lane line;

[0160] a lane line matching unit, configured to update, for each second lane line, lane line data corresponding to the second lane line according to lane line point cloud data corresponding to the second lane line and lane line point cloud data corresponding to the first lane line that matches the second lane line, if there is a first lane line that matches the second lane line;

[0161] A newly added lane line unit, configured to determine that the first lane line is a newly added lane line if the first lane line does not match any second lane line;

[0162] The lane line point cloud determination unit is used to determine new current lane line point cloud data based on the updated second lane line, the newly added lane line and the lane line data corresponding to the unupdated second lane line.

[0163] Optionally, the data set generation module 34 includes:

[0164] A fitting filtering unit, used for performing fitting filtering on each lane line in the candidate lane line map to obtain filtered lane line data, and performing lane line marking on the filtered lane line data;

[0165] A local map generating unit, configured to generate a local lane line map based on the filtered lane line data and the corresponding lane line markings;

[0166] A labeling unit is used to label lane lines for each of the image data according to the local lane line map to generate a lane line data set.

[0167] Optionally, a fitting filtering unit is specifically used to: for the lane line data corresponding to each lane line, obtain lane line data of a preset length according to a first preset interval, and form at least one lane line section data set; for each lane line section data set, fit the lane line data in the lane line section data set to obtain an initial lane line equation; determine the filtered lane line data according to each of the initial lane line equations.

[0168] Optionally, determining the filtered lane line data according to each of the initial lane line equations includes: if the lane line corresponds to multiple initial lane line equations, determining the filtered lane line data according to fitting results of the multiple initial lane line equations.

[0169] Optionally, the labeling unit is specifically used to: for each frame of image data, determine the corresponding target positioning information according to the timestamp of the image data; project the local lane line map to the timestamp corresponding to the image data according to the target positioning information to obtain new lane line coordinate data; select lane line data of a second preset interval from the new lane line coordinate data as lane line calibration data; and generate a lane line data set based on each of the image data and its corresponding lane line calibration data.

[0170] Optionally, a lane line dataset is generated based on each of the image data and its corresponding lane line calibration data, including: for each frame of image data, projecting the lane line calibration data corresponding to the image data into the image data to form lane line projection data; determining whether the pre-marked lane line data in the image data matches the lane line projection data, and if so, retaining the lane line projection data and its corresponding image data; determining a continuous image set based on the timestamp of each of the retained lane line projection data, wherein at least two continuous frames of lane line projection data are stored in the continuous image set; for each of the continuous image sets, if the number of image frames in the continuous image set exceeds a preset number threshold, saving the lane line projection data in the continuous image set and its corresponding image data to the lane line dataset.

[0171] The lane line data set generation device provided in the embodiment of the present invention can execute the lane line data set generation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0172] Embodiment 4

[0173] Figure 4 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention 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 assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) 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 invention described and / or required herein.

[0174] like Figure 4 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0175] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0176] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a lane line data set generation method.

[0177] In some embodiments, the lane line data set generation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the lane line data set generation method described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to perform the lane line data set generation method in any other appropriate manner (e.g., by means of firmware).

[0178] 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.

[0179] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program 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.

[0180] An embodiment of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for generating a lane line dataset described in any embodiment of the present invention is implemented.

[0181] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. 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.

[0182] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device 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 a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0183] The systems and techniques described herein may be implemented in a computing system that includes backend 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 frontend 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 backend components, middleware components, or frontend 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), a blockchain network, and the Internet.

[0184] A computing 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 client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0185] 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 described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0186] The above specific implementations do not constitute a limitation on the protection scope of the present invention. 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 invention should be included in the protection scope of the present invention.

Claims

1. A method for generating a lane line dataset, characterized in that: include: Processing the acquired image data, point cloud data and positioning information to obtain a lane line point cloud data set, wherein the lane line point cloud data set includes at least one lane line point cloud data; Based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, the current lane line point cloud data is projected onto the target lane line point cloud data to obtain the target lane line point cloud data to be detected; wherein the lane line point cloud data set includes the current lane line point cloud data and the target lane line point cloud data, and the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data; Matching the target lane line point cloud data to be detected and the target lane line point cloud data, determining new current lane line point cloud data according to the matching result, returning to execute the positioning information based on the current lane line point cloud data and the positioning information of the target lane line point cloud data, projecting the current lane line point cloud data to the target lane line point cloud data, and obtaining the target lane line point cloud data to be detected, until the lane line point cloud data set does not contain the target lane line point cloud data, and obtaining a candidate lane line map; Generate a lane line dataset according to the candidate lane line map.

2. The method according to claim 1, characterized in that The acquired image data, point cloud data and positioning information are processed to obtain a lane line point cloud data set, including: Acquire an image data set, a point cloud data set and a positioning information set, wherein the image data set includes at least one frame of image data, the point cloud data set includes at least one frame of point cloud data, and the positioning information set includes at least one positioning information; Performing time stamp synchronization on each of the image data, each of the point cloud data and each of the positioning information to determine the point cloud data corresponding to each frame of image data; The corresponding point cloud data are filtered through each of the image data to obtain a lane line point cloud data set.

3. The method according to claim 2, characterized in that The performing time stamp synchronization on each of the image data, each of the point cloud data and each of the positioning information to determine the point cloud data corresponding to each frame of the image data includes: For each frame of image data, screening each of the point cloud data according to the first timestamp corresponding to the image data, and determining matching point cloud data and a second timestamp corresponding to the matching point cloud data; Fitting each of the positioning information according to the timestamp to determine a functional relationship of the positioning information; Based on the functional relationship of the positioning information, determining first positioning information corresponding to the image data according to the first timestamp, and determining second positioning information corresponding to the matching point cloud data according to the second timestamp; The coordinates of the matching point cloud data are transformed according to the first positioning information and the second positioning information to obtain point cloud data corresponding to the image data.

4. The method according to claim 2, characterized in that: The step of filtering the corresponding point cloud data through each of the image data to obtain a lane line point cloud data set includes: For each frame of image data, pre-marking the lane lines of the image data to obtain pre-marked lane line data; Extracting ground data from the point cloud data corresponding to the image data to obtain extracted point cloud data; Filtering the extracted point cloud data according to the pre-marked lane line data to obtain lane line point cloud data; Based on the lane line point cloud data corresponding to each of the image data, a lane line point cloud data set is formed.

5. The method according to claim 2, characterized in that: After determining the point cloud data corresponding to each frame of image data, the method further includes: Projecting point cloud data corresponding to a preset number of image data onto the image data, and if the point cloud data and the image data do not correspond, adjusting parameters of the image acquisition device to make the point cloud data and the image data correspond; If the parameters of the image acquisition device cannot be adjusted to make the point cloud data correspond to the image data, it is determined that the image data and the corresponding point cloud data are unusable.

6. The method according to claim 1, characterized in that The step of matching the target lane line point cloud data to be detected with the target lane line point cloud data and determining new current lane line point cloud data according to the matching result includes: Determine a lane line in the target lane line point cloud data, recorded as a first lane line; Determine a lane line in the target lane line point cloud data to be detected, recorded as a second lane line; For each second lane line, if there is a first lane line matching the second lane line, update the lane line data corresponding to the second lane line according to the lane line point cloud data corresponding to the second lane line and the lane line point cloud data corresponding to the first lane line matching the second lane line; If the first lane line does not match any second lane line, determining that the first lane line is a newly added lane line; New current lane line point cloud data is determined based on the updated second lane line, the newly added lane line, and the lane line data corresponding to the unupdated second lane line.

7. The method according to claim 1, characterized in that The generating a lane line dataset according to the candidate lane line map includes: Performing fitting filtering on each lane line in the candidate lane line map to obtain filtered lane line data, and performing lane line marking on the filtered lane line data; Generate a local lane line map based on the filtered lane line data and the corresponding lane line markings; Lane line annotation is performed on each of the image data according to the local lane line map to generate a lane line data set.

8. The method according to claim 7, characterized in that Perform fitting filtering on each lane line to obtain filtered lane line data, including: For lane line data corresponding to each lane line, acquiring lane line data of a preset length according to a first preset interval, and forming at least one lane line segment data set; For each lane line segment data set, fitting the lane line data in the lane line segment data set to obtain an initial lane line equation; The filtered lane line data is determined according to each of the initial lane line equations.

9. The method according to claim 8, characterized in that The determining of filtered lane line data according to each of the initial lane line equations includes: If the lane line corresponds to multiple initial lane line equations, the filtered lane line data is determined according to the fitting results of the multiple initial lane line equations.

10. The method according to claim 7, characterized in that The performing lane line marking on each of the image data according to the local lane line map to generate a lane line data set includes: For each frame of image data, determining corresponding target positioning information according to the timestamp of the image data; Projecting the local lane line map to a timestamp corresponding to the image data according to the target positioning information to obtain new lane line coordinate data; Selecting lane line data of a second preset interval from the new lane line coordinate data as lane line calibration data; A lane line data set is generated based on each of the image data and its corresponding lane line calibration data.

11. The method according to claim 10, characterized in that The generating a lane line data set based on each of the image data and the corresponding lane line calibration data includes: For each frame of image data, projecting the lane line calibration data corresponding to the image data into the image data to form lane line projection data; Determine whether the pre-marked lane line data in the image data matches the lane line projection data, and if so, retain the lane line projection data and its corresponding image data; Determine a continuous image set based on the retained timestamps of each of the lane line projection data, wherein the continuous image set stores at least two frames of continuous lane line projection data; For each of the continuous image sets, if the number of image frames in the continuous image set exceeds a preset number threshold, the lane line projection data in the continuous image set and the corresponding image data are saved in the lane line data set.

12. A lane line data set generation device, characterized in that: include: A data processing module, used to process the acquired image data, point cloud data and positioning information to obtain a lane line point cloud data set, wherein the lane line point cloud data set includes at least one lane line point cloud data; The current point cloud mapping module is used to project the current lane line point cloud data onto the target lane line point cloud data based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, so as to obtain the target lane line point cloud data to be detected; wherein the lane line point cloud data set includes the current lane line point cloud data and the target lane line point cloud data, and the timestamp of the current lane line point cloud data is different from the timestamp of the target lane line point cloud data; A point cloud data matching module is used to match the target lane line point cloud data to be detected with the target lane line point cloud data, determine the new current lane line point cloud data according to the matching result, return the execution base based on the positioning information of the current lane line point cloud data and the positioning information of the target lane line point cloud data, project the current lane line point cloud data to the target lane line point cloud data, and obtain the target lane line point cloud data to be detected, until the lane line point cloud data set does not contain the target lane line point cloud data, and obtain the candidate lane line map; The data set generation module is used to generate a lane line data set according to the candidate lane line map.

13. An electronic device, characterized in that: The electronic device comprises: at least one processor, and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the lane line dataset generation method described in any one of claims 1-11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the lane line data set generation method according to any one of claims 1 to 11 when executed.

15. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the lane line dataset generation method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • High-precision map construction assisting method and device and medium

    CN116839564A

  • Lane line point cloud splicing method, device and equipment, medium and vehicle

    CN117007064A

  • Road change detection method, computing device, and storage medium

    EP4303834A1

  • Method and apparatus for determining lane lines in high-precision map

    WO2021051344A1

Cited By

  • Lane line generation method and device, equipment, medium and program product

    CN120702489A