Road edge detection method and device based on image point cloud fusion

By acquiring images and point cloud data in multiple distance ranges in the direction of vehicle travel, and solving the PnP problem to match the image and point cloud data, the problems of low curb detection accuracy and high computing resource consumption in the existing technology are solved, and the Efficient curb identification and reduced hardware costs.

CN118658137APending Publication Date: 2024-09-17SHANGHAI TONGQUN YIXIN TECH CO LTD

Patent Information

Application Number
CN202410803989.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing road edge detection methods based on images and lidar have problems such as incomplete information leading to low detection accuracy, especially when processing large-scale data, which is highly efficient and consumes computing resources.

Method used

A roadside detection method based on image point cloud fusion is used to obtain image data and point cloud data in multiple distance ranges in the vehicle's driving direction, extract corresponding point data groups, and solve the PnP problem to obtain the rotation matrix and translation matrix, which are used Match image and point cloud data and perform real-time detection.

Benefits of technology

It significantly reduces the cost of data set preparation, enables the use of low-line-count lidar to achieve good roadside recognition effects, reduces computational overhead and processing time, and improves computational efficiency and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658137A
    Figure CN118658137A
Patent Text Reader

Abstract

The invention relates to a road edge detection method and device based on image point cloud fusion, and the method comprises the steps: obtaining a plurality of data sets corresponding to a plurality of preset distance ranges in a vehicle driving direction; the data set comprises image data and point cloud data; extracting a preset number of corresponding point data sets from each data set to construct a matched data set, wherein each corresponding point data set comprises pixel point coordinates and point cloud coordinates; solving a PnP problem based on the matched data set, obtaining a group of rotation matrixes and translation matrixes, testing the rotation matrixes and the translation matrixes, and if a test result meets a preset requirement, outputting the rotation matrixes and the translation matrixes; when the vehicle runs, current image data and current point cloud data in the current vehicle running direction are collected in real time, and image and point cloud fusion information used for representing the road edge in the current vehicle running direction is obtained through matching based on the rotation matrix and the translation matrix so as to be used for detecting the road edge.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a roadside detection method and device based on image point cloud fusion. Background Art

[0002] With the rapid development of autonomous driving technology in recent years, environmental perception is an important part of the autonomous driving system. Road boundary information extraction is an important research content of environmental perception. Curb is a typical road boundary information. Accurately identifying the curb information can separate the drivable area and non-drivable area for the autonomous driving vehicle, which is conducive to the vehicle to plan the path more safely and reliably and complete more complex functions and tasks.

[0003] In order to realize the function of curb detection, researchers have proposed a variety of solutions. According to the different sensors used, the solutions can be divided into two categories: camera-based curb detection and lidar-based curb detection. However, the use of a single camera-based curb detection or a single lidar-based curb detection has the problem of incomplete information and low detection accuracy. For this reason, a fusion perception solution based on image and laser point cloud has emerged to improve the accuracy of curb detection.

[0004] At present, there are several common image point cloud fusion perception solutions, each of which has some problems.

[0005] Based on feature fusion, the purpose of this method is to find the correspondence between the image and the point cloud, and to improve the perception performance by matching and fusing their respective features. The advantage is that it can make full use of the rich texture information of the image and the depth information of the point cloud, but it may face efficiency problems when processing large-scale data.

[0006] Based on deep learning fusion, the features of image and point cloud data are learned by training deep neural networks and then these features are fused. The advantage is that end-to-end optimization can be achieved, and image and point cloud data can be processed simultaneously to improve the accuracy and efficiency of perception. However, a large amount of labeled data is required for training, and complex network architecture and computing resources may be required.

[0007] Point-based fusion directly operates on point cloud data to extract key points and corresponding normal directions, and then uses this information to guide image segmentation and recognition tasks. The advantage is that the spatial information of point cloud data can be fully utilized, but efficiency issues may arise when processing large-scale point cloud data.

[0008] Fusion based on regional segmentation first performs regional segmentation on the image and point cloud data, and then performs feature extraction and fusion within the segmented region. The advantage is that it can reduce the amount of data processed and improve efficiency, but the accuracy of segmentation directly affects the fusion effect. Summary of the invention

[0009] The object of the present invention is to provide a method and device for curb detection based on image point cloud fusion.

[0010] To achieve the above-mentioned object of the invention, the present invention provides a roadside detection method based on image point cloud fusion, comprising:

[0011] S1. Acquire multiple data sets corresponding to the vehicle in a predetermined distance range in the direction of travel of the vehicle; wherein the data sets include: image data and point cloud data;

[0012] S2. Extracting a preset number of corresponding point data groups from each of the data sets to construct a matching data group, wherein each of the corresponding point data groups includes: pixel point coordinates and point cloud coordinates matching the pixel point coordinates;

[0013] S3. Solving the PnP problem based on the matching data group, obtaining a set of rotation matrices and translation matrices for representing the conversion relationship between the image data and the point cloud data, and testing the rotation matrix and the translation matrix. If the test result meets the preset requirements, outputting the rotation matrix and the translation matrix;

[0014] S4. When the vehicle is traveling, the current image data and the current point cloud data in the current vehicle driving direction are collected in real time, and the image and point cloud fusion information representing the curb in the current vehicle driving direction are matched based on the rotation matrix and the translation matrix to detect the curb.

[0015] According to one aspect of the present invention, in step S1, in the step of acquiring a plurality of data sets corresponding to a plurality of preset distance ranges in the direction of travel of the vehicle, there are intervals between adjacent distance ranges in the plurality of distance ranges.

[0016] According to one aspect of the present invention, in step S1, in the step of acquiring a plurality of data sets corresponding to the vehicle in a plurality of preset distance ranges in the direction of travel of the vehicle, three distance ranges are set, namely, a first distance range, a second distance range and a third distance range;

[0017] The first distance ranges from 1m to 2m;

[0018] The second distance ranges from 4m to 6m;

[0019] The third distance range is greater than 10m.

[0020] According to one aspect of the present invention, in step S2, in the step of extracting a preset number of corresponding point data groups from each of the data sets to construct a matching data group, the preset number is greater than or equal to 3;

[0021] In step S3, in the step of solving the PnP problem based on the matching data set to obtain a set of rotation matrices and translation matrices for representing the conversion relationship between the image data and the point cloud data, the PnP problem is expressed as:

[0022] λp=K[R,T][P,1] T

[0023] Among them, λ is the actual distance between the observation point and the optical center of the camera, P is the point coordinate of the laser radar, and R∈R 3×3 is the rotation matrix, T∈R 3×1 is the translation matrix, p represents the pixel coordinates, and K is the intrinsic parameter matrix of the camera.

[0024] According to one aspect of the present invention, in step S3, the rotation matrix and the translation matrix are tested. If the test result meets the preset requirements, then in the step of outputting the rotation matrix and the translation matrix, the preset requirements are: evaluating the conversion accuracy of the rotation matrix and the translation matrix for the pixel point coordinates and the point cloud coordinates based on calculating the average reprojection error, and the conversion accuracy is less than a preset value; and / or, coloring the point cloud data based on the rotation matrix, the translation matrix, and the image data, so as to compare the colored point cloud data with the image data, and the comparison error is less than a preset value.

[0025] To achieve the above object of the invention, the present invention provides a device for the above curb detection method, comprising:

[0026] A camera, used to obtain image data in the direction of vehicle travel;

[0027] LiDAR, used to obtain point cloud data in the direction of vehicle travel;

[0028] A data acquisition unit, used to connect with the camera and the laser radar, so as to obtain a plurality of data sets corresponding to the vehicle in a predetermined distance range in the direction of travel of the vehicle, and to extract a predetermined number of corresponding point data sets from each data set to construct a matching data set; wherein the data set includes: image data and point cloud data; each corresponding point data set includes: pixel point coordinates and point cloud coordinates matching the pixel point coordinates;

[0029] A solving unit, solving the PnP problem based on the matching data group, obtaining a set of rotation matrices and translation matrices for representing the conversion relationship between the image data and the point cloud data, and testing the rotation matrix and the translation matrix, and outputting the rotation matrix and the translation matrix if the test result meets the preset requirements;

[0030] The detection unit matches the image and point cloud fusion information used to represent the curb in the current vehicle driving direction based on the rotation matrix and the translation matrix, so as to detect the curb.

[0031] According to one aspect of the present invention, the laser radar is a non-repetitive scanning laser radar, and the point cloud frame rate of the laser radar is 10 Hz, and the output is 200,000 points / second.

[0032] To achieve the above-mentioned object of the invention, the present invention provides an electronic device, comprising at least one processor, at least one memory and a data bus;

[0033] The processor and the memory communicate with each other via the data bus;

[0034] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the aforementioned road edge detection method.

[0035] To achieve the above-mentioned object of the invention, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned curb detection method is executed.

[0036] To achieve the above-mentioned purpose of the invention, the present invention provides a vehicle, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the vehicle is driving, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the aforementioned curb detection method is executed.

[0037] According to one solution of the present invention, the present invention can project the point cloud into the image and use the 3D information of the point cloud as a supplement to the image information. It does not require additional annotation of the point cloud, which significantly reduces the cost of data set preparation.

[0038] According to a solution of the present invention, compared with the traditional perception fusion solution that relies on high-line-count laser radar, the present invention adopts the method of collecting image data and point cloud data at different distance ranges (i.e., far, medium, and near) in the driving direction to perform image point cloud fusion for roadside detection, which can achieve good roadside recognition effect even with low-line-count laser radar. In addition, the present invention adopts the method of long-distance range image data and point cloud data, which can effectively utilize the characteristic that the information density of image data is still high at a long distance, effectively alleviate the problem that the laser radar point cloud is relatively sparse at a long distance, and then even if a low-line-count laser radar is used, it can still achieve excellent recognition effect, effectively solving the method of only relying on increasing the laser radar line number to increase the point cloud density, and greatly reducing the hardware cost of implementing the present invention. .

[0039] According to a solution of the present invention, since the present invention does not rely on a high-line-count laser radar, the point cloud that needs to be processed is lower than that of a traditional perception fusion solution, which effectively reduces the computational overhead of operations such as coordinate system conversion in perception fusion, greatly reduces the processing time of the overall perception information, and enables the present invention to have higher computational efficiency and faster response. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 is a block diagram schematically showing steps of a method for detecting a curb according to an embodiment of the present invention;

[0041] Figure 2 is a schematic diagram showing a pixel calibration reference diagram in image data according to an embodiment of the present invention;

[0042] Figure 3 is a schematic diagram showing a point cloud calibration reference diagram in point cloud data according to an embodiment of the present invention;

[0043] Figure 4 is a fusion diagram schematically showing projection of point cloud data onto image data in a roadside detection method according to an embodiment of the present invention;

[0044] Figure 5 FIG. 1 schematically shows a colored point cloud image of a curb according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0046] When describing the embodiments of the present invention, the orientation or positional relationship expressed by the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or positional relationship shown in the relevant drawings and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the above terms should not be understood as limiting the present invention.

[0047] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments cannot be described one by one here, but the embodiments of the present invention are not therefore limited to the following embodiments.

[0048] like Figure 1 As shown, according to one embodiment of the present invention, the present invention provides a roadside detection method based on image point cloud fusion, comprising:

[0049] S1. Acquire multiple data sets corresponding to the vehicle in a predetermined distance range in the direction of travel of the vehicle; wherein the data sets include: image data and point cloud data;

[0050] S2. Extracting a preset number of corresponding point data groups from each data set to construct a matching data group, wherein each corresponding point data group includes: pixel point coordinates and point cloud coordinates matching the pixel point coordinates;

[0051] S3. Solve the PnP problem based on the matching data set, obtain a set of rotation matrices and translation matrices for representing the conversion relationship between the image data and the point cloud data, and test the rotation matrix and the translation matrix. If the test results meet the preset requirements, the rotation matrix and the translation matrix are output;

[0052] S4. When the vehicle is traveling, the current image data and the current point cloud data in the current vehicle driving direction are collected in real time, and the image and point cloud fusion information used to represent the curb in the current vehicle driving direction are matched based on the rotation matrix and the translation matrix to detect the curb.

[0053] According to an embodiment of the present invention, in step S1, in the step of acquiring a plurality of data sets corresponding to the vehicle in a plurality of preset distance ranges in the driving direction of the vehicle, there are intervals between adjacent distance ranges in the plurality of distance ranges.

[0054] According to one embodiment of the present invention, in step S1, in the step of acquiring multiple data sets corresponding to the vehicle's driving direction with multiple preset distance ranges, there are three distance ranges, namely a first distance range, a second distance range and a third distance range; wherein the first distance range is 1m to 2m; the second distance range is 4m to 6m; and the third distance range is greater than 10m.

[0055] Through the above settings, the present invention can effectively expand the collection range of image / point cloud pairs during the calibration process, effectively increase the signal-to-noise ratio, obtain accurate calibration results, and effectively obtain accurate rotation and translation matrices.

[0056] According to an embodiment of the present invention, in step S2, in the step of extracting a preset number of corresponding point data groups from each data set to construct a matching data group, the preset number is greater than or equal to 3.

[0057] In this embodiment, each corresponding point data set includes: pixel point coordinates and point cloud coordinates matching the pixel point coordinates; wherein the pixel point coordinates are obtained by selecting the corner points of objects with a certain height in the image data, for example, see Figure 2 The corner points of the air conditioner outdoor unit in; correspondingly, see Figure 3 As shown, the point cloud coordinates are also Figure 2 In this embodiment, the nearest position of the point cloud coordinates of the selected corner points is 1m, and the farthest position is 16m.

[0058] According to an embodiment of the present invention, in step S3, in the step of solving the PnP problem based on the matching data set to obtain a set of rotation matrices and translation matrices for representing the conversion relationship between the image data and the point cloud data, the PnP problem is expressed as:

[0059] λp=K[R,T][P,1] T

[0060] Among them, λ is the actual distance between the observation point and the optical center of the camera, P is the point coordinate of the laser radar, and R∈R 3×3 is the rotation matrix, T∈R 3×1 is the translation matrix, p represents the pixel coordinates, and K is the intrinsic parameter matrix of the camera.

[0061] In this embodiment, when solving the PnP problem based on the matching data set, cv2.solvePnP(points,pixels,cameraMatrix,distCoeffs) provided by OpenCV is used for solution, where points and pixels represent the pixel coordinates in the matching data set and the point cloud coordinates matching the pixel coordinates, respectively, cameraMatrix is ​​the camera's internal parameter matrix, and distCoeffs is the camera's distortion coefficient. During use, since the image has been dedistorted in advance, this item takes the value of None. After obtaining the results rvec and tvec, cv2.projectPoints(objectPoints,rvec,tvec,cameraMatrix,distCoeffs) is used to project the point cloud to be projected into the image, where objectPoints is the point cloud that needs to be projected into the pixel coordinate system.

[0062] According to one embodiment of the present invention, in step S3, the rotation matrix and the translation matrix are tested. If the test result meets the preset requirements, then in the step of outputting the rotation matrix and the translation matrix, the preset requirements are: evaluating the conversion accuracy of the rotation matrix and the translation matrix to the pixel point coordinates and the point cloud coordinates based on the calculation of the average reprojection error, and the conversion accuracy is less than a preset value (such as 3 cm); and / or, coloring the point cloud data based on the rotation matrix, the translation matrix, and the image data, so as to compare the colored point cloud data with the image data, and the comparison error is less than a preset value.

[0063] According to an embodiment of the present invention, in step S4, the current image data and the current point cloud data in the current vehicle driving direction are collected in real time while the vehicle is driving, and the image and point cloud fusion information used to represent the curb in the current vehicle driving direction are matched based on the rotation matrix and the translation matrix, so as to detect the curb. In the step, the image and point cloud fusion information is composed of the pixel coordinates of the pixel point in the image and the point cloud coordinates in the point cloud. Figure 4 As shown, the camera takes 25 pictures per second, and accordingly, the point cloud within 0.04 seconds is fused into each image based on the aforementioned rotation matrix and translation matrix.

[0064] Furthermore, the step of detecting the road edge based on the image and point cloud fusion information includes:

[0065] The obtained image and point cloud fusion information is input into a curb recognition model, and the image and point cloud fusion information related to the curb is detected based on the curb recognition model;

[0066] Based on the obtained image and point cloud fusion information, the point cloud coordinates and pixel point coordinates are extracted, and the area where the point cloud coordinates are located is dyed based on the pixel information in the obtained image based on the preset area corresponding to the pixel point coordinates; in this embodiment, the preset area corresponding to the pixel point coordinates can be set to a circular area or a rectangular area centered on the pixel point coordinates, wherein the range size of the preset area can be limited by the size of the shape of the preset area, which will not be repeated here.

[0067] Based on the dyed point cloud coordinates, it is determined whether the grayscale change meets the preset conditions. If so, it is determined that the obtained image and point cloud fusion information is the roadside information. Figure 5 As shown in the figure, since the grayscale on both sides of the curb is different, the grayscale information of the curb can be represented by coloring the point cloud coordinates, wherein the grayscale on the inner side of the curb is the grayscale corresponding to the road surface and the curb (such as cement road surface, asphalt road surface), and the grayscale on the outer side of the curb is obviously different from the grayscale of the road surface and the curb (such as grass, sidewalk). Therefore, the intersection position where there is an obvious grayscale change is the curb. Therefore, based on the grayscale information of the intersection position as a reference, and by checking whether there is a corresponding grayscale change on both sides of the reference position, the curb can be detected.

[0068] Linear fitting is performed based on the determined curb information to detect the corresponding curb; in this embodiment, linear fitting can be achieved based on the point cloud coordinates corresponding to the curb information to determine the boundary position for vehicle travel.

[0069] In this embodiment, the curb recognition model can be obtained by training a deep neural network, which includes:

[0070] Construct a dataset for training deep neural networks, where Figure 4 As shown, in the image and point cloud fusion information in the vehicle driving direction, horizontal straight lines are set at equal intervals along the vehicle driving direction to construct a corresponding data set based on the intersection of the horizontal straight lines and the curb, wherein the intersection involved in constructing the data set needs to include pixel point coordinates and point cloud coordinates; in this embodiment, the data set is divided into a training set, a test set, and a validation set;

[0071] A deep neural network is trained based on the obtained data set to obtain the aforementioned curb recognition model, wherein the training method involved is a conventional method and will not be repeated here.

[0072] According to one embodiment of the present invention, the present invention provides a device for the aforementioned curb detection method, comprising: a camera, a laser radar, a data acquisition unit, a solution unit and a detection unit; wherein the camera is used to obtain image data in the direction of vehicle travel; and the laser radar is used to obtain point cloud data in the direction of vehicle travel. In this embodiment, the data acquisition unit is used to connect with the camera and the laser radar to obtain multiple data sets corresponding to the vehicle travel direction in multiple preset distance ranges, and to extract a preset number of corresponding point data groups from each data set to construct a matching data group; wherein the data set includes: image data and point cloud data; and each corresponding point data group includes: pixel point coordinates and point cloud coordinates matching the pixel point coordinates.

[0073] In this embodiment, the solving unit solves the PnP problem based on the matching data group, obtains a set of rotation matrices and translation matrices for representing the transformation relationship between the image data and the point cloud data, and tests the rotation matrix and the translation matrix. If the test result meets the preset requirements, the rotation matrix and the translation matrix are output.

[0074] In this embodiment, the detection unit matches the image representing the curb in the current vehicle driving direction with the point cloud fusion information based on the rotation matrix and the translation matrix to detect the curb.

[0075] In this embodiment, the laser radar is a non-repetitive scanning laser radar, and the point cloud frame rate of the laser radar is 10 Hz, and the output is 200,000 points / second.

[0076] According to one embodiment of the present invention, the present invention provides an electronic device, comprising at least one processor, at least one memory and a data bus. In this embodiment, the processor and the memory communicate with each other via the data bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the aforementioned road edge detection method.

[0077] According to one embodiment of the present invention, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the aforementioned curb detection method is executed.

[0078] According to one embodiment of the present invention, the present invention provides a vehicle, including: a processor, a memory and a bus, the memory stores machine-readable instructions executable by the processor, when the vehicle is driving, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the aforementioned curb detection method is executed.

[0079] The above contents are merely examples of specific solutions of the present invention. For devices and structures not described in detail therein, it should be understood that they can be implemented by adopting general devices and general methods available in the art.

[0080] The above is only one solution of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. Roadside detection method based on image point cloud fusion, It is characterized in that include: S1. Acquire multiple data sets corresponding to the vehicle in a predetermined distance range in the direction of travel of the vehicle; wherein the data sets include: image data and point cloud data; S2. Extracting a preset number of corresponding point data groups from each of the data sets to construct a matching data group, wherein each of the corresponding point data groups includes: pixel point coordinates and point cloud coordinates matching the pixel point coordinates; S3. Solving the PnP problem based on the matching data group, obtaining a set of rotation matrices and translation matrices for representing the conversion relationship between the image data and the point cloud data, and testing the rotation matrix and the translation matrix. If the test result meets the preset requirements, outputting the rotation matrix and the translation matrix; S4. When the vehicle is traveling, the current image data and the current point cloud data in the current vehicle driving direction are collected in real time, and the image and point cloud fusion information representing the curb in the current vehicle driving direction are matched based on the rotation matrix and the translation matrix to detect the curb.

2. The road edge detection method according to claim 1, It is characterized in that In step S1, in the step of acquiring a plurality of data sets corresponding to the vehicle in a plurality of preset distance ranges in the driving direction of the vehicle, there are intervals between adjacent distance ranges in the plurality of distance ranges.

3. The road edge detection method according to claim 2, It is characterized in that In step S1, in the step of acquiring a plurality of data sets corresponding to the vehicle in a plurality of preset distance ranges in the direction of vehicle travel, the distance ranges are set to three, namely, a first distance range, a second distance range and a third distance range; The first distance ranges from 1m to 2m; The second distance ranges from 4m to 6m; The third distance range is greater than 10m.

4. The road edge detection method according to any one of claims 1 to 3, It is characterized in that In step S2, in the step of extracting a preset number of corresponding point data groups from each of the data sets to construct a matching data group, the preset number is greater than or equal to 3; In step S3, in the step of solving the PnP problem based on the matching data set to obtain a set of rotation matrices and translation matrices for representing the conversion relationship between the image data and the point cloud data, the PnP problem is expressed as: λp=K[R,T][P,1] T Among them, λ is the actual distance between the observation point and the optical center of the camera, P is the point coordinate of the laser radar, and R∈R 3×3 is the rotation matrix, T∈R 3×1 is the translation matrix, p represents the pixel coordinates, and K is the intrinsic parameter matrix of the camera.

5. The road edge detection method according to claim 4, It is characterized in that In step S3, the rotation matrix and the translation matrix are tested. If the test result meets the preset requirement, in the step of outputting the rotation matrix and the translation matrix, the preset requirement is: based on calculating the average reprojection error, the conversion accuracy of the rotation matrix and the translation matrix to the pixel point coordinates and the point cloud coordinates is evaluated, and the conversion accuracy is less than a preset value; And / or, the point cloud data is colored based on the rotation matrix, the translation matrix, and the image data, so as to compare the colored point cloud data with the image data, and the comparison error is less than a preset value.

6. A device for the road edge detection method according to any one of claims 1 to 5, It is characterized in that include: A camera, used to obtain image data in the direction of vehicle travel; LiDAR, used to obtain point cloud data in the direction of vehicle travel; A data acquisition unit, used to connect with the camera and the laser radar, so as to obtain a plurality of data sets corresponding to the vehicle in a predetermined distance range in the direction of travel of the vehicle, and to extract a predetermined number of corresponding point data sets from each data set to construct a matching data set; wherein the data set includes: image data and point cloud data; each corresponding point data set includes: pixel point coordinates and point cloud coordinates matching the pixel point coordinates; A solving unit, solving the PnP problem based on the matching data group, obtaining a set of rotation matrices and translation matrices for representing the conversion relationship between the image data and the point cloud data, and testing the rotation matrix and the translation matrix, and outputting the rotation matrix and the translation matrix if the test result meets the preset requirements; The detection unit matches the image and point cloud fusion information used to represent the curb in the current vehicle driving direction based on the rotation matrix and the translation matrix, so as to detect the curb.

7. The device for the road edge detection method according to claim 6, It is characterized in that The laser radar is a non-repetitive scanning laser radar, and the point cloud frame rate of the laser radar is 10Hz, and the output is 200,000 points / second.

8. An electronic device, It is characterized in that comprising at least one processor, at least one memory and a data bus; The processor and the memory communicate with each other via the data bus; The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the road edge detection method as described in any one of claims 1 to 5.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the curb detection method as claimed in any one of claims 1 to 5 is executed.

10. A vehicle, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the vehicle is traveling, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, a curb detection method as described in any one of claims 1 to 5 is performed.

Citation Information

Patent Citations

  • Camera calibration method applied to automatic driving automobile

    CN110827358A

  • Method, system and device for detecting road target and distance of automatic driving vehicle

    CN110988912A

  • Road edge detection method based on laser point cloud data

    CN111007531A

  • Target detection method and device, medium and equipment

    CN113887376A

  • All-day parking space detection method based on fusion of camera and laser radar

    CN115223019A

Cited By

  • Complex road boundary detection method and device based on point cloud voxel processing

    CN121564678A

  • A complex road boundary detection method and device based on point cloud voxel processing

    CN121564678B