A parking space evaluation method, system, device and medium based on laser radar

CN116129669BActive Publication Date: 2024-09-24HOZON NEW ENERGY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310089448.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-30
Publication Date
2024-09-24
Estimated Expiration
2043-01-30

AI Technical Summary

Technical Problem

[0002]随着车辆自动泊车系统在乘用车上需求逐渐变多,在乘用车自动泊车系统的车位检测上,常存在真值参考数据量少,车位检测算法在测评后,造成测评结果在优化方向的选取上未有合适的量化参考标准,导致乘用车自动泊车系统难以进行迅速准确的高精度泊车

Benefits of technology

[0039] Compared with the prior art, this application has obvious advantages and beneficial effects. Through the above technical solutions, this application has at least one of the following advantages and beneficial effects:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116129669B
    Figure CN116129669B
Patent Text Reader

Abstract

A parking space evaluation method, system, equipment and medium based on laser radar is implemented based on laser radar and reflective module. The method includes: setting reflective module at the corner point of parking space in the test scene, collecting laser radar data and parking space detection data; using SLAM algorithm to perform three-dimensional reconstruction of the test scene based on laser radar data, and obtaining positioning data and point cloud map; based on the posture of SLAM algorithm, converting the parking space coordinates of parking space detection data to global coordinates, and obtaining parking space detection results through calculation; based on the preset reflective intensity threshold, extracting the point cloud data of the reflective module in the point cloud map, clustering the point cloud data of the reflective module, and obtaining the parking space corner point position data of the restored parking space information through weighted averaging of the obtained clustering results; comparing the parking space information with the parking space detection result, and evaluating the parking space detection result. This application simplifies the parking space evaluation of existing laser radars and improves the evaluation accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of laser radar parking space assessment, and in particular, relates to a laser radar-based parking space assessment method, system, equipment and medium. Background Art

[0002] As the demand for automatic parking systems in passenger cars increases, there is often a small amount of true reference data in the parking space detection of passenger car automatic parking systems. After the parking space detection algorithm is evaluated, there is no suitable quantitative reference standard for the selection of optimization direction for the evaluation results, which makes it difficult for the automatic parking system of passenger cars to perform rapid, accurate and high-precision parking.

[0003] In view of this, it is necessary to propose a parking space evaluation method, system, equipment and medium based on lidar to solve the problem that the current parking space evaluation of lidar is difficult to achieve high-precision parking detection and high-precision evaluation. Summary of the invention

[0004] The present application provides a parking space evaluation method, system, device and medium based on laser radar to solve the problem that the current parking space evaluation of laser radar is difficult to achieve high-precision parking and high-precision evaluation. The present application is implemented based on laser radar and a reflective module. By setting a reflective module at the corner point of the parking space in the test scene, running the vehicle, collecting laser radar data and parking space detection data, wherein the laser radar is installed on the vehicle, and the parking space detection data is obtained based on the vehicle's camera; based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map; based on the laser SLAM algorithm The parking space coordinates of the parking space detection data are converted into global coordinates based on the posture information, and the parking space detection result is obtained by calculation; based on a preset reflection intensity threshold, the point cloud data of the reflective module in the point cloud map is extracted, and the point cloud data of the reflective module is clustered to obtain a clustering result; the clustering result is weighted averaged to obtain the parking space corner point position data; the parking space information is restored based on the parking space corner point position data, the parking space information is compared with the parking space detection result, and the parking space detection result is evaluated, which simplifies the existing parking space evaluation scheme of the lidar, realizes high-precision parking detection, and improves the parking space evaluation accuracy of the lidar.

[0005] The purpose of this application and the solution of its technical problems are achieved by adopting the following technical solutions.

[0006] The present application provides a parking space evaluation method based on laser radar, which is implemented based on laser radar and a reflective module. The parking space evaluation method includes:

[0007] A reflective module is set at a corner point of a parking space in a test scene, a vehicle is operated, and laser radar data and parking space detection data are collected, wherein the laser radar is installed on the vehicle and the parking space detection data is obtained based on a camera of the vehicle;

[0008] Based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map; based on the posture information of the laser SLAM algorithm, the parking space coordinates of the parking space detection data are converted to global coordinates, and the parking space detection result is obtained by calculation;

[0009] Based on a preset reflection intensity threshold, point cloud data of the reflection module in the point cloud map is extracted, and the point cloud data of the reflection module is clustered to obtain a clustering result; the clustering result is weighted averaged to obtain parking space corner point position data;

[0010] The parking space information is restored based on the parking space corner point position data, the parking space information is compared with the parking space detection result, and the parking space detection result is evaluated.

[0011] Optionally, setting a reflective module at a corner point of a parking space in a test scene includes:

[0012] A reflective module with a first mark is set at a corner point of a parking space in a test scene to mark the corner point of the parking space of the vehicle; wherein the first mark is a reflective mark or a preset structure mark.

[0013] Optionally, the laser radar installed on the vehicle includes:

[0014] Install single-line laser radars at different locations on the vehicle; and / or

[0015] Multi-line laser radars are installed at different positions on the vehicle.

[0016] Optionally, clustering the point cloud data of the reflective module to obtain a clustering result includes:

[0017] The point cloud data of the reflective module are clustered in a manner that each class represents a corner point of a parking space, and a clustering result is obtained.

[0018] Optionally, based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map, including:

[0019] Collecting lidar point cloud data based on the lidar data, and creating a three-dimensional map of the test scene based on the lidar point cloud data;

[0020] The point cloud data of each frame of the laser radar is spliced ​​and positioned to obtain the position information and posture information of the vehicle in the three-dimensional map.

[0021] Optionally, based on the position information of the laser slam algorithm, converting the parking space coordinates of the parking space detection data into global coordinates includes:

[0022] Based on the position information and posture information of the parking space detection data in the three-dimensional map, the parking space coordinates of the parking space detection data at the current moment and current position are converted into the global coordinates of the three-dimensional map of the test scene.

[0023] Optionally, the evaluation of the parking space detection result includes:

[0024] Evaluate the accuracy of parking space corner points based on parking space detection results;

[0025] Evaluate the angle of parking space based on the parking space detection results.

[0026] Optionally, running the vehicle in the test scenario and collecting lidar data and parking space detection data also includes:

[0027] In the test scenario, the vehicle encoder data, inertial measurement unit IMU data and positioning navigation system data are collected.

[0028] Optionally, based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene, and obtaining positioning data and a point cloud map further includes:

[0029] Based on the laser slam algorithm, the laser radar data, vehicle-mounted encoder data, inertial measurement unit IMU data and positioning navigation system data are used to reconstruct the three-dimensional test scene and obtain the point cloud map of the positioning data.

[0030] The present application also provides a parking space assessment system based on laser radar, which is implemented based on laser radar and a reflective module, including:

[0031] A detection data acquisition unit, used to set a reflective module at a corner point of a parking space in a test scene, run a vehicle, and collect laser radar data and parking space detection data, wherein the laser radar is installed on the vehicle and the parking space detection data is acquired based on a camera;

[0032] A point cloud map generating unit, based on the laser radar data, uses a laser SLAM algorithm to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map; based on the position information of the laser SLAM algorithm, the parking space coordinates of the parking space detection data are converted into global coordinates, and a parking space detection result is obtained by calculation;

[0033] A clustering unit, based on a preset reflection intensity threshold, extracts point cloud data of the reflection module in the point cloud map, and clusters the point cloud data of the reflection module to obtain a clustering result; and obtains parking space corner point position data by weighted averaging the clustering results;

[0034] The evaluation unit restores the parking space information based on the parking space corner point position data, compares the parking space information with the parking space detection result, and evaluates the parking space detection result.

[0035] The present application also provides an electronic device, the electronic device comprising:

[0036] a memory for storing non-transitory computer-readable instructions; and

[0037] The processor is used to run the computer-readable instructions, so that the computer-readable instructions implement the above-mentioned method when executed by the processor.

[0038] The present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on a device, the device executes the method described above.

[0039] Compared with the prior art, the present application has obvious advantages and beneficial effects. By means of the above technical solution, the present application has at least one of the following advantages and beneficial effects:

[0040] 1. The present application is implemented based on a laser radar and a reflective module, and includes: setting a reflective module at a corner point of a parking space in a test scene, running a vehicle, collecting laser radar data and parking space detection data, wherein the laser radar is installed on the vehicle, and the parking space detection data is obtained based on a camera of the vehicle; based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map; based on the posture information of the laser SLAM algorithm, the parking space coordinates of the parking space detection data are converted to global coordinates, and a parking space detection result is obtained by calculation; based on a preset reflection intensity threshold, the point cloud data of the reflective module in the point cloud map is extracted, and the point cloud data of the reflective module is clustered to obtain a clustering result; the clustering result is weighted averaged to obtain parking space corner point position data; based on the parking space corner point position data, the parking space information is restored, the parking space information is compared with the parking space detection result, and the parking space detection result is evaluated. This application obtains parking space corner point data by clustering operation, performs weighted averaging on the parking space corner point data, obtains parking space corner point position data, and restores real parking space information based on the parking space corner point position data. The reliability of the acquired real parking space information is improved by laser radar and matching reflective module. At the same time, the parking space detection result is obtained by using a camera to obtain the parking space detection data, and the parking space detection evaluation result is obtained by comparing the restored real parking space information with the parking space detection result. This application simplifies the existing laser radar parking space evaluation scheme, realizes high-precision parking detection, and improves the accuracy of parking space evaluation using laser radar.

[0041] 2. The present application identifies the parking corner points of the vehicle by setting a reflective module with a first mark at the parking corner points of the test scene; wherein the first mark is a reflective mark or a preset structure mark. For example, the reflective mark can be a highly reflective material, and the preset structure mark can be setting the reflective module to a preset plate structure / cylindrical structure / barrel structure. The first mark of the reflective module can also be represented by the above-mentioned preset structure mark made of highly reflective material. The present application identifies the parking corner point information of the vehicle by a reflective module with a first mark, thereby ensuring the accuracy of the data of each parking corner point; ensuring that when the clustering calculation is performed on the corner point data of each parking space, the clustering results are weighted averaged to obtain the position data of each parking corner point, as well as the accuracy and convenience of comparing the parking space information with the parking space detection results.

[0042] 3. This application uses laser slam algorithm to perform three-dimensional reconstruction of the test scene through laser radar data, vehicle-mounted encoder data, inertial measurement unit IMU data and positioning navigation system data to obtain positioning data and point cloud map; based on the position information and posture information of the parking space detection data in the three-dimensional map, the parking space coordinates of the parking space detection data at the current moment and current position are converted to the global coordinates of the three-dimensional map of the test scene, and the parking space detection results are obtained through calculation; the accuracy of the parking space corner points is evaluated based on the parking space detection results; the angle of the parking space is evaluated based on the parking space detection results. The consistency of the positioning data and point cloud map reconstructed in the three-dimensional test scene with the three-dimensional map in the global coordinates is guaranteed, and the parking space evaluation accuracy of the laser radar is improved while achieving high-precision parking.

[0043] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a flowchart of a parking space evaluation method based on laser radar according to an embodiment of the present application;

[0045] Figure 2 It is a schematic diagram of the principle of parking space corner point identification according to an embodiment of the present application;

[0046] Figure 3 It is a structural schematic diagram of a parking space evaluation system based on laser radar according to an embodiment of the present application;

[0047] Figure 4 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects proposed according to the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0049] This application provides a parking space evaluation method based on laser radar, which is implemented based on laser radar and reflective module. Figure 1 As shown, the parking space evaluation method includes:

[0050] S1, setting a reflective module at a corner point of a parking space in a test scene, running a vehicle, and collecting laser radar data and parking space detection data, wherein the laser radar is installed on the vehicle, and the parking space detection data is obtained based on a camera of the vehicle;

[0051] S2, based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map; based on the posture information of the laser SLAM algorithm, the parking space coordinates of the parking space detection data are converted to global coordinates, and a parking space detection result is obtained by calculation;

[0052] S3, based on a preset reflection intensity threshold, extracting point cloud data of the reflection module in the point cloud map, and clustering the point cloud data of the reflection module to obtain a clustering result; and obtaining parking space corner point position data by weighted averaging the clustering results;

[0053] S4, restoring parking space information based on the parking space corner point position data, comparing the parking space information with the parking space detection result, and evaluating the parking space detection result.

[0054] It should be noted that running a vehicle in a test scenario includes, but is not limited to, using a laser radar, using high-precision DToF to emit detection signals (laser beams) to multiple different targets near the corresponding position of the vehicle at the current moment, and comparing the received signals reflected from multiple corresponding targets (corresponding target laser beam echoes) with the emission signals (target emitted laser beams). After processing, high-precision laser radar data of multiple different parking space targets corresponding to the state of the vehicle running in the test scenario can be obtained. The laser radar can be provided with a single-axis gimbal and / or a multi-axis gimbal on the vehicle, and the laser radar data in the test scenario can be obtained through multiple line laser radars and / or multi-line laser radars, and the parking space detection data can be obtained through the vehicle's camera. For example, long-range LiDAR can sense long-distance obstacles in the high-speed driving environment of the test scene, and angular LiDAR can assist the vehicle in sensing the surrounding environment information, and provide LiDAR data information for sensing the distance and direction of the parking space, the height and speed of the obstacle in front of the parking space, the height and shape of the parking space platform, the position of the vehicle during parking, the cutting shape between the parking space lines or dividing lines, and the distribution of parking space shapes and parking space corner points on the parking space lines or dividing lines. The parking space detection data information obtained by the vehicle camera is similar to the above-mentioned LiDAR data information, and will not be repeated here.

[0055] Based on the laser slam (Simultaneous Localization Mapping) algorithm and the above data collected by the laser radar, the three-dimensional reconstruction of the test scene is performed. As an optional implementation method, the ICP algorithm can be used to calculate the inter-frame pose, initialize and refine the matching of the laser radar point cloud, and obtain reliable initial values ​​with actual boundaries by performing initialization matching when the laser radar point cloud is not transformed or rotated at the current position of the vehicle. Based on the transformation and rotation of the positioning data, the obtained initialization matching is refined by the set loss function. Specifically, (1) a temporary transformation point cloud is obtained according to the initial value of the initial matching or the matching result of the last iteration; (2) the corresponding laser radar point cloud is matched on the current actual laser radar point cloud and the temporary transformation point cloud; (3) the loss function is constructed according to the distance of the corresponding matching laser radar point cloud point pairs; (4) the loss function constructed by the point cloud point pairs is optimized and iteratively solved. Alternatively, a point-to-point matching method (point-to-line ICP) or NDT can be used to reduce motion distortion during vehicle detection, which will not be described in detail here.

[0056] As another optional implementation, all the collected feature points of the laser radar can be transferred to the coordinate system of the current frame, and the three-dimensional map can be reconstructed by initializing the parking space of the vehicle in the test scene, and then the point cloud data of the previous and next frames can be transferred to the same coordinate system for matching the laser radar point cloud data, generating a three-dimensional map based on the initialization reconstruction, and at the same time obtaining a point cloud map of the vehicle parking space corner positioning data based on the three-dimensional map reconstructed in the test scene. Different loss functions (such as the distance from the point cloud data to a straight line or plane) are constructed based on the point cloud data of the laser radar line features and surface features to obtain the initial pose data, and the three-dimensional map of the test scene is constructed according to the initialized pose data, and the initialized pose is optimized based on the scan to map algorithm to generate high-precision pose data, and the laser mileage data after the laser radar point cloud data is aligned is used to convert the parking space coordinates of the current vehicle position parking space detection data into the global coordinates in the three-dimensional global map, and the parking space detection result is obtained by calculation.

[0057] A suitable reflection intensity threshold is preset in the acquired laser radar data, and the reflective point cloud data such as reflective point cloud data in the point cloud map is extracted, and the high-reflective point cloud data is clustered, and the obtained clustering results are calculated by weighted average to obtain parking space corner point position data, and the parking space corner point position data is not limited to including the parking space corner point position, and the distance data of the two parking space corner point positions. The parking space information is restored based on the parking space corner point position data, and the restored real parking space information is compared with the calculated corresponding parking space detection result, and the restored real parking space corner point information is compared with the calculated corresponding parking space detection result, and the parking space detection result based on the laser radar is evaluated according to the accuracy of the parking space corner point and / or the angle of the parking space. After the parking space corner point data is obtained by clustering operation, the parking space corner point data is weighted averaged to obtain the real parking space corner point position data, thereby improving the reliability of obtaining the real corner point data. At the same time, the present application also simplifies the parking space evaluation of the existing laser radar, realizes high-precision parking detection, and improves the parking space evaluation accuracy of the laser radar.

[0058] Optionally, setting a reflective module at a corner point of a parking space in a test scene includes:

[0059] A reflective module with a first mark is set at a corner point of a parking space in a test scene to mark the corner point of the parking space of the vehicle; wherein the first mark is a reflective mark or a preset structure mark.

[0060] It should be noted that at least one reflective module is provided on the corner point of the vehicle parking space to obtain the parking space detection data corresponding to the corner point of the vehicle parking space, and the obtained parking space detection data identifies the corner point of the vehicle parking space through the reflective module provided on the corner point of the parking space. For example, the reflective mark can be a highly reflective material, and the preset structure mark can be to set the reflective module to a preset plate structure / cylindrical structure / barrel structure form. The first mark of the reflective module can also be represented as the above-mentioned preset structure form mark made of highly reflective material. The above-mentioned reflective module can be a cylindrical reflective barrel made of highly reflective material, and / or a plate-shaped reflective plate made of highly reflective material. By using a laser radar installed on the vehicle to emit a laser radar beam onto the reflective module, the corresponding vehicle parking space corner point data information can be obtained. The vehicle parking space corner point data includes but is not limited to the vehicle parking space type, the vehicle parking space size, the vehicle parking space IP, the positional relationship between the vehicle parking space corner point and the parking space, the vehicle parking space information index (including the start index and the end index), and when the vehicle is performing a laser radar scan at the current position, the scanning line or scanning surface corresponding to each parking space corner point identified by the reflective module, or the timestamp of each parking space corner point when scanning, when calculating the angle range of the laser radar point cloud based on the parking space corner point data corresponding to each laser radar point cloud, the horizontal angle of each parking space corner point in the laser radar point cloud can be calculated according to the timestamp of the scanning line or scanning surface corresponding to each parking space corner point when scanning, that is, when the laser radar is scanning, the line number (surface number), angle and timestamp data of each point cloud are uniformly matched through the driving of the laser radar combined with the reflective module identification on each vehicle parking space corner point. The present application identifies the parking corner point information of the vehicle through a reflective module with a first identification, thereby ensuring the accuracy of the corner point data of each parking space; ensuring that when the corner point data of each parking space is clustered, the clustering results are weighted averaged to obtain the position data of each parking space corner point, as well as the accuracy and convenience of comparing the parking space information with the parking space detection results.

[0061] Optionally, the laser radar installed on the vehicle includes:

[0062] Install single-line laser radars at different locations on the vehicle; and / or

[0063] Multi-line laser radars are installed at different positions on the vehicle.

[0064] It should be noted that when single-line laser radars are installed at different positions on the vehicle, the single-line laser radars at different positions are associated together according to the positional relationship through the two-dimensional / three-dimensional (2D / 3D) gimbal on the vehicle to form laser radars with single-line and multi-line functions in 2D and 3D. Alternatively, the above-mentioned one or more single-line laser radars can also realize the above-mentioned laser radar functions without being associated, which will not be repeated here.

[0065] As an optional implementation, the above-mentioned laser radars that constitute the single-line function in 2D and 3D can be replaced by multi-line laser radars to simplify the number and structural form of laser radar installation. This application obtains map information through a single-line laser radar. When constructing a map, a single scan has a fast speed, high resolution, and high reliability. It is more accurate in the angular frequency and sensitivity of the scan, as well as the distance and accuracy of obstacles around the test vehicle.

[0066] As an optional implementation, multi-line laser radar can obtain multiple targets around the vehicle and multiple different categories of data of the same target with greater timeliness, and can realize environmental perception based on 3D modeling. Through laser scanning, a 3D model of the environment around the car can be obtained. By using relevant algorithms to compare the changes in the environment between the previous frame and the next frame, it is relatively easy to detect surrounding vehicles and pedestrians. At the same time, the Slam algorithm is used to enhance positioning. The 3D laser radar can simultaneously establish a laser radar point cloud map. By comparing the features of the parking spaces and parking corners in the real-time global map with the high-precision point cloud map, navigation can be achieved, and the positioning accuracy of the vehicle parking spaces and the corresponding parking corners can be improved.

[0067] The present application can also improve the accuracy of detection targets (such as three-dimensional data and point cloud data) by associating single-line laser radar and multi-line laser radar, and using the associated single-line laser radar to calibrate the multi-line laser radar on the same detection target.

[0068] Optionally, clustering the reflective point cloud data to obtain a clustering result includes:

[0069] The point cloud data of the reflective module are clustered in a manner that each class represents a corner point of a parking space, and a clustering result is obtained.

[0070] It should be noted that the reflective point cloud data is summarized, and a reflective intensity threshold is set based on the summarized reflective point cloud data, and the laser radar point cloud data with high reflective intensity in the point cloud map is extracted. The clustering operation is performed according to the rule and method that each class represents a parking space corner point, and multiple parking space corner point data representing different categories are obtained. For example, when processing different laser radar point cloud data of the same corner point data, there may be multiple corner point data. Therefore, when performing the clustering operation, the corresponding multiple parking space corner points represented by each class can also be weighted averaged, wherein the weighted value can be proportional to the relative average value of the above-mentioned multiple parking space corner point data, and the position data of the parking space corner point corresponding to this class is obtained by weighted averaging. For example, in order to ensure the aggregation and convergence of the parking space corner point data represented by this class, on the one hand, the singular values ​​in the parking space corner point data representing each class can be eliminated (such as corner point data that is significantly different from the relative average value of the parking space corner point data of this class) to ensure the convergence of the parking space corner point data; on the other hand, the weight coefficient of the parking space corner point data of this class can be increased near the relative average value data to ensure the aggregation of the parking space corner point data of this class.

[0071] Optionally, based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map, including:

[0072] Collecting lidar point cloud data based on the lidar data, and creating a three-dimensional map of the test scene based on the lidar point cloud data;

[0073] The point cloud data of each frame of the laser radar is spliced ​​and positioned to obtain the position information and posture information of the vehicle in the three-dimensional map.

[0074] It should be noted that, for example, the laser radar point cloud data may be laser radar point cloud data collected by single-line laser radar and / or multi-line laser radar at different positions on the vehicle. As an optional implementation, when the single-line laser radar and the multi-line laser radar collect laser radar point cloud data at the same time, a three-dimensional map of the test scene can be created based on the multi-line laser radar point cloud data, and the three-dimensional map can be corrected based on the matching associated single-line laser radar point cloud data. It is also possible to convert each frame of the positioning data point cloud to a preset coordinate system, such as a parking space coordinate system or a three-dimensional global coordinate system, and perform a first positioning point cloud splicing on the multi-frame point cloud data of the positioning data point cloud after the coordinate system is converted, and adjust the point cloud data after the first positioning point cloud splicing according to the preset data structure; perform a second positioning point cloud splicing on the adjusted positioning point cloud data, and convert the point cloud data after the second positioning point cloud splicing to the preset coordinate system, and obtain the position information and posture information of the vehicle in the three-dimensional map by splicing and positioning the positioning data point cloud.

[0075] Optionally, based on the position information of the laser slam algorithm, converting the parking space coordinates of the parking space detection data into global coordinates includes:

[0076] Based on the position information and posture information of the parking space detection data in the three-dimensional map, the parking space coordinates of the parking space detection data at the current moment and current position are converted into the global coordinates of the three-dimensional map of the test scene.

[0077] It should be noted that the splicing and positioning of each frame of the laser radar point cloud data and the acquisition of the position information and posture information of the vehicle in the three-dimensional map are completed in the vehicle parking space coordinate system, and it is also necessary to convert the position information and posture information of the vehicle in the parking space coordinate system based on the current moment and current position parking space detection data in the three-dimensional map to the global coordinate system of the three-dimensional map of the current moment and current position test scene. The conversion based on the current moment and current position ensures the continuity of the parking space detection data in the three-dimensional map information from the parking space coordinate system to the global coordinate system parking space detection data.

[0078] Optionally, the evaluation of the parking space detection result includes:

[0079] Evaluate the accuracy of parking space corner points based on parking space detection results;

[0080] Evaluate the angle of parking space based on the parking space detection results.

[0081] It should be noted that at least one true value of three-dimensional point cloud data of each frame of point cloud data clustered according to each class representing a parking space corner point in the point cloud data set collected by the laser radar can be annotated, and the parking space information corresponding to the annotated three-dimensional point cloud data can be restored, as well as the parking space detection result based on the parking space detection data corresponding to the camera collection, and the accuracy of the parking space detection result and the corresponding parking space corner point in the parking space information can be evaluated. The accuracy of the above-mentioned parking space corner point is not limited to the accuracy of the position coordinates of the parking space corner point and the accuracy of the distance between the corresponding parking space corner points. For example, if the accuracy of the parking space corner point evaluation reaches a preset threshold, the detected parking space corner point is matched to the parking space position corresponding to the parking space corner point, and the parking space information and the angle of the parking space in the parking space detection result are calculated based on multiple parking space corner points on the parking space that meet the accuracy threshold requirements, and the detection result that meets the parking space angle accuracy is matched to the angle of the parking space. Based on the accuracy of the parking space corner points and the corresponding angles of the parking spaces in the acquired parking space detection results, the accuracy of the parking space corner points and the corresponding angles of the parking spaces in the restored parking space information data are evaluated and compared, and the detection results are evaluated. Of course, the parking space detection result evaluation data for the above evaluation and comparison is not limited to the type of parking space, the size of the parking space (such as shape and area), the parking space IP, the horizontal angle of the parking space corner point, the positional relationship between the parking space corner point and the parking space, the parking space information index, and the scanning line or scanning surface of the laser radar scanning at the current position of the parking space, or the timestamp of each parking space corner point during the scanning and other data information. The above evaluation method and process for the parking space detection results will not be repeated here.

[0082] The present application evaluates the accuracy of the three-dimensional point cloud data of the three-dimensional map of the test scene, the parking corner point data corresponding to the parking space, and the vehicle parking space (including the angle of the parking space) through the detection and evaluation results of the three-dimensional point cloud data, so that the parking space detection data and results based on the lidar are more accurate and complete; at the same time, the parking space information detection and evaluation results of the lidar provide a quantitative reference for the accuracy of the parking space detection in the parking corner points and the angle of the parking space, so that the parking space detection accuracy evaluation system based on the lidar has high detection accuracy and is easy to implement.

[0083] Optionally, running the vehicle in the test scenario and collecting lidar data and parking space detection data also includes:

[0084] In the test scenario, the vehicle encoder data, inertial measurement unit IMU data and positioning navigation system GNSS data are collected.

[0085] It should be noted that different test vehicles have different on-board encoders, and the vehicles running in the test scenario are not limited to being equipped with on-board encoders, inertial measurement units IMU and positioning and navigation systems GNSS. The on-board encoder is connected to the acquisition unit to generate a pulse signal and send the pulse signal to the acquisition unit. The lidar data, parking space detection data, inertial measurement unit IMU data, and positioning and navigation system GNSS data collected by the above-mentioned acquisition unit all contain on-board encoder data. By using the on-board encoder data to match and associate the collected lidar data, parking space detection data, inertial measurement unit IMU data, and positioning and navigation system GNSS data, the collected lidar data, parking space detection data, inertial measurement unit IMU data, and positioning and navigation system GNSS data can be fused based on the on-board encoder data. The present application can also set different on-board encoders on different test vehicles, and at the same time, through dense lidar point cloud data, directly obtain various parameters of the running vehicle when collecting point cloud data for parking space detection in the three-dimensional map of the test scene. At the same time, the various parameters of different categories of different vehicles in the test scene are fused based on the encoder data of each different vehicle and the laser point cloud data in the three-dimensional map, so as to directly obtain the running trajectories of different vehicles during the parking space detection process, making it easier to evaluate and identify the parking space detection of different vehicles in the same parking space based on lidar.

[0086] Optionally, based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene, and obtaining positioning data and a point cloud map further includes:

[0087] Based on the laser slam algorithm, the three-dimensional reconstruction of the test scene is performed through the laser radar data, the vehicle-mounted encoder data, the inertial measurement unit IMU data and the positioning and navigation system GNSS data to obtain the positioning data and point cloud map.

[0088] It should be noted that based on the vehicle encoder data, the laser radar data and parking space detection data collected by the running vehicle are respectively integrated with various parameters collected by the vehicle in the test scene, such as the three-axis attitude angle (or angular velocity) and corresponding acceleration of the laser radar gimbal of the running vehicle, and the positioning coordinate data of the positioning and navigation system GNSS, the running trajectory and other data. Based on the laser slam algorithm, the three-axis attitude angle (or angular velocity) and corresponding acceleration of the laser radar gimbal collected by the running vehicle, as well as the positioning coordinate data of the positioning and navigation system GNSS, the running trajectory and other data are reconstructed to the three-dimensional map in the test scene created by the laser radar data, and the laser point cloud data of the reconstructed three-dimensional map in the test scene is corrected, so that the laser point cloud data accurately locates the laser point cloud three-dimensional map, and obtains accurate parking space corner point data and parking space corner point position data.

[0089] In one embodiment of the present application, as shown in the attached Figure 2 The schematic diagram of the principle of parking space corner point identification is shown in Figure 1. The reflective point cloud data is clustered, and clustering is performed based on the method that each class represents a parking space corner point to obtain clustering results, and the clustering results include the first parking space and the third parking space arranged in a column, and the second parking space and the fourth parking space arranged in a column, etc. Among them, the two parking space corner point positions at the front end of each parking space are respectively set with corner point identifications, such as the first parking space includes two first parking space corner point identifications, the second parking space includes two second parking space corner point identifications, the third parking space includes two third parking space corner point identifications, and the fourth parking space includes two fourth parking space corner point identifications. Based on the position coordinates of the above parking space corner points, multiple spacing values ​​of adjacent parking space corner points can be obtained. By comparing the above multiple spacing values ​​with the preset parking space width value, two parking space corner points whose errors are within the preset error range are determined as two parking space corner points corresponding to each other at the front end of the same parking space, and the first parking space, the second parking space, the third parking space, the fourth parking space, etc. are restored based on the identification of multiple parking space corner point pairs that correspond to each other and the position relationship between each parking space corner point pair and each corresponding parking space. The distance between the first parking space corner point and the second parking space corner point is d 12 , the distance between the first parking space corner point and the third parking space corner point is d 13 , the distance between the first parking space corner point and the fourth parking space corner point is d 14 (not shown in the figure), the distance between the second parking space corner point and the third parking space corner point is d 23 (not shown in the figure), the distance between the second parking space corner point and the fourth parking space corner point is d 24 , the distance between the third parking space corner point and the fourth parking space corner point is d 34 ; Due to d 12 and d 34 Much larger than the width of the running vehicle, d 13 and d 24 is much smaller than the width of the running vehicle, then d 13 and d 24The distance between the corner points of adjacent parking spaces, such as the distance between the first parking space corner point and the third parking space corner point, and the distance between the second parking space corner point and the fourth parking space corner point. Collect laser radar point cloud data based on laser radar data, and create a three-dimensional map of the test scene based on the laser radar point cloud data; splice and locate the point cloud data of the parking space corner points and parking space corner point identifiers in each three-dimensional map, and obtain the first parking space and the third parking space arranged in columns in the three-dimensional map..., and the second parking space and the fourth parking space arranged in columns..., wherein the first parking space and the third parking space are arranged in columns..., and the second parking space and the fourth parking space are arranged in columns.... Convert the parking space coordinates of the parking space detection data to the global coordinates of the three-dimensional map of the test scene, and evaluate the accuracy of each parking space corner point based on the parking space detection results, and evaluate the angle of the parking space based on the parking space detection results to obtain the position of the first parking space and the second parking space corresponding to the same row by row. Based on the laser slam algorithm, the three-dimensional reconstruction of the test scene can be performed through the laser radar data, the vehicle encoder data, the inertial measurement unit IMU data and the positioning navigation system GNSS data to obtain the positioning data and point cloud map (see attached Figure 2 As shown). 12 and d 34 The sizes are equal and much larger than the length of the running vehicle. The distance between the first corner points is larger than the width of the running vehicle, smaller than the length of the running vehicle, and very close to the width of the parking space. The parking space corner point data can be collected only on the side adjacent to the two train spaces. The parking space corner point data includes the parking space corner point identification, the distance between the parking space corner points, etc. For other content descriptions, please refer to the content description of the parking space detection method, which will not be repeated here.

[0090] The present application also provides a parking space evaluation system based on laser radar, which is implemented based on laser radar and reflective module, as shown in the attached Figure 3 As shown, the parking space evaluation system 300 includes:

[0091] The detection data acquisition unit 310 is used to set a reflective module at a corner point of a parking space in a test scene, run a vehicle, and collect laser radar data and parking space detection data, wherein the laser radar is installed on the vehicle and the parking space detection data is acquired based on a camera of the vehicle;

[0092] The point cloud map generating unit 320 uses a laser SLAM algorithm to perform three-dimensional reconstruction of the test scene based on the laser radar data to obtain positioning data and a point cloud map; based on the posture information of the laser SLAM algorithm, the parking space coordinates of the parking space detection data are converted into global coordinates, and the parking space detection result is obtained by calculation;

[0093] The clustering unit 330 extracts the point cloud data of the reflective module in the point cloud map based on a preset reflective intensity threshold, and clusters the point cloud data of the reflective module to obtain a clustering result; and obtains the parking space corner point position data by weighted averaging the clustering results;

[0094] The evaluation unit 340 restores the parking space information based on the parking space corner point position data, compares the parking space information with the parking space detection result, and evaluates the parking space detection result.

[0095] It should be noted that the operation of the detection data collection unit 310, the point cloud map generation unit 320, the clustering unit 330 and the evaluation unit 340 based on the above-mentioned parking space evaluation system 300 can refer to the content of the parking space evaluation method based on a laser radar described above, and will not be repeated here.

[0096] The present application also provides an electronic device, such as the attached Figure 4 As shown, the electronic device 400 includes:

[0097] Memory 410 for storing non-transitory computer-readable instructions 430; and

[0098] The processor 420 is used to run the computer-readable instructions 420, so that when the computer-readable instructions 430 are executed by the processor 420, the above-mentioned method is implemented.

[0099] The present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on a device, the device executes the method described above.

[0100] It should be noted that any process or method description in the flowchart or otherwise described herein may be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations, in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0101] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0102] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0103] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0104] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be partially implemented in the form of hardware, or may be implemented in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0105] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

[0106] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as a preferred embodiment as above, it is not intended to limit the present application. Any technician familiar with the profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.

Claims

1. A parking space evaluation method based on laser radar, characterized in that: Based on laser radar and reflective module, including: A reflective module is set at a corner point of a parking space in a test scene, a vehicle is operated, and laser radar data and parking space detection data are collected, wherein the laser radar is installed on the vehicle and the parking space detection data is obtained based on a camera of the vehicle; Based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map; based on the posture information of the laser SLAM algorithm, the parking space coordinates of the parking space detection data are converted to global coordinates, and the parking space detection result is obtained by calculation; Based on a preset reflection intensity threshold, point cloud data of the reflective module in the point cloud map are extracted, and the point cloud data of the reflective module are clustered to obtain a clustering result, and the point cloud data of the reflective module are clustered in a manner that each class represents a parking space corner point to obtain a clustering result; the clustering results are weighted averaged to obtain parking space corner point position data; The parking space information is restored based on the parking space corner point position data, the parking space information is compared with the parking space detection result, and the parking space detection result is evaluated.

2. The parking space evaluation method according to claim 1, characterized in that: The reflective modules are set at the corner points of the parking spaces in the test scene, including: A reflective module with a first mark is set at a corner point of a parking space in a test scene to mark the corner point of the parking space of the vehicle; wherein the first mark is a reflective mark or a preset structure mark.

3. The parking space evaluation method according to claim 1, characterized in that: The laser radar installed on the vehicle includes: Install single-line laser radars at different locations on the vehicle; and / or Multi-line laser radars are installed at different positions on the vehicle.

4. The parking space evaluation method according to claim 1, characterized in that: Based on the laser radar data, the laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene, and the positioning data and point cloud map are obtained, including: Collecting lidar point cloud data based on the lidar data, and creating a three-dimensional map of the test scene based on the lidar point cloud data; The point cloud data of each frame of the laser radar is spliced ​​and positioned to obtain the position information and posture information of the vehicle in the three-dimensional map.

5. The parking space evaluation method according to claim 4, characterized in that: Based on the position information of the laser slam algorithm, converting the parking space coordinates of the parking space detection data into global coordinates includes: Based on the position information and posture information of the parking space detection data in the three-dimensional map, the parking space coordinates of the parking space detection data at the current moment and current position are converted into the global coordinates of the three-dimensional map of the test scene.

6. The parking space evaluation method according to claim 1, characterized in that: The evaluation of parking space detection results includes: Evaluate the accuracy of parking space corner points based on parking space detection results; Evaluate the angle of parking space based on the parking space detection results.

7. The parking space evaluation method according to claim 1, characterized in that: Running the vehicle in the test scenario, collecting lidar data and parking space detection data also includes: In the test scenario, the vehicle encoder data, inertial measurement unit IMU data and positioning navigation system data are collected.

8. The parking space evaluation method according to claim 7, characterized in that: Based on the laser radar data, a laser SLAM algorithm is used to perform three-dimensional reconstruction of the test scene, and obtaining positioning data and a point cloud map also includes: Based on the laser slam algorithm, the three-dimensional reconstruction of the test scene is performed through the laser radar data, the vehicle-mounted encoder data, the inertial measurement unit IMU data and the positioning and navigation system data to obtain the positioning data and point cloud map.

9. A parking space evaluation system based on laser radar, characterized in that: Based on laser radar and reflective module, including: A detection data acquisition unit, used to set a reflective module at a corner point of a parking space in a test scene, run a vehicle, and collect laser radar data and parking space detection data, wherein the laser radar is installed on the vehicle and the parking space detection data is acquired based on a camera; A point cloud map generating unit, based on the laser radar data, uses a laser SLAM algorithm to perform three-dimensional reconstruction of the test scene to obtain positioning data and a point cloud map; based on the position information of the laser SLAM algorithm, the parking space coordinates of the parking space detection data are converted into global coordinates, and a parking space detection result is obtained by calculation; A clustering unit, based on a preset reflection intensity threshold, extracts point cloud data of the reflection module in the point cloud map, clusters the point cloud data of the reflection module to obtain a clustering result, clusters the point cloud data of the reflection module in a manner that each class represents a parking space corner point and obtains a clustering result; and obtains parking space corner point position data by weighted averaging the clustering results; The evaluation unit restores the parking space information based on the parking space corner point position data, compares the parking space information with the parking space detection result, and evaluates the parking space detection result.

10. An electronic device, characterized in that: include: a memory for storing non-transitory computer-readable instructions; as well as A processor is used to run the computer-readable instructions, so that when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 8 is implemented.

11. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on a device, cause the device to perform the method according to any one of claims 1 to 8.