Lane line detection method, device, equipment and medium
Through the deep polynomial regression model and raster feature data, the lane line target point coordinates are directly obtained, which solves the problem of low lane line detection efficiency in the existing technology and achieves faster calculation speed and resource saving.
Patent Information
- Application Number
- CN202410803410.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-22
AI Technical Summary
Existing lane line detection methods based on radar point clouds are inefficient and require complex post-processing steps to obtain lane lines.
Using a deep polynomial regression model, the three-dimensional radar point cloud data is divided into rasters, the raster feature data is extracted, and the coordinate data of the lane line target point is directly obtained through the preset one-variable polynomial function, avoiding the need for lane line points. Confidence screening and curve fitting.
The efficiency and calculation speed of lane line detection are improved, computing resources are saved, and the lane line detection process is simplified.
Smart Images

Figure CN118823710A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to a lane line detection method, device, equipment and medium. Background Art
[0002] Autonomous driving is inseparable from the detection of road boundaries. Road boundary detection is the core functional module that provides humans with a safe driving area in assisted driving. It is also an important pre-function module that provides an effective detection range and drivable area for fully automatic unmanned driving.
[0003] At present, there are methods for lane line detection based on radar point clouds in the prior art. Usually, based on a neural network model, the radar point cloud is segmented for lane lines to obtain point cloud segmentation results, and the point cloud segmentation results are post-processed to obtain curve-fitted lane lines.
[0004] However, the existing lane line detection method based on radar point cloud cannot directly obtain the lane lines through the neural network model and requires complex post-processing. Summary of the invention
[0005] The present invention provides a lane line detection method, device, equipment and medium to solve the problem of low lane line detection efficiency and improve the lane line calculation speed.
[0006] According to one aspect of the present invention, a lane line detection method is provided, which is applied to a vehicle equipped with a vehicle-mounted radar, and the method comprises:
[0007] Obtaining three-dimensional radar point cloud data of the vehicle's driving direction environment;
[0008] Perform grid division on the three-dimensional radar point cloud data to obtain grid feature data;
[0009] Input the grid feature data into the deep polynomial regression model to obtain at least one set of output data; each set of output data includes the polynomial parameters in the preset univariate multi-time polynomial function and the first coordinate data of the lane line target point; the first coordinate data is the coordinate data of the lane line target point in the driving direction;
[0010] For each set of output data, a target polynomial function is obtained based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function; and a target lane line corresponding to each set of output data is obtained based on the target polynomial function and the first coordinate data of the lane line target point in the output data.
[0011] According to another aspect of the present invention, there is provided a lane line detection device, which is configured on a vehicle provided with a vehicle-mounted radar, and includes:
[0012] A three-dimensional radar point cloud data acquisition module is used to acquire three-dimensional radar point cloud data of the vehicle's driving direction environment;
[0013] A grid feature data determination module is used to perform grid division on the three-dimensional radar point cloud data to obtain grid feature data;
[0014] An output data determination module is used to input the grid feature data into the deep polynomial regression model to obtain at least one set of output data; each set of output data includes polynomial parameters in a preset univariate multi-time polynomial function and first coordinate data of the lane line target point; the first coordinate data is the coordinate data of the lane line target point in the driving direction;
[0015] The target lane line determination module is used to obtain a target polynomial function for each set of output data based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function; and obtain the target lane line corresponding to each set of output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the lane line detection method of any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the lane line detection method of any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention obtains at least one set of output data by inputting grid feature data into a deep polynomial regression model, and obtains a target polynomial function based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function; obtains the target lane line corresponding to each set of output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data, and does not need to screen the points corresponding to the lane line based on the confidence level and perform curve fitting on the points corresponding to the lane line to obtain the target lane line. The target lane line can be directly obtained based on the output data and the preset univariate multi-time polynomial function, which solves the problem of low lane line detection efficiency, improves the lane line calculation speed, and saves computing resources.
[0022] 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 invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 is a flow chart of a lane line detection method provided in Embodiment 1 of the present invention;
[0025] Figure 2 is a two-dimensional visualization of three-dimensional radar point cloud data according to the first embodiment of the present invention;
[0026] Figure 3 is a two-dimensional visualization image of the target lane line of the first embodiment of the present invention;
[0027] Figure 4 is a flow chart of a lane line detection method provided by Embodiment 2 of the present invention;
[0028] Figure 5 is a structural schematic diagram of a lane line detection device provided in Embodiment 3 of the present invention;
[0029] Figure 6 It is a schematic diagram of the structure of an electronic device for implementing the lane line detection method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Embodiment 1
[0033] Figure 1 This is a flow chart of a lane line detection method provided in the first embodiment of the present invention. This embodiment is applicable to the case of extracting lane lines based on radar point clouds. The method can be applied to vehicles equipped with vehicle-mounted radars. The method is performed by a lane line detection device. The lane line detection device can be implemented in the form of hardware and / or software. The lane line detection device can be configured in lane line detection. Figure 1 As shown, the method includes:
[0034] S110: Acquire three-dimensional radar point cloud data of the vehicle's driving direction environment.
[0035] In this embodiment, the vehicle is provided with an on-board radar, which is used to scan the environment in the direction of vehicle travel to obtain three-dimensional radar point cloud data, wherein the on-board radar includes but is not limited to laser radar, ultrasonic radar and millimeter wave radar. The vehicle travel direction is the direction in which the vehicle is currently traveling. It can be understood that the vehicle travel direction includes four basic directions: forward, backward, left turn and right turn. The vehicle travel direction environment includes but is not limited to the road environment, road surface conditions, traffic conditions and road obstacles in the direction of vehicle travel. The three-dimensional radar point cloud data is the point cloud data of the three-dimensional space obtained based on the on-board radar scanning the travel direction environment.
[0036] Specifically, during the driving process of the vehicle, the vehicle's external environment is scanned in real time based on the vehicle-mounted radar, and the three-dimensional point cloud data of the vehicle's external environment is obtained by reading the scanning results of the vehicle-mounted radar. Based on the three-dimensional point cloud data of the vehicle's external environment, the three-dimensional radar point cloud data of the driving direction environment is extracted. In some embodiments, the vehicle's external environment can be the environment around the vehicle, wherein the vehicle's external environment includes the driving direction environment, and the three-dimensional point cloud data of the driving direction environment is intercepted from the three-dimensional point cloud data of the vehicle's external environment to obtain the three-dimensional radar point cloud data of the driving direction environment; in some embodiments, the vehicle's external environment is only the driving direction environment, and the three-dimensional point cloud data of the vehicle's external environment is directly used as the three-dimensional radar point cloud data of the driving direction environment, and this embodiment does not limit this.
[0037] For example, Figure 2 is a two-dimensional visualization of the three-dimensional radar point cloud data provided by the first embodiment of the present invention, such as Figure 2 As shown, there is a clear road edge outline in the 3D radar point cloud data.
[0038] It should be noted that the 3D radar point cloud data may contain invalid points due to vehicle-mounted radar errors, environmental interference or data corruption, and the coordinate system of the 3D radar point cloud data obtained by reading the vehicle-mounted radar scanning results is the radar coordinate system, while the coordinate system of the 3D radar point cloud data in the subsequent process should be the vehicle body coordinate system. Optionally, the 3D radar point cloud data is preprocessed; the preprocessing includes removing invalid points; and converting the coordinate system of the preprocessed 3D radar point cloud data into the vehicle body coordinate system.
[0039] Specifically, the data quality of the three-dimensional radar point cloud data is improved by removing invalid points from the three-dimensional radar point cloud data, wherein the invalid points include non-numeric (NaN) points and infinity (Inf) points. Exemplarily, the invalid points of the three-dimensional radar point cloud data are removed by calling a point cloud processing application or a point cloud processing tool library.
[0040] By taking the key point of the vehicle as the origin, the vehicle's driving direction as the positive direction of the X-axis, the vertical direction of the vehicle's driving direction parallel to the bottom of the vehicle (for example, clockwise vertical or counterclockwise vertical) as the positive direction of the Y-axis, and the direction vertically upward from the bottom of the vehicle as the positive direction of the Z-axis, a body coordinate system is constructed. For example, the key point of the vehicle can be the center point of the vehicle or a specific position point, which is not limited in this embodiment. The rotation matrix for converting from the radar coordinate system to the body coordinate system is determined based on the installation position of the vehicle-mounted radar and the vehicle's driving direction, and the pre-processed three-dimensional radar point cloud data is converted from the radar coordinate system to the body coordinate system based on the rotation matrix.
[0041] The technical solution of this embodiment improves the data quality of the three-dimensional radar point cloud data by preprocessing the three-dimensional radar point cloud data, which helps to improve the accuracy of subsequent lane line detection.
[0042] S120, performing grid division on the three-dimensional radar point cloud data to obtain grid feature data.
[0043] In this embodiment, the grid feature data is data in a two-dimensional space, and is used to characterize the features of three-dimensional radar point cloud data in a three-dimensional space.
[0044] Specifically, at least a portion of the three-dimensional radar point cloud data corresponding to the target projection area is determined as the three-dimensional radar point cloud data to be divided. The target projection area is at least a portion of the point cloud projection area, and the point cloud projection area is the downward projection area of the three-dimensional radar point cloud data in the vertical direction of the vehicle's travel direction. Based on a preset interval size, the target projection area is divided into multiple target projection sub-areas. The preset interval size is used to divide the target projection area into equal intervals, and the preset interval size is determined based on the computing power of the computing device used for lane line detection. It can be understood that the smaller the preset interval size, the greater the computing power required by the computing device.
[0045] Exemplarily, the size of the target projection area is 64 meters × 160 meters, wherein the size of the target projection area in the vehicle's traveling direction is 160 meters, and the size in the vertical direction parallel to the bottom of the vehicle in the vehicle's traveling direction is 64 meters. The preset interval size is 0.2 meters × 0.2 meters, and the target projection area includes 320 × 800 target projection sub-areas.
[0046] The three-dimensional radar point cloud data to be divided is divided based on multiple target projection sub-areas to obtain grid point cloud data corresponding to the multiple target projection sub-areas, wherein the grid point cloud data corresponding to each target projection sub-area, the downward projection area in the vertical direction of the vehicle's driving direction is the target projection sub-area. The grid feature data is obtained by extracting features and reducing the dimensions of the grid point cloud data corresponding to the multiple target projection sub-areas to two-dimensional space. Exemplarily, assuming that the target projection area includes M×N target projection sub-areas, the grid feature data includes M×N data elements.
[0047] In some embodiments, the three-dimensional radar point cloud data includes X-axis coordinate information, Y-axis coordinate information, Z-axis coordinate information and intensity information corresponding to multiple target points. In this embodiment, the target point is a point in the three-dimensional radar point cloud data. The target point is a point in three-dimensional space. The X-axis coordinate information represents the position of the X-axis in the vehicle body coordinate system, the Y-axis coordinate information represents the position of the Y-axis in the vehicle body coordinate system, and the Z-axis coordinate information represents the position of the Z-axis in the vehicle body coordinate system. Exemplarily, the pth target point is represented by Op =(x p ,y p ,z p ,i p ), where x p Indicates the X-axis coordinate information, y p Indicates Y-axis coordinate information, z p Indicates Z-axis coordinate information, i p Indicates intensity information. It is understandable that the grid feature data is obtained by dimensionality reduction processing of the Z-axis dimension of the three-dimensional radar point cloud data. Optionally, based on the X-axis coordinate information and Y-axis coordinate information corresponding to each target point, determine the unit grid to which each target point belongs; based on the Z-axis coordinate information and intensity information corresponding to at least one target point contained in the unit grid, and the grid X-axis coordinate information and grid Y-axis coordinate information corresponding to the unit grid, determine the unit grid feature data corresponding to the unit grid; based on the unit grid feature data corresponding to multiple unit grids, determine the grid feature data.
[0048] In this embodiment, the grid corresponds to the target projection area, and the X-axis coordinate range (or, Y-axis coordinate range) corresponding to the grid is the X-axis coordinate range (or, Y-axis coordinate range) of the target projection area. It can be understood that the grid includes multiple grids, and the unit grid is a grid in the grid, and each unit grid corresponds to a target projection sub-area. Exemplarily, assuming that the target projection area includes M×N target projection sub-areas, the grid includes M×N unit grids, where the index of the unit grid in the mth row and nth column is mn, where m∈[1,M], n∈[1,N].
[0049] Specifically, for each unit grid, when the X-axis coordinate information corresponding to any target point is within the X-axis coordinate range of the unit grid, and the Y-axis coordinate information corresponding to the target point is within the Y-axis coordinate range of the unit grid, it is determined that the target point belongs to the unit grid. When any unit grid contains zero target points, the unit grid feature data corresponding to the unit grid is set to zero. When any unit grid contains at least one target point, the Z-axis feature information corresponding to the unit grid is obtained by performing Z-axis coordinate feature extraction on the Z-axis coordinate information corresponding to the at least one target point, and the intensity feature information corresponding to the unit grid is obtained by performing intensity feature extraction on the intensity information corresponding to the at least one target point. Exemplarily, the Z-axis feature information or the intensity feature information can be obtained by feature extraction based on a neural network or a traditional feature extraction method, and this embodiment does not limit this. Optionally, the maximum Z-axis coordinate information, the minimum Z-axis coordinate information and the average Z-axis coordinate information in the Z-axis coordinate information corresponding to the at least one target point contained in the unit grid are determined; the maximum intensity information, the minimum intensity information and the average intensity information in the intensity information corresponding to the at least one target point contained in the unit grid are determined.
[0050] Specifically, for each unit grid, by statistically analyzing the Z-axis coordinate information corresponding to at least one target point, the maximum Z-axis coordinate information obtained is determined as the maximum Z-axis coordinate information, the minimum Z-axis coordinate information obtained is determined as the minimum Z-axis coordinate information, and the average Z-axis coordinate information obtained is determined as the average Z-axis coordinate information; the determination of the maximum intensity information, the minimum intensity information and the average intensity information is similar, and will not be repeated here. For example, the Z-axis feature information Fz of the unit grid feature data corresponding to the unit grid of the mth row and the nth column is mn Includes maximum Z-axis coordinate information z mn,max , minimum Z-axis coordinate information z mn,min and average Z-axis coordinate information z mn,mean , intensity feature information Fi mn Includes maximum intensity information mn,max , minimum intensity information i mn,min and the average intensity information i mn,mean .
[0051] The grid X-axis coordinate information is information representing the distribution position of the unit grid on the X-axis, and the grid Y-axis coordinate information is information representing the distribution position of the unit grid on the Y-axis. In some embodiments, the grid X-axis coordinate information or the grid Y-axis coordinate information can be determined based on the index of the unit grid in multiple unit grids and the size of the unit grid. Taking the grid X-axis coordinate information as an example, assuming that the index of a unit grid is mn and the size of the unit grid is k1 meters × k2 meters, the grid X-axis coordinate information X of the unit grid is mnIn some embodiments, optionally, based on the X-axis coordinate range corresponding to the unit grid, the grid X-axis coordinate information corresponding to the unit grid is determined, and based on the Y-axis coordinate range corresponding to the unit grid, the grid Y-axis coordinate information corresponding to the unit grid is determined.
[0052] Specifically, the X-axis coordinate information of the marker point is calculated based on the maximum X-axis coordinate information and the minimum X-axis coordinate information within the X-axis coordinate range corresponding to the unit grid, and the obtained X-axis coordinate information of the marker point is determined as the grid X-axis coordinate information of the unit grid, wherein the marker point includes but is not limited to the center point and one-third point of the X-axis coordinate range corresponding to the unit grid, and this embodiment does not limit this; the method for determining the grid X-axis coordinate information is the same as the method for determining the grid X-axis coordinate information, which will not be repeated here. For example, assuming that the marker point is the center point of the X-axis coordinate range corresponding to the unit grid, and the X-axis coordinate range corresponding to the unit grid of the mth row and the nth column is [x mn,min ,x mn,max ], then the grid X-axis coordinate information X of the unit grid mn is (x mn,min +x mn,max ) / 2.
[0053] The unit grid feature data corresponding to the unit grid is obtained by integrating the Z-axis feature information, intensity feature information, grid X-axis coordinate information, and grid Y-axis coordinate information corresponding to the unit grid. The Z-axis feature information is data representing the distribution characteristics of at least one target point in the unit grid on the Z-axis, and the intensity feature information is data representing the intensity distribution characteristics of at least one target point in the unit grid. For example, the unit grid feature data F corresponding to the unit grid in the mth row and the nth column is mn =(X mn ,Y mn ,Fz mn ,Fi mn ), where Y mn Characterize the grid Y-axis coordinate information. Optionally, the maximum Z-axis coordinate information, the minimum Z-axis coordinate information, the average Z-axis coordinate information, the maximum intensity information, the minimum intensity information, the average intensity information, the grid X-axis coordinate information and the grid Y-axis coordinate information are determined as the unit grid feature data corresponding to the unit grid. In this embodiment, the unit grid feature data includes information of 8 dimensions. For example, the unit grid feature data corresponding to the unit grid of the mth row and the nth column is represented as F mn =(X mn ,Y mn ,z mn,max ,z mn,min ,z mn,mean ,i mn,max ,i mn,min ,i mn,mean).
[0054] The technical solution of this embodiment determines the maximum Z-axis coordinate information, the minimum Z-axis coordinate information, the average Z-axis coordinate information, the maximum intensity information, the minimum intensity information, the average intensity information, the grid X-axis coordinate information and the grid Y-axis coordinate information as the unit grid feature data corresponding to the unit grid, wherein the maximum Z-axis coordinate information, the minimum Z-axis coordinate information and the average Z-axis coordinate information (or, the maximum intensity information, the minimum intensity information and the average intensity information) can provide the extreme value, boundary value and overall trend of the Z-axis coordinate information (or, intensity information) of at least one target point contained in the unit grid, which helps to improve the accuracy of subsequent new lane detection.
[0055] Based on the unit grid feature data corresponding to the multiple unit grids, the grid feature data is determined. Specifically, the unit grid feature data corresponding to the multiple unit grids are integrated based on the index of the unit grid to obtain the grid feature data. For example, assuming that the grid feature data includes M×N data elements, the data element of the mth row and the nth column is the unit grid feature data F mn .
[0056] The technical solution of this embodiment determines the unit grid feature data corresponding to the unit grid based on the Z-axis coordinate information and intensity information corresponding to at least one target point contained in the unit grid, and the grid X-axis coordinate information and the grid Y-axis coordinate information corresponding to the unit grid. Compared with the three-dimensional radar point cloud data, the grid feature data determined based on the unit grid feature data compresses the information while maintaining the original information type, which helps to ensure the accuracy of lane line detection.
[0057] S130, inputting the grid feature data into a deep polynomial regression model to obtain at least one set of output data.
[0058] Among them, each set of output data includes polynomial parameters in a preset univariate multi-time polynomial function and first coordinate data of the lane line target point; the first coordinate data is the coordinate data of the lane line target point in the driving direction.
[0059] In this embodiment, the deep polynomial regression model is a regression model built based on a neural network, which is used to automatically map raster feature data into at least one set of output data.
[0060] Specifically, the input grid feature data is predicted and processed based on the deep polynomial regression model to obtain at least one set of output data. The number of groups of output data is less than or equal to a preset group number threshold, wherein the preset group number threshold is used to control the number of groups of output data of the deep polynomial regression model, and the preset group number threshold is set based on the maximum number of lane lines in the real lane. Exemplarily, the preset group number threshold is 6, and the number of groups of output data of the deep polynomial regression model is less than or equal to 6.
[0061] Each set of output data corresponds to a lane line. The preset univariate multi-time polynomial function is a preset polynomial function, including multiple power terms, and the number of power terms is the same as the degree of the preset univariate multi-time polynomial function. The lane line target point is the point on the lane line corresponding to the output data. It can be understood that the lane line target point at least includes the lane line target point corresponding to the first coordinate data included in the output data, wherein the lane line target point corresponding to the first coordinate data included in the output data includes at least the lane line starting point and the lane line ending point on the lane line. The polynomial parameters include the coefficients of each power term in the preset univariate multi-time polynomial function. Exemplarily, assuming that the preset univariate multi-time polynomial function is a univariate W-order polynomial function, the polynomial parameters include polynomial parameters corresponding to W+1 power terms. Optionally, the preset univariate multi-time polynomial function is a univariate cubic polynomial function; and / or, the deep polynomial regression model includes a backbone network, a feature straightening layer and a fully connected layer; wherein the backbone network is used to extract lane line features from raster feature data; the feature straightening layer is used to convert lane line features into one-dimensional lane line features; and the fully connected layer is used to predict at least one set of output data based on the one-dimensional lane line features.
[0062] In some embodiments, the preset univariate multi-time polynomial function may be a univariate cubic polynomial function, and the polynomial parameters include coefficients of three power terms. This embodiment does not restrict the model structure of the deep polynomial regression model. A univariate cubic polynomial function can be used to draw straight lines, curves, and complex curves. By setting the preset univariate multi-time polynomial function to a univariate cubic polynomial function, the accuracy of lane line detection can be ensured while saving computing resources.
[0063] In some embodiments, the deep polynomial regression model includes a backbone network, a feature straightening layer, and a fully connected layer. This embodiment does not limit the maximum degree of the polynomial of the preset univariate multi-time polynomial function. The model structure of the deep polynomial regression model includes a backbone network, a feature straightening layer, and a fully connected layer connected in sequence. The raster feature data input to the deep polynomial regression model is subjected to feature extraction by the backbone network to obtain lane line features; the lane line features are straightened into a one-dimensional vector by the feature straightening layer to obtain a one-dimensional lane line feature; the one-dimensional lane line features are subjected to output data prediction processing by the fully connected layer to obtain at least one set of output data. Exemplarily, the backbone network is a ResNet-18 network. By constructing a deep polynomial regression model based on the backbone network, the feature straightening layer, and the fully connected layer, the deep polynomial regression model can take advantage of deep learning and polynomial regression to improve the reliability of output data, which helps to improve the accuracy of lane line detection.
[0064] In some embodiments, the preset univariate multi-time polynomial function can be a univariate cubic polynomial function, and the polynomial parameters include coefficients of 3 power terms. The deep polynomial regression model includes a backbone network, a feature straightening layer and a fully connected layer, which can save computing resources and improve lane line detection accuracy.
[0065] S140 . For each set of output data, a target polynomial function is obtained based on polynomial parameters in the output data and a preset univariate multi-time polynomial function.
[0066] In this embodiment, the target polynomial function is a polynomial function that characterizes the lane lines corresponding to a set of output data.
[0067] Specifically, for each set of output data, the coefficient of each power term in the preset univariate multi-time polynomial function is set based on the polynomial parameter in the output data to obtain the target polynomial function corresponding to the output data.
[0068] For example, assuming that the preset univariate multi-time polynomial function is a univariate W-order polynomial function, the polynomial parameters in a set of output data include a W ,…a w ,…,a1,a0, where a w is the coefficient of the w-power term, by setting the coefficient of the w-power term in the preset univariate multi-time polynomial function to a w , where w∈[0,W], and the target polynomial function representing the lane line corresponding to the output data is obtained.
[0069] S150, obtaining a target lane line corresponding to each set of output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data.
[0070] In this embodiment, the target lane line is a lane line obtained by performing lane line detection on three-dimensional radar point cloud data, and each target lane line corresponds to a set of output data.
[0071] Specifically, for each set of output data, the coordinate data of each lane line target point is determined by inputting the first coordinate data of each lane line target point into the target polynomial function corresponding to the output data. Based on the coordinate data of multiple lane line target points, any two lane line target points with adjacent first coordinate data are connected by a curve, and the drawn curve is determined as the target lane line.
[0072] For example, Figure 3 is a two-dimensional visualization of the target lane line in the first embodiment of the present invention, such as Figure 3 As shown, the red line is the target lane line, and the lane line heights represented by different target lane lines may be the same or different.
[0073] The technical solution of this embodiment obtains at least one set of output data by inputting raster feature data into a deep polynomial regression model, and obtains a target polynomial function based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function; obtains the target lane line corresponding to each set of output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data, and does not need to screen the points corresponding to the lane line based on the confidence level and perform curve fitting on the points corresponding to the lane line to obtain the target lane line. The target lane line can be directly obtained based on the output data and the preset univariate multi-time polynomial function, which solves the problem of low lane line detection efficiency, improves the lane line calculation speed, and saves computing resources.
[0074] Embodiment 2
[0075] Figure 4 1 is a flow chart of a lane line detection method provided by Embodiment 2 of the present invention. The technical solution of the embodiment of the present invention is improved on the basis of the above embodiment. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here.
[0076] In this embodiment, the lane line target point includes a lane line starting point and a lane line ending point; the target polynomial function is used to characterize the relationship between the second coordinate data of the lane line target point and the first coordinate data of the lane line target point; the second coordinate data is the coordinate data of the lane line target point in the vertical direction of the driving direction.
[0077] Specifically, the lane line target point is a point on a plane parallel to the bottom of the vehicle where the driving direction is located. The independent variable in the target polynomial function is the first coordinate data, and the dependent variable is the second coordinate data. By inputting the first coordinate data of the lane line target point into the target polynomial function, the second coordinate data corresponding to the first coordinate data is obtained.
[0078] Exemplarily, the target polynomial function is y=a W × W +…+a w × w +…+a1×x+a0, where x is the first coordinate data, y is the second coordinate data, and a W ,…a w ,…,a1,a0 are polynomial parameters in a set of output data.
[0079] like Figure 4 As shown, the method includes:
[0080] S210: Acquire three-dimensional radar point cloud data of the vehicle's driving direction environment.
[0081] S220, performing grid division on the three-dimensional radar point cloud data to obtain grid feature data.
[0082] S230. Input the grid feature data into a deep polynomial regression model to obtain at least one set of output data; each set of output data includes polynomial parameters in a preset univariate multi-time polynomial function and first coordinate data of the lane line target point; the first coordinate data is the coordinate data of the lane line target point in the driving direction.
[0083] S240: For each set of output data, a target polynomial function is obtained based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function.
[0084] S250: Determine a first coordinate data range corresponding to the output data based on the first coordinate data of the lane line starting point and the first coordinate data of the lane line ending point.
[0085] In this embodiment, the first coordinate data range is from the first coordinate data of the lane line starting point to the first coordinate data of the lane line ending point.
[0086] Specifically, a range with the first coordinate data of the starting point of the lane line as the lower bound and the first coordinate data of the ending point of the lane line as the upper bound is determined as the first coordinate data range corresponding to the output data.
[0087] For example, assuming that the first coordinate data of the starting point of the lane line is x1, and the first coordinate data of the ending point of the lane line is x C , then the first coordinate data range corresponding to the output data is [x1,x C ].
[0088] S260, sampling is performed within the range of the first coordinate data to obtain a plurality of first sampling coordinate data, and each first sampling coordinate data is input into the target polynomial function to obtain the second coordinate data corresponding to each first sampling coordinate data; each first sampling coordinate data and the second coordinate data corresponding to the first sampling coordinate data form the coordinate data of a lane line target point.
[0089] In this embodiment, the first sampling coordinate data is the first coordinate data of any lane line target point between the lane line starting point and the lane line ending point. Sampling is performed within the first coordinate data range based on a preset sampling strategy to obtain a plurality of first sampling coordinate data. Exemplarily, the preset sampling strategy includes but is not limited to random sampling and equal interval sampling. Optionally, the first coordinate data range corresponding to the output data is sampled at intervals based on a preset coordinate interval to obtain a plurality of first sampling coordinate data.
[0090] In this embodiment, the preset coordinate interval is a preset sampling interval, which is determined based on the target lane line accuracy. It can be understood that the higher the target lane line accuracy, the smaller the preset coordinate interval. Exemplarily, assuming that the number of first sampling coordinate data is C, the preset coordinate interval is Δx=(x C -x1) / (C-1).
[0091] Specifically, for each first coordinate data range corresponding to the output data, from the first coordinate data of the lane line starting point to the first coordinate data of the lane line ending point, the preset coordinates are sampled at equal intervals to obtain a plurality of first sampled coordinate data. It should be noted that the first sampled coordinate data includes the first coordinate data of the lane line starting point and the first coordinate data of the lane line ending point.
[0092] For example, assuming that the first coordinate data range is [0,800] and the preset coordinate interval is 2, it can be understood that the first coordinate data range corresponds to the range from 0 meters to 160 meters in the vehicle driving direction, and the preset coordinate interval corresponds to a distance interval of 0.4 meters. Then the cth first sampling coordinate data x c is 2×c, where c∈[0,400].
[0093] The technical solution of this embodiment can quickly obtain multiple first sampling coordinate data by performing interval sampling on the first coordinate data range corresponding to the output data based on a preset coordinate interval, which helps to improve the efficiency of lane line detection.
[0094] Specifically, for each first sampling coordinate data, the first sampling coordinate data is input into the target polynomial function so that the target polynomial function performs polynomial calculation based on the first sampling coordinate data to obtain the second coordinate data corresponding to the first sampling coordinate data. Based on each first sampling coordinate data and the second coordinate data corresponding to the first sampling coordinate data, a lane line target point is uniquely determined, and the coordinate data of the lane line target point includes the first sampling coordinate data and the second coordinate data corresponding to the first sampling coordinate data.
[0095] For example, assuming that the cth first sampling coordinate data x c , the second coordinate data corresponding to the cth first sampling coordinate data is y c , then the coordinate data of the lane line target point corresponding to the cth first sampling coordinate data is (x c ,y c ).
[0096] S270: Form a target lane line corresponding to the output data based on the coordinate data of multiple lane line target points.
[0097] Specifically, based on the coordinate data of multiple lane line target points, any two lane line target points adjacent to the first coordinate data are connected by a curve to obtain a curve, and the curve is determined as the target lane line corresponding to the output data.
[0098] For example, it is assumed that the preset univariate multi-time polynomial function is a univariate cubic polynomial function y=a3×x 3 +a2×x 2 +a1×x+a0, in a set of output data output by the deep polynomial regression model, the polynomial parameters include a3=0, a2=0.5, a1=0.2 and a0=3, the first coordinate data of the lane line starting point is 0, the first coordinate data of the lane line starting point is 300, and the preset coordinate interval is 2, then 151 lane line target points can be determined, then the curve y=0.5×x is constructed based on the coordinate data of these 151 lane line target points. 2 +0.2×x+3,x∈[0,300] is drawn to obtain the target lane line corresponding to the output data.
[0099] The technical solution of this embodiment forms coordinate data of a lane line target point by sampling multiple first sampled coordinate data within the first coordinate data range corresponding to the first coordinate data of the lane line starting point and the first coordinate data of the lane line ending point, and inputting each first sampled coordinate data and the second coordinate data obtained by the first sampled coordinate data into the target polynomial function. The coordinate data of multiple lane line target points used to form the target lane line can be obtained through simple mathematical calculations, which further improves the lane line calculation speed and saves computing resources.
[0100] Embodiment 3
[0101] Figure 5 Schematic diagram of the structure of a lane line detection device provided in Embodiment 3 of the present invention. The lane line detection device is configured on a vehicle equipped with a vehicle-mounted radar, such as Figure 5 As shown, the device comprises:
[0102] A three-dimensional radar point cloud data acquisition module 310 is used to acquire three-dimensional radar point cloud data of the driving direction environment of the vehicle;
[0103] The grid feature data determination module 320 is used to perform grid division on the three-dimensional radar point cloud data to obtain grid feature data;
[0104] The output data determination module 330 is used to input the grid feature data into the deep polynomial regression model to obtain at least one set of output data; each set of output data includes the polynomial parameters in the preset univariate multi-time polynomial function and the first coordinate data of the lane line target point; the first coordinate data is the coordinate data of the lane line target point in the driving direction;
[0105] The target lane line determination module 340 is used to obtain a target polynomial function for each set of output data based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function; and obtain the target lane line corresponding to each set of output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data.
[0106] The technical solution of this embodiment obtains at least one set of output data by inputting raster feature data into a deep polynomial regression model, and obtains a target polynomial function based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function; obtains the target lane line corresponding to each set of output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data, and does not need to screen the points corresponding to the lane line based on the confidence level and perform curve fitting on the points corresponding to the lane line to obtain the target lane line. The target lane line can be directly obtained based on the output data and the preset univariate multi-time polynomial function, which solves the problem of low lane line detection efficiency, improves the lane line calculation speed, and saves computing resources.
[0107] On the basis of the above embodiment, optionally, the lane line target point includes a lane line starting point and a lane line ending point; the target polynomial function is used to characterize the relationship between the second coordinate data of the lane line target point and the first coordinate data of the lane line target point; the second coordinate data is the coordinate data of the lane line target point in the vertical direction of the driving direction; accordingly, the target lane line determination module 340 is specifically used to: determine the first coordinate data range corresponding to the output data based on the first coordinate data of the lane line starting point and the first coordinate data of the lane line ending point; perform sampling within the first coordinate data range to obtain multiple first sampling coordinate data, input each first sampling coordinate data into the target polynomial function, and obtain the second coordinate data corresponding to each first sampling coordinate data; each first sampling coordinate data and the second coordinate data corresponding to the first sampling coordinate data form the coordinate data of a lane line target point; based on the coordinate data of multiple lane line target points, form a target lane line corresponding to the output data.
[0108] On the basis of the above embodiment, optionally, the target lane line determination module 340 is specifically used to: perform interval sampling on the first coordinate data range corresponding to the output data based on a preset coordinate interval to obtain a plurality of first sampling coordinate data.
[0109] On the basis of the above embodiment, optionally, the three-dimensional radar point cloud data includes X-axis coordinate information, Y-axis coordinate information, Z-axis coordinate information and intensity information corresponding to multiple target points respectively; accordingly, the grid feature data determination module 320 is specifically used to: determine the unit grid to which each target point belongs based on the X-axis coordinate information and Y-axis coordinate information corresponding to each target point; determine the unit grid feature data corresponding to the unit grid based on the Z-axis coordinate information and intensity information corresponding to at least one target point contained in the unit grid, and the grid X-axis coordinate information and grid Y-axis coordinate information corresponding to the unit grid; determine the grid feature data based on the unit grid feature data corresponding to multiple unit grids respectively.
[0110] On the basis of the above embodiment, optionally, the grid feature data determination module 320 is specifically used to: determine the maximum Z-axis coordinate information, the minimum Z-axis coordinate information and the average Z-axis coordinate information in the Z-axis coordinate information corresponding to at least one target point contained in the unit grid; determine the maximum intensity information, the minimum intensity information and the average intensity information in the intensity information corresponding to at least one target point contained in the unit grid; determine the grid X-axis coordinate information corresponding to the unit grid based on the X-axis coordinate range corresponding to the unit grid, and determine the grid Y-axis coordinate information corresponding to the unit grid based on the Y-axis coordinate range corresponding to the unit grid; determine the maximum Z-axis coordinate information, the minimum Z-axis coordinate information, the average Z-axis coordinate information, the maximum intensity information, the minimum intensity information, the average intensity information, the grid X-axis coordinate information and the grid Y-axis coordinate information as the unit grid feature data corresponding to the unit grid.
[0111] On the basis of the above embodiments, optionally, the univariate multi-time polynomial function is preset as a univariate cubic polynomial function; and / or, the deep polynomial regression model includes a backbone network, a feature straightening layer and a fully connected layer; wherein the backbone network is used to extract lane line features from raster feature data; the feature straightening layer is used to convert lane line features into one-dimensional lane line features; and the fully connected layer is used to predict at least one set of output data based on the one-dimensional lane line features.
[0112] On the basis of the above embodiment, optionally, the lane line detection device also includes a three-dimensional radar point cloud data preprocessing module; wherein the three-dimensional radar point cloud data preprocessing module is used to preprocess the three-dimensional radar point cloud data before rasterizing the three-dimensional radar point cloud data; wherein the preprocessing includes removing invalid points; and converting the coordinate system of the preprocessed three-dimensional radar point cloud data into a vehicle body coordinate system.
[0113] The lane line detection device provided in the embodiment of the present invention can execute the lane line detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0114] Embodiment 4
[0115] Figure 61 is a schematic diagram of the structure of an electronic device for implementing the lane line detection method of an embodiment of the present invention. The electronic device 10 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 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0116] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0117] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0118] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the lane line detection method.
[0119] In some embodiments, the lane detection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the lane detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the lane detection method in any other appropriate manner (e.g., by means of firmware).
[0120] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0121] The computer program for implementing the lane detection method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0122] Embodiment 5
[0123] Embodiment 5 of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute a lane line detection method, the method comprising:
[0124] Acquire three-dimensional radar point cloud data of the vehicle's driving direction environment; grid-divide the three-dimensional radar point cloud data to obtain grid feature data; input the grid feature data into a deep polynomial regression model to obtain at least one set of output data; each set of output data includes polynomial parameters in a preset univariate multi-time polynomial function and first coordinate data of a lane line target point; the first coordinate data is the coordinate data of the lane line target point in the driving direction; for each set of output data, obtain a target polynomial function based on the polynomial parameters in the output data and the preset univariate multi-time polynomial function; obtain a target lane line corresponding to each set of output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data.
[0125] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0127] The systems and techniques described herein may be implemented in a computing system that includes a backend (e.g., as a data server), or a computing system that includes middleware (e.g., an application server), or a computing system that includes a frontend (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 backends, middleware, or frontends. The systems may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0128] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0129] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0130] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A lane line detection method, It is characterized in that Applied to a vehicle provided with a vehicle-mounted radar, the method comprises: Acquiring three-dimensional radar point cloud data of the driving direction environment of the vehicle; Performing grid division on the three-dimensional radar point cloud data to obtain grid feature data; Input the grid feature data into a deep polynomial regression model to obtain at least one set of output data; each set of the output data includes a polynomial parameter in a preset univariate multi-time polynomial function and first coordinate data of a lane line target point; the first coordinate data is the coordinate data of the lane line target point in the driving direction; For each group of the output data, a target polynomial function is obtained based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function; and a target lane line corresponding to each group of the output data is obtained based on the target polynomial function and the first coordinate data of the lane line target point in the output data.
2. The method according to claim 1, It is characterized in that The lane line target point includes a lane line starting point and a lane line ending point; The target polynomial function is used to characterize the relationship between the second coordinate data of the lane line target point and the first coordinate data of the lane line target point; The second coordinate data is the coordinate data of the lane line target point in the vertical direction of the driving direction; The obtaining the target lane line corresponding to each group of the output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data includes: Determine a first coordinate data range corresponding to the output data based on the first coordinate data of the lane line starting point and the first coordinate data of the lane line ending point; Sampling is performed within the range of the first coordinate data to obtain a plurality of first sampling coordinate data, and each of the first sampling coordinate data is input into the target polynomial function to obtain second coordinate data corresponding to each of the first sampling coordinate data; each of the first sampling coordinate data and the second coordinate data corresponding to the first sampling coordinate data form coordinate data of a lane line target point; A target lane line corresponding to the output data is formed based on the coordinate data of the plurality of lane line target points.
3. The method according to claim 2, It is characterized in that The sampling is performed within the first coordinate data range to obtain a plurality of first sampling coordinate data, including: The first coordinate data range corresponding to the output data is sampled at intervals based on a preset coordinate interval to obtain a plurality of the first sampled coordinate data.
4. The method according to claim 1, It is characterized in that The three-dimensional radar point cloud data includes X-axis coordinate information, Y-axis coordinate information, Z-axis coordinate information and intensity information corresponding to a plurality of target points respectively; The grid division of the three-dimensional radar point cloud data to obtain grid feature data includes: Based on the X-axis coordinate information and the Y-axis coordinate information corresponding to each of the target points, determining the unit grid to which each of the target points belongs; Determine unit grid feature data corresponding to the unit grid based on Z-axis coordinate information and intensity information respectively corresponding to at least one target point contained in the unit grid, and grid X-axis coordinate information and grid Y-axis coordinate information corresponding to the unit grid; The grid feature data is determined based on unit grid feature data respectively corresponding to a plurality of the unit grids.
5. The method according to claim 4, It is characterized in that The determining of unit grid feature data corresponding to the unit grid based on Z-axis coordinate information and intensity information respectively corresponding to at least one target point contained in the unit grid, and grid X-axis coordinate information and grid Y-axis coordinate information corresponding to the unit grid, comprises: Determine maximum Z-axis coordinate information, minimum Z-axis coordinate information, and average Z-axis coordinate information among Z-axis coordinate information respectively corresponding to at least one target point contained in the unit grid; Determine maximum intensity information, minimum intensity information, and average intensity information in intensity information respectively corresponding to at least one target point contained in the unit grid; Determine the grid X-axis coordinate information corresponding to the unit grid based on the X-axis coordinate range corresponding to the unit grid, and determine the grid Y-axis coordinate information corresponding to the unit grid based on the Y-axis coordinate range corresponding to the unit grid; The maximum Z-axis coordinate information, the minimum Z-axis coordinate information, the average Z-axis coordinate information, the maximum intensity information, the minimum intensity information, the average intensity information, the grid X-axis coordinate information and the grid Y-axis coordinate information are determined as unit grid feature data corresponding to the unit grid.
6. The method according to claim 1, It is characterized in that The preset univariate multi-time polynomial function is a univariate cubic polynomial function; and / or, The deep polynomial regression model includes a backbone network, a feature straightening layer and a fully connected layer; wherein the backbone network is used to extract lane line features in the raster feature data; the feature straightening layer is used to convert the lane line features into one-dimensional lane line features; and the fully connected layer is used to predict at least one set of the output data based on the one-dimensional lane line features.
7. The method according to claim 1, It is characterized in that Before the three-dimensional radar point cloud data is gridded, the method further includes: Preprocessing the three-dimensional radar point cloud data; wherein the preprocessing includes removing invalid points; The coordinate system of the preprocessed three-dimensional radar point cloud data is converted into a vehicle body coordinate system.
8. A lane line detection device, It is characterized in that Configured in a vehicle equipped with a vehicle-mounted radar, including: A three-dimensional radar point cloud data acquisition module, used to acquire three-dimensional radar point cloud data of the driving direction environment of the vehicle; A grid feature data determination module is used to perform grid division on the three-dimensional radar point cloud data to obtain grid feature data; An output data determination module is used to input the grid feature data into a deep polynomial regression model to obtain at least one set of output data; each set of the output data includes a polynomial parameter in a preset univariate multi-time polynomial function and first coordinate data of a lane line target point; the first coordinate data is the coordinate data of the lane line target point in the driving direction; The target lane line determination module is used to obtain a target polynomial function for each group of the output data based on the polynomial parameters in the output data and a preset univariate multi-time polynomial function; and obtain the target lane line corresponding to each group of the output data based on the target polynomial function and the first coordinate data of the lane line target point in the output data.
9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the lane line detection method 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 computer instructions, and the computer instructions are used to enable a processor to implement the lane line detection method according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
A method and apparatus for lane line detection
CN109766878A
A semantic segmentation and attention mechanism-combined lane line detection method and system
CN112949493A
Lane line detection method, terminal and storage medium
CN115346183A
Deep learning-based lane line detection and fitting method and vehicle
CN115424239A
Method and system for sensing automated driving environment
WO2022022694A1
Cited By
Lane line detection method and device, electronic equipment and storage medium
CN119251792A
Lane line detection method and apparatus, and device and medium
WO2025261491A1
