Lane center line prediction method and device, terminal equipment and storage medium
By fusing multi-lane line information and historical data, and using weighted calculations and least squares fitting, the problem of insufficiently accurate and stable lane centerline determination in the existing technology is solved, and the comprehensiveness and responsiveness of lane centerline prediction are improved. More stable and reliable prediction results are achieved.
Patent Information
- Application Number
- CN202410818835.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-11
AI Technical Summary
Existing lane centerline determination methods fail to make full use of multi-lane line information, insufficient utilization of historical information, and lack of weighted calculations, resulting in lane centerline determination that is not accurate and stable enough.
The lane line information of multiple lanes is acquired through forward-looking vision sensors and fused with historical lane line data. The lane centerline equation coefficients are obtained using least squares fitting and weighted calculation, and the weights and strategies of data fusion are adjusted according to the real-time environment.
It improves the comprehensiveness and adaptability of lane centerline prediction, enhances the system's accuracy and responsiveness when lane information is incomplete, ensures the effective use of data sources, and improves the stability and reliability of prediction results.
Smart Images

Figure CN118762344A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving technology, and in particular to a lane centerline prediction method, apparatus, terminal device and storage medium. Background Art
[0002] At present, the methods for determining the lane centerline mainly rely on image processing and machine learning methods to extract lane line information from video or image data and then calculate the lane centerline. These technologies include but are not limited to: using historical and current lane line data to predict and optimize the lane centerline, lane centerline determination methods based on vehicle motion trajectory information, and using the motion state of the preceding vehicle to generate a reference lane centerline. Although these methods have improved the accuracy and stability of lane centerline determination to a certain extent, they still have the following major defects:
[0003] 1. Not fully utilizing all lane line information: Most existing technologies focus on a single lane line or only consider the left and right lane lines, ignoring other possible lane line information, such as the lane lines in a multi-lane environment, thus limiting the comprehensiveness and applicability of the method.
[0004] 2. Insufficient utilization of historical information: Although many methods consider historical lane line data, they fail to effectively integrate historical information to predict and adapt to the dynamic changes of lane lines, especially when lane lines are temporarily lost or detection fails.
[0005] 3. Lack of weighted calculation: When processing lane line data from multiple sources, existing technologies often use simple averaging or select a single data source, and do not implement weighted calculation based on data quality or reliability, which may lead to the final lane centerline determination being inaccurate or unstable. Summary of the invention
[0006] The main purpose of this application is to provide a lane centerline prediction method, apparatus, terminal device and storage medium, aiming to enhance the comprehensiveness and adaptability of the system, improve the responsiveness and accuracy of the system, and improve the stability and reliability of the prediction results.
[0007] To achieve the above purpose, the present application provides a lane centerline prediction method, which includes the following steps:
[0008] Acquire lane line information of multiple lanes through a forward-looking visual sensor, and process the lane line information of the multiple lanes to obtain lane line data of the multiple lanes;
[0009] The lane line data of the multiple lanes are fused with the historical lane line data to obtain a lane centerline fusion result;
[0010] A lane centerline equation coefficient is obtained based on the lane centerline fusion result.
[0011] In one implementation, the step of acquiring lane line information of multiple lanes through a forward vision sensor and processing the lane line information of multiple lanes to obtain lane line data of multiple lanes includes:
[0012] The equation coefficients, lane line starting points, lane line end points, and confidence levels of multiple lanes are obtained through forward-looking visual sensors;
[0013] Based on the lane line equation coefficient, lane line starting point, lane line end point, and confidence level, points are taken at equal intervals on the lane line, and the weight of each point is calculated to obtain the points on the lane lines of multiple lanes and their corresponding weights.
[0014] In one implementation, before the step of fusing the acquired lane line data of multiple lanes with the historical lane line data to obtain a lane centerline fusion result, the step further includes:
[0015] Get historical lane line data.
[0016] In one implementation, the step of obtaining historical lane line data includes:
[0017] Take points through the centerline parameter equation, obtain the points on the historical centerline of the lane, and calculate the weight of each point;
[0018] Obtain vehicle ego motion information through vehicle posture sensors;
[0019] According to the vehicle motion information, taking the current position of the vehicle as the origin of the coordinate system, the coordinate system of the points on the historical center line is transformed to obtain the points on the historical center line after the coordinate transformation and the weight of each point.
[0020] In one implementation, the vehicle motion information includes: vehicle speed, angular velocity, speed variance, and angular velocity variance.
[0021] In one implementation, the step of fusing the lane line data of the multiple lanes with the historical lane line data to obtain a lane centerline fusion result includes:
[0022] The points on the lane lines of multiple lanes, the points on the historical center line after coordinate conversion, and the weights corresponding to each point are weighted to calculate the curve equation of the center line through least squares fitting to obtain the lane center line fusion result;
[0023] The step of obtaining the lane centerline equation coefficient based on the lane centerline fusion result comprises:
[0024] Based on the curve equation of the centerline, determine the lane centerline equation coefficient.
[0025] In one implementation, the method further includes:
[0026] Adjust the weights and strategies of data fusion in real time according to real-time environmental changes.
[0027] The present application also proposes a lane centerline prediction device, the device comprising:
[0028] An acquisition module, used for acquiring lane line information of multiple lanes through a forward vision sensor, and processing the lane line information of the multiple lanes to obtain lane line data of the multiple lanes;
[0029] A fusion module, used to fuse the lane line data of the multiple lanes with the historical lane line data to obtain a lane centerline fusion result;
[0030] A determination module is used to obtain lane centerline equation coefficients based on the lane centerline fusion result.
[0031] The present application also proposes a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the lane centerline prediction method as described above when executed by the processor.
[0032] The present application also proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the lane centerline prediction method as described above is implemented.
[0033] The lane centerline prediction method, device, terminal device and storage medium proposed in the embodiments of the present application obtain lane line information of multiple lanes through a forward-looking visual sensor; fuse the obtained lane line information of multiple lanes with historical lane line data to obtain a lane centerline fusion result; and obtain the lane centerline equation coefficient based on the lane centerline fusion result. The technical solution of the present application significantly improves the applicability of the algorithm by comprehensively analyzing multi-lane information, enabling it to effectively cope with complex road environments, thereby enhancing the comprehensiveness and adaptability of the system; utilizes the weighted fusion of historical and current data to enhance the prediction accuracy of the system when lane information is incomplete, and improves the responsiveness to environmental changes. In addition, through a precise data weighting mechanism, it ensures the effective use of various data sources and improves the stability and reliability of the prediction results. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a schematic diagram of the functional modules of the terminal device to which the lane centerline prediction device of this application belongs;
[0035] Figure 2 A schematic diagram of a flow chart of an exemplary embodiment of a lane centerline prediction method of the present application;
[0036] Figure 3 This is a schematic diagram of the overall process involved in the lane centerline prediction method embodiment of the present application;
[0037] Figure 4 This is a schematic diagram of coordinate conversion of lane line points in an embodiment of the lane centerline prediction method of the present application;
[0038] Figure 5 This is a schematic diagram of determining points on the center line in an embodiment of the lane center line prediction method of the present application.
[0039] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0041] The main solution of the embodiment of the present application is: to obtain lane line information of multiple lanes through forward-looking visual sensors; to fuse the obtained lane line information of multiple lanes with historical lane line data to obtain lane centerline fusion results; and to obtain lane centerline equation coefficients based on the lane centerline fusion results. The technical solution of the present application significantly improves the applicability of the algorithm by comprehensively analyzing multi-lane information, enabling it to effectively cope with complex road environments, thereby enhancing the comprehensiveness and adaptability of the system; by using weighted fusion of historical and current data, the prediction accuracy of the system when lane information is incomplete is enhanced, and the responsiveness to environmental changes is improved. In addition, through a precise data weighting mechanism, the effective use of various data sources is ensured, and the stability and reliability of the prediction results are improved.
[0042] The embodiments of the present application take into account that, in existing related schemes, not all lane line information is fully utilized, thereby limiting the comprehensiveness and applicability of the method; historical information is insufficiently utilized, and historical information is not effectively integrated to predict and adapt to the dynamic changes of lane lines; when processing lane line data from multiple sources, simple averaging or selection of a single data source is often used, and weighted calculation based on data quality or reliability is not implemented, which may result in the final determination of the lane centerline being inaccurate or unstable.
[0043] Therefore, the embodiment of the present application proposes a solution that can comprehensively analyze multi-lane information, enhance the comprehensiveness and adaptability of the system, utilize the weighted fusion of historical and current data to improve the responsiveness and accuracy of the system, ensure the effective use of various data sources through a precise data weighting mechanism, and improve the stability and reliability of the prediction results.
[0044] Specifically, refer to Figure 1 , Figure 1 This is a functional module diagram of the terminal device to which the lane centerline prediction device of this application belongs. The lane centerline prediction device can be a device that is independent of the terminal device and can realize data processing, and it can be carried on the terminal device in the form of hardware or software. The terminal device can be a smart mobile terminal such as a mobile phone or a tablet computer, and can also be a network device such as a server.
[0045] In this embodiment, the terminal device to which the lane centerline prediction apparatus belongs includes at least an output module 110 , a processor 120 , a memory 130 and a communication module 140 .
[0046] The memory 130 stores an operating system and a lane centerline prediction program; the output module 110 may be a display screen, a speaker, etc. The communication module 140 may include a WIFI module, a mobile communication module, a Bluetooth module, etc., and communicates with an external device or server through the communication module 140.
[0047] As an embodiment, the lane centerline prediction program in the memory 130 implements the following steps when executed by the processor:
[0048] Acquire lane line information of multiple lanes through a forward-looking visual sensor, and process the lane line information of the multiple lanes to obtain lane line data of the multiple lanes;
[0049] The lane line data of the multiple lanes are fused with the historical lane line data to obtain a lane centerline fusion result;
[0050] A lane centerline equation coefficient is obtained based on the lane centerline fusion result.
[0051] Furthermore, when the lane centerline prediction program in the memory 130 is executed by the processor, the following steps are also implemented:
[0052] The equation coefficients, lane line starting points, lane line end points, and confidence levels of multiple lanes are obtained through forward-looking visual sensors;
[0053] Based on the lane line equation coefficient, lane line starting point, lane line end point, and confidence level, points are taken at equal intervals on the lane line, and the weight of each point is calculated to obtain the points on the lane lines of multiple lanes and their corresponding weights.
[0054] Furthermore, when the lane centerline prediction program in the memory 130 is executed by the processor, the following steps are also implemented:
[0055] Get historical lane line data.
[0056] Furthermore, when the lane centerline prediction program in the memory 130 is executed by the processor, the following steps are also implemented:
[0057] Take points through the centerline parameter equation, obtain the points on the historical centerline of the lane, and calculate the weight of each point;
[0058] Obtain vehicle ego motion information through vehicle posture sensors;
[0059] According to the vehicle motion information, taking the current position of the vehicle as the origin of the coordinate system, the coordinate system of the points on the historical center line is transformed to obtain the points on the historical center line after the coordinate transformation and the weight of each point.
[0060] Furthermore, when the lane centerline prediction program in the memory 130 is executed by the processor, the following steps are also implemented:
[0061] The points on the lane lines of multiple lanes, the points on the historical center line after coordinate conversion, and the weights corresponding to each point are weighted to calculate the curve equation of the center line through least squares fitting to obtain the lane center line fusion result;
[0062] The step of obtaining the lane centerline equation coefficient based on the lane centerline fusion result comprises:
[0063] Based on the curve equation of the centerline, determine the lane centerline equation coefficient.
[0064] Furthermore, when the lane centerline prediction program in the memory 130 is executed by the processor, the following steps are also implemented:
[0065] Adjust the weights and strategies of data fusion in real time according to real-time environmental changes.
[0066] This embodiment uses the above scheme to obtain lane line information of multiple lanes through a forward-looking visual sensor; fuses the obtained lane line information of multiple lanes with historical lane line data to obtain a lane centerline fusion result; and obtains the lane centerline equation coefficient based on the lane centerline fusion result. The technical solution of this application significantly improves the applicability of the algorithm by comprehensively analyzing multi-lane information, enabling it to effectively cope with complex road environments, thereby enhancing the comprehensiveness and adaptability of the system; utilizes weighted fusion of historical and current data to enhance the system's prediction accuracy when lane information is incomplete, and improves its responsiveness to environmental changes. In addition, through a precise data weighting mechanism, it ensures the effective use of various data sources and improves the stability and reliability of the prediction results.
[0067] Based on the above terminal device architecture but not limited to the above architecture, an embodiment of the method of the present application is proposed.
[0068] Reference Figure 2 , Figure 2 This is a flow chart of an exemplary embodiment of the lane centerline prediction method of this application. The lane centerline prediction method of this embodiment is mainly used in various scenarios such as vehicle intelligent driving to achieve effective prediction of the lane centerline. The method includes the following steps:
[0069] Step S101, acquiring lane line information of multiple lanes through a forward vision sensor, and processing the lane line information of the multiple lanes to obtain lane line data of the multiple lanes;
[0070] The execution subject of the method of this embodiment may be a lane centerline prediction device or a lane centerline prediction system. This embodiment takes a lane centerline prediction system as an example. The lane centerline prediction system may be integrated into a vehicle, such as integrated into a control system of the vehicle.
[0071] The solution of this embodiment is mainly to enhance the comprehensiveness and adaptability of the system, improve the responsiveness and accuracy of the system, and improve the stability and reliability of the prediction results.
[0072] Specifically, first, the lane line information of multiple lanes is obtained. In existing related solutions, all lane line information is not fully utilized, thereby limiting the comprehensiveness and applicability of the method. In this embodiment, the multi-lane information can be comprehensively analyzed to enhance the comprehensiveness and adaptability of the system.
[0073] As an implementation scheme, a forward-looking vision sensor may be provided on the vehicle, or an existing forward-looking vision sensor on the vehicle may be utilized to obtain lane line information of multiple lanes through the forward-looking vision sensor, wherein the lane line information of all lanes may be obtained.
[0074] Among them, the lane line information of multiple lanes may include the lane line equation coefficient, lane line starting point, lane line end point, confidence level, etc.
[0075] Furthermore, after the lane line information of each lane is acquired, the lane line information of the multiple lanes is processed to obtain lane line data of the multiple lanes.
[0076] Among them, processing the lane line information of the multiple lanes includes identifying, taking points and calculating the lane line information of each lane to obtain the points on the lane line of each lane and the corresponding weights, wherein the points on the lane line of each lane and the corresponding weights constitute the lane line data of each lane, and then the next step of data fitting can be performed based on the points on the lane line of each lane and the corresponding weights.
[0077] In one implementation, the step of acquiring lane line information of multiple lanes through a forward vision sensor and processing the lane line information of the multiple lanes to obtain lane line data of the multiple lanes may include:
[0078] The equation coefficients, lane line starting points, lane line end points, and confidence levels of multiple lanes are obtained through forward-looking visual sensors;
[0079] Based on the lane line equation coefficient, lane line starting point, lane line end point, and confidence level, points are taken at equal intervals on the lane line, and the weight of each point is calculated to obtain the points on the lane lines of multiple lanes and their corresponding weights.
[0080] Step S102, fusing the acquired lane line data of multiple lanes with the historical lane line data to obtain a lane centerline fusion result;
[0081] This embodiment takes into account that, in existing related schemes, historical information is insufficiently utilized and cannot be effectively integrated to predict and adapt to dynamic changes in lane lines. Therefore, in this embodiment, the acquired lane line data of multiple lanes is integrated with the historical lane line data to effectively integrate historical information to predict and adapt to dynamic changes in lane lines.
[0082] Specifically, in one implementation, before the step of fusing the acquired lane line information of multiple lanes with the historical lane line data to obtain the lane centerline fusion result, the step further includes:
[0083] Get historical lane line data.
[0084] In one implementation, the step of obtaining historical lane line data includes:
[0085] Take points through the centerline parameter equation, obtain the points on the historical centerline of the lane, and calculate the weight of each point;
[0086] Obtain vehicle ego motion information through vehicle posture sensors;
[0087] According to the vehicle motion information, taking the current position of the vehicle as the origin of the coordinate system, the coordinate system of the points on the historical center line is transformed to obtain the points on the historical center line after the coordinate transformation and the weight of each point, thereby obtaining the historical lane line data.
[0088] In one implementation, the vehicle motion information includes: vehicle speed, angular velocity, speed variance, and angular velocity variance.
[0089] In one implementation, the step of fusing the acquired lane line information of multiple lanes with the historical lane line data to obtain a lane centerline fusion result may include:
[0090] The points on the lane lines of multiple lanes, the points on the historical center line after coordinate transformation, and the weights corresponding to each point are weightedly calculated through least squares fitting to obtain the curve equation of the center line, thereby obtaining the lane center line fusion result.
[0091] Step S103, obtaining lane centerline equation coefficients based on the lane centerline fusion result.
[0092] In one implementation, lane centerline equation coefficients are determined based on a curve equation of the centerline.
[0093] The embodiment of the present application uses the above scheme to obtain lane line information of multiple lanes through a forward-looking visual sensor; fuses the obtained lane line information of multiple lanes with historical lane line data to obtain a lane centerline fusion result; and obtains the lane centerline equation coefficient based on the lane centerline fusion result. The technical solution of the present application significantly improves the applicability of the algorithm by comprehensively analyzing multi-lane information, enabling it to effectively cope with complex road environments, thereby enhancing the comprehensiveness and adaptability of the system; utilizes weighted fusion of historical and current data to enhance the prediction accuracy of the system when lane information is incomplete, and improves the responsiveness to environmental changes. In addition, through a precise data weighting mechanism, it ensures the effective use of various data sources and improves the stability and reliability of the prediction results.
[0094] Furthermore, in one implementation, the method further includes:
[0095] Step S104, adjusting the weight and strategy of data fusion in real time according to real-time environmental changes.
[0096] The data fusion weights and strategies are adjusted in real time according to the real-time environmental changes. This strategy not only improves the flexibility of lane centerline determination, but also enhances the system's ability to cope with complex road conditions. It can better enhance the comprehensiveness and adaptability of the system, improve the system's responsiveness and accuracy, and improve the stability and reliability of the prediction results.
[0097] Compared with the prior art, the technical solution of this application enhances the comprehensiveness of the algorithm and its applicability in complex road environments by comprehensively considering and analyzing all lane line information in a multi-lane environment. The weighted fusion of historical lane line data and current data can provide more accurate lane center predictions, especially when lane line information is incomplete or partially lost. The introduction of a weighted calculation mechanism based on data quality and reliability ensures that the importance and contribution of each data source are more accurately reflected when synthesizing lane center lines, thereby improving the stability and reliability of the final result.
[0098] The following combination Figures 3 to 5 The principle of the lane centerline prediction algorithm adopted in the embodiment of the present application is described in detail:
[0099] like Figure 3 As shown, the lane centerline prediction algorithm adopted by the embodiment of the present application includes the following steps:
[0100] Step 1: Pick the point of the current perceived lane line;
[0101] Step 2: Pick points on the historical center line;
[0102] Step 3: Calculate the center line of the least squares fitting of multi-source information;
[0103] Step 4: Output the results.
[0104] The specific implementation is as follows:
[0105] Step 1: Pick the point of the current perceived lane line.
[0106] First, the forward vision sensor obtains all lane line information, including the lane line equation coefficient (C 0 , C 1 , C 2 ……), the starting point (start) and end point (end) of the lane line, and the confidence (confidence). Points are taken at equal intervals on the current perceived lane line and the weight of each point is calculated.
[0107] The lane line equation is taken as cubic, and the weight is taken as 1, which is obtained by the following formula:
[0108] y=C 0 +C 1 x+C 2 x 2 +C 3 x 3
[0109] length=end-start
[0110]
[0111]
[0112] k = 0.2;
[0113] Among them, the above coefficients can be adjusted specifically according to the characteristics of different visual sensors.
[0114] Step 2: Historical centerline point selection
[0115] Use the center line of the previous moment for the current frame to obtain historical lane line data. Figure 3As shown, points are taken through the center line parameter equation to obtain points on the historical center line of the lane line, and the weight of each point is calculated; the vehicle's own vehicle motion information is obtained through the vehicle posture sensor; according to the self-vehicle motion information, the current position of the vehicle is used as the origin of the coordinate system, and the coordinate system of the points on the historical center line is transformed to obtain the points on the historical center line after the coordinate transformation and the weight of each point, thereby obtaining the historical lane line data.
[0116] Among them, historical centerline point selection is a necessary step to use the centerline of the previous moment for the current frame and obtain historical lane line data.
[0117] Specifically, using the center line of the previous moment for the current frame requires two steps:
[0118] The first step is similar to the lane line point selection in step 1 above. Points are selected based on the historical centerline equation and the weight of each point is calculated.
[0119] In the second step, since the current position of the vehicle is the origin of the coordinate system, the coordinate system needs to be transformed, such as Figure 4 As shown, at time t-1, the point (x old ,y old ,c old ). At time t, when the vehicle moves forward, the vehicle coordinate system changes. At this time, the point on the center line (x new ,y new ,c new ) can be obtained through geometric relations.
[0120] like Figure 5 As shown, there is a point P, whose coordinates in the xoy coordinate system at time t-1 are (x old ,y old ). Assume that the car moves at a constant speed (v) and a constant rotation speed (ω) in a very short time dt. After breaking down the motion, at time t (the difference between time t-1 and time t is dt), the coordinates of point P in the translated coordinate system x′oy′ are (x′, y′), and after rotation, the coordinates in the coordinate system x″oy″ are (x new ,y new ).
[0121] From the uniform speed and uniform rotation speed motion, we know that:
[0122]
[0123] From the geometric relationship, we can know that:
[0124]
[0125] During the coordinate transformation process, due to the measurement error of the vehicle attitude sensor, the confidence level is slightly reduced after the transformation, as follows:
[0126]
[0127] Among them, the above coefficients can be adjusted specifically according to the characteristics of different visual sensors.
[0128] Step 3: Centerline calculation of least squares fitting of multi-source information
[0129] After the above two steps, the points on the lane lines of multiple lanes and the points on the historical center line are obtained, and each point has a weight. This part is based on the principle of regularized least squares to calculate the curve equation of the center line in a weighted manner.
[0130] A little bit (x i ,y i ,w i ), i=0,1…,n-1,w i is the weight, 0≤w i <1, perform cubic curve fitting. The matrix is defined as follows:
[0131]
[0132] Fitting objective: Find C so that Minimum. Among them, z represents the number of points of a source; m is the number of valid lane lines. From the above, we can get:
[0133]
[0134] in:
[0135]
[0136] make Loss(C)=(Y'-X'C) T W(Y'-X'C)+(CC [s] ) T BΛ(CC [s] );
[0137] make So: C = (X' T WX'+Λ) -1 (X' T WY'+ΛC [s] ).
[0138] Compared with the prior art, this application proposes a lane centerline prediction method that combines lane line data obtained from the forward vision sensor with historical lane line data. This method not only considers real-time data, but also makes full use of historical data to optimize the accuracy and stability of the lane centerline. This weighted processing takes into account the timeliness of the data and the reliability of historical performance, and improves the data processing capability when the lane line is partially missing or the detection conditions change.
[0139] In addition, the present application can adopt a dynamic data fusion strategy to adjust the weight and strategy of data fusion in real time according to real-time environmental changes. This strategy not only improves the flexibility of lane centerline determination, but also enhances the system's ability to cope with complex road conditions.
[0140] In addition, this application designs an adaptive data processing framework that can automatically select the most suitable data processing and fusion model according to various road environments and driving conditions. This framework aims to optimize the prediction effect of lane centerline as much as possible under various external conditions.
[0141] The present application also proposes a lane centerline prediction device, the device comprising:
[0142] An acquisition module, used for acquiring lane line information of multiple lanes through a forward vision sensor, and processing the lane line information of the multiple lanes to obtain lane line data of the multiple lanes;
[0143] A fusion module, used to fuse the lane line data of the multiple lanes with the historical lane line data to obtain a lane centerline fusion result;
[0144] A determination module is used to obtain lane centerline equation coefficients based on the lane centerline fusion result.
[0145] For the principle and implementation process of lane centerline prediction in this embodiment, please refer to the above embodiments and will not be repeated here.
[0146] The present application also proposes a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the lane centerline prediction method as described above when executed by the processor.
[0147] Since all the technical solutions of all the aforementioned embodiments are adopted when this lane centerline prediction program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.
[0148] The present application also proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the lane centerline prediction method as described above is implemented.
[0149] Since all the technical solutions of all the aforementioned embodiments are adopted when this lane centerline prediction program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.
[0150] Compared with the prior art, the lane centerline prediction method, device, terminal device and storage medium proposed in the embodiments of the present application obtain lane line information of multiple lanes through a forward-looking visual sensor; fuse the obtained lane line information of multiple lanes with historical lane line data to obtain a lane centerline fusion result; and obtain the lane centerline equation coefficient based on the lane centerline fusion result. The technical solution of the present application significantly improves the applicability of the algorithm by comprehensively analyzing multi-lane information, enabling it to effectively cope with complex road environments, thereby enhancing the comprehensiveness and adaptability of the system; utilizes the weighted fusion of historical and current data to enhance the prediction accuracy of the system when lane information is incomplete, and improves the responsiveness to environmental changes. In addition, through a precise data weighting mechanism, it ensures the effective use of various data sources and improves the stability and reliability of the prediction results.
[0151] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0152] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
[0154] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A lane centerline prediction method, It is characterized in that The method comprises the following steps: Acquire lane line information of multiple lanes through a forward-looking visual sensor, and process the lane line information of the multiple lanes to obtain lane line data of the multiple lanes; The lane line data of the multiple lanes are fused with the historical lane line data to obtain a lane centerline fusion result; A lane centerline equation coefficient is obtained based on the lane centerline fusion result.
2. The method according to claim 1, It is characterized in that The step of acquiring lane line information of multiple lanes by a forward vision sensor and processing the lane line information of multiple lanes to obtain lane line data of multiple lanes includes: The equation coefficients, lane line starting points, lane line end points, and confidence levels of multiple lanes are obtained through forward-looking visual sensors; Based on the lane line equation coefficient, lane line starting point, lane line end point, and confidence level, points are taken at equal intervals on the lane line, and the weight of each point is calculated to obtain the points on the lane lines of multiple lanes and their corresponding weights.
3. The method according to claim 2, It is characterized in that Before the step of fusing the lane line data of the multiple lanes with the historical lane line data to obtain a lane centerline fusion result, the step further includes: Get historical lane line data.
4. The method according to claim 3, It is characterized in that The step of obtaining historical lane line data includes: Take points through the centerline parameter equation, obtain the points on the historical centerline of the lane, and calculate the weight of each point; Obtain vehicle ego motion information through vehicle posture sensors; According to the vehicle motion information, taking the current position of the vehicle as the origin of the coordinate system, the coordinate system of the points on the historical center line is transformed to obtain the points on the historical center line after the coordinate transformation and the weight of each point.
5. The method according to claim 4, It is characterized in that The vehicle motion information includes: vehicle speed, angular velocity, speed variance, and angular velocity variance.
6. The method according to claim 4, It is characterized in that The step of fusing the lane line data of the multiple lanes with the historical lane line data to obtain a lane centerline fusion result comprises: The points on the lane lines of multiple lanes, the points on the historical center line after coordinate conversion, and the weights corresponding to each point are weighted to calculate the curve equation of the center line through least squares fitting to obtain the lane center line fusion result; The step of obtaining the lane centerline equation coefficient based on the lane centerline fusion result comprises: Based on the curve equation of the centerline, determine the lane centerline equation coefficient.
7. The method according to any one of claims 1 to 6, It is characterized in that The method further comprises: Adjust the weights and strategies of data fusion in real time according to real-time environmental changes.
8. A lane centerline prediction device, It is characterized in that The device comprises: An acquisition module, used for acquiring lane line information of multiple lanes through a forward vision sensor, and processing the lane line information of the multiple lanes to obtain lane line data of the multiple lanes; A fusion module, used to fuse the lane line data of the multiple lanes with the historical lane line data to obtain a lane centerline fusion result; A determination module is used to obtain lane centerline equation coefficients based on the lane centerline fusion result.
9. A terminal device, It is characterized in that The terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the lane centerline prediction method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the lane centerline prediction method according to any one of claims 1 to 7 is implemented.
