Method, device, equipment and storage medium for generating lane lines of high-precision maps

By synchronizing the system time of the vehicle camera and the RTK device and using timestamps to match lane line pixel coordinate points, combined with position compensation coefficient optimization and fitting, the problem of lane line deviation in high-precision maps is solved and the drawing accuracy of high-precision maps is improved.

CN114526746BActive Publication Date: 2024-09-06ZHIDAO NETWORK TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210253522.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-15
Publication Date
2024-09-06
Estimated Expiration
2042-03-15

AI Technical Summary

Technical Problem

There is a significant deviation between the lane lines generated by high-precision maps and the actual lane lines of the road, causing the accuracy of the drawn high-precision maps to fall short of standards.

Method used

By synchronizing the system time of the vehicle camera and the RTK device, the vehicle positioning information and road images are obtained, the timestamp is used to match the vehicle spatial coordinate points of the lane line pixel coordinate points, and fitting is performed to obtain the lane line, and the lane line is optimized by combining the position compensation coefficient Fitting results.

Benefits of technology

It improves the drawing accuracy of high-precision maps, ensures that the fitted lane lines match the actual lane lines on the road, and reduces deviations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114526746B
    Figure CN114526746B
Patent Text Reader

Abstract

The present application relates to a method, device, equipment and storage medium for generating lane lines in a high-precision map. The method includes: synchronizing the system time of a vehicle camera and an RTK device; obtaining the vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points; collecting road images uploaded by the vehicle camera; identifying and processing the road images to obtain lane line pixel coordinate points in the road images; using the timestamp as an index factor, and using the timestamp to match the vehicle spatial coordinate points corresponding to the lane line pixel coordinate points; fitting the vehicle spatial coordinate points to obtain lane lines. Since the present application pre-synchronizes the system time of the vehicle camera and the RTK device, when using the timestamp to match the vehicle spatial coordinate points corresponding to the lane line pixel coordinate points, it can optimize the deviation based on the timestamp, so that the fitted lane lines will not have obvious deviations from the actual lane lines on the road, thereby improving the drawing accuracy of high-precision maps.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of high-precision map technology, and in particular to a method, device, equipment and storage medium for generating high-precision map lane lines. Background Art

[0002] High-precision maps are an indispensable infrastructure for autonomous driving. The drawing of high-precision maps uses cameras and sensors installed on vehicles to identify roads and collect point cloud data about roads to complete the drawing of high-precision maps.

[0003] Lane lines are one of the basic elements of high-precision maps and are an indispensable element in the process of drawing high-precision maps. In related technologies, there is a significant deviation between the lane lines generated by high-precision maps and the actual lane lines on the road, resulting in the high-precision maps drawn not meeting the accuracy standards. Summary of the invention

[0004] In order to solve or partially solve the problems existing in the related art, the present application provides a method, device, equipment and storage medium for generating lane lines of a high-precision map, which can improve the drawing accuracy of the high-precision map.

[0005] The first aspect of the present application provides a method for generating lane lines in a high-precision map, comprising:

[0006] Synchronize the system time of the vehicle camera and RTK equipment;

[0007] Acquire vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points;

[0008] Collecting road images uploaded by the vehicle camera;

[0009] Performing recognition processing on the road image to obtain lane line pixel coordinate points in the road image;

[0010] Using the timestamp as an index factor, the timestamp is used to match the vehicle space coordinate point corresponding to the lane line pixel coordinate point;

[0011] The vehicle space coordinate points are fitted to obtain lane lines.

[0012] Preferably, the synchronization of the vehicle camera and the system time of the RTK device includes:

[0013] Obtain the vehicle camera system time and RTK device system time at different times multiple times;

[0014] Calculating the difference between the vehicle camera system time and the RTK device system time at different times to obtain multiple system time differences;

[0015] Calculate the average of the plurality of system time differences to obtain a target system time difference;

[0016] The system time of the vehicle camera and the system time of the RTK device are synchronized according to the target system time difference.

[0017] Preferably, after synchronizing the system time of the vehicle camera and the RTK device, the method further includes:

[0018] According to the position of the vehicle camera and the position of the RTK device, a position compensation coefficient is calculated; and then executed

[0019] Acquire vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points;

[0020] After using the timestamp as an index factor and matching the vehicle space coordinate point corresponding to the lane line pixel coordinate point using the timestamp, the method further includes:

[0021] Adding the vehicle space coordinate point and the position compensation coefficient to obtain a target vehicle space coordinate point;

[0022] The step of fitting the vehicle space coordinate points to obtain lane lines includes:

[0023] The spatial coordinate points of the target vehicle are fitted to obtain lane lines.

[0024] Preferably, calculating the position compensation coefficient according to the position of the vehicle camera and the position of the RTK device includes:

[0025] Obtain vehicle speed and select a certain position on the road as a reference position;

[0026] Determining the passing time of the vehicle camera and the RTK device respectively passing through the reference position;

[0027] Subtracting the passing time of the RTK device passing the reference position from the passing time of the vehicle camera passing the reference position to obtain a first passing time difference;

[0028] The vehicle speed is multiplied by the first passing time difference to obtain a position compensation coefficient.

[0029] Preferably, after subtracting the passing time of the vehicle camera passing the reference position from the passing time of the RTK device passing the reference position to obtain the first passing time difference, the method further includes:

[0030] Allowing the vehicle camera and the RTK device to pass through the reference position again, and determining the passing time of the vehicle camera and the RTK device respectively passing through the reference position;

[0031] Subtracting the passing time of the RTK device passing the reference position from the passing time of the vehicle camera passing the reference position again to obtain a second passing time difference;

[0032] Calculating the mean of the first passing time difference and the second passing time difference to obtain a target passing time difference;

[0033] The vehicle speed is multiplied by the first passing time difference to obtain a position compensation coefficient, including:

[0034] The vehicle speed is multiplied by the target passing time difference to obtain a position compensation coefficient.

[0035] Preferably, the step of adding the vehicle space coordinate point to the position compensation coefficient to obtain the target vehicle space coordinate point comprises:

[0036] Convert the vehicle space coordinate point to the UTM coordinate system;

[0037] Adding the vehicle space coordinate point in the UTM coordinate system to the position compensation coefficient to obtain a corrected vehicle space coordinate point in the UTM coordinate system;

[0038] The corrected vehicle space coordinate point in the UTM coordinate system is converted to the WGS84 coordinate system to obtain the target vehicle space coordinate point.

[0039] A second aspect of the present application provides a high-precision map lane line generation device, comprising:

[0040] Synchronization module, used to synchronize the system time of the vehicle camera and RTK equipment;

[0041] An acquisition module is used to acquire vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points;

[0042] An acquisition module, used for acquiring the road image uploaded by the vehicle camera;

[0043] An identification processing module, used to perform identification processing on the road image to obtain lane line pixel coordinate points in the road image;

[0044] An indexing module, configured to use a timestamp as an index factor and use the timestamp to match a vehicle space coordinate point corresponding to the lane line pixel coordinate point;

[0045] The fitting module is used to fit the vehicle space coordinate points to obtain lane lines.

[0046] Preferably, it also includes:

[0047] A calculation module, used for calculating a position compensation coefficient according to the position of the vehicle camera and the position of the RTK device;

[0048] A compensation module, adding the vehicle space coordinate point and the position compensation coefficient to obtain a target vehicle space coordinate point;

[0049] The fitting module is used to fit the vehicle space coordinate points to obtain lane lines, including:

[0050] The spatial coordinate points of the target vehicle are fitted to obtain lane lines.

[0051] A third aspect of the present application provides an electronic device, including:

[0052] Processor; and

[0053] A memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the database cluster high availability processing method as described above.

[0054] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor executes the database cluster high-availability processing method as described above.

[0055] The technical solution provided by this application may have the following beneficial effects:

[0056] The technical solution of the present application includes: synchronizing the system time of the vehicle camera and the RTK device; obtaining the vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points; collecting road images uploaded by the vehicle camera; identifying and processing the road images to obtain lane line pixel coordinate points in the road images; using the timestamp as an index factor, and using the timestamp to match the vehicle spatial coordinate points corresponding to the lane line pixel coordinate points; fitting the vehicle spatial coordinate points to obtain the lane lines. Since the present application pre-synchronizes the system time of the vehicle camera and the RTK device, when using the timestamp to match the vehicle spatial coordinate points corresponding to the lane line pixel coordinate points, it can optimize the deviation based on the timestamp, so that the final fitted lane lines will not have obvious deviations from the actual lane lines on the road, thereby improving the drawing accuracy of high-precision maps.

[0057] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The above and other objects, features and advantages of the present application will become more apparent by describing in more detail exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.

[0059] Figure 1 It is a flowchart of a method for generating lane lines of a high-precision map in an embodiment of the present application;

[0060] Figure 2 It is a flowchart of a method for generating lane lines of a high-precision map in one embodiment of the present application;

[0061] Figure 3 It is a structural schematic diagram of a high-precision map lane line generating device in an embodiment of the present application;

[0062] Figure 4 It is a structural schematic diagram of a high-precision map lane line generation device in one embodiment of the present application;

[0063] Figure 5 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0064] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0065] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0066] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0067] In the related art, there is a significant deviation between the lane lines generated by the high-precision map and the actual lane lines on the road, resulting in the high-precision map being drawn with substandard accuracy. Therefore, in order to solve the above technical problems, the present application provides a method, device, equipment and storage medium for generating lane lines on a high-precision map, which can improve the drawing accuracy of the high-precision map.

[0068] The technical solution of the present application is described in detail below with reference to the accompanying drawings.

[0069] Figure 1 A flow chart of a method for generating lane lines in a high-precision map in an embodiment of the present application is shown.

[0070] See also Figure 1 , a method for generating lane lines in a high-precision map, comprising the following steps:

[0071] Step S11, synchronizing the system time of the vehicle camera and the RTK device.

[0072] The vehicle camera is a camera installed on the vehicle to collect video stream data about the road. The RTK device is a positioning device installed on the vehicle to perform GPS positioning on the vehicle.

[0073] The vehicle camera and RTK device each have their own system time, and there will be a certain deviation between the system time of the vehicle camera and the system time of the RTK device. In order to unify the system time, it is necessary to synchronize the system time of the vehicle camera with the system time of the RTK device. The time synchronization can be performed in the following ways:

[0074] 1) Obtain the vehicle camera system time and RTK device system time at different times multiple times.

[0075] For example, the vehicle camera system time {T1, T2, T3, T4, T5} and the RTK device system time {t1, t2, t3, t4, t5} at 10:15:10 on March 11, 2022, 10:15:11 on March 11, 2022, 10:15:13 on March 11, 2022, 10:15:14 on March 11, 2022, and 10:15:15 on March 11, 2022 are counted.

[0076] 2) Calculate the difference between the vehicle camera system time and the RTK device system time at different times to obtain multiple system time differences.

[0077] The system time differences {ΔT1, ΔT2, ΔT3, ΔT4, ΔT5} corresponding to different times are calculated according to different times, wherein ΔT1=T1-t1, ΔT2=T2-t2, ΔT3=T3-t3, ΔT4=T4-t4, ΔT5=T5-t5.

[0078] 3) Calculate the average of multiple system time differences to obtain the target system time difference.

[0079] The time difference of multiple systems is averaged according to the preset average algorithm to obtain the target system time difference T target =(ΔT1+ΔT2+ΔT3+ΔT4+ΔT5) / 5.

[0080] 4) Synchronize the system time of the vehicle camera and the RTK device based on the target system time difference.

[0081] Calculate the target system time difference T target Then, the system time of the vehicle camera and the target system time difference T target Adding them together enables the system time of the vehicle camera to be synchronized with the system time of the RTK device.

[0082] Step S12: Acquire vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points.

[0083] After the time synchronization operation is completed, the vehicle positioning information in the RTK device is obtained. The vehicle positioning information includes the vehicle space coordinate point, and the vehicle space coordinate point is the GPS positioning data.

[0084] Step S13: collecting road images uploaded by the vehicle camera.

[0085] The vehicle camera installed in the vehicle will collect video stream data about the road, and the video stream data is video stream data composed of frame by frame road images.

[0086] Step S14: perform recognition processing on the road image to obtain lane line pixel coordinate points in the road image.

[0087] The road image is recognized and processed, and binarization, noise filtering, edge detection, region of interest processing and Hough transform processing are performed on the road image in sequence, so that the pixel coordinate points of the lane lines in the road image can be obtained.

[0088] Step S15: Use the timestamp as an index factor and use the timestamp to match the vehicle space coordinate point corresponding to the lane line pixel coordinate point.

[0089] Since the system time of the vehicle camera and the system time of the RTK device have been synchronized, the vehicle camera will collect road images at every moment, and the RTK device will also locate the vehicle at every moment. Therefore, the road image carries timestamp data, and similarly, the vehicle positioning information also carries timestamp data. The timestamp can be used as an index factor to match the vehicle spatial coordinate point corresponding to the lane line pixel coordinate point based on the timestamp.

[0090] Step S16: Fit the vehicle space coordinate points to obtain lane lines.

[0091] Based on the timestamp matching of the vehicle space coordinate points corresponding to the lane line pixel coordinate points, the vehicle space coordinate points are fitted to obtain the lane line. Since the system time of the vehicle camera and the RTK device are synchronized in advance, when the timestamp is used to match the vehicle space coordinate points corresponding to the lane line pixel coordinate points, the deviation can be optimized based on the timestamp, so that the final fitted lane line will not have a significant deviation from the actual lane line on the road, thereby improving the drawing accuracy of the high-precision map.

[0092] Figure 2 A flowchart of a method for generating lane lines in a high-precision map in one embodiment of the present application is shown.

[0093] See also Figure 2 , a method for generating lane lines in a high-precision map, comprising the following steps:

[0094] Step S21, synchronizing the system time of the vehicle camera and the RTK device.

[0095] The vehicle camera is a camera installed on the vehicle to collect video stream data about the road. The RTK device is a positioning device installed on the vehicle to perform GPS positioning on the vehicle.

[0096] The vehicle camera and RTK device each have their own system time, and there will be a certain deviation between the system time of the vehicle camera and the system time of the RTK device. In order to unify the system time, it is necessary to synchronize the system time of the vehicle camera with the system time of the RTK device. The time synchronization can be performed in the following ways:

[0097] 1) Obtain the vehicle camera system time and RTK device system time at different times multiple times.

[0098] For example, the vehicle camera system time {T1, T2, T3, T4, T5} and the RTK device system time {t1, t2, t3, t4, t5} at 10:15:10 on March 11, 2022, 10:15:11 on March 11, 2022, 10:15:13 on March 11, 2022, 10:15:14 on March 11, 2022, and 10:15:15 on March 11, 2022 are counted.

[0099] 2) Calculate the difference between the vehicle camera system time and the RTK device system time at different times to obtain multiple system time differences.

[0100] The system time differences {ΔT1, ΔT2, ΔT3, ΔT4, ΔT5} corresponding to different times are calculated according to different times, wherein ΔT1=T1-t1, ΔT2=T2-t2, ΔT3=T3-t3, ΔT4=T4-t4, ΔT5=T5-t5.

[0101] 3) Calculate the average of multiple system time differences to obtain the target system time difference.

[0102] The time difference of multiple systems is averaged according to the preset average algorithm to obtain the target system time difference T target =(ΔT1+ΔT2+ΔT3+ΔT4+ΔT5) / 5.

[0103] 4) Synchronize the system time of the vehicle camera and the RTK device based on the target system time difference.

[0104] Calculate the target system time difference T target Then, the system time of the vehicle camera and the target system time difference T target Adding them together enables the system time of the vehicle camera to be synchronized with the system time of the RTK device.

[0105] Step S22: Calculate the position compensation coefficient according to the position of the vehicle camera and the position of the RTK device.

[0106] Since the vehicle camera and RTK device are installed at different positions (the vehicle camera is generally installed at the front of the vehicle, while the RTK device is generally installed at the rear of the vehicle), it is necessary to calculate the position compensation coefficient based on the position of the vehicle camera and the position of the RTK device. The specific method is as follows:

[0107] Step S221a, obtaining vehicle speed V 车 , and select a location on the road as the reference location.

[0108] For example, to obtain the vehicle speed V 车 =3 m / s.

[0109] Step S222a: Determine the passing time of the vehicle camera and the RTK device through the reference position respectively.

[0110] For example, it is determined that the time when the vehicle camera passes the reference position is 12:54 on March 11, 2022, and the time when the RTK device passes the reference position is 12:54:03 on March 11, 2022.

[0111] Step S223a, subtract the passing time of the RTK device passing the reference position from the passing time of the vehicle camera passing the reference position to obtain a first passing time difference.

[0112] The passing time of the RTK device passing the reference position is subtracted from the passing time of the vehicle camera passing the reference position to obtain a first passing time difference ΔK1 = 12:54:03 March 11, 2022 - 12:54 March 11, 2022 = 3 seconds.

[0113] Step S224a: Set the vehicle speed V 车 Multiplying it by the first passing time difference ΔK1 obtains the position compensation coefficient Pcc.

[0114] According to the vehicle speed V 车 The time difference with the first passing time is ΔK1=3*3=9 meters, and the position compensation coefficient Pcc=9 meters is calculated at this time.

[0115] Furthermore, in order to make the calculated position compensation coefficient Pcc more accurate, in some embodiments, the position compensation coefficient Pcc may also be calculated in the following manner:

[0116] Step S221b, obtaining vehicle speed V 车 , and select a location on the road as the reference location.

[0117] For example, to obtain the vehicle speed V 车 =3 m / s.

[0118] Step S222b: determine the passing time of the vehicle camera and the RTK device respectively passing through the reference position.

[0119] For example, it is determined that the time when the vehicle camera passes the reference position is 12:54 on March 11, 2022, and the time when the RTK device passes the reference position is 12:54:03 on March 11, 2022.

[0120] Step S223b: subtract the passing time of the RTK device passing the reference position from the passing time of the vehicle camera passing the reference position to obtain a first passing time difference ΔK1.

[0121] The passing time of the RTK device passing the reference position is subtracted from the passing time of the vehicle camera passing the reference position to obtain a first passing time difference ΔK1 = 12:54:03 March 11, 2022 - 12:54 March 11, 2022 = 3 seconds.

[0122] Step S224b: let the vehicle camera and the RTK device pass through the reference position again, and determine the passing time of the vehicle camera and the RTK device passing through the reference position respectively.

[0123] For example, it is determined that the time when the vehicle camera passes the reference position again is 12:54 on March 11, 2022, and the time when the RTK device passes the reference position again is 12:54:05 on March 11, 2022.

[0124] Step S225b: again subtract the passing time of the RTK device passing the reference position from the passing time of the vehicle camera passing the reference position to obtain a second passing time difference ΔK2.

[0125] The passing time of the RTK device passing the reference position is subtracted from the passing time of the vehicle camera passing the reference position again to obtain the second passing time difference ΔK2 = 12:54:05 on March 11, 2022 - 12:54 on March 11, 2022 = 5 seconds.

[0126] Step S226b, calculating the mean of the first passing time difference and the second passing time difference to obtain a target passing time difference;

[0127] The first passing time difference ΔK1 and the second passing time difference ΔK2 are averaged to obtain the target passing time difference K target =(5+2) / 2=3.5 seconds.

[0128] Step S227b: Set the vehicle speed V 车 The time difference between the target and the target K target Multiply them to get the position compensation coefficient.

[0129] According to the vehicle speed V 车 The time difference between the target and the target K target =3*3.5=10.5 meters, and the position compensation coefficient Pcc is calculated to be 10.5 meters. Since the position compensation coefficient Pcc is calculated by the average of the time difference between the two previous and subsequent reference positions, the error can be further eliminated.

[0130] Step S23: Acquire vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points.

[0131] After completing the time synchronization operation and calculating the position compensation coefficient, the vehicle positioning information in the RTK device is obtained. The vehicle positioning information includes the vehicle space coordinate point, and the vehicle space coordinate point is the GPS positioning data.

[0132] Step S24: collecting road images uploaded by the vehicle camera.

[0133] The vehicle camera installed in the vehicle will collect video stream data about the road, and the video stream data is video stream data composed of frame by frame road images.

[0134] Step S25: perform recognition processing on the road image to obtain lane line pixel coordinate points in the road image.

[0135] The road image is recognized and processed, and binarization, noise filtering, edge detection, region of interest processing and Hough transform processing are performed on the road image in sequence, so that the pixel coordinate points of the lane lines in the road image can be obtained.

[0136] Step S26: Use the timestamp as an index factor and use the timestamp to match the vehicle space coordinate point corresponding to the lane line pixel coordinate point.

[0137] Since the system time of the vehicle camera and the system time of the RTK device have been synchronized, the vehicle camera will collect road images at every moment, and the RTK device will also locate the vehicle at every moment. Therefore, the road image carries timestamp data, and similarly, the vehicle positioning information also carries timestamp data. The timestamp can be used as an index factor to match the vehicle spatial coordinate point corresponding to the lane line pixel coordinate point based on the timestamp.

[0138] Step S27: Add the vehicle space coordinate point and the position compensation coefficient to obtain the target vehicle space coordinate point.

[0139] The position compensation coefficient Pcc is used to compensate the vehicle space coordinate point. The specific method is as follows: convert the vehicle space coordinate point to the UTM coordinate system; add the vehicle space coordinate point in the UTM coordinate system to the position compensation coefficient to obtain the corrected vehicle space coordinate point in the UTM coordinate system; convert the corrected vehicle space coordinate point in the UTM coordinate system to the WGS84 coordinate system to obtain the target vehicle space coordinate point. In this way, the vehicle space coordinate point can be position compensated.

[0140] Step S28: Fit the spatial coordinate points of the target vehicle to obtain lane lines.

[0141] Based on the timestamp, the vehicle space coordinate point corresponding to the lane line pixel coordinate point is matched, and then the vehicle space coordinate point is added to the position compensation coefficient to obtain the target vehicle space coordinate point, and the target vehicle space coordinate point is fitted to obtain the lane line. Since the system time of the vehicle camera and the RTK device are synchronized in advance, and position compensation is also performed at the same time, the fitted lane line can be further made closer to the actual lane line on the road (especially at the turning part or intersection of the lane line), that is, the error is optimized, thereby improving the drawing accuracy of the high-precision map.

[0142] Corresponding to the aforementioned functional method embodiments, the present application provides a high-precision map lane line generation device and corresponding embodiments.

[0143] Figure 3 A schematic diagram of the structure of a high-precision map lane line generation device in an embodiment of the present application is shown.

[0144] See also Figure 3 A high-precision map lane line generation device 30 includes: a synchronization module 310, an acquisition module 320, a collection module 330, a recognition and processing module 340, an index module 350 and a fitting module 360.

[0145] The synchronization module 310 is used to synchronize the system time of the vehicle camera and the RTK device.

[0146] The acquisition module 320 is used to acquire the vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle space coordinate points.

[0147] The acquisition module 330 is used to acquire road images uploaded by the vehicle camera.

[0148] The recognition processing module 340 is used to perform recognition processing on the road image to obtain the pixel coordinate points of the lane lines in the road image.

[0149] The index module 350 is used to use the timestamp as an index factor and use the timestamp to match the vehicle space coordinate point corresponding to the lane line pixel coordinate point.

[0150] The fitting module 360 ​​is used to fit the vehicle space coordinate points to obtain lane lines.

[0151] In the device of this embodiment, the synchronization module 310 is used to synchronize the system time of the vehicle camera and the RTK device, and the acquisition module 320 is used to acquire the vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points. The acquisition module 330 is used to acquire the road image uploaded by the vehicle camera, the recognition and processing module 340 is used to perform recognition and processing on the road image to obtain the lane line pixel coordinate points in the road image, the index module 350 is used to use the timestamp as the index factor, and use the timestamp to match the vehicle spatial coordinate points corresponding to the lane line pixel coordinate points, and the fitting module 360 ​​is used to fit the vehicle spatial coordinate points to obtain the lane line. Since the system time of the vehicle camera and the RTK device is synchronized in advance in this application, when the timestamp is used to match the vehicle spatial coordinate points corresponding to the lane line pixel coordinate points, the deviation can be optimized based on the timestamp, so that the final fitted lane line will not have a significant deviation from the actual lane line in the road, thereby improving the drawing accuracy of the high-precision map.

[0152] Figure 4 A schematic diagram of the structure of a high-precision map lane line generation device in one embodiment of the present application is shown.

[0153] See also Figure 4 A high-precision map lane line generation device 30 includes: a synchronization module 310, a calculation module 370, an acquisition module 320, a collection module 330, a recognition processing module 340, an index module 350, a compensation module 380 and a fitting module 360.

[0154] The functions of the synchronization module 310, the acquisition module 320, the collection module 330, the identification processing module 340, and the indexing module 350 are shown in FIG. Figure 3 The relevant description in will not be repeated here.

[0155] The calculation module 370 is used to calculate the position compensation coefficient according to the position of the vehicle camera and the position of the RTK device;

[0156] The compensation module 380 adds the vehicle space coordinate point and the position compensation coefficient to obtain the target vehicle space coordinate point;

[0157] The fitting module 360 ​​is used to fit the spatial coordinate points of the target vehicle to obtain lane lines.

[0158] Regarding the devices and systems in the above embodiments, the specific manners in which the various modules and units perform operations have been described in detail in the method embodiments corresponding to the devices and systems, and will not be elaborated on again here.

[0159] See also Figure 5 , the electronic device 500 includes a processor 510 and a memory 520 .

[0160] The processor 510 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0161] The memory 520 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage. Among them, ROM can store static data or instructions required by the processor 510 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 520 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. The memory 520 stores executable codes, and when the executable codes are processed by the processor 510 , the processor 510 can execute part or all of the methods described above.

[0162] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.

[0163] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.

[0164] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for generating lane lines in high-precision maps. It is characterized in that include: Synchronize the system time of the vehicle camera and RTK equipment; Calculating a position compensation coefficient according to the position of the vehicle camera and the position of the RTK device; The method includes: obtaining the vehicle speed and selecting a certain position in the road as a reference position; determining the passing time of the vehicle camera and the RTK device through the reference position respectively; subtracting the passing time of the RTK device through the reference position from the passing time of the vehicle camera through the reference position to obtain a first passing time difference; letting the vehicle camera and the RTK device pass through the reference position again and determining the passing time of the vehicle camera and the RTK device through the reference position respectively; subtracting the passing time of the RTK device through the reference position from the passing time of the vehicle camera through the reference position again to obtain a second passing time difference; calculating the mean of the first passing time difference and the second passing time difference to obtain a target passing time difference; multiplying the vehicle speed by the target passing time difference to obtain a position compensation coefficient; Acquire vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points; Collecting road images uploaded by the vehicle camera; Performing recognition processing on the road image to obtain lane line pixel coordinate points in the road image; Using the timestamp as an index factor, the timestamp is used to match the vehicle space coordinate point corresponding to the lane line pixel coordinate point; Adding the vehicle space coordinate point to the position compensation coefficient to obtain the target vehicle space coordinate point; wherein, the method includes: converting the vehicle space coordinate point to the UTM coordinate system; adding the vehicle space coordinate point in the UTM coordinate system to the position compensation coefficient to obtain the corrected vehicle space coordinate point in the UTM coordinate system; converting the corrected vehicle space coordinate point in the UTM coordinate system to the WGS84 coordinate system to obtain the target vehicle space coordinate point; The vehicle space coordinate points are fitted to obtain lane lines. The target vehicle space coordinate points are fitted to obtain lane lines.

2. The method for generating lane lines on a high-precision map according to claim 1, It is characterized in that The system time synchronization between the vehicle camera and the RTK device includes: Obtain the vehicle camera system time and RTK device system time at different times multiple times; Calculating the difference between the vehicle camera system time and the RTK device system time at different times to obtain multiple system time differences; Calculate the average of the plurality of system time differences to obtain a target system time difference; The system time of the vehicle camera and the system time of the RTK device are synchronized according to the target system time difference.

3. A high-precision map lane line generation device, It is characterized in that include: Synchronization module, used to synchronize the system time of the vehicle camera and RTK equipment; A calculation module, used for calculating a position compensation coefficient according to the position of the vehicle camera and the position of the RTK device; The method includes: obtaining the vehicle speed and selecting a certain position in the road as a reference position; determining the passing time of the vehicle camera and the RTK device through the reference position respectively; subtracting the passing time of the RTK device through the reference position from the passing time of the vehicle camera through the reference position to obtain a first passing time difference; letting the vehicle camera and the RTK device pass through the reference position again and determining the passing time of the vehicle camera and the RTK device through the reference position respectively; subtracting the passing time of the RTK device through the reference position from the passing time of the vehicle camera through the reference position again to obtain a second passing time difference; calculating the mean of the first passing time difference and the second passing time difference to obtain a target passing time difference; multiplying the vehicle speed by the target passing time difference to obtain a position compensation coefficient; An acquisition module is used to acquire vehicle positioning information in the RTK device, wherein the vehicle positioning information includes: vehicle spatial coordinate points; An acquisition module, used for acquiring the road image uploaded by the vehicle camera; An identification processing module, used to perform identification processing on the road image to obtain lane line pixel coordinate points in the road image; An indexing module, configured to use a timestamp as an index factor and use the timestamp to match a vehicle space coordinate point corresponding to the lane line pixel coordinate point; A compensation module, adding the vehicle space coordinate point to the position compensation coefficient to obtain a target vehicle space coordinate point; wherein the method includes: converting the vehicle space coordinate point to a UTM coordinate system; adding the vehicle space coordinate point in the UTM coordinate system to the position compensation coefficient to obtain a corrected vehicle space coordinate point in the UTM coordinate system; converting the corrected vehicle space coordinate point in the UTM coordinate system to a WGS84 coordinate system to obtain a target vehicle space coordinate point; The fitting module is used to fit the spatial coordinate points of the target vehicle to obtain lane lines.

4. An electronic device, It is characterized in that include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, enables the processor to execute the high-precision map lane line generation method as described in any one of claims 1 to 2.

5. A computer-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, enables the processor to execute the high-precision map lane line generation method as described in any one of claims 1 to 2.