Lane line marking method and system, electronic equipment and storage medium

The proposed method automates lane annotation in BEV technologies by segmenting and transforming data, extracting features, and fusing point cloud and image data with high-precision maps, addressing the inefficiencies and inaccuracies of current manual annotation methods, resulting in improved annotation efficiency and accuracy.

CN119672716APending Publication Date: 2025-03-21ZHEJIANG SMART INTELLIGENCE TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411732824.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

Current automatic driving perception technologies, particularly Bird's Eye View (BEV) lane detection, require extensive manual annotation of data, which is time-consuming, labor-intensive, and prone to errors, especially with the increasing coverage of high-definition maps across urban areas.

Method used

A method that involves data segmentation, coordinate transformation, feature extraction, and fusion of point cloud and image data with high-precision map information to automate lane annotation, reducing human intervention and improving accuracy.

Benefits of technology

This approach significantly enhances data annotation efficiency and accuracy, reduces manual labor and costs, and ensures consistent and reliable training data by leveraging high-precision maps for lane detection across various scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119672716A_ABST
    Figure CN119672716A_ABST
Patent Text Reader

Abstract

The invention provides a lane line marking method and system, electronic equipment and a storage medium, and relates to the technical field of automatic driving, the lane line marking method comprises the following steps: acquiring road acquisition data of an acquisition vehicle; performing fragment segmentation on the collected data to obtain a plurality of fragment data; performing coordinate conversion on the point cloud data of each piece of fragment data to obtain a point cloud picture of each piece of fragment data; extracting road lane information in a high-precision map corresponding to the position of the collection vehicle; and performing coordinate transformation on the road lane information to obtain road information aligned with each fragment data coordinate. The lane line marking method and system, the electronic equipment and the storage medium provided by the invention are not only suitable for various scenes, but also can generate corresponding pre-marking results according to different collected data, and can be repeatedly used in multiple projects, thereby reducing the manual marking cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a lane marking method, system, electronic device and storage medium. Background Art

[0002] Among autonomous driving perception technologies, Bird's Eye View (BEV) technology converts multi-sensor data into a bird's-eye view to achieve perception of the static environment around the vehicle. This solution has gradually become the mainstream solution for autonomous driving.

[0003] However, the current BEV lane line perception solution requires a large amount of annotated data to train the algorithm model. The annotation usually relies on the point cloud data and image information collected by the sensor in real time, and the lane line coordinates need to be manually annotated on the point cloud map, which requires a lot of manual intervention, is time-consuming and labor-intensive, and the accuracy is difficult to guarantee. Although this method can generate high-precision lane line model training data, in the current high-precision map (HD Map) that has covered most of the country's urban highways and contains detailed lane lines and road topology information, there is still a lot of data duplication when annotating lane lines. Summary of the invention

[0004] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a lane marking method, system, electronic device and storage medium, which are used to solve the problems in the prior art that the BEV lane marking solution has a lot of manual intervention, is time-consuming and labor-intensive, and is difficult to ensure accuracy.

[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides a lane line marking method, comprising the following steps: acquiring data collected by a collection vehicle on a road; segmenting the collected data to obtain a plurality of segment data; performing coordinate conversion on the point cloud data of each segment data to obtain a point cloud map of each segment data; extracting road lane information in a high-precision map corresponding to the location of the collection vehicle; performing coordinate conversion on the road lane information to obtain road information aligned with the coordinates of each segment data; performing feature extraction and matching fusion on the point cloud map and image data of each segment data and the road information to generate pre-annotated data corresponding to each segment data; verifying and adjusting the pre-annotated data of each segment data to obtain a lane line marking result.

[0006] In one embodiment of the present invention, the data collected by the collection vehicle on the road is obtained, including: monitoring the road through several sensors to obtain sensor data corresponding to various sensors and timestamps corresponding to the sensor data; based on the timestamps corresponding to the sensor data, time-aligning the sensor data corresponding to different sensors according to the set disk timestamps to obtain the data collected by the collection vehicle on the road.

[0007] In one embodiment of the present invention, coordinate transformation is performed on each fragment data to obtain a point cloud map of each fragment data, including: estimating the posture change of the vehicle between each frame of each fragment data based on sensor information, and obtaining a posture change matrix of the vehicle for each frame of each fragment data relative to a preset frame; extracting point cloud data of each frame of each fragment data, converting the point cloud data of each frame of each fragment data to a corresponding vehicle reference coordinate system of the preset frame through the posture change matrix, and performing point cloud splicing and fusion during the conversion process to obtain a point cloud map of each fragment data.

[0008] In one embodiment of the present invention, feature extraction and matching fusion are performed on the point cloud map and image data of each fragment data and the road information to generate pre-annotated data corresponding to each fragment data, including: feature extraction and feature matching of the point cloud map and image data of each fragment data with the road information to obtain the matching result of each fragment data; based on the matching result, data fusion of the point cloud map and image data of each fragment data with the road information to obtain lane line information corresponding to each fragment data; format conversion of the lane line information corresponding to each fragment data to obtain pre-annotated data corresponding to each fragment data.

[0009] In one embodiment of the present invention, feature matching is performed on the point cloud map and image data of each fragment data with the road information to obtain a matching result for each fragment data, including: extracting a road point set, a road shape and a road feature in the road information; using a first preset algorithm to match the road point set with the point cloud data of the point cloud map of each fragment data to obtain a first matching score for each fragment data; using a second preset algorithm to match the road shape with the point cloud data of the point cloud map of each fragment data to obtain a second matching score for each fragment data; using a third preset algorithm to feature match the road feature with the image data of each fragment data to obtain a third matching score for each fragment data; normalizing and weighted averaging the first matching score, the second matching score and the third matching score of each fragment data to obtain a fusion score for each fragment data; and obtaining a matching result based on the fusion score and the score threshold of each fragment data.

[0010] In one embodiment of the present invention, the pre-annotated data of each fragment data is verified and adjusted to obtain the lane line marking result, including: loading the pre-annotated data of each fragment data to the marking platform; receiving the potential error obtained by the marking personnel from the verification between the road information and the point cloud map of each fragment data, and fine-tuning the road information according to the potential error to obtain the lane line marking result.

[0011] In one embodiment of the present invention, after the pre-labeled data is verified and adjusted to obtain the lane line labeling result, it also includes: monitoring the reuse scenario of the lane line labeling result; when the lane line labeling result is reused, obtaining a new point cloud map corresponding to the reuse scenario and new pose information corresponding to each frame of point cloud data; according to the new pose information, converting the marked lane lines in the lane line labeling result from the original scene to the vehicle reference coordinate system corresponding to the reuse scenario; using the lane lines and the new point cloud map after the coordinate system conversion as training data sets.

[0012] The present invention also provides a lane line marking system, including: a data collection unit, used to obtain the collected data of the road by the collection vehicle; a segmentation unit, used to segment the collected data to obtain a plurality of segment data; a coordinate conversion unit, used to perform coordinate conversion on the point cloud data of each segment data to obtain a point cloud map of each segment data; a map extraction unit, used to extract road lane information in a high-precision map corresponding to the location of the collection vehicle; a coordinate alignment unit, used to perform coordinate conversion on the road lane information to obtain road information aligned with the coordinates of each segment data; a data fusion unit, used to perform feature extraction and matching fusion on the point cloud map and image data of each segment data with the road information to generate pre-annotated data corresponding to each segment data; and a marking verification unit, used to verify and adjust the pre-annotated data of each segment data to obtain a lane line marking result.

[0013] The present invention further provides an electronic device, which includes: one or more processors; and a storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the electronic device implements the aforementioned lane line marking method.

[0014] The present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer executes the aforementioned lane line marking method.

[0015] Beneficial effects of the present invention: A lane line marking method, system, electronic device and storage medium proposed in the present invention have the following beneficial effects: by importing the environmental feature layer of the location of the acquisition vehicle from the high-precision map, and by matching and fusing the features identified by the laser radar and camera scanning with the environmental features recorded in the high-precision map, the pre-marking results of the BEV lane lines that have been manually verified on the high-precision map can be obtained after fusion. After the pre-marking results are projected onto the laser point cloud, only manual fine-tuning is required to complete the BEV data marking, thereby greatly improving the data marking efficiency and ensuring the accuracy, significantly reducing the workload, time and cost of manual marking, and improving the efficiency of obtaining training data. By reusing the marked data in multiple scenarios, the lane line information extracted from the high-precision map and the marked data can be applied to different data collected at different times through positioning information, reducing the cost of repeated marking; thereby not only reducing the demand for repeated mapping computing resources and shortening the processing time, but also improving the consistency and accuracy of the marked training data, avoiding the marking errors caused by external factors such as weather and light affecting the quality of sensor data. The present invention completes the labeling of autonomous driving BEV lane line data by segmenting and converting the collected data, extracting high-precision map lane line data and matching it with the collected data, converting the data format and manually adjusting it. This can significantly improve the closed-loop iteration efficiency of the algorithm in the field of autonomous driving and reduce the cost of acquiring data. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a process flow of a lane marking method provided by an embodiment of the present invention.

[0017] Figure 2 Shown is a schematic flow chart of a lane marking process provided by an embodiment of the present invention.

[0018] Figure 3 Shown is a structural block diagram of a lane marking system provided by an embodiment of the present invention.

[0019] Figure 4 Shown is a structural schematic diagram of an electronic device according to an embodiment of the present invention.

[0020] Component number description

[0021] Electronic device 1; lane marking system 11; memory 12; processor 13; data acquisition unit 111; segmentation unit 112; coordinate conversion unit 113; map extraction unit 114; coordinate alignment unit 115; data fusion unit 116; and marking verification unit 117. DETAILED DESCRIPTION

[0022] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0023] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0024] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0025] See also Figure 1 In one embodiment of the present invention, the present invention provides a lane marking method, comprising the following steps:

[0026] Step S10: Acquire the road data collected by the collection vehicle.

[0027] Step S20: segment the collected data to obtain a number of segment data.

[0028] Step S30: coordinate transformation is performed on the point cloud data of each segment data to obtain a point cloud image of each segment data.

[0029] Step S40: extracting the road lane information in the high-precision map corresponding to the location of the collection vehicle.

[0030] Step S50: coordinate conversion is performed on the road lane information to obtain road information aligned with the coordinates of each segment data.

[0031] Step S60: extracting features and matching and fusing the point cloud map and image data of each segment data with the road information to generate pre-labeled data corresponding to each segment data.

[0032] Step S70: verify and adjust the pre-labeled data of each segment data to obtain a lane line labeling result.

[0033] Through the above steps, it is not difficult to find that in the process of BEV lane line marking, by segmenting the road collection data and converting the point cloud data of each segment data to the coordinates of the vehicle reference coordinate system corresponding to a certain segment, a point cloud map of each segment data is obtained, and by converting the road lane information of the high-precision map into road information aligned with the coordinates of each segment data, and then performing feature matching and fusion between the point cloud map and image data of each segment data and the road information, and verifying and adjusting the obtained pre-marking results after fusion, the marking of BEV data is completed, which can greatly improve the data marking efficiency and ensure the marking accuracy. Moreover, the lane line marking results obtained after the marking is completed can be reused, that is, the original BEV data collected at different times and different lighting environments at the same location can be used as the final marking data by means of coordinate conversion. The lane line marking results are reused in multiple scenarios, and the lane line information extracted from the high-precision map and the marked data can be applied to different data collected at different times through positioning information, reducing the cost of repeated marking. Moreover, the lane line labeling method provided by the present invention not only reduces the demand for repeated mapping computing resources and shortens the processing time, but also improves the consistency and accuracy of the labeled training data, and avoids labeling errors caused by external factors such as weather and light that affect the quality of sensor data.

[0034] Figure 1 A flow chart of a lane marking method in an exemplary embodiment of the present application is shown, including steps S10 to S70. Figure 1 The technical solution of this application will be described in detail.

[0035] First, step S10 is executed to obtain the road data collected by the collection vehicle.

[0036] In this embodiment, the collected data can be obtained by using a professional collection vehicle to collect data on the road. The special collection vehicle can be equipped with sensors such as cameras, laser radars, GNSS (global navigation satellite system), IMU (inertial measurement unit (generally refers to a space attitude sensor)), and wheel speed meters.

[0037] In step S10, the data collected by the collection vehicle on the road is obtained, including the following steps:

[0038] Step S101: monitoring a road through a plurality of sensors to obtain sensor data corresponding to the various sensors and timestamps corresponding to the sensor data;

[0039] Step S102: based on the timestamps corresponding to the sensor data, the sensor data corresponding to different types of sensors are time-aligned according to the set disk-dropping timestamps to obtain the road collection data collected by the collection vehicle.

[0040] In this embodiment, when acquiring collected data, it is necessary to time-align the sensor data obtained by different sensors to ensure the accuracy and efficiency of subsequent data processing in the time-aligned segments, and unify the data of different sensors at different times into the same spatial coordinate system. Specifically, the data collected by sensors such as cameras and lidars have different sampling rates and timestamps, so it is necessary to align different sensor data according to the time error. For example, the precise timestamp provided by GNSS can be used as the landing timestamp of each sensor, and the sensor data corresponding to other different sensors can be time-aligned according to the landing timestamp, and after the time alignment process, the collection data of the corresponding collection vehicle can be obtained.

[0041] Specifically, in the process of time alignment, according to the sampling rates of different sensors, the point cloud data collected by the lidar with the lowest sampling rate can be used as the basis, and the nearest value matching can be used for the image and lidar data, that is, the image data with the closest time to the point cloud data of each frame of lidar is found as the same frame of image. For the wheel speed information of GNSS, IMU, and wheel speed meter, linear interpolation can be used to process the time difference between sensor sampling to ensure that each frame of lidar data can match the image and other related data with the closest time.

[0042] Next, step S20 is executed to segment the collected data into segments to obtain a plurality of segment data.

[0043] In this embodiment, by performing segmentation processing on the collected data, that is, segmenting the collected continuous data in chronological order, the efficiency and accuracy of subsequent data processing can be guaranteed. In the process of segmenting the collected data, the long-term collected data can be segmented into shorter clips according to a predetermined time interval. For example, the segment data in each segment can generally contain 1 minute of collected data, so as to reduce the computational burden and facilitate parallel processing of data by utilizing the segments of the collected data. Similarly, each segment data contains point cloud data collected by the laser radar, image data collected by the camera, and data collected by each sensor.

[0044] Further, step S30 is executed to perform coordinate transformation on the point cloud data of each segment data to obtain a point cloud image of each segment data.

[0045] In this embodiment, the point cloud data of each segmented data needs to be further transformed relative to the vehicle reference coordinate system corresponding to a certain segment data to ensure the spatial consistency of the data for subsequent data use.

[0046] In step S30, coordinate transformation is performed on the point cloud data of each segment data to obtain a point cloud image of each segment data, including the following steps:

[0047] Step S301: Estimate the position change of the vehicle between each frame of each segment data according to the sensor information, and obtain the position change matrix of the vehicle of each frame of each segment data relative to the preset frame;

[0048] Step S302: extract the point cloud data of each frame of each fragment data, convert the point cloud data of each frame of each fragment data to the corresponding vehicle reference coordinate system of the preset frame through the posture change matrix, and perform point cloud splicing and fusion during the conversion process to obtain a point cloud map of each fragment data.

[0049] In this embodiment, the preset frame may be each frame corresponding to each fragment data. Preferably, the preset frame may be the first frame corresponding to the first fragment data. When the preset frame is the first frame, after the collected data is divided into fragments, it is also necessary to perform point cloud splicing of the fragment data corresponding to each fragment, that is, convert each frame of point cloud data corresponding to the fragment data of each fragment to the vehicle reference coordinate system corresponding to the first frame of point cloud data, and perform point cloud splicing and fusion when the coordinate system of each frame of point cloud data is converted, so that each frame of point cloud data forms a point cloud map with all the collected laser point clouds in the fragment after the coordinate conversion. Specifically, in the process of processing each frame of point cloud data, the targets in the point cloud are classified by using a pre-trained neural network model, and dynamic objects (such as vehicles and pedestrians) are identified and removed from the single-frame point cloud scene. After that, the sensor data obtained by sensors such as IMU, wheel speed meter and GNSS are used to evaluate the posture changes of the vehicle between each frame, and the posture transformation matrix of each frame of point cloud data relative to the first frame is calculated. Next, each frame of point cloud data of each fragment data is converted into the coordinate system of the first frame of point cloud data by applying the pose transformation matrix, and all the point cloud data of each fragment data are spliced ​​together during the coordinate conversion to form a complete point cloud frame, that is, a point cloud map of each fragment data in the vehicle reference coordinate system corresponding to the point cloud data of the first frame is obtained.

[0050] Next, step S40 and step S50 are executed to extract the road lane information in the high-precision map corresponding to the location of the collection vehicle; coordinate conversion is performed on the road lane information to obtain road information aligned with the coordinates of each fragment data.

[0051] In this embodiment, the high-precision map and the data of the collection vehicle use different coordinate systems. Therefore, before the high-precision map data and the data of the collection vehicle are feature matched and fused, the coordinate systems of the high-precision map data and the data of the collection vehicle need to be aligned. Specifically, first, the road lane information of the set range in the high-precision map corresponding to the current position is extracted based on the positioning information of the vehicle (collection vehicle). The high-precision map contains many layers. Therefore, when extracting the road lane information, it is only necessary to obtain the road category, coordinates, and topological relationships between roads. After obtaining the road lane information, the road lane information is converted to the vehicle reference coordinate system according to the vehicle reference coordinate system of each fragment of the collected data, so that the road lane information can be aligned with the formed segmented fragments.

[0052] Next, step S60 is executed to perform feature matching and fusion on the point cloud map and image data of each segment data with the road information to generate pre-labeled data corresponding to each segment data.

[0053] In this embodiment, after extracting the road information, since the positioning or conversion accuracy of the road information and the point cloud map is insufficient, the accuracy of data matching can be further improved by performing feature matching on the road information and the point cloud map. After the feature matching is completed, the pre-labeled data is obtained by fusion. Furthermore, when performing feature matching on the point cloud map and the road information, the features such as lane lines, road edges, point cloud density, etc. that can represent the road shape or structure can be extracted and matched with the corresponding features of the road information.

[0054] In step S60, feature extraction and matching fusion are performed on the point cloud map and image data of each segment data and the road information to generate pre-annotated data corresponding to each segment data, including the following steps:

[0055] Step S601: extracting features from the point cloud and image data of each segment data and performing feature matching with the road information to obtain a matching result for each segment data;

[0056] Step S602: According to the matching result, the point cloud map and image data of each fragment data are fused with the road information to obtain the lane line information corresponding to each fragment data;

[0057] Step S603: convert the format of the lane line information corresponding to each data segment to obtain the pre-labeled data corresponding to each data segment.

[0058] In this embodiment, when acquiring data, the acquisition equipment itself, calibration, and adjustment may easily bring different errors. For example, in rainy and snowy weather, the point cloud lane line may be greatly affected, and the camera information may have unclear features under dark conditions. Therefore, before fusing the road information and the point cloud map, it is necessary to monitor the matching effect between the road information and the point cloud map, and when the matching effect between the road information and the point cloud map meets the requirements, it means that the road information and the point cloud map are matched, and the road information and the point cloud map are feature fused to obtain the lane line information. Finally, after fusion, the lane line information is output, and the format of the output lane line information is converted to obtain the pre-annotated data corresponding to each fragment data, so as to facilitate the subsequent loading and editing on the annotation platform. Among them, the output lane line information may include lane line position, category information such as solid line and dotted line, semantic information such as guide line and stop line, topological information such as center line and connecting line, etc.

[0059] In step S601, the matching effect between the road information and the point cloud image is monitored, including the following steps:

[0060] Step S6011: extracting features from the point cloud and image data of each segment data and performing feature matching with the road information to obtain matching results for each segment data, including:

[0061] Step S6012: extracting road point sets, road shapes and road features from road information;

[0062] Step S6013: using a first preset algorithm to match the road point set with the point cloud data of the point cloud image of each segment data to obtain a first matching score for each segment data;

[0063] Step S6014: using a second preset algorithm to match the road shape with the point cloud data of each segment data point cloud image to obtain a second matching score for each segment data;

[0064] Step S6015: using a third preset algorithm to perform feature matching between the road feature and the image data of each segment data to obtain a third matching score for each segment data;

[0065] Step S6016: normalize and weighted average the first matching score, the second matching score, and the third matching score of each segment data to obtain a fusion score of each segment data;

[0066] Step S6017: Obtain matching results based on the fusion score and score threshold of each segment data.

[0067] In this embodiment, the first preset algorithm may be an ICP algorithm, the second preset algorithm may be a least squares method, and the third preset algorithm may be an image matching algorithm (such as SIFT feature point detection and matching). Road features include road line geometry, lane information, road edge information, etc.; road features include lane lines, traffic signs, etc. When monitoring the matching effect of road information, point cloud map, and image data, the road point set, road shape, and road features in the road information are first extracted, and the road point set is aligned with the point cloud point set features in the point cloud data corresponding to each fragment data in turn, the road shape (such as road line geometry (such as category, curvature, etc.), lane information, road edge information) is matched with the point cloud road shape (such as point cloud road line geometry, point cloud lane information, point cloud road edge information) in the point cloud data corresponding to each fragment data, and the road feature is matched with the image feature data in the image data corresponding to each fragment data, so as to obtain the first matching score corresponding to the road point set, the second matching score corresponding to the road shape (such as point cloud road line geometry, point cloud lane information, point cloud road edge information), and the third matching score corresponding to the road feature in turn. Next, the first matching score, the second matching score and the third matching score are normalized and weighted averaged to obtain the fusion score after matching fusion, and the fusion score is compared and analyzed with the score threshold to determine that when the fusion score is higher than the score threshold, it indicates that the corresponding matching effect is achieved and a successful matching result is obtained. It is worth noting that the point cloud data is the laser radar data collected by the laser radar, and the image data is the image data collected by the camera.

[0068] In a preferred embodiment provided by the present invention, the ICP algorithm can be used to match the point cloud point set, that is, to align the road point set in the road information with the point cloud point set in the point cloud data corresponding to each fragment data; the road shape is matched with the point cloud road shape (such as the point cloud road line geometry, the point cloud lane information, and the point cloud road edge information) in the point cloud data corresponding to each fragment data by using the least squares method; the road features are matched with the image data corresponding to each fragment data by an image matching (such as SIFT feature point detection matching) algorithm. Moreover, when performing the above matching operation, it is necessary to project the acquired road information into the point cloud map in advance according to the internal and external parameters of the acquisition device. And each matching method will output a score, that is, the first matching score, the second matching score and the third matching score are obtained respectively, which are used to represent the matching effect of the feature. The scores corresponding to each matching method can be mapped to the range of 0 to 1. The first matching score, the second matching score and the third matching score are normalized, and then the scores of each matching algorithm are fused using the weighted average method to obtain a fusion score. According to the set fusion score threshold, when the fusion score exceeds the score threshold, it indicates that the feature matching is successful and the corresponding matching effect requirements are met.

[0069] After the match is confirmed to be successful, the lane line information is output by fusing the lane line, road boundary and other information corresponding to the road information in the high-precision map with the spliced ​​point cloud data. The lane line information includes lane line position, category information such as solid and dotted lines, semantic information such as guide lines and stop lines, and topological information such as center lines and connecting lines.

[0070] After obtaining the lane line information, the lane line attributes corresponding to the collected data obtained by matching, including the starting point, end point, lane line category, width, semantics and other information, as well as the requirements of the target annotation system, are determined, and the appropriate format (such as JSON or XML) is determined to convert the lane line information into the format corresponding to the pre-annotated data. For example, if the JSON format is selected, it is necessary to construct an object containing a unique identifier for the lane line and the corresponding coordinate points. Specifically, during the conversion process, the coordinate points of each lane line can be represented with an accuracy of, for example, 5 pixels between the center points of the lane line, and organized into an array according to the requirements of the platform. In addition, metadata can be added to each lane line, such as the lane number, category, color and other information, to facilitate subsequent platform loading and editing.

[0071] Next, step S70 is executed to verify and adjust the pre-labeled data of each segment data to obtain a lane line labeling result.

[0072] In this embodiment, after obtaining the pre-annotated data, in order to ensure the accuracy of the lane line information, it is necessary to further verify and adjust the pre-annotated data, and obtain the lane line annotation result after verification and adjustment. The lane line annotation result includes a single frame image and all the annotation result information on the image, so that the lane line annotation result not only covers the verification of geometric accuracy, but also integrates the elements of visual perception, and can provide accurate context information for lane line training.

[0073] In step S70, the pre-annotated data of each segment data is verified and adjusted to obtain a lane line marking result, including the following steps:

[0074] Step S701: loading the pre-annotated data of each segment data into the annotation platform;

[0075] Step S702: receiving potential errors obtained by the labeling personnel from verifying the road information and the point cloud map of each segment data, and fine-tuning the road information based on the potential errors to obtain lane line labeling results.

[0076] In this embodiment, after obtaining the pre-annotated data that meets the requirements of the annotation system, the lane lines extracted from the corresponding high-precision map in the pre-annotated data are loaded onto the annotation platform together with the point cloud map (the point cloud map includes point clouds and single-frame images) that is spliced ​​after actual collection. The annotators fine-tune the road information based on the potential errors between the road information and the point cloud map obtained through verification, thereby obtaining the lane line annotation results after verification and adjustment.

[0077] In a preferred embodiment of the present invention, the annotator can observe the actual conditions of the lane lines and the environment, verify potential errors, such as deviation from the center line of the road or shape mismatch, and then adjust the position and attributes of the lane lines on the spliced ​​point cloud map. At the same time, in order to meet the original data requirements of the BEV lane line model, the visual features of the annotated lane lines can be further supplemented, including actual visibility and degree of wear. This information is obtained by projecting the lane lines onto the corresponding point cloud map. The annotator can directly view the status of the lane lines on the image, and combine these visual information to make necessary fine-tuning and manual annotations to the lane lines, such as marking the severely worn areas in the image so that they can be given extra attention in subsequent training.

[0078] After step S70, that is, after checking and adjusting the pre-annotated data of each segment data to obtain the lane line marking result, the following steps are also included:

[0079] S801: Performing repeated use scenario monitoring of lane marking results;

[0080] S802: When the lane line marking result is reused, a new point cloud image corresponding to the reused scene and new pose information corresponding to each frame of point cloud data are obtained;

[0081] S803: According to the new posture information, the marked lane lines in the lane line marking result are converted from the original scene to the vehicle reference coordinate system corresponding to the reused scene;

[0082] S804: The lane lines and the new point cloud image after the coordinate system conversion are used as training data sets.

[0083] In this embodiment, for the same acquisition route, the obtained annotation results can be reused within a period of time according to different weather and lighting scenes, thereby greatly reducing duplication of work. When the annotation data is reused, coordinate conversion is first performed, that is, a new point cloud map is converted from the new acquisition data corresponding to the reused scene, and the new pose information of each frame of point cloud data is extracted, including the specific position and pose of the vehicle. According to the new pose information, the translation and rotation matrices are used for transformation to transform the marked lane lines from the coordinate system of the original scene to the vehicle reference coordinate system of the new scene. Then, the transformed lane lines and the newly acquired image data are used to generate a training data set. Furthermore, the obtained training data set can be used to check the accuracy of the annotation results in the new scene, and fine-tune it when necessary to ensure the consistency of the lane lines with the actual environment. Through these steps, the application of annotation data in different acquisition scenes can be effectively realized.

[0084] See also Figure 2 , by obtaining the collected data of the road when the collection vehicle collects data on the road, and then extracting the lane line information from the high-precision map, matching and fusing the point cloud map corresponding to the collected data with the extracted lane line information, and converting to generate pre-labeled data, the pre-labeled result of using the lane line information extracted from the high-precision map as the collected lane line image data is obtained. By further verifying and adjusting the pre-labeling results, the labeling efficiency of the autonomous driving data can be effectively improved, and then the lane line labeling results obtained after verification and adjustment can be put into multi-scenario expansion and use. From the above content, it can be seen that this method is not only suitable for expansion and use in multiple scenarios, but also can generate corresponding pre-labeling results according to different collected data, and can be reused in multiple projects, thereby effectively reducing the cost of manual labeling.

[0085] like Figure 3 As shown, in one embodiment of the present invention, the present invention further provides a lane line marking system 11, including: a data acquisition unit 111, used to obtain the collected data of the road by the collection vehicle; a segmentation unit 112, used to segment the collected data to obtain a plurality of segment data; a coordinate conversion unit 113, used to perform coordinate conversion on the point cloud data of each segment data to obtain a point cloud map of each segment data; a map extraction unit 114, used to extract the road lane information in the high-precision map corresponding to the location of the collection vehicle; a coordinate alignment unit 115, used to perform coordinate conversion on the road lane information to obtain road information aligned with the coordinates of each segment data; a data fusion unit 116, used to perform feature extraction and matching fusion on the point cloud map and image data of each segment data with the road information, and generate pre-annotated data corresponding to each segment data; and a marking verification unit 117, used to verify and adjust the pre-annotated data of each segment data to obtain a lane line marking result.

[0086] In this embodiment, in the lane marking system 11 of the present invention, the data acquisition unit 111 can be used to obtain the collected data of the road when the collection vehicle collects data on the road. The segmentation unit 112 can be used to segment the collected data after obtaining the collected data, and then the coordinate conversion unit 113 can be used to convert the segmented segment data into the vehicle reference coordinate system corresponding to a certain segment data, and the point cloud data of each frame is spliced ​​during the coordinate conversion process to obtain the point cloud map of each segment data. Further, the road lane information relative to the vehicle reference coordinate system in the high-precision map is obtained by the map extraction unit 114, and the road lane information is converted by the coordinate alignment unit 115 to obtain the road information aligned with the coordinates of each segment data. The data fusion unit 116 can be used to match and fuse the point cloud map and image data of each segment data with the obtained road information to ensure the positioning or conversion accuracy of the road information and each segment data. After the fusion process, the format is converted to form pre-annotated data to facilitate the subsequent loading and editing of the annotation platform. Furthermore, the pre-annotated data can be verified and fine-tuned by the annotation verification unit 117, thereby ensuring the accuracy and reliability of the obtained lane line annotation results.

[0087] It should be noted that the lane marking system 11 provided in the above embodiment and the lane marking method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In actual application, the lane marking system 11 provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0088] See also Figure 4 The electronic device 1 may include a memory 12, a processor 13 and a bus, and may also include a computer program stored in the memory 12 and executable on the processor 13, such as a lane marking program.

[0089] Among them, the memory 12 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 12 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 12 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 12 can also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 12 can not only be used to store application software and various types of data installed in the electronic device 1, such as lane line marking codes, etc., but also can be used to temporarily store data that has been output or is to be output.

[0090] In some embodiments, the processor 13 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 13 is the control core (Control Unit) of the electronic device 1, and uses various interfaces and lines to connect various components of the entire electronic device 1, and executes or executes programs or modules (such as lane marking programs, etc.) stored in the memory 12, and calls data stored in the memory 12 to execute various functions of the electronic device 1 and process data.

[0091] The processor 13 executes the operating system and various installed applications of the electronic device 1. The processor 13 executes the applications to implement the steps in the lane marking method.

[0092] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 12 and executed by the processor 13 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the electronic device 1. For example, the computer program may be divided into a data acquisition unit 111, a fragment segmentation unit 112, a coordinate conversion unit 113, a map extraction unit 114, a coordinate alignment unit 115, a data fusion unit 116, and a label verification unit 117.

[0093] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium, and the computer-readable storage medium can be non-volatile or volatile. The above-mentioned software function module is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to perform part of the functions of the lane marking method described in each embodiment of the present application.

[0094] In summary, the present invention discloses a lane line marking method, system, electronic device and storage medium, which imports the environmental feature layer of the location of the collection vehicle from the high-precision map, and matches and fuses the features identified by the laser radar and camera scanning with the environmental features recorded in the high-precision map. After the fusion, the BEV lane line pre-marking results that have been manually verified on the high-precision map can be obtained. After the pre-marking results are projected onto the laser point cloud, only manual fine-tuning is required to complete the BEV data marking, thereby greatly improving the data marking efficiency and ensuring the accuracy, significantly reducing the workload, time and cost of manual marking, and improving the efficiency of obtaining training data. By reusing the marked data in multiple scenarios, the lane line information extracted from the high-precision map and the marked data can be applied to different data collected at different times through positioning information, reducing the cost of repeated marking; thereby not only reducing the demand for repeated mapping computing resources and shortening the processing time, but also improving the consistency and accuracy of the marked training data, avoiding the marking errors caused by external factors such as weather and light affecting the quality of sensor data. The present invention completes the labeling of the lane line data of the autonomous driving BEV by segmenting and converting the collected data, extracting the lane line data of the high-precision map and matching it with the collected data, converting the data format and manually adjusting it, which can significantly improve the closed-loop iteration efficiency of the algorithm in the field of autonomous driving and reduce the cost of obtaining data. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has a high industrial utilization value.

[0095] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A lane marking method, characterized in that: The steps include: Obtaining the road data collected by the collection vehicle; Segmenting the collected data to obtain a number of segment data; Performing coordinate transformation on the point cloud data of each of the fragment data to obtain a point cloud image of each of the fragment data; Extracting road lane information from a high-precision map corresponding to the location of the collection vehicle; Performing coordinate conversion on the road lane information to obtain road information aligned with the coordinates of each of the segment data; Performing feature extraction, matching and fusion on the point cloud map and image data of each segment data and the road information to generate pre-annotated data corresponding to each segment data; The pre-labeled data of each segment of data is verified and adjusted to obtain a lane line labeling result.

2. The lane marking method according to claim 1, characterized in that: Obtain the road data collected by the collection vehicle, including: Performing road monitoring by using a plurality of sensors to obtain sensor data corresponding to the various sensors and timestamps corresponding to the sensor data; Based on the timestamp corresponding to the sensor data, the sensor data corresponding to different types of sensors are time-aligned according to the set disk-falling timestamp to obtain the collected data of the road by the collection vehicle.

3. The lane marking method according to claim 1, characterized in that: Performing coordinate transformation on each of the fragment data to obtain a point cloud image of each of the fragment data includes: Estimate the position change of the vehicle between each frame of each of the segment data according to the sensor information, and obtain the position change matrix of the vehicle for each frame of each of the segment data relative to the preset frame; Extract the point cloud data of each frame of each of the fragment data, convert the point cloud data of each frame of each of the fragment data to the corresponding vehicle reference coordinate system of the preset frame through the posture change matrix, and perform point cloud splicing and fusion during the conversion process to obtain a point cloud map of each of the fragment data.

4. The lane marking method according to claim 1, characterized in that: Extracting features and matching and fusing the point cloud map and image data of each segment of data with the road information to generate pre-annotated data corresponding to each segment of data includes: Extracting features from the point cloud image and the image data of each segment of data and performing feature matching on the road information to obtain a matching result for each segment of data; According to the matching result, the point cloud map and image data of each of the fragment data are fused with the road information to obtain lane line information corresponding to each of the fragment data; The lane line information corresponding to each of the fragment data is formatted to obtain the pre-labeled data corresponding to each of the fragment data.

5. The lane marking method according to claim 4, characterized in that: Performing feature matching on the point cloud map and image data of each segment of data and the road information to obtain a matching result for each segment of data, including: Extracting road points, road shapes and road features from the lane information; Using a first preset algorithm to match the road point set with the point cloud data of the point cloud image of each of the segment data to obtain a first matching score for each of the segment data; Using a second preset algorithm to match the road shape with the point cloud data of the point cloud image of each of the segment data to obtain a second matching score for each of the segment data; Using a third preset algorithm to perform feature matching between the road feature and the image data of each of the segment data to obtain a third matching score for each of the segment data; Normalizing and weighted averaging the first matching score, the second matching score, and the third matching score of each of the segment data to obtain a fusion score of each of the segment data; The matching result is obtained according to the fusion score and the score threshold of each segment data.

6. The lane marking method according to claim 1, characterized in that: Verifying and adjusting the pre-annotated data of each segment of data to obtain a lane line marking result includes: Loading the pre-annotated data of each of the fragment data into an annotation platform; The potential error obtained by the labeling personnel from verifying the road information and the point cloud image of each of the segment data is received, and the road information is fine-tuned according to the potential error to obtain the lane line labeling result.

7. The lane marking method according to claim 1, characterized in that: After verifying and adjusting the pre-annotated data of each segment data to obtain the lane line marking result, the method further includes: Performing repeated use scenario monitoring of the lane marking result; When the lane line marking result is reused, a new point cloud image corresponding to the reused scene and new pose information corresponding to each frame of point cloud data are obtained; According to the new pose information, the marked lane lines in the lane line marking result are converted from the original scene to the vehicle reference coordinate system corresponding to the reused scene; The lane lines after coordinate system conversion and the new point cloud map are used as training data sets.

8. A lane marking system, characterized in that: include: A data collection unit, used to obtain the road data collected by the collection vehicle; A segmentation unit, used for segmenting the collected data into segments to obtain a plurality of segment data; A coordinate conversion unit, used for performing coordinate conversion on the point cloud data of each of the fragment data to obtain a point cloud image of each of the fragment data; A map extraction unit, used to extract road lane information in a high-precision map corresponding to the location of the collection vehicle; A coordinate alignment unit, used for performing coordinate conversion on the road lane information to obtain road information that is aligned with the coordinates of each of the segment data; A data fusion unit, configured to extract features and perform matching fusion on the point cloud map and image data of each segment of data and the road information, and generate pre-annotated data corresponding to each segment of data; as well as The marking verification unit is used to verify and adjust the pre-marked data of each segment data to obtain a lane marking result.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the lane line marking method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the lane line marking method according to any one of claims 1 to 7.