Method, device and equipment for generating high-precision map road data based on hierarchical features
By using a hierarchical feature-based method to identify lane line feature bounding boxes and generate candidate lane lines, it solves the problems of unstable automated algorithms and high labor costs in the production of high-precision map data, and realizes the automated generation of high-precision map data.
Patent Information
- Application Number
- CN202111205405.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-15
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-10-15
AI Technical Summary
In the existing high-precision map data production process, the automated algorithm is unstable and requires high labor costs.
A method based on hierarchical features is used to obtain road point cloud data and image data, identify lane line feature bounding boxes, and generate candidate lane lines and road model data, reducing the dependence on manual annotation.
It improves the stability of the automated algorithm, reduces labor costs, and realizes the automated generation of high-precision map data.
Smart Images

Figure CN114136333B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing, in particular to the fields of intelligent transportation, autonomous driving and deep learning, and in particular to a method, device, equipment and computer-readable storage medium for generating high-precision map road data based on hierarchical features. Background Art
[0002] High-precision maps, also known as high-precision maps, are used by self-driving cars. High-precision maps have accurate vehicle location information and rich road element data information, which can help cars predict complex road information, such as slope, curvature, heading, etc., to better avoid potential risks. High-precision maps play a very important role in the field of autonomous driving. In related technologies, the production of high-precision map data is mainly completed by combining automated algorithms with manual annotation. However, automated algorithms are easily affected by various factors such as actual road wear and tear and collection quality, resulting in instability, and require extremely high labor costs. Summary of the invention
[0003] The present application provides a method, device, equipment and storage medium for generating high-precision map road data based on hierarchical features.
[0004] According to a first aspect of the present application, a method for generating high-precision map road data based on hierarchical features is provided, comprising:
[0005] Acquire road point cloud data collected by the first sensor and road image data collected by the second sensor;
[0006] Identify a lane feature bounding box based on the road point cloud data and the road image data;
[0007] Generating a candidate lane line according to the lane line feature bounding box, and generating a candidate lane according to the candidate lane line;
[0008] The candidate lanes are filled with roads to generate road model data.
[0009] According to a second aspect of the present application, a device for generating high-precision map road data based on hierarchical features is provided, comprising:
[0010] An acquisition module, used to acquire road point cloud data acquired by the first sensor and road image data acquired by the second sensor;
[0011] A first processing module, used for identifying a lane feature bounding box according to the road point cloud data and the road image data;
[0012] A second processing module, used to generate a candidate lane line according to the lane line feature bounding box, and generate a candidate lane according to the candidate lane line;
[0013] The third processing module is used to perform road filling on the candidate lanes to generate road model data.
[0014] According to a third aspect of the present application, an electronic device is provided, including:
[0015] at least one processor;
[0016] And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the first aspect above.
[0017] According to a fourth aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.
[0018] According to a fifth aspect of the present application, a computer program product is provided, comprising a computer program, wherein the computer program implements the method described in the first aspect when executed by a processor.
[0019] According to the technical solution of the present application, the problem of unstable automation algorithm and high labor cost in the production process of high-precision map data in related technologies can be solved.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.
[0022] Figure 1 It is a flowchart of a method for generating high-precision map road data based on hierarchical features according to the present application;
[0023] Figure 2 is a schematic diagram according to the first embodiment of the present application;
[0024] Figure 3 is a schematic diagram according to a second embodiment of the present application;
[0025] Figure 4 It is a schematic diagram of the process of grouping lane feature bounding boxes in this application;
[0026] Figure 5 This is a schematic diagram of the process of stringing valid lane feature bounding boxes in this application;
[0027] Figure 6 is a schematic diagram according to a third embodiment of the present application;
[0028] Figure 7 It is a schematic diagram of the process of deduplication operation on candidate lane sleepers in this application;
[0029] Figure 8 This is a schematic diagram of lane line filling in this application;
[0030] Fig. 9 This is a schematic diagram of the structure of a device for generating high-precision map road data based on hierarchical features of the present application;
[0031] Fig.10 It is a structural schematic diagram of another device for generating high-precision map road data based on hierarchical features in the present application;
[0032] Fig.11 It is a block diagram of an electronic device used to implement the method for generating high-precision map road data based on hierarchical features in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0034] It should be noted that the method for generating high-precision map road data based on hierarchical features provided by this application mainly adopts the idea of hierarchical feature design and designs three layers of features, representing lane line level, lane level, and road level. Lane line level features are obtained by extracting corresponding attributes from a combination of multiple bounding boxes. Lane level features are based on the combination of 2 lane line features. Road level features are based on the combination of multiple lane level features. Please refer to Figure 1 , Figure 1 It is a flowchart of the method for generating high-precision map road data based on hierarchical features in this application.
[0035] See also Figure 2 , Figure 2 is a schematic diagram according to the first embodiment of the present application, such as Figure 1 and Figure 2 As shown, the method for generating high-precision map road data based on hierarchical features may include but is not limited to the following steps.
[0036] Step S201: Acquire road point cloud data collected by a first sensor and road image data collected by a second sensor.
[0037] For example, a road can be scanned by a 3D (3-Dimension) scanner, and the scanned data can be recorded in the form of points, each of which contains three-dimensional coordinates; the road can be scanned by an image sensor to obtain road image data. The first sensor can be a laser scanner, and the road can be scanned by the first sensor to obtain laser road point cloud data. The second sensor can be a high-speed camera, and the image data of the road can be collected by the high-speed camera.
[0038] Step S202: identifying a lane feature bounding box based on the road point cloud data and the road image data.
[0039] Optionally, deep learning technology can be used to identify lane feature bounding boxes using road point cloud data and road image data. For example, a model can be pre-trained based on deep learning technology, the input of the model is road point cloud data and road image data, and the output is a lane feature bounding box. The model is trained using training samples so that the trained model can be used to recognize lane feature bounding boxes.
[0040] For example, a pre-trained model can be used to identify lane features on point cloud data and image data to obtain multiple lane feature bounding boxes. In the embodiment of the present application, the lane feature bounding box may include three attributes, which can be positioned as (position, direction, type, prob), where position is a 3D coordinate group (x, y, z), direction is a unit vector (d x ,d y ,d z ), the data type type is a 32-bit integer, prob is the confidence level, that is, (position, direction, type, prob) corresponds to a lane feature bounding box.
[0041] Step S203, generating candidate lane lines according to the lane line feature bounding box, and generating candidate lanes according to the candidate lane lines.
[0042] It is worth noting that the road data collected in various ways may include multiple trajectories after being aggregated. Therefore, multiple lane line feature bounding boxes may be identified for the same location point. At this time, it is necessary to cluster and deduplicate the multiple lane line feature bounding boxes at the same location point to obtain the valid lane line feature bounding box. On this basis, the candidate lane line is generated according to the valid lane line feature bounding box.
[0043] Step S204: fill the candidate lanes with roads and generate road model data.
[0044] Optionally, after generating the candidate lanes, candidate sleepers between the candidate lanes may be generated first, and the road between the candidate lanes may be filled based on the candidate sleepers, thereby completing the generation of the road model.
[0045] Through the embodiments of the present application, the lane line feature bounding box can be identified respectively through point cloud data and image data, and then the road model can be constructed based on the bounding box features to complete the automated labeling task and reduce the manual input for data labeling, thereby solving the problem in the related technology that the automated algorithm is unstable and requires high labor costs.
[0046] In some embodiments of the present application, autonomous driving service processing can be performed based on the generated high-precision map data.
[0047] For example, the generated high-precision map data can be stored in a server. After receiving a map update request sent by a vehicle with autonomous driving function, the server sends the updated high-precision map data to the vehicle to help the vehicle accurately predict complex road information, such as slope, curvature, heading, etc., to better avoid potential risks.
[0048] See also Figure 3 , Figure 3 is a schematic diagram according to the second embodiment of the present application. The embodiment of the present application can generate candidate lanes based on the identified lane line feature bounding box, and then generate road model data. Figure 3 As shown, the method for generating high-precision map road data based on hierarchical features may include but is not limited to the following steps.
[0049] Step S301: Acquire road point cloud data collected by a first sensor and road image data collected by a second sensor.
[0050] In the embodiments of the present application, step S301 can be implemented in any of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.
[0051] Step S302: identifying a lane feature bounding box based on the road point cloud data and the road image data.
[0052] In the embodiments of the present application, step S302 can be implemented in any of the embodiments of the present application. The embodiments of the present application do not limit this and will not be described in detail.
[0053] Step S303: clustering and de-duplication operations are performed on multiple lane line feature bounding boxes at the same position point to obtain a valid lane line feature bounding box.
[0054] In one implementation, multiple lane line feature bounding boxes at the same location are clustered and deduplicated to obtain a valid lane line feature bounding box, including: performing a nearest neighbor spatial index search on each identified lane line feature bounding box, and calculating the similarity for each searched matching pair; performing match filtering on each identified lane line feature bounding box according to the similarity, and grouping the lane line feature bounding boxes based on the match filtering results; selecting a lane line feature bounding box from each group, and determining the selected lane line feature bounding box as a valid lane line feature bounding box.
[0055] In an optional implementation, multiple lane line feature bounding boxes at the same location point are clustered and deduplicated to obtain a valid lane line feature bounding box, including: performing a nearest neighbor spatial index search on each identified lane line feature bounding box, and calculating the similarity for each searched matching pair; performing match filtering on each identified lane line feature bounding box according to the similarity, and grouping the lane line feature bounding boxes based on the match filtering results; selecting a lane line feature bounding box from each group, and determining the selected lane line feature bounding box as a valid lane line feature bounding box.
[0056] For example, each identified bounding box is used as the first reference bounding box for calculation in turn, and the k-dimensional tree algorithm is used to perform a nearest neighbor space search on the first reference bounding box to obtain multiple matching bounding boxes, and the similarity between the multiple matching bounding boxes and the first reference bounding box is calculated respectively. The calculation formula is as follows.
[0057]
[0058] Among them, the Euclidean distance coefficient d is the Euclidean distance between two matching bounding boxes. θ is the angle between the direction vectors of the two matching bounding boxes. t is the minimum vertical distance between two matching bounding boxes. After calculating the similarity of the matching bounding boxes, it is compared with the similarity threshold set by the system, and the bounding boxes with similarity greater than the threshold and the first reference bounding box are regarded as matching bounding box pairs with a repeated relationship.
[0059] Optionally, the lane feature bounding boxes are grouped based on the matching filtering result, including: sorting the lane feature bounding boxes remaining after matching filtering in reverse order according to the bounding box length; and grouping the lane feature bounding boxes that have been sorted in reverse order based on the matching filtering result.
[0060] See also Figure 4 , Figure 4Schematic diagram of the process of grouping lane feature bounding boxes in the embodiment of the present application. Figure 4 As shown in the figure, the specific process of grouping the lane feature bounding boxes after reverse sorting is as follows: sort all the identified bounding boxes in reverse order according to the length of the bounding boxes, and group them in order from long to short. If the bounding box being processed has not been grouped, the bounding box is divided into a new bounding box group, and the matching bounding box with the bounding box being processed is marked as the same group; if the bounding box has been marked as a group, the bounding box is not processed, and the next bounding box is processed in sequence. After completing the grouping process for all identified bounding boxes, the first bounding box in each bounding box group that is divided into the group is selected as the valid lane feature bounding box, and the other bounding boxes are marked as invalid.
[0061] For example, the order of lane feature bounding boxes after reverse sorting is lane feature bounding box A, lane feature bounding box B, lane feature bounding box C, and lane feature bounding box D, among which lane feature bounding box A has the longest length, lane feature bounding box D has the shortest length, and the similarity between lane feature bounding box A and lane feature bounding box C is greater than the threshold set by the system, and they are a pair of matching lane feature bounding boxes. First, lane feature bounding box A is processed. Lane feature bounding box A is not grouped, so lane feature bounding box A is divided into a new lane feature bounding box group, called the first lane feature bounding box group. Lane feature bounding box A is the first lane feature bounding box divided into the first lane feature bounding box group, so lane feature bounding box A is a valid lane feature bounding box of the first lane feature bounding box group, and lane feature bounding box C is a lane feature bounding box that matches lane feature bounding box A, so lane feature bounding box C is also divided into the first lane feature bounding box group. Then, lane feature bounding box B is processed. If lane feature bounding box B is not grouped, lane feature bounding box B is grouped into a new lane feature bounding box group, called the second lane feature bounding box group. Lane feature bounding box B is a valid lane feature bounding box of the second lane feature bounding box group. Meanwhile, the matching lane feature bounding box of lane feature bounding box B is grouped into the second lane feature bounding box group. Then, lane feature bounding box C is processed. Since lane feature bounding box C is a matching lane feature bounding box of lane feature bounding box A, it has been grouped into the first lane feature bounding box group where lane feature bounding box A is when lane feature bounding box A is processed. Therefore, lane feature bounding box C is not processed. Lane feature bounding box D is processed continuously. If lane feature bounding box D is not grouped, lane feature bounding box D is grouped into a new lane feature bounding box group, called the third lane feature bounding box group. Lane feature bounding box D is a valid lane feature bounding box of the third lane feature bounding box group. After processing all the identified lane line feature bounding boxes, the valid lane line feature bounding boxes are obtained as lane line feature bounding box A, lane line feature bounding box B, and lane line feature bounding box D.
[0062] Step S304: Generate candidate lane lines based on the valid lane line feature bounding box.
[0063] In an optional implementation, candidate lane lines are generated based on valid lane line feature bounding boxes, including: determining a feature sorting list composed of valid lane line feature bounding boxes; performing candidate forward search and candidate reverse search on the valid lane line feature bounding boxes in the feature sorting list in order to determine the predecessors and successors of the respective valid lane line feature bounding boxes; and generating candidate lane lines based on the valid lane line feature bounding boxes and their respective predecessors and successors.
[0064] See also Figure 5 ,like Figure 5 The figure is a schematic diagram of the process of stringing together the valid lane line feature bounding boxes provided in an embodiment of the present application.
[0065] For example, the obtained valid lane line feature bounding boxes are sorted in reverse order according to the length of the bounding boxes to generate a feature sorting list, and the valid lane line feature bounding boxes are processed in order from long to short. Select one valid lane line feature bounding box in turn as the second reference bounding box, and search for other valid lane line feature bounding boxes within the system set spatial range in the positive direction of the bounding box. If not, end the processing of the bounding box and continue to process the next valid lane line feature bounding box. Alternatively, if there is a valid lane line feature bounding box, use the valid lane line feature bounding box as the third reference bounding box for the next step; or, if there are multiple bounding boxes, calculate the first matching probability p of multiple valid lane line feature bounding boxes respectively. same , the calculation formula is as follows.
[0066]
[0067] Among them, the confidence coefficient c is the confidence of the bounding box searched by the second reference bounding box, the Euclidean distance coefficient Where d is the Euclidean distance between bounding boxes. θ is the direction angle between the two bounding boxes. The valid lane feature bounding box with the largest first matching probability is selected as the third reference bounding box for the next step.
[0068] For the third reference bounding box, search whether there is a second reference bounding box within the system set spatial range in the reverse direction. If not, end the processing of the second reference bounding box. If there are multiple valid lane line feature bounding boxes including the second reference bounding box, calculate the second matching probability of the searched multiple valid lane line feature bounding boxes with the third reference bounding box respectively. The calculation method of the second matching probability is the same as the first matching probability, which will not be repeated here. If the second matching probability of the second matching bounding box is the largest among the multiple valid lane line feature bounding boxes searched, the second reference bounding box and the third bounding box are matched, and the second reference bounding box and the third reference bounding box are established and connected. If the second matching probability of the second reference bounding box is not the largest among the multiple valid lane line feature bounding boxes searched, then determine in turn whether the third reference bounding box is the predecessor, successor, or reverse predecessor of the second reference bounding box; if the third reference bounding box is the predecessor, successor, or reverse predecessor of the second reference bounding box, a relationship between the third reference bounding box and the second reference bounding box can be established and connected; if the third reference bounding box is not the predecessor, successor, or reverse predecessor of the second reference bounding box, then end the processing of the second bounding box and continue to process the next bounding box in the feature sorting list.
[0069] For example, the valid lane line feature bounding box obtained in the previous step is sorted in reverse order according to the length of the bounding box, namely, valid lane line feature bounding box A, valid lane line feature bounding box B, and valid lane line feature bounding box D. The valid lane line feature bounding box A has the longest length, and the valid lane line feature bounding box D has the shortest length. First, the valid lane line feature bounding box A is processed, and the valid lane line feature bounding box A is used as the second reference valid lane line feature bounding box. In the space range set by the system in the positive direction of the valid lane line feature bounding box A, it is searched whether there are other valid lane line feature bounding boxes. If not, the processing of the valid lane line feature bounding box A is stopped, and the processing of the valid lane line feature bounding box B is continued; if only the valid lane line feature bounding box B exists in the search space, the valid lane line feature bounding box B is used as the third reference feature bounding box; if the valid lane line feature bounding box B and the valid lane line feature bounding box D exist in the search space, the first matching probabilities of the valid lane line feature bounding box B and the valid lane line feature bounding box D with the valid lane line feature bounding box A are calculated respectively. Assuming that the first matching probability of the effective lane line feature bounding box B is greater than the first matching probability of the effective lane line feature bounding box D, the effective lane line feature bounding box B is used as the third reference effective lane line feature bounding box.
[0070] The valid lane feature bounding box B is used as the third reference bounding box, and within the system-set spatial range in the opposite direction, a search is performed to determine whether there is a valid lane feature bounding box A. If there is no valid lane feature bounding box A, the processing of the valid lane feature bounding box A is stopped, and the processing of the valid lane feature bounding box B continues; if there is only a valid lane feature bounding box A, the valid lane feature bounding box A is matched with the valid lane feature bounding box B, and a relationship is established between the valid lane feature bounding box A and the valid lane feature bounding box B, and a line is connected. If there are multiple valid lane line feature bounding boxes including valid lane line feature bounding box A, the second matching probability of all searched valid lane line feature bounding boxes and valid lane line feature bounding box B is calculated; if the second matching probability of valid lane line feature bounding box A is the largest among all searched valid lane line feature bounding boxes, then the valid lane line feature bounding box A is matched with the valid lane line feature bounding box B, and a relationship is established between the valid lane line feature bounding box A and the valid lane line feature bounding box B and a line is connected; if the second matching probability of the valid lane line feature bounding box A is not the largest among all searched valid lane line feature bounding boxes, then it is determined in turn whether the valid lane line feature bounding box B has a predecessor relationship, a successor relationship, or a reverse predecessor relationship with the valid lane line feature bounding box A. If the above relationship exists, the relationship between the valid lane line feature bounding box A and the valid lane line feature bounding box B is established and a line is connected; if the above relationship does not exist, the processing of the valid lane line feature bounding box A is stopped, and the valid lane line feature bounding box B is processed in sequence until the processing of all valid lane line feature bounding boxes is completed.
[0071] In some embodiments of the present application, assuming that after the effective lane line feature bounding box A is connected to the effective lane line feature bounding box B, other effective lane line feature bounding boxes may be allowed to exist between the two effective lane line feature bounding boxes. Then, when finding the matching effective lane line feature bounding box of effective lane line feature bounding box B during the processing of effective lane line feature bounding box B, it is necessary to determine whether the matching effective lane line feature bounding box of effective lane line feature bounding box B can be filled between effective lane line feature bounding box A and effective lane line feature bounding box B.
[0072] Step S305, generating candidate lanes according to the candidate lane lines.
[0073] In one implementation, candidate lanes are generated based on candidate lane lines, including: uniformly sampling candidate lane lines at preset intervals to generate sampling points; spatially searching the sampling points based on preset lane sleeper validity conditions to identify candidate lane sleepers between candidate lane lines; determining a sleeper ranking list composed of candidate lane sleepers; performing candidate forward search and candidate reverse search on the candidate lane sleepers in the sleeper ranking list in order to determine respective predecessors and successors of the candidate lane sleepers; and generating candidate lanes based on the candidate lane sleepers and their respective predecessors and successors.
[0074] For example, the candidate lane lines generated in the previous step can be uniformly sampled according to the interval distance set by the system to generate sampling points. For each sample, a search is performed within the spatial range set by the system to find the sampling points of adjacent lane lines, and two sampling points are connected to generate lane sleepers. According to whether the lane between the two lane lines is a parallel lane line or a lane change lane, the generated lane sleepers are screened according to different conditions to obtain valid lane sleepers. The screening conditions for valid lane sleepers of parallel lanes are as follows.
[0075]
[0076] The effective lane sleeper screening conditions for lane change lanes are as follows.
[0077]
[0078] Where d is the Euclidean distance between the bounding boxes of the two sampling points. is the lane line angle, d min and d max are the minimum and maximum thresholds of the Euclidean distance set by the system, and They are the maximum and minimum angle thresholds set by the system respectively.
[0079] After the generation of effective lane sleepers is completed, the effective lane sleepers are strung together to complete the predecessor and successor generation of the effective lane sleepers.
[0080] For example, the obtained valid lanes are sorted in reverse order according to the length of the lane sleepers to form a feature sorting list, and the lane sleepers with longer lengths are processed first. One valid lane sleeper is selected in turn as the reference valid lane sleeper, and within the system-set spatial range in the positive direction of the valid lane sleeper, a search is performed to determine whether there are other valid lane sleepers. If not, the processing of the valid lane sleeper is terminated and the next valid lane sleeper is processed. Alternatively, if there is a valid lane sleeper, the valid lane sleeper is used as the second reference valid lane sleeper for the next step; or, if there are multiple valid lane sleepers, the third matching probabilities of the multiple valid lane sleepers and the reference valid lane sleeper are calculated respectively, and the calculation formula is as follows.
[0081]
[0082] Among them, the confidence coefficient c is the confidence of the effective lane sleeper searched by the benchmark effective lane sleeper, and the Euclidean distance coefficient Where d is the Euclidean distance between the effective lane sleepers. Angle coefficient θ is the direction angle between the two valid lane sleepers. The valid lane sleeper with the third largest matching probability is selected as the second reference valid lane sleeper for the next step.
[0083] In the system set space range in the reverse direction of the second reference valid lane sleeper, search whether there is a first reference valid lane sleeper. If not, end the processing of the first reference valid lane sleeper. If there are multiple valid lane sleepers including the first reference valid lane sleeper, calculate the fourth matching probability of the searched multiple valid lane sleepers with the candidate valid lane sleeper. The calculation formula of the fourth matching probability is the same as the third matching probability, which is not repeated here. If the fourth matching probability of the first reference valid lane sleeper is the largest among the searched multiple valid lane sleepers, the first reference valid lane sleeper and the candidate valid lane sleeper are matched, and the first reference valid lane sleeper and the candidate valid lane sleeper are matched to establish a relationship and connect. If the fourth matching probability of the first benchmark valid lane sleeper is not the largest among the multiple valid lane sleepers searched, then determine in turn whether the candidate valid lane sleeper is the predecessor, successor, or reverse predecessor of the first benchmark valid lane sleeper; if the candidate valid lane sleeper is the predecessor, successor, or reverse predecessor of the first benchmark valid lane sleeper, then a relationship can be established between the first benchmark valid lane sleeper and the candidate valid lane sleeper and they can be connected; if the candidate valid lane sleeper is not the predecessor, successor, or reverse predecessor of the first benchmark valid lane sleeper, then the processing of the first benchmark valid lane sleeper is terminated, and the next valid lane sleeper is processed in list sorting.
[0084] For example, the obtained valid lane sleepers are sorted in descending order of enclosure and length, namely valid lane sleeper A, valid lane sleeper B, and valid lane sleeper C. Among them, valid lane sleeper A has the longest length, and valid lane sleeper C has the shortest length. First, valid lane sleeper A is processed, and valid lane sleeper A is used as the first reference valid lane sleeper. In its positive direction and within the spatial range set by the system, it is searched whether there are other valid lane sleepers. If not, the processing of valid lane sleeper A is stopped, and valid lane sleeper B is continued to be processed; if only valid lane sleeper B exists, valid lane sleeper B is used as the second reference valid lane sleeper for the next step; if valid lane sleeper B and valid lane sleeper C exist in the search space, the third matching probabilities of valid lane sleeper B and valid lane sleeper C with valid lane sleeper A are calculated respectively. Assuming that the third matching probability of valid lane sleeper B is greater than the third matching probability of valid lane sleeper C, valid lane sleeper B is used as the second reference valid lane sleeper for the next step.
[0085] In the space range set by the system in the opposite direction of the second reference valid lane sleeper, that is, the valid lane sleeper B, a search is performed to determine whether there is a valid lane sleeper A. If there is no valid lane sleeper A, the processing of the valid lane sleeper A is stopped, and the processing of the valid lane sleeper B is continued; if there is only valid lane sleeper A, the valid lane sleeper A is matched with the valid lane sleeper B, and a relationship is established between the valid lane sleeper A and the valid lane sleeper B, and a line is connected. If there are multiple valid lane sleepers including the valid lane sleeper A, the fourth matching probability of all searched valid lane sleepers and the valid lane sleeper B is calculated; if the similarity probability of the valid lane sleeper A is the largest among all searched valid lane sleepers, the valid lane sleeper A is matched with the valid lane sleeper B, and a relationship is established between the valid lane sleeper A and the valid lane sleeper B, and a line is connected; if the fourth matching probability of the valid lane sleeper A is not the largest among all searched valid lane sleepers, it is determined in turn whether the valid lane sleeper B has a predecessor relationship, a successor relationship, or a reverse predecessor relationship with the valid lane sleeper A. If the above relationship exists, the relationship between the effective lane sleeper A and the effective lane sleeper B is established and connected; if the above relationship does not exist, the processing of the effective lane sleeper A is stopped, and the effective lane sleeper B is processed in sequence until the processing of all effective lane sleepers is completed.
[0086] Step S306: fill the candidate lanes and generate road model data.
[0087] In the embodiments of the present application, step S306 can be implemented in any of the embodiments of the present application. The embodiments of the present application do not limit this and will not be described in detail.
[0088] Through the embodiments of the present application, candidate lanes can be generated for the identified lane line feature bounding box, and then road model data can be generated, which solves the problem that the existing automated algorithm is unstable and requires high labor costs.
[0089] See also Figure 6 , Figure 6 is a schematic diagram according to the third embodiment of the present application. Through the embodiment of the present application, the generated candidate lanes can be processed to generate road model data. Figure 6 As shown, the method for generating high-precision map road data based on hierarchical features may include but is not limited to the following steps.
[0090] Step S601: Acquire road point cloud data collected by a first sensor and road image data collected by a second sensor.
[0091] In the embodiments of the present application, step S601 can be implemented in any of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.
[0092] Step S602: identifying a lane feature bounding box based on the road point cloud data and the road image data.
[0093] In the embodiments of the present application, step S602 can be implemented in any of the embodiments of the present application. The embodiments of the present application do not limit this and will not be described in detail.
[0094] Step S603, generating candidate lane lines according to the lane line feature bounding box, and generating candidate lanes according to the candidate lane lines.
[0095] In the embodiments of the present application, step S603 may be implemented in any of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.
[0096] Step S604, scoring the candidate lane sleepers according to their respective predecessors and successors.
[0097] For example, after stringing together the candidate lane sleepers generated in the previous step, each candidate lane sleeper is used as a data node to generate a data linked list with a bidirectional linked list structure. For all candidate lane sleepers, the linked list nodes with the system-set length are taken before and after, and the score of the candidate lane sleeper is calculated based on this. The calculation formula is as follows.
[0098]
[0099] Among them, the string length coefficient l is the Euclidean mileage of the entire list, and maxLength is the length of the selected node list. Width coefficient w is the width variance of each candidate lane sleeper in the list, and the curvature coefficient c is the inverse of the list fitting curvature radius. After calculating the candidate lane sleeper score, it is compared with the threshold set by the system, and the lane sleepers with scores less than the threshold set by the system are removed.
[0100] Step S605, fill the road according to the scores from high to low, and identify the breakpoints of the fork intersections to determine the locations where the number of lanes changes.
[0101] See also Figure 7 , Figure 7 The flowchart of the deduplication operation of candidate lane sleepers provided in the embodiment of the present application is as follows. Figure 7 As shown, the screened candidate lane sleepers can be sorted in descending order according to the scores and de-duplicated in sequence.
[0102] For example, the selected candidate lane sleepers are sorted in descending order according to the scores, and the candidate lane sleepers are selected in order from high to low scores, and spatial matching is performed with the remaining selected candidate lane sleepers to determine whether there are overlapping candidate lane sleepers. If there are, the overlapping lane sleepers with the lane sleeper being processed are removed; if not, the next candidate lane sleeper is processed in order.
[0103] If some nodes in the data linked list generated based on the candidate lane sleepers have no predecessor or successor, then in the direction where the above-mentioned nodes have successors or predecessors, a list of the system-set length is selected to calculate the fitting slope of the node edge line, and the calculated fitting slope of the node edge line is compared with the fitting slope threshold set by the system. The nodes whose fitting slope of the edge line is greater than or equal to the fitting slope threshold set by the system are marked as export / import breakpoints; the nodes whose fitting slope of the edge line is less than the fitting slope threshold set by the system are marked as lane increase / decrease breakpoints.
[0104] For example, assuming that node a in the linked list has no predecessor, then taking node a as the starting point, a list of length M set by the system is selected in the direction of its successor, and the fitting slope of node a edge is calculated to be ρ1, which is compared with the fitting slope threshold ρ set by the system. If ρ1≥ρ, node a is used as the starting point for lane entry or exit; if ρ1<ρ, node a is used as the starting point for lane increase or decrease. Assuming that node b in the linked list has no successor, taking node b as the starting point, a list of length N set by the system is selected in the direction of its predecessor, and the fitting slope of node b edge is calculated to be ρ2, which is compared with the fitting slope threshold ρ set by the system. If ρ2≥ρ, node b is used as the starting point for lane entry or exit; if ρ1<ρ, node b is used as the starting point for lane increase or decrease. Among them, the selected list lengths M and N and the slope threshold ρ can be set by the system according to different situations.
[0105] Step S606, vectorizing the front and rear roads in data format according to their positions, and obtaining a vectorized data expression of the lane lines of the road.
[0106] Among them, the vectorized data expression of the lane lines of the road constitutes the road model.
[0107] For example, the obtained road model is quantified into a dot matrix digital image through optical-electrical conversion by computer graphics and imaging systems, and then, through image processing and curve vectorization, a vector map data file is generated that can be displayed, modified, annotated, roamed, calculated, managed and printed by a geographic information system.
[0108] Through the embodiments of the present application, candidate lanes can be generated for the identified lane line feature bounding box, and then road model data can be generated, which solves the problem that the existing automated algorithm is unstable and requires high labor costs.
[0109] After the road model is generated, the generated road model may be optimized, wherein the optimization may include but is not limited to lane width detection and / or lane line filling operations.
[0110] In some embodiments of the present application, lanes in the generated road model whose widths meet the splitting conditions may be split.
[0111] For example, the generated lane width can be compared with the lane width standard threshold set by the system, and if the lane width meets the judgment condition, the lane is evenly divided into two lanes according to the width. The judgment condition is as follows.
[0112] width∈[2w-μ, 2w+μ]
[0113] Among them, width is the generated lane width, w is the lane standard width threshold set by the system, and μ is the completion error, which can be adjusted by the system according to specific circumstances.
[0114] In some embodiments of the present application, lanes with missing lane lines in the road model may be completed based on the predecessors and successors of the lanes in the generated road model.
[0115] For example, in the data linked list generated based on candidate lane sleepers, for nodes without predecessor or successor nodes, the spatial index can be used to bind the nodes to adjacent nodes according to the position relationship. If the adjacent bound nodes have predecessors or successors, the nodes without predecessors or successors can be filled. Figure 8 , Figure 8 A schematic diagram of lane line completion provided in an embodiment of the present application.
[0116] See also Fig. 9 , Fig. 9 A schematic diagram of the structure of a device for generating high-precision map road data based on hierarchical features provided in an embodiment of the present application, Fig. 9 The device shown may include an acquisition module 901, a first processing module 902, a second processing module 903, and a third processing module 904.
[0117] In an embodiment of the present application, an acquisition module 901 is used to acquire road point cloud data collected by a first sensor and road image data collected by a second sensor; a first processing module 902 is used to identify a lane line feature bounding box based on the road point cloud data and the road image data; a second processing module 903 is used to generate a candidate lane line based on the lane line feature bounding box, and to generate a candidate lane based on the candidate lane line; and a third processing module 904 is used to perform road filling on the candidate lanes and generate road model data.
[0118] In one implementation, the second processing module 903 is specifically used to perform clustering and deduplication operations on multiple lane line feature bounding boxes at the same location point to obtain a valid lane line feature bounding box; and generate a candidate lane line based on the valid lane line feature bounding box.
[0119] In an optional implementation, the second processing module 903 is specifically used to perform a nearest neighbor spatial index search for each identified lane line feature bounding box, and calculate the similarity for each searched matching pair; perform match filtering on each identified lane line feature bounding box according to the similarity, and group the lane line feature bounding boxes based on the match filtering results; select a lane line feature bounding box from each group, and determine the selected lane line feature bounding box as a valid lane line feature bounding box.
[0120] Optionally, the second processing module 903 is specifically configured to sort the lane feature bounding boxes remaining after matching filtering in reverse order according to the bounding box lengths; and group the lane feature bounding boxes that have been sorted in reverse order based on the matching filtering result.
[0121] In an optional implementation, the second processing module 903 is specifically used to determine a feature sorting list consisting of valid lane line feature bounding boxes; perform candidate forward search and candidate reverse search on the valid lane line feature bounding boxes in the feature sorting list in order to determine the predecessors and successors of the respective valid lane line feature bounding boxes; generate candidate lane lines based on the valid lane line feature bounding boxes and their respective predecessors and successors.
[0122] In one implementation, the second processing module 903 is specifically used to uniformly sample candidate lane lines at preset intervals to generate sampling points; perform spatial search on the sampling points based on preset lane sleeper validity conditions to identify candidate lane sleepers between candidate lane lines; determine a sleeper sorting list consisting of candidate lane sleepers; perform candidate forward search and candidate reverse search on the candidate lane sleepers in the sleeper sorting list in order to determine the predecessors and successors of the candidate lane sleepers; and generate candidate lanes based on the candidate lane sleepers and their respective predecessors and successors.
[0123] In one implementation, the third processing module 904 is specifically used to score the candidate lanes according to their respective predecessors and successors; fill the roads from high to low according to the scores, and identify the break points of the bifurcated intersections to determine the locations where the number of lanes changes; vectorize the front and rear roads in data format according to the positions to obtain the vectorized data expression of the lane lines of the road; wherein the vectorized data expression of the lane lines of the road constitutes a road model.
[0124] In one implementation, the device for generating high-precision map road data based on hierarchical features further includes: a fourth processing module, and / or a fifth processing module. As an example, Fig.10 As shown, the high-precision map road data generation device based on hierarchical features may also include a fourth processing module 1005 and a fifth processing module 1006. The fourth processing module 1005 is used to split the lanes in the generated road model whose width meets the splitting condition; the fifth processing module 1006 is used to fill in the lanes with missing lane lines in the road model based on the predecessors and successors of the lanes in the generated road model. Fig.10 1001-1004 and Fig. 9 901-904 have the same function and structure.
[0125] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0126] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0127] like Fig.11 , is a block diagram of an electronic device according to a method for generating high-precision map road data based on hierarchical features according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0128] like Fig.11 As shown, the electronic device includes: one or more processors 1101, a memory 1102, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.11 A processor 1101 is taken as an example.
[0129] The memory 1102 is a non-transitory computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to execute the method for generating high-precision map road data based on hierarchical features provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to execute the method for generating high-precision map road data based on hierarchical features provided in the present application.
[0130] The memory 1102 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the method for generating high-precision map road data based on hierarchical features in the embodiment of the present application (for example, the attached Fig. 9 The processor 1101 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 1102, that is, the method for generating high-precision map road data based on hierarchical features in the above method embodiment is implemented.
[0131] The memory 1102 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of an electronic device of a method for generating high-precision map road data based on hierarchical features, etc. In addition, the memory 1102 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 1102 may optionally include a memory remotely disposed relative to the processor 1101, and these remote memories may be connected to the electronic device of the method for generating high-precision map road data based on hierarchical features via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0132] The electronic device of the method for generating high-precision map road data based on hierarchical features may also include: an input device 1103 and an output device 1104. The processor 1101, the memory 1102, the input device 1103 and the output device 1104 may be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.
[0133] The input device 1103 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device of the high-precision map road data generation method based on hierarchical features, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 1104 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.
[0134] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), 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.
[0135] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0136] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0137] The systems and techniques described herein can 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 can 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), the Internet, and a blockchain network.
[0138] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server 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 ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0139] According to the technical solution of the embodiment of the present application, the problem of unstable automation algorithm and high labor cost in the existing high-precision map data production process is solved.
[0140] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.
[0141] The above specific implementations do not constitute a limitation on the protection scope of this application. 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 modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for generating high-precision map road data based on hierarchical features, comprising: Acquire road point cloud data collected by a first sensor and road image data collected by a second sensor, where the second sensor is an image sensor; Identify a lane feature bounding box based on the road point cloud data and the road image data; Generating a candidate lane line according to the lane line feature bounding box, and generating a candidate lane according to the candidate lane line; Performing road filling on the candidate lanes to generate road model data; The identifying the lane feature bounding box according to the road point cloud data and the road image data comprises: Using a pre-trained model to identify lane line features on the road point cloud data and the road image data, respectively, to obtain a plurality of lane line feature bounding boxes; The step of generating a candidate lane according to the candidate lane line includes: Uniformly sampling the candidate lane lines at preset intervals to generate sampling points; Performing a spatial search on the sampling points based on a preset lane sleeper validity condition to identify a candidate lane sleeper between the candidate lane lines; Determining a sleeper ranking list consisting of the candidate lane sleepers; Performing candidate forward search and candidate reverse search on the candidate lane sleepers in the sleeper sorting list in order to determine the predecessor and successor of each of the candidate lane sleepers; A candidate lane is generated based on the candidate lane sleepers and their respective predecessors and successors.
2. The method according to claim 1, wherein: The generating a candidate lane line according to the lane line feature bounding box comprises: Cluster and remove duplicates of multiple lane feature bounding boxes at the same location to obtain valid lane feature bounding boxes; Generate a candidate lane line according to the valid lane line feature bounding box.
3. The method according to claim 2, wherein: The clustering and deduplication operations are performed on multiple lane line feature bounding boxes at the same position point to obtain a valid lane line feature bounding box, including: Perform a nearest neighbor spatial index search for each identified lane feature bounding box, and calculate the similarity for each searched matching pair; Performing matching filtering on each of the identified lane feature bounding boxes according to the similarity, and grouping the lane feature bounding boxes based on the matching filtering results; A lane line feature bounding box is selected from each of the groups, and the selected lane line feature bounding box is determined as a valid lane line feature bounding box.
4. The method according to claim 3, wherein: The grouping of lane feature bounding boxes based on the matching filtering result includes: Sort the lane feature bounding boxes remaining after matching filtering in descending order according to the bounding box length; Based on the matching filtering results, the lane feature bounding boxes that have been sorted in reverse order are grouped.
5. The method according to claim 2, wherein: The generating a candidate lane line according to the valid lane line feature bounding box includes: Determine a feature sorting list consisting of the valid lane feature bounding boxes; Perform candidate forward search and candidate reverse search on the valid lane feature bounding boxes in the feature sorting list in order to determine the predecessor and successor of each of the valid lane feature bounding boxes; A candidate lane line is generated according to the valid lane line feature bounding box and its respective predecessors and successors.
6. The method according to claim 1, wherein: The step of filling the candidate lanes to generate road model data includes: Scoring the candidate lane sleepers according to their respective predecessors and successors; Fill the road from high to low according to the score, and identify the breakpoints at the fork intersection to determine the location where the number of lanes changes; According to the positions, the front and rear roads are respectively vectorized in data format to obtain a vectorized data expression of the lane lines of the road; wherein the vectorized data expression of the lane lines of the road constitutes the road model.
7. The method according to claim 1, further comprising: Splitting lanes whose widths satisfy splitting conditions in the generated road model; And / or, based on the generated predecessor and successor of the lane in the road model, lanes with missing lane lines in the road model are completed.
8. A device for generating high-precision map road data based on hierarchical features, comprising: An acquisition module, used to acquire road point cloud data acquired by a first sensor and road image data acquired by a second sensor, where the second sensor is an image sensor; A first processing module, configured to identify a lane feature bounding box based on the road point cloud data and the road image data; A second processing module, used to generate a candidate lane line according to the lane line feature bounding box, and generate a candidate lane according to the candidate lane line; A third processing module is used to perform road filling on the candidate lanes to generate road model data; The first processing module is specifically used for: Using a pre-trained model to identify lane line features on the road point cloud data and the road image data, respectively, to obtain a plurality of lane line feature bounding boxes; Wherein, the second processing module is specifically used for: Uniformly sampling the candidate lane lines at preset intervals to generate sampling points; Performing a spatial search on the sampling points based on a preset lane sleeper validity condition to identify a candidate lane sleeper between the candidate lane lines; Determining a sleeper ranking list consisting of the candidate lane sleepers; Performing candidate forward search and candidate reverse search on the candidate lane sleepers in the sleeper sorting list in order to determine the predecessor and successor of each of the candidate lane sleepers; A candidate lane is generated based on the candidate lane sleepers and their respective predecessors and successors.
9. The device according to claim 8, wherein: The second processing module is specifically used for: Cluster and remove duplicates of multiple lane feature bounding boxes at the same location to obtain valid lane feature bounding boxes; Generate a candidate lane line according to the valid lane line feature bounding box.
10. The device according to claim 9, wherein: The second processing module is specifically used for: Perform a nearest neighbor spatial index search for each identified lane feature bounding box, and calculate the similarity for each searched matching pair; Performing matching filtering on each of the identified lane feature bounding boxes according to the similarity, and grouping the lane feature bounding boxes based on the matching filtering results; A lane line feature bounding box is selected from each of the groups, and the selected lane line feature bounding box is determined as a valid lane line feature bounding box.
11. The device according to claim 10, wherein: The second processing module is specifically used for: Sort the lane feature bounding boxes remaining after matching filtering in descending order according to the bounding box length; Based on the matching filtering results, the lane feature bounding boxes that have been sorted in reverse order are grouped.
12. The device according to claim 9, wherein: The second processing module is specifically used for: Determine a feature sorting list consisting of the valid lane feature bounding boxes; Perform candidate forward search and candidate reverse search on the valid lane feature bounding boxes in the feature sorting list in order to determine the predecessor and successor of each of the valid lane feature bounding boxes; A candidate lane line is generated according to the valid lane line feature bounding box and its respective predecessors and successors.
13. The device according to claim 8, wherein: The third processing module is specifically used for: Scoring the candidate lanes according to the predecessors and successors of the sleepers of the candidate lanes; Fill the road from high to low according to the score, and identify the breakpoints at the fork intersection to determine the location where the number of lanes changes; According to the positions, the front and rear roads are respectively vectorized in data format to obtain a vectorized data expression of the lane lines of the road; wherein the vectorized data expression of the lane lines of the road constitutes the road model.
14. The apparatus according to claim 8, further comprising: A fourth processing module, configured to split lanes whose widths satisfy the splitting condition in the generated road model; And / or, a fifth processing module, for completing lanes with missing lane lines in the road model based on the generated predecessors and successors of the lanes in the road model.
15. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
16. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 7.
17. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.
