Sensor angle information calibration method and device and electronic equipment
By using the measured angle and real angle of the lane to automatically calibrate the angle information of the vehicle-mounted sensor, the problem of reduced accuracy of detection results caused by the angle deflection of the vehicle-mounted sensor is solved, and efficient and accurate angle calibration is achieved.
Patent Information
- Application Number
- CN202410551302.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing technology, the angle information of vehicle-mounted sensors such as millimeter-wave radar deflects over time, resulting in a decrease in the accuracy of detection results. There is a lack of automatic calibration methods and reliance on manual periodic calibration, which results in low efficiency and accuracy.
By obtaining the original point cloud data of the reference object sensed by the sensor, the measured angle and the real angle of the lane are calculated based on this data, and the angle information of the sensor is automatically calibrated. The lane is used as the reference object to realize automatic calibration of angle information.
It improves the calibration efficiency and accuracy of sensor angle information, simplifies operations, enhances the accuracy and universality of calibration results, and avoids the inefficiency and inaccuracy of manual calibration methods.
Smart Images

Figure CN118655532A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, specifically to the technical fields of smart transportation, vehicle-road collaboration, and more particularly to a method, device, and electronic device for calibrating sensor angle information. Background Art
[0002] On-vehicle sensors (such as millimeter-wave radars) are widely used in scenarios such as vehicle-road collaboration and smart highways. Taking millimeter-wave radars as an example, during the driving process of the vehicle to which the millimeter-wave radar belongs, relevant information (such as position information) of the detection object (such as other vehicles other than the vehicle to which it belongs) can be obtained based on the calibration parameters of the millimeter-wave radar. The calibration parameters include position information and angle information.
[0003] As time goes by, the millimeter-wave radar will experience angular deflection, which will cause errors in the detection results of the detection objects (such as other vehicles) sensed by the millimeter-wave radar, reducing the accuracy of the detection results. Summary of the invention
[0004] The present disclosure provides a method, device and electronic device for calibrating sensor angle information.
[0005] According to one aspect of the present disclosure, a method for calibrating sensor angle information is provided, including: acquiring original point cloud data of a reference object sensed by a sensor; acquiring a measurement angle of a lane where the reference object is located based on the original point cloud data; and determining a calibration result of the sensor angle information based on the measurement angle and a true angle of the lane where the reference object is located.
[0006] According to another aspect of the present disclosure, a device for calibrating sensor angle information is provided, including: a first acquisition module, used to acquire original point cloud data of a reference object sensed by a sensor; a second acquisition module, used to acquire a measurement angle of a lane where the reference object is located based on the original point cloud data; and a determination module, used to determine a calibration result of the sensor's angle information based on the measurement angle and a true angle of the lane where the reference object is located.
[0007] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method as described in any of the above aspects.
[0008] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any one of the methods according to any one of the above aspects.
[0009] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the methods described in any one of the above aspects.
[0010] 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 disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0012] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;
[0013] Figure 2 is a schematic diagram of an application scenario for implementing an embodiment of the present disclosure;
[0014] Figure 3 is a schematic diagram according to a second embodiment of the present disclosure;
[0015] Figure 4 is a schematic diagram of a data storage process provided according to an embodiment of the present disclosure;
[0016] Figure 5 is a schematic diagram of a process of determining a fitting line based on original point cloud data provided according to an embodiment of the present disclosure;
[0017] Figure 6 is a schematic diagram of a fitting line provided according to an embodiment of the present disclosure;
[0018] Figure 7 is a schematic diagram of point cloud data of a detection object before and after calibration according to an embodiment of the present disclosure;
[0019] Figure 8 is a schematic diagram of a calibration result evaluation provided according to an embodiment of the present disclosure;
[0020] Fig. 9 is a schematic diagram according to a third embodiment of the present disclosure;
[0021] Fig.10 It is a schematic diagram of an electronic device used to implement the sensor angle information calibration method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0023] In the sensor calibration scenario, calibration refers to determining the internal and external parameters of the sensor. The determined internal and external parameters are called calibration parameters.
[0024] For millimeter-wave radar, the calibration parameters include position information and angle information, where the position information is a fixed value that does not change with time, and the angle information changes over time.
[0025] In the related art, the angle information of the millimeter wave radar is usually calibrated manually, for example, the angle information of the millimeter wave radar is manually recalibrated at set intervals or when a large angle deflection is found.
[0026] Due to the manual calibration method, automatic calibration of the angle information cannot be achieved.
[0027] In order to automatically calibrate the angle information of the sensor, the present disclosure provides the following embodiments.
[0028] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure. This embodiment provides a method for calibrating sensor angle information, the method comprising:
[0029] 101. Obtain original point cloud data of the reference object sensed by the sensor.
[0030] 102. Based on the original point cloud data, obtain a measurement angle of the lane where the reference object is located.
[0031] 103. Determine a calibration result of the angle information of the sensor based on the measured angle and a real angle of the lane where the reference object is located.
[0032] In this embodiment, the sensor is a sensor that can collect point cloud data, including, for example: millimeter wave radar, laser radar, ultrasonic radar, or camera, etc.
[0033] Point cloud data is a data set composed of the data of each point. The data of each point includes the position coordinates of the point and may also include other attribute information of the point, such as intensity information.
[0034] The reference object is an object used to assist in calibrating the sensor angle information. The specific reference object is set according to actual needs. In the scenario where the sensor is a vehicle-mounted sensor, the reference object is usually selected as an object on the lane. Furthermore, based on the different types of sensors, the reference object can be selected as different types of reference objects. For example, for millimeter-wave radars, the reference object can be selected as a vehicle other than the vehicle to which the millimeter wave belongs; for ultrasonic radars, the reference object can be selected as a cone barrel on the lane, etc.
[0035] The point cloud data of the reference object collected by the sensor is called raw point cloud data.
[0036] Taking millimeter-wave radar as an example, assuming that the vehicle to which the millimeter-wave radar belongs is vehicle A, and the other vehicles include vehicle B. Assuming that vehicle B is traveling on lane R, the angle of lane R refers to the angle between the driving direction of the vehicle on lane R (such as vehicle B) and the set direction (such as the north direction).
[0037] To distinguish, the angle of the lane determined based on the original point cloud data is called the measured angle of the lane; the objectively accurate angle of the lane is called the true angle. The true angle can be obtained from the high-precision map, and there may be a deviation between the measured angle and the true angle.
[0038] There is a deviation between the above-mentioned measured angle and the true angle, indicating that the angle information of the sensor is deflected. Therefore, the angle information of the sensor can be calibrated based on the measured angle and the true angle.
[0039] In this embodiment, the angle information of the sensor is calibrated based on the measured angle and the true angle of the lane, so that automatic calibration of the sensor angle information can be achieved. Compared with the manual calibration method, the efficiency and accuracy can be improved. In addition, the above-mentioned measured angle and true angle are lane information. Since the lane is a ubiquitous object in the environment where the vehicle-mounted sensor is located, calibration based on the above-mentioned lane information can improve the accuracy of the calibration result and improve universality.
[0040] In order to better understand the embodiments of the present disclosure, the application scenarios of the embodiments of the present disclosure are described.
[0041] Figure 2 Schematic diagram of an application scenario for implementing the embodiment of the present disclosure. In this embodiment, the sensor is a vehicle-mounted millimeter wave radar as an example.
[0042] Millimeter wave radar is a radar that works in the millimeter wave band (millimeter wave). Usually millimeter waves refer to electromagnetic waves in the frequency range of 30 to 300 GHz (wavelength of 1 to 10 mm).
[0043] In a vehicle-mounted scenario, the millimeter-wave radar can be installed in front of the vehicle (such as the front bumper) so that it can sense objects in front of the vehicle.
[0044] In this scenario, the reference object is other vehicles other than the vehicle to which the millimeter-wave radar belongs.
[0045] like Figure 2 As shown, the vehicle to which the millimeter-wave radar 201 belongs is represented by the vehicle 202. During the driving process, the vehicle can sense the point cloud data of other vehicles 203 through the millimeter-wave radar.
[0046] The vehicle 202 and other vehicles 203 may be in the same lane or in different lanes.
[0047] When the vehicle is driving, the millimeter-wave radar is used to collect point cloud data of other vehicles. Then, based on the point cloud data, the measurement angle of the lane where the other vehicles are located can be determined. Then, based on the measurement angle and the true angle of the lane, the angle information of the millimeter-wave radar can be calibrated.
[0048] In this embodiment, other vehicles are used as reference objects. Since other vehicles are objects encountered by the vehicle during driving, there is no need to specially set specific objects as reference objects, which can simplify operations and improve universality.
[0049] In combination with the above application scenarios, the present disclosure also provides a method for calibrating sensor angle information.
[0050] Figure 3 is a schematic diagram according to a second embodiment of the present disclosure, which provides a method for calibrating sensor angle information. In this embodiment, the reference object includes reference objects on multiple lanes as an example. Figure 3 As shown, the method includes:
[0051] 301. Obtain original point cloud data of reference objects on multiple lanes sensed by a sensor.
[0052] 302. Perform clustering processing on the original point cloud data to obtain target point cloud data corresponding to each lane in the multiple lanes.
[0053] 303. Perform fitting processing on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane.
[0054] 304. Determine a measurement angle of each lane based on a slope of a fitting line corresponding to each lane.
[0055] 305. Determine a calibration result of the angle information of the sensor based on the measured angle and a real angle of the lane where the reference object is located.
[0056] After the calibration is triggered, the calibration device can obtain the original point cloud data from the pre-stored data and perform the subsequent calibration process based on the original point cloud data. The calibration process can be triggered based on a preset period, or can be triggered by the user through a button or the like.
[0057] In order to improve the accuracy of the original point cloud data, the stored data can be updated in real time.
[0058] That is, in some embodiments, before 301, the following may also be included:
[0059] During the driving process of the vehicle to which the sensor belongs, storing the point cloud data of the reference object collected by the sensor in a database as the point cloud data before updating;
[0060] If the number of points of the point cloud data before updating reaches a preset threshold and new point cloud data is collected, the point cloud data before updating is replaced by the new point cloud data to obtain updated point cloud data;
[0061] The updated point cloud data is used as the original point cloud data.
[0062] Specifically, Figure 4 is a schematic diagram of a data storage process provided according to an embodiment of the present disclosure. Taking the sensor as a millimeter wave radar as an example, the vehicle to which the millimeter wave radar belongs is called the self-vehicle, and the reference object is other vehicles other than the self-vehicle, such as Figure 4 As shown, the data storage process includes:
[0063] 401. While driving, the vehicle collects the current point cloud data of other vehicles through millimeter wave radar.
[0064] 402. Determine whether the number of points in the stored point cloud data is greater than a threshold. If so, execute 403; otherwise, execute 404.
[0065] The initial value of the number of points of the stored point cloud data can be set to 0, and the number of points is updated each time the point cloud data is stored. The threshold is set according to actual needs, for example, the number of points can be selected between 3000 and 5000.
[0066] 403. Delete the point cloud data with the earliest storage time, and then execute 404.
[0067] 404. Store the current point cloud data into the database.
[0068] In this way, when the number of points in the stored data reaches a threshold, the older point cloud data can be deleted and new point cloud data can be added, thereby realizing continuous updating of the point cloud data of the reference object, improving the real-time performance of the data, and further improving the real-time performance of the calibration results.
[0069] In this embodiment, the original point cloud data is obtained from the stored data, and the stored data is updateable, so that the accuracy of the original point cloud data can be improved.
[0070] The original point cloud data is at the object level, including the point cloud data of each reference object; the target point cloud data is at the lane level, including the point cloud data of all reference objects on each lane.
[0071] Clustering processing refers to clustering the original point cloud data of all reference objects on the same lane into a cluster, and the collection of original point cloud data in each cluster is called a set of target point cloud data.
[0072] In this way, the target point cloud data corresponding to each lane can be obtained through clustering processing.
[0073] Clustering can be performed using a clustering algorithm, such as the DBSCAN algorithm, the OPTICS algorithm, or the K-means clustering (KMEANS) algorithm. The DBSCAN algorithm is a relatively representative density-based clustering algorithm that defines a cluster as the largest set of density-connected points. It can divide areas with sufficiently high density into clusters and can find clusters of any shape in a noisy spatial database. The OPTICS algorithm is based on the concept of density connection and characterizes the clustering structure of point cloud data by calculating the reachable distance between each point and its neighboring points. The KMEANS algorithm is an iterative clustering analysis algorithm.
[0074] For each lane, the target point cloud data corresponding to the lane is fitted to obtain the fitting line corresponding to the lane. If the center line of the lane is a straight line, the fitting line is a straight line; if the center line of the lane is a curve, the fitting line is a curve.
[0075] Specifically, the parameters of the fitting algorithm (such as the least squares method) can be estimated based on the RANdom SAmple Consensus (RANSAC) algorithm and the least squares method to obtain the fitting line. RANSAC is an algorithm that estimates the parameters of the mathematical model in an iterative manner based on a set of sample data sets containing abnormal data, calculates the mathematical model parameters of the data, and obtains valid sample data. The least squares method is a mathematical optimization technique widely used in data analysis, curve fitting, regression analysis and other fields. It finds the best function match by minimizing the sum of squares of the errors, thereby finding the optimal parameter estimate.
[0076] In this embodiment, by clustering the original point cloud data, the original point cloud data of the reference object on the same lane can be clustered into a group of target point cloud data, thereby obtaining the target point cloud data corresponding to each lane, providing a data basis for the subsequent calculation of the measurement angle of the lane; by fitting the target point cloud data, the fitting line corresponding to each lane is obtained, and the measurement angle of the lane is determined based on the slope of the fitting line, so that the measurement angle of the lane can be obtained simply and efficiently.
[0077] After obtaining the fitting line corresponding to the lane, the measured angle of the lane can be calculated according to the slope of the fitting line, and then the calibration result of the angle information of the sensor can be calculated based on the real angle and the measured angle of the lane.
[0078] Among them, the real angle of the lane can come from the high-precision map, that is, the real angle of the lane where the reference object is located can be obtained based on the preset high-precision map. High Definition Map (HD MAP) is a high-precision map used for autonomous driving. As a priori data serving autonomous driving, it expresses map elements such as roads, lanes, roadside traffic signs and ground signs, and the map accuracy can be down to the centimeter level. Among them, the real angle of the lane can be recorded in the high-precision map, and the real angle can be directly obtained from the high-precision map; or, the real angle of the lane may not be directly recorded in the high-precision map, but it records the longitude and latitude information of the lane, and the real angle of the lane can be calculated based on the longitude and latitude information.
[0079] In this embodiment, by obtaining the real angle of the reference lane from the high-precision map, the real angle of the lane can be obtained efficiently and accurately, thereby facilitating the calibration results of subsequent sensor angle information.
[0080] In some embodiments, in order to obtain more accurate target point cloud data, the original point cloud data may be preprocessed (such as filtering) first, and then the preprocessed original point cloud data may be clustered to obtain the target point cloud data.
[0081] That is, clustering the original point cloud data to obtain target point cloud data corresponding to each lane in the multiple lanes includes:
[0082] Based on a preset filtering condition, filtering the original point cloud data to obtain filtered point cloud data;
[0083] The filtered point cloud data are clustered to obtain target point cloud data corresponding to each lane.
[0084] Specifically, the vehicle has driving behaviors such as changing lanes during driving. The vehicle position during the lane change process is not in the center of the lane, but the point cloud position within a period of time conforms to the normal distribution law. Most point clouds are located in the center of the lane, and a small number of point clouds are located at the edge of the lane due to the vehicle changing lanes. In order to improve the calibration accuracy and realize lane-level calibration, the point cloud is first pre-processed to filter out the noise points, that is, the points at the edge of the lane, and then the filtered point cloud is clustered. Specifically, the radius filtering method can be used for filtering, and the filtering function is:
[0085]
[0086] Where (x0, y0) is the coordinate of the current decision point, (x i ,y i ) is the coordinate of other points except the current point, R is the set detection radius, and n is the total number of points. When the number of points in R does not meet the set threshold, the point is considered to be a noise point.
[0087] For example, take 4 points as an example, represented as point A, point B, point C and point D, and their coordinates are: point A's coordinate = (1,0), point B's coordinate = (1,2), point C's coordinate = (2,1), point D's coordinate = (5,2). Then for point A, substitute (1,0) into (x0,y0) in the above formula, and substitute the coordinates of the remaining points into (x i ,y i ), assuming R = 3, take point B as an example, the distance between point B and point A = 2<3, then point B is within the detection radius of point A, similarly, after calculation, point C is also within the detection radius of point A, and point D is not within the detection radius of point A. If the set threshold corresponding to the number = 2, since both point B and point C are within the detection radius of point A, then point A is not a noise point. For another example, for point D, after calculation, point A, point B and point C are not within the detection radius of point D, that is, the number of points within the detection radius of point D is 0, then point D is a noise point.
[0088] In this embodiment, the target point cloud data is obtained by filtering the original point cloud data and clustering the filtered original point cloud data, thereby improving the accuracy of the target point cloud data.
[0089] In some embodiments, in order to improve the accuracy of the fitting line corresponding to the lane, the clustering result can also be evaluated. After the clustering result passes the evaluation, that is, the clustering process is successful, the target point cloud data is clustered to obtain the fitting line. Otherwise, if the clustering process is unsuccessful, new original point cloud data can be obtained again, and the new original point cloud data can be clustered again.
[0090] That is, performing fitting processing on the target point cloud data corresponding to each lane to obtain the fitting line corresponding to each lane includes:
[0091] Determining whether the clustering process is successful based on the number of points of the target point cloud data corresponding to each lane;
[0092] If it is determined that the clustering process is successful, fitting process is performed on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane.
[0093] In this embodiment, after the clustering process is successful, the target point cloud data is fitted to obtain a fitting line, which can improve the accuracy of the fitting line.
[0094] Combining the above filtering, clustering and fitting processes, Figure 5 is a schematic diagram of a process of determining a fitting line based on original point cloud data according to an embodiment of the present disclosure, such as Figure 5 As shown, the process includes:
[0095] 501. Obtain original point cloud data of a reference object sensed by a sensor.
[0096] 502. Based on a preset filtering condition, filter the original point cloud data to obtain filtered point cloud data.
[0097] 503. Perform clustering processing on the filtered point cloud data to obtain target point cloud data corresponding to each lane.
[0098] 504. Based on the number of points of the target point cloud data corresponding to each lane, determine whether the clustering process is successful. If so, execute 505; otherwise, execute 501 and subsequent steps.
[0099] 505. Perform fitting processing on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane.
[0100] In some embodiments, determining whether the clustering process is successful based on the number of points of the target point cloud data corresponding to each lane includes:
[0101] Determine a point ratio based on the number of points of the target point cloud data corresponding to each lane and the number of points of the original point cloud data;
[0102] Determining a point number standard deviation based on the number of points of the target point cloud data corresponding to each lane, the number of points of the original point cloud data, and the number of lanes of the plurality of lanes;
[0103] Based on the number of lanes, determining a threshold range;
[0104] Determine a cluster point mean based on the number of points in the original point cloud data and the number of lanes;
[0105] If the point ratio falls within the threshold range, and the ratio of the point standard deviation to the cluster point mean is less than a preset value, it is determined that the clustering process is successful.
[0106] Specifically, due to the uncertainty of the point cloud clustering algorithm, clustering fails when the data quality is low. Therefore, the clustering result evaluation index is designed:
[0107] The first indicator and the second indicator, the first indicator is called the point proportion, and the second indicator is called the point standard deviation.
[0108] For the first indicator (point proportion): set the point proportion threshold of the clustering result according to the current number of lanes. The judgment function is:
[0109] The first indicator (point ratio): The point ratio of each cluster in the clustering result determines whether the clustering is successful. The clustering result judgment function is:
[0110]
[0111] Among them, PointNum i is the number of points in the i-th cluster, PointSum is the total number of points, N is the number of clusters in the clustering result, Threshold min and Threshold max They are the minimum and maximum points percentages, respectively, and are determined according to the number of lanes. If the number of lanes is M, then Threshold min It is 1 / M minus a set value, Threshold max It is 1 / M plus a set value. Since the difference in the number of points distributed in each lane is not too big or too small, the point ratio can be used as one of the criteria for determining the clustering result.
[0112] For example, taking two lanes as an example, the above maximum and minimum values are both around 50%. Specifically, a threshold can be increased or decreased based on 50%, such as Threshold min You can choose 30%, Threshold max Select 70%. Take the total number of points PointSum = 3000 as an example. Assuming that the number of points PointNum1 in the first cluster is 2000, since its ratio 2000 / 3000 is within the range of [30%, 70%], the point ratio of the first cluster meets the requirements; for another example, assuming that the number of points PointNum2 in the second cluster is 1000, since its ratio 1000 / 3000 is also within the range of [30%, 70%], the point ratio of the second cluster also meets the requirements. On the contrary, if the number of points in a cluster is 500, since 500 / 3000 is not within the above range of [30%, 70%], the point ratio of this cluster does not meet the requirements.
[0113] The second indicator (point standard deviation): The degree of dispersion of the clustering results is judged according to the standard deviation of the points in each cluster in the clustering results, and the coefficient of variation is used to effectively evaluate whether the clustering results of different projects and samples are successful. The coefficient of variation function and the clustering result judgment function are:
[0114]
[0115]
[0116] in, is the average number of cluster points, σ is the standard deviation of the clustering results, c v is the coefficient of variation of the cluster sample, Threshold cv is the threshold of the coefficient of variation, N is the number of clusters in the clustering result, and i represents the i-th cluster. When the coefficient of variation meets the threshold, it means that the clustering effect is good. Since the standard deviation can objectively reflect the degree of dispersion of sample data, the standard deviation of the clustering result is used for evaluation. At the same time, considering the lack of comparability of standard deviations of different projects or different samples of the same project, the coefficient of variation indicator is introduced, and combined with the first indicator, an accurate judgment result on whether the clustering process is successful is obtained.
[0117] For example, still taking the above two clusters as an example, one cluster has 2000 points and the other has 1000 points. After using the above formula to calculate Assume Threshold cv =0.1, then c v It meets the requirements.
[0118] In this embodiment, the success of clustering processing is judged by combining the point proportion and the point standard deviation, and the clustering results can be measured from multiple dimensions, thereby improving the accuracy of the judgment and further improving the accuracy of the calibration results.
[0119] After obtaining the fitting line corresponding to the lane, the slope of the fitting line can be calculated.
[0120] Assuming that the fitting line is a straight line and the equation of the line is y=kx+b, the slope calculation formula is:
[0121]
[0122] Among them, n is the total number of points of the target point cloud data corresponding to the current fitting lane, x i and i are the coordinates of each point in the target point cloud data corresponding to the current fitting lane, and k is the slope of the fitted straight line.
[0123] For example, taking two points, the coordinates of the two points are (1,0) and (2,1) respectively. After calculation by the above formula: k = (2*2-3*1) / (2*5-9) = 1.
[0124] Figure 6 is a schematic diagram of a fitting line provided according to an embodiment of the present disclosure. Figure 6 As shown, taking three lanes as an example, three fitting lines can be obtained, and each fitting line corresponds to one lane.
[0125] After obtaining the above slope, the measurement angle of the corresponding lane can be calculated based on the slope.
[0126] Figure 6 The Y axis in is the set direction, such as the north direction, and the X axis is perpendicular to the Y axis. Figure 6 In the coordinate system shown, the measured angle is the angle between the above-mentioned fitting line and the true north direction. The expression of the measured angle is as follows:
[0127]
[0128] where k is the slope calculated above.
[0129] For example, k=1, then arctan(k)=45 degrees, substituting into the above formula, the measured angle=45 degrees.
[0130] Afterwards, the calibration result of the sensor angle information can be determined based on the actual angle of the lane and the measured angle.
[0131] Wherein, an angle error can be determined based on the measured angle and the true angle; and the calibration result can be determined based on the angle error.
[0132] In this embodiment, the angle error is determined based on the measured angle and the true angle, and the calibration result is determined based on the angle error, so that the calibration result can be obtained simply and efficiently.
[0133] Usually the sensor angle information refers to the sensor's north angle, that is, the angle between the straight line where the sensor is located and the true north direction. The clockwise direction is positive and the counterclockwise direction is negative.
[0134] Based on this, the calculation formula for the angle error is:
[0135]
[0136] Among them, θ map is the real angle of the lane, is the measured angle of the lane, and Δθ is the angle error.
[0137] For example, the true angle = 50 degrees, the measured angle = 45 degrees, then the angle error = 5 degrees.
[0138] In an ideal case, that is, when the calibration is successful, Δθ can be used as the final calibrated sensor angle information. Conversely, when the calibration is unsuccessful, the above calibration process can be re-executed.
[0139] After using Δθ as the final calibrated sensor angle information, the point cloud data detected by the sensor can be calibrated based on Δθ to obtain accurate point cloud data of the detection object (such as other vehicles), and then accurately perform target detection, target tracking, target reconstruction and other processing.
[0140] Figure 7 is a schematic diagram of point cloud data of a detection object before and after calibration provided according to an embodiment of the present disclosure. Figure 7 The Y axis is the north direction, the X axis is the direction perpendicular to the Y axis, and is the angle error Δθ mentioned above. Take the detection object as another vehicle as an example, Figure 7 As shown, the point cloud data of the detection object before calibration is not located on the lane. Since other vehicles should be driving on the lane, the point cloud data before calibration is inaccurate. Therefore, calibration can be performed based on the angle error to obtain calibrated point cloud data located on the lane, thereby improving the accuracy of the detection results.
[0141] In some embodiments, determining the calibration result based on the angle error includes:
[0142] Based on the angle error, calibrate the initial detection result of the detection object sensed by the sensor to obtain a target detection result of the detection result;
[0143] If the calibration is determined to be successful based on the target detection result, the angle error is used as the calibration result.
[0144] In this embodiment, after the calibration is successful, the angle error is used as the calibration result, so that the accuracy of the calibration result can be improved.
[0145] In some embodiments, the sensor is a millimeter wave radar, and the reference object and the detection object are both: other vehicles other than the vehicle to which the millimeter wave radar belongs.
[0146] For example, the vehicle to which the millimeter-wave radar belongs is represented by vehicle A, and other vehicles other than vehicle A (such as vehicle B, vehicle C, etc.) can be used as reference objects and detection objects.
[0147] In this embodiment, by using other vehicles as reference objects and detection objects, there is no need to specially set reference objects and detection objects, thereby improving universality.
[0148] For the detection object, the detection result before the angle error calibration is called the initial detection result, and the detection result after calibration is called the target detection result. The detection result can be the position coordinates (x, y) of the detection object.
[0149] In some embodiments, the target detection result includes: the position coordinates of each other vehicle among a plurality of other vehicles; the method further includes:
[0150] Determine the lateral distance between each other vehicle and the center line of the lane in which it is located based on a preset high-precision map and the position coordinates of each other vehicle;
[0151] Acquire the lane width of the lane based on the high-precision map;
[0152] Determining a normalized distance corresponding to each of the other vehicles based on the lateral distance and the lane width;
[0153] Determining a normalized distance mean based on the normalized distances corresponding to each of the other vehicles;
[0154] If the normalized distance mean is within a preset range, it is determined that the calibration is successful.
[0155] Specifically, after obtaining the angle error based on the measured angle and the true angle of the lane, the angle error is used to calibrate the position coordinates of the detection object (other vehicles), and whether the calibration process is successful is determined based on the calibrated position coordinates.
[0156] The calibration formula for position coordinates is:
[0157]
[0158] Among them, x' and y' are the position coordinates after calibration, x and y are the position coordinates before calibration, and xradar and radar is the coordinate of the preset millimeter-wave radar, and Δθ is the above-mentioned angular error.
[0159] In order to ensure the effectiveness of the calibration, the calibration results are self-evaluated to achieve a closed-loop calibration.
[0160] Figure 8 is a schematic diagram of the calibration result evaluation provided according to an embodiment of the present disclosure. Figure 8 The detection object is represented by a target. After the position coordinates of the target are calibrated, the calibrated position coordinates can be combined into a target point set. Combined with the high-precision map, the lateral distance of each target from the lane centerline can be obtained. The lateral distance is used as a calibration indicator to evaluate the calibration result. The evaluation function is:
[0161]
[0162] Among them l i is the lateral distance of the i-th target (such as other vehicles) from the center line of its lane, obtained based on the calibrated position coordinates (x', y') of the target and the lane information in the high-precision map; l lane is the width of the lane where the target is located; is the normalized distance, N is the number of targets in the self-evaluation dataset, τ is the self-evaluation index, τ∈[0,1]. When τ is closer to 0, it means that the target is closer to the lane, that is, the calibration result is better. By calculating the τ value, you can know the effect of this calibration. When the calibration result does not meet expectations, you can continue to trigger the calibration function and calibrate again.
[0163] For example, there are three targets, and the lateral distances from these three targets to the centerline of the vehicle are l i They are 0.5, 1, and 1.2 respectively. Assuming the lane width = 4, after calculation, τ = (0.5 / 2+1 / 2+1.2 / 2) / 3 = 0.45. Assuming the threshold is set to 0.5, since 0.45 is less than 0.5, the calibration result meets the requirements.
[0164] In this embodiment, since other target vehicles usually travel in the center area of the lane under normal circumstances, the calibration results are evaluated based on the above-mentioned evaluation method, and the evaluation results can be obtained objectively and accurately, thereby ensuring the validity of the calibration results.
[0165] Fig. 9 It is a schematic diagram according to the third embodiment of the present disclosure. This embodiment provides a device for calibrating sensor angle information. The device 900 includes: a first acquisition module 901, a second acquisition module 902 and a determination module 903.
[0166] The first acquisition module 901 is used to acquire the original point cloud data of the reference object perceived by the sensor; the second acquisition module 902 is used to acquire the measurement angle of the lane where the reference object is located based on the original point cloud data; the determination module 903 is used to determine the calibration result of the angle information of the sensor based on the measurement angle and the real angle of the lane where the reference object is located.
[0167] In this embodiment, the angle information of the sensor is calibrated based on the measured angle and the true angle of the lane, so that automatic calibration of the sensor angle information can be achieved. Compared with the manual calibration method, the efficiency and accuracy can be improved. In addition, the above-mentioned measured angle and true angle are lane information. Since the lane is a ubiquitous object in the environment where the vehicle-mounted sensor is located, calibration based on the above-mentioned lane information can improve the accuracy of the calibration result and improve universality.
[0168] In some embodiments, the reference object includes: reference objects on multiple lanes; the second acquisition module is further used to:
[0169] Performing clustering processing on the original point cloud data to obtain target point cloud data corresponding to each lane in the multiple lanes;
[0170] Performing fitting processing on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane;
[0171] The measurement angle of each lane is determined based on the slope of the fitting line corresponding to each lane.
[0172] In this embodiment, by clustering the original point cloud data, the original point cloud data of the reference object on the same lane can be clustered into a group of target point cloud data, thereby obtaining the target point cloud data corresponding to each lane, providing a data basis for the subsequent calculation of the measurement angle of the lane; by fitting the target point cloud data, the fitting line corresponding to each lane is obtained, and the measurement angle of the lane is determined based on the slope of the fitting line, so that the measurement angle of the lane can be obtained simply and efficiently.
[0173] In some embodiments, the second acquisition module is further used to:
[0174] Based on a preset filtering condition, filtering the original point cloud data to obtain filtered point cloud data;
[0175] The filtered point cloud data are clustered to obtain target point cloud data corresponding to each lane.
[0176] In this embodiment, the target point cloud data is obtained by filtering the original point cloud data and clustering the filtered original point cloud data, thereby improving the accuracy of the target point cloud data.
[0177] In some embodiments, the second acquisition module is further used to:
[0178] Determining whether the clustering process is successful based on the number of points of the target point cloud data corresponding to each lane;
[0179] If it is determined that the clustering process is successful, fitting process is performed on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane.
[0180] In this embodiment, after the clustering process is successful, the target point cloud data is fitted to obtain a fitting line, which can improve the accuracy of the fitting line.
[0181] In some embodiments, the second acquisition module is further used to:
[0182] Determine a point ratio based on the number of points of the target point cloud data corresponding to each lane and the number of points of the original point cloud data;
[0183] Determining a point number standard deviation based on the number of points of the target point cloud data corresponding to each lane, the number of points of the original point cloud data, and the number of lanes of the plurality of lanes;
[0184] Based on the number of lanes, determining a threshold range;
[0185] Determine a cluster point mean based on the number of points in the original point cloud data and the number of lanes;
[0186] If the point ratio falls within the threshold range, and the ratio of the point standard deviation to the cluster point mean is less than a preset value, it is determined that the clustering process is successful.
[0187] In this embodiment, the success of clustering processing is judged by combining the point proportion and the point standard deviation, and the clustering results can be measured from multiple dimensions, thereby improving the accuracy of the judgment and further improving the accuracy of the calibration results.
[0188] In some embodiments, the device further includes: a third acquisition module, configured to acquire a real angle of the lane where the reference object is located according to a preset high-precision map.
[0189] In this embodiment, by obtaining the real angle of the reference lane from the high-precision map, the real angle of the lane can be obtained efficiently and accurately, thereby facilitating the calibration results of subsequent sensor angle information.
[0190] In some embodiments, the device further comprises:
[0191] A storage module is used to store the point cloud data of the reference object collected by the sensor as the point cloud data before updating in a database during the driving process of the vehicle to which the sensor belongs; if the number of points in the point cloud data before updating reaches a preset threshold and new point cloud data is collected, the new point cloud data is used to replace the point cloud data before updating to obtain updated point cloud data as the original point cloud data.
[0192] In this embodiment, the original point cloud data is obtained from the stored data, and the stored data is updateable, so that the accuracy of the original point cloud data can be improved.
[0193] In some embodiments, the determining module is further configured to:
[0194] determining an angle error based on the measured angle and the true angle;
[0195] Based on the angle error, the calibration result is determined.
[0196] In this embodiment, the angle error is determined based on the measured angle and the true angle, and the calibration result is determined based on the angle error, so that the calibration result can be obtained simply and efficiently.
[0197] In some embodiments, the determining module is further configured to:
[0198] Based on the angle error, calibrate the initial detection result of the detection object sensed by the sensor to obtain a target detection result of the detection result;
[0199] If the calibration is determined to be successful based on the target detection result, the angle error is used as the calibration result.
[0200] In this embodiment, after the calibration is successful, the angle error is used as the calibration result, so that the accuracy of the calibration result can be improved.
[0201] In some embodiments, the sensor is a millimeter wave radar, and the reference object and the detection object are both: other vehicles other than the vehicle to which the millimeter wave radar belongs.
[0202] In this embodiment, by using other vehicles as reference objects and detection objects, there is no need to specially set reference objects and detection objects, thereby improving universality.
[0203] In some embodiments, the target detection result includes: the position coordinates of each other vehicle among a plurality of other vehicles; the device further includes:
[0204] The evaluation module is used to determine the lateral distance between each other vehicle and the center line of the lane where it is located according to a preset high-precision map and the position coordinates of each other vehicle; obtain the lane width of the lane according to the high-precision map; determine the normalized distance corresponding to each other vehicle according to the lateral distance and the lane width; determine the normalized distance mean according to the normalized distance corresponding to each other vehicle; if the normalized distance mean is within a preset range, determine that the calibration is successful.
[0205] In this embodiment, since other target vehicles usually travel in the center area of the lane under normal circumstances, the calibration results are evaluated based on the above-mentioned evaluation method, and the evaluation results can be obtained objectively and accurately, thereby ensuring the validity of the calibration results.
[0206] It can be understood that in the embodiments of the present disclosure, the same or similar contents in different embodiments can be referenced to each other.
[0207] It can be understood that the “first”, “second”, etc. in the embodiments of the present disclosure are only used for distinction and do not indicate the degree of importance, time sequence, etc.
[0208] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0209] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0210] Fig.10 A schematic block diagram of an example electronic device 1000 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 1000 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 1000 can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0211] like Fig.10As shown, the electronic device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 10010 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the electronic device 1000 can also be stored. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0212] Multiple components in the electronic device 1000 are connected to the I / O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a disk, an optical disk, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows the electronic device 1000 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0213] The computing unit 1001 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1001 performs the various methods and processes described above, such as the calibration method of the sensor angle information. For example, in some embodiments, the calibration method of the sensor angle information may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1008. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1000 via the ROM 1002 and / or the communication unit 1009. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the calibration method of the sensor angle information described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to execute the calibration method of the sensor angle information in any other appropriate manner (for example, by means of firmware).
[0214] 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), complex 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.
[0215] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable load balancing device, so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code may 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.
[0216] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. 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.
[0217] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0218] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system 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), and the Internet.
[0219] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0220] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0221] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. 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 disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for calibrating sensor angle information, comprising: Obtaining original point cloud data of the reference object sensed by the sensor; Based on the original point cloud data, obtaining a measurement angle of the lane where the reference object is located; Based on the measured angle and the real angle of the lane where the reference object is located, a calibration result of the angle information of the sensor is determined.
2. The method according to claim 1, wherein: The reference objects include: reference objects on multiple lanes; The obtaining, based on the original point cloud data, a measurement angle of the lane where the reference object is located, comprises: Performing clustering processing on the original point cloud data to obtain target point cloud data corresponding to each lane in the multiple lanes; Performing fitting processing on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane; The measurement angle of each lane is determined based on the slope of the fitting line corresponding to each lane.
3. The method according to claim 2, wherein: The clustering process of the original point cloud data to obtain target point cloud data corresponding to each lane in the multiple lanes includes: Based on a preset filtering condition, filtering the original point cloud data to obtain filtered point cloud data; The filtered point cloud data are clustered to obtain target point cloud data corresponding to each lane.
4. The method according to claim 2, wherein: The fitting process is performed on the target point cloud data corresponding to each lane to obtain the fitting line corresponding to each lane, including: Determining whether the clustering process is successful based on the number of points of the target point cloud data corresponding to each lane; If it is determined that the clustering process is successful, fitting process is performed on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane.
5. The method according to claim 4, wherein: The determining whether the clustering process is successful based on the number of points of the target point cloud data corresponding to each lane includes: Determine a point ratio based on the number of points of the target point cloud data corresponding to each lane and the number of points of the original point cloud data; Determining a point number standard deviation based on the number of points of the target point cloud data corresponding to each lane, the number of points of the original point cloud data, and the number of lanes of the plurality of lanes; Based on the number of lanes, determining a threshold range; Determine a cluster point mean based on the number of points in the original point cloud data and the number of lanes; If the point ratio falls within the threshold range, and the ratio of the point standard deviation to the cluster point mean is less than a preset value, it is determined that the clustering process is successful.
6. The method according to claim 1, further comprising: Based on a preset high-precision map, the real angle of the lane where the reference object is located is obtained.
7. The method according to claim 1, further comprising: During the driving process of the vehicle to which the sensor belongs, storing the point cloud data of the reference object collected by the sensor in a database as the point cloud data before updating; If the number of points of the point cloud data before updating reaches a preset threshold and new point cloud data is collected, the point cloud data before updating is replaced by the new point cloud data to obtain updated point cloud data as the original point cloud data.
8. The method according to claim 1, wherein: The step of determining a calibration result of the angle information of the sensor based on the measured angle and the real angle of the lane where the reference object is located includes: determining an angle error based on the measured angle and the true angle; Based on the angle error, the calibration result is determined.
9. The method according to claim 8, wherein: The step of determining the calibration result based on the angle error includes: Based on the angle error, calibrate the initial detection result of the detection object sensed by the sensor to obtain a target detection result of the detection result; If the calibration is determined to be successful based on the target detection result, the angle error is used as the calibration result.
10. The method according to claim 1, wherein: The sensor is a millimeter wave radar, and the reference object and the detection object are both vehicles other than the vehicle to which the millimeter wave radar belongs.
11. The method according to claim 10, wherein: The target detection result includes: the position coordinates of each other vehicle among the multiple other vehicles; The method further comprises: Determine the lateral distance between each other vehicle and the center line of the lane in which it is located based on a preset high-precision map and the position coordinates of each other vehicle; Acquire a lane width of the lane based on the high-precision map; Determining a normalized distance corresponding to each of the other vehicles based on the lateral distance and the lane width; Determining a normalized distance mean based on the normalized distances corresponding to each of the other vehicles; If the normalized distance mean is within a preset range, it is determined that the calibration is successful.
12. A device for calibrating sensor angle information, comprising: A first acquisition module is used to acquire original point cloud data of a reference object sensed by a sensor; A second acquisition module, used to acquire a measurement angle of the lane where the reference object is located according to the original point cloud data; The determination module is used to determine the calibration result of the angle information of the sensor according to the measured angle and the real angle of the lane where the reference object is located.
13. The device according to claim 12, wherein: The reference objects include: reference objects on multiple lanes; The second acquisition module is further used for: Performing clustering processing on the original point cloud data to obtain target point cloud data corresponding to each lane in the multiple lanes; Performing fitting processing on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane; The measurement angle of each lane is determined based on the slope of the fitting line corresponding to each lane.
14. The device according to claim 13, wherein: The second acquisition module is further used for: Based on a preset filtering condition, filtering the original point cloud data to obtain filtered point cloud data; The filtered point cloud data are clustered to obtain target point cloud data corresponding to each lane.
15. The device according to claim 13, wherein: The second acquisition module is further used for: Determining whether the clustering process is successful based on the number of points of the target point cloud data corresponding to each lane; If it is determined that the clustering process is successful, fitting process is performed on the target point cloud data corresponding to each lane to obtain a fitting line corresponding to each lane.
16. The device according to claim 15, wherein: The second acquisition module is further used for: Determine a point ratio based on the number of points of the target point cloud data corresponding to each lane and the number of points of the original point cloud data; Determining a point number standard deviation based on the number of points of the target point cloud data corresponding to each lane, the number of points of the original point cloud data, and the number of lanes of the plurality of lanes; Based on the number of lanes, determining a threshold range; Determine a cluster point mean based on the number of points in the original point cloud data and the number of lanes; If the point ratio falls within the threshold range, and the ratio of the point standard deviation to the cluster point mean is less than a preset value, it is determined that the clustering process is successful.
17. The apparatus according to claim 12, further comprising: The third acquisition module is used to obtain the real angle of the lane where the reference object is located based on a preset high-precision map.
18. The apparatus according to claim 12, further comprising: A storage module is used to store the point cloud data of the reference object collected by the sensor as the point cloud data before updating in a database during the driving process of the vehicle to which the sensor belongs; if the number of points in the point cloud data before updating reaches a preset threshold and new point cloud data is collected, the new point cloud data is used to replace the point cloud data before updating to obtain updated point cloud data as the original point cloud data.
19. The device according to claim 12, wherein: The determination module is further used for: determining an angle error based on the measured angle and the true angle; Based on the angle error, the calibration result is determined.
20. The device according to claim 19, wherein The determination module is further used for: Based on the angle error, calibrate the initial detection result of the detection object sensed by the sensor to obtain a target detection result of the detection result; If the calibration is determined to be successful based on the target detection result, the angle error is used as the calibration result.
21. The device according to claim 12, wherein: The sensor is a millimeter wave radar, and the reference object and the detection object are both vehicles other than the vehicle to which the millimeter wave radar belongs.
22. The device according to claim 21, wherein The target detection result includes: the position coordinates of each other vehicle among the multiple other vehicles; The device also includes: The evaluation module is used to determine the lateral distance between each other vehicle and the center line of the lane where it is located according to a preset high-precision map and the position coordinates of each other vehicle; obtain the lane width of the lane according to the high-precision map; determine the normalized distance corresponding to each other vehicle according to the lateral distance and the lane width; determine the normalized distance mean according to the normalized distance corresponding to each other vehicle; if the normalized distance mean is within a preset range, determine that the calibration is successful.
23. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.
24. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-9.
25. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 9.
Citation Information
Cited By
Vehicle-road cooperation calibration system and method, electronic equipment and vehicle
CN120412284A
