Method and device for sensing near-field blind area of automatic driving vehicle and storage medium

Through technologies such as motion compensation and 3D to 2D projection conversion, combined with computer vision, it solves the problem of insufficient sensor coverage for near-field blind zone sensing of autonomous vehicles, achieves effective detection of low targets, provides end-to-end perception output, and reduces risk of accidents.

CN118537822AActive Publication Date: 2024-08-23COWA TECHNOLOGY CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410342144.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2024-08-23
Estimated Expiration
2044-03-25

AI Technical Summary

Technical Problem

Autonomous vehicles have insufficient sensor coverage in near-field blind spot perception, resulting in the inability to detect low targets and increasing the risk of accidents. The existing technology only detects 2D images, lacks depth information, and cannot be directly used in the perception module.

Method used

It adopts methods of motion compensation, 3D to 2D projection conversion, 2D target detection, extracting target 3D points, filtering ground points, generating BEV heat maps, target point clustering, calculating IOU and fusion candidate clusters, combined with computer vision technology and post-fusion operations. , realize the output fusion of 2D and 3D sensors, and perform end-to-end near-field blind zone perception.

Benefits of technology

It achieves full coverage of the near-field blind spot perception of autonomous vehicles, provides effective reference information for planning and control, improves the detection capabilities of low targets, and reduces the risk of accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537822A
    Figure CN118537822A
Patent Text Reader

Abstract

The invention discloses a method and device for sensing a near-field blind area of an automatic driving vehicle and a storage medium, and the method comprises the following steps: motion compensation, projection conversion from 3D to 2D, 2D target detection, target 3D point extraction, ground point filtering, BEV thermodynamic diagram generation, target point clustering, IOU calculation, optimal candidate cluster selection, and candidate cluster fusion. And fusing the candidate clusters screened out by each target after the previous step to obtain the position output of the final target. According to the method, the computer vision technology and post-fusion operation are mainly utilized, on the basis of 2D image segmentation, the output of the 2D sensor and the output of the 3D sensor are effectively fused, end-to-end near-field blind area sensing full coverage of the automatic driving vehicle is achieved, and effective reference information is provided for planning and control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and more specifically, to a solution for fusing multi-modal information of a surround-view fisheye camera and a blind spot-filling laser radar to perceive the near-field blind spot of an autonomous driving vehicle, and in particular to a method, device and storage medium for sensing the near-field blind spot of an autonomous driving vehicle. Background Art

[0002] In the current era of rapid development of various high-tech technologies, autonomous driving technology has received more and more attention. Various car manufacturers have invested a lot of resources in the research and development of autonomous driving systems (Auto Driving System, ADS), which includes a complete set of workflows from perception to decision-making. Among them, the perception system uses various perception sensors installed on the vehicle to perceive the surrounding situation in real time, and uses the data returned by the sensors and advanced algorithms to provide a basis for downstream decision-making tasks.

[0003] As the first step in realizing autonomous driving, the perception system plays a vital role. Currently, most perception systems adopt a multi-sensor fusion solution, including cameras, lidar, millimeter-wave radar, ultrasonic radar, etc. These sensors have their own advantages and disadvantages, and the returned data formats vary greatly. It is of great significance to give full play to the advantages of each sensor and integrate them to output a unified perception result.

[0004] The present invention focuses on the near-field blind spot of autonomous vehicles. At present, in most autonomous vehicle solutions, the laser radar is installed on the roof to prevent the rays from being blocked. At the same time, it is limited by the vertical field of view (FOV) range of the laser radar. There will be a perception blind spot in the near-field area around the vehicle body that cannot be covered by the sensor. If some low targets (such as children, pets, people who suddenly fall to the ground, etc.) appear in the blind spot, there will be a great risk of accidents. Therefore, the perception of the near-field blind spot of autonomous vehicles has become a problem that needs to be solved urgently.

[0005] Therefore, the existing technology has developed a method of fusing 2D image detection with radar depth information to achieve near-field blind spot perception for autonomous vehicles. Among them, 2D image detection relies on existing image instance segmentation algorithms, such as the Condinst algorithm. For details, please refer to the paper "Conditional Convolutions for Instance Segmentation".

[0006] In short, this solution uses detection + segmentation to identify the mask of each target instance in the image. The specific steps are as follows, where steps 2 to 4 are detection branches and steps 5 to 6 are segmentation branches:

[0007] 1. Input RGB three-channel image

[0008] 2. Use a convolutional neural network to downsample the input image and extract features to generate multi-scale feature maps. For example, as shown by the blue quadrilaterals in the first column of the figure, C3 is the feature map after the original image size is downsampled 8 times, C4 is 16 times, and C5 is 32 times.

[0009] 3. Use Feature Pyramid Network (FPN) to fuse and generate multi-scale feature maps and collect multi-scale information. For example, as shown by the orange quadrilaterals in the second column of the figure, the deepest feature map C5 is passed through a convolutional layer to generate a feature map P5 of the same size, and then downsampled and upsampled respectively, where P6 and P7 are feature maps after P5 is downsampled by 2 times and 4 times, that is, feature maps downsampled 64 times and 128 times the original image size; P4 is a feature map generated by merging P5 with shallow feature C4 after upsampling it by 2 times, and P3 is a feature map generated by merging P4 with shallow feature C3 after upsampling it by 2 times. The sizes of P3, P4 and P5 are the same as those of C3, C4 and C5.

[0010] 4. For feature maps of different scales, a parameter-sharing detection head is used to predict the category, location information, and dynamic convolution kernel of each instance. Different instances have different convolution kernels, which are used by the subsequent dynamic convolution network to predict the mask of each instance. For example, the classification Px,y in the shared head in the figure represents the predicted category, and the controller represents the convolution kernel applicable to each instance.

[0011] 5. Add position-related information to the feature map that integrates multi-scale information. For example, encode the instance position information predicted in step 4 into a tensor of the same size as P3, and concatenate it with Fmask in the channel dimension.

[0012] 6. Use the convolution kernel of each instance generated in step 4 as the convolution kernel of the convolution network, input the feature map in step 5 into the Fully Convolutional Network (FCN), and obtain the pixel-level segmentation result of each instance, i.e., the mask.

[0013] Although the above existing technologies have achieved high accuracy in the industry, they only detect 2D images and lack the depth information of the target, so they cannot be directly used in the perception module of autonomous driving vehicles. We also need to fuse the 2D detection results and the radar 3D information in some way to obtain end-to-end output. Summary of the invention

[0014] In order to solve the above-mentioned problems of the prior art solutions, the present invention proposes a method, device and storage medium for near-field blind spot perception of an autonomous driving vehicle.

[0015] In order to achieve the above object, the present invention adopts the following technical solution: a method for near-field blind spot perception of an autonomous driving vehicle, comprising the following steps:

[0016] S1, motion compensation, used to compensate for the offset of moving targets caused by the difference in exposure time between radar and camera;

[0017] S2, 3D to 2D projection conversion, projects the motion-compensated radar point cloud from the Baselink coordinate system to the pixel coordinate system on the camera image to obtain a one-to-one correspondence between each radar point and the image pixel;

[0018] S3, 2D object detection, uses the Condinst model to detect the objects of interest in all 2D images and obtain the mask of each object;

[0019] S4, extracting the target 3D points, through the one-to-one correspondence between each radar point and the image pixel obtained in S2, and the 2D mask of each target obtained in S3, extracting the points falling in each target mask as the points of the target in 3D space;

[0020] S5, filtering ground points. According to the prior sizes of different types of targets, the point cloud of the part where the target is connected to the ground is filtered to avoid the outer boundary contour of the target in the final 3D space being too large due to residual ground points.

[0021] S6, generate a BEV heat map (Bird's Eye View, BEV), project all 3D point clouds of the target into the BEV space; multiple 3D points may correspond to the same point in the BEV space;

[0022] S7, target point clustering, in order to filter out most of the discrete noise points, each point with thermal value in the BEV thermal map generated in the previous step is arranged in descending order, and then selected as the clustering starting seed point in turn, and clustering is performed outward to find the cluster in the BEV grid coordinate system;

[0023] S8, calculate IOU. For the multiple candidate clusters obtained in S7, it is necessary to calculate relevant indicators, select the K clusters with the highest indicators as the global optimal clusters, and filter out the noise clusters;

[0024] S9, select the best candidate cluster. The above operation will calculate C IOU indicators for the C clusters clustered in S7, filter out the wrong clusters, and select the best cluster. For static targets, directly take the cluster with Top1 IOU. For dynamic targets, predict the target depth value to assist in selecting the best cluster.

[0025] S10, fusing candidate clusters, fusing the candidate clusters screened out after the previous step for each target, and obtaining the position output of the final target.

[0026] The present invention mainly utilizes computer vision technology and post-fusion operation, and effectively integrates the outputs of 2D and 3D sensors on the basis of 2D image segmentation, so as to achieve full end-to-end near-field blind spot perception coverage of autonomous driving vehicles and provide effective reference information for planning and control.

[0027] Furthermore, the steps of S1 are as follows:

[0028] The UTM (Universal Transverse Mercator) coordinate system is recorded as the world coordinate system, the ego-vehicle coordinate system is recorded as the Baselink coordinate system, the original radar point cloud is in the Baselink coordinate system, recorded as Pb, pose represents the transformation relationship from the Baselink coordinate system to the world coordinate system, including the rotation matrix R and the translation vector T. The radar and camera have a pose at their respective exposure times, recorded as Rlidar, Tlidar and Rcamera, Tcamera respectively. The compensated radar point cloud is recorded as Pb', and motion compensation is achieved through the following formula:

[0029]

[0030] Where P w =R lidar @P b +T lidar , @ indicates matrix multiplication operation, Indicates the inverse of the rotation matrix.

[0031] Furthermore, the S2 is specifically:

[0032] Through the camera intrinsic parameter K, distortion sparse D and camera extrinsic parameters Rc2b, Tc2b, the motion compensated radar point cloud is projected from the Baselink coordinate system to the pixel coordinate system on the camera image to obtain a one-to-one correspondence between each radar point and the image pixel. The projection here uses a common standard projection process. For details, please refer to the projectPoints projection function in the open source cross-platform computer vision library OpenCV, which will not be repeated here.

[0033] Furthermore, the S6 adopts the following method:

[0034] The BEV grid size is set to 5cm x 5cm, that is, the actual distance between two adjacent BEV coordinates is 5cm; in order to more smoothly represent which positions in the BEV space have the most points, a Gaussian kernel with a radius of 3 is used to calculate the thermal value, that is, the thermal value of each point in the BEV space is related to the value of the points around it with a radius of 3. The denser the points in an area, the more points there are, and the closer to the center, the greater the thermal value.

[0035] Further, the S7 includes the following method:

[0036] The clustering algorithm selected is the Breath First Search (BFS) algorithm, the search radius is set to 5 cm, and the clustering condition is set to the distance between the searched point and the current cluster center ≤ half of the diagonal distance of the current category's prior size under the BEV grid (as shown in the figure below). Points that have been clustered into a cluster will not participate in clustering in the future. Therefore, in theory, the earlier the cluster is, the more likely it is to be the target cluster.

[0037] Further, the S8 includes the following method:

[0038] According to the target mask obtained by the model detection in S3, the corresponding target region (Region of Interest, ROI) rectangular box is intercepted and divided into N x M grids (note that the image is divided into grids here, which is different from the BEV division in step 7 above). Assuming that the width of the rectangular box is W, the height is H, and the size of each grid is G x G, then N = W / G, M = H / G, all rounded up, and then the intersection over union (IOU) index of the 3D radar point and the 2D image at the grid scale is calculated:

[0039] Union (UNION, U): After the image ROI is divided into grids, count the number of grids in the image that the 3D radar point cloud falls into after being projected onto the 2D image (refer to step 2);

[0040] Intersection (I): For each cluster in the BEV space, count the number of grids in the image that all 3D points in the cluster fall into after being projected onto the 2D image (see step 2);

[0041] Finally, IOU is calculated, IOU=I / U.

[0042] Further, the S9 comprises the following steps:

[0043] a. Dedistort the image of the fisheye camera according to the internal and external parameters and the distortion coefficient to obtain the corrected image;

[0044] b. At this time, the image is not distorted and can be approximately considered as an ordinary camera. According to the conversion relationship between the camera coordinate system and the pixel coordinate system:

[0045]

[0046] c. If we only look at the X direction, we can get: Z c u=f x X c +Z c c x , then the depth Where u represents the horizontal coordinate value of the target point in the pixel coordinate system, c x Represents the horizontal coordinate of the center point of the pixel coordinate system, then uc x Indicates the horizontal offset of the target point from the center of the image in the pixel coordinate system, fx is the focal length in the horizontal direction, X c is the horizontal coordinate value of the target point in the camera coordinate system, then u and X c Replaced by the target's width Δu in the pixel coordinate system and the actual width ΔX c ,Right now Where ΔX c We can take the width of the approximate prior size of the target of this category in reality, and Δu is the mask width detected by the model in step 3, and we can get the estimated target depth Z c ;

[0047] d. In addition, the incident angle of the target in the X direction in the camera coordinate system can be obtained Here we only estimate the depth of targets with |α|≤70°, because the fisheye camera is used and the edge of the picture is severely distorted, and this part of the field of view will be lost after dedistortion;

[0048] e. Since we cannot know the direction of the target in the image, we cannot determine ΔX c The width or length of the target prior size is taken. Here we assume that the target orientation is the same or opposite to the vehicle orientation. The approximate ΔX is obtained using the following formula c =P L R+P W (1-R), where P L represents the prior length of the target, P W represents the prior width of the target,

[0049] f. The target depth estimated by the above method will deviate from the actual depth. A threshold for controlling the tolerance is set to retain clusters with deviations within the tolerance range. For close targets, we expect the estimated depth to be more accurate, so a lower threshold is set. For distant targets, the result deviation of the depth estimation will be greater (a limitation of this method), so a larger threshold is set. Therefore, the threshold can change linearly according to the distance between the actual position of the target cluster and the vehicle. The farther the distance, the higher the threshold.

[0050] g. Filter out the optimal candidate clusters of dynamic targets based on IOU and depth estimation.

[0051] Furthermore, the S10 includes the following steps:

[0052] S101: For deformable targets (fences, two-wheeled vehicle piles, etc.), due to their variable sizes, multiple candidate clusters need to be considered, and the IOU must be greater than 0.01. The DBSCAN clustering algorithm is used here to perform secondary clustering on the clusters. The purpose is to exclude the radar noise clusters between the vehicle and the target, and to cluster up to the top 10 clusters for fusion and output;

[0053] S102, for general targets, if there is only one candidate cluster, output it directly; if there are two or more static targets in candidate clusters or dynamic targets at the edge of the screen without predicted depth, directly take the IOU Top1 cluster output; if there are two or more dynamic targets in candidate clusters and the depth is estimated, the Euclidean distance between the target center estimated by depth and the cluster center of Top2 is calculated respectively. The smaller the distance, the closer the estimated position is to the actual position. If the distance to the former is less than the distance to the latter, and the distance to the former is <5m, the former is output, otherwise the latter is output.

[0054] The present invention also provides a device for near-field blind spot perception of an autonomous driving vehicle, comprising:

[0055] Motion compensation module, used to compensate for the offset of moving targets caused by the difference in exposure time between radar and camera;

[0056] The 3D to 2D projection conversion module projects the motion-compensated radar point cloud from the Baselink coordinate system to the pixel coordinate system on the camera image to obtain a one-to-one correspondence between each radar point and the image pixel;

[0057] The 2D object detection module uses the Condinst model to detect the objects of interest in all 2D images and obtain the mask of each object;

[0058] The module for extracting target 3D points uses the one-to-one correspondence between each radar point and the image pixel obtained in S2 and the 2D mask of each target obtained in S3 to extract the points falling in each target mask as the points of the target in 3D space;

[0059] The ground point filtering module filters the point cloud of the part where the target is connected to the ground according to the prior size of different types of targets, so as to avoid the outer boundary contour of the target in the final 3D space being too large due to residual ground points;

[0060] Generate a BEV heat map module (Bird's Eye View, BEV), project all 3D point clouds of the target into the BEV space; multiple 3D points may correspond to the same point in the BEV space;

[0061] In order to filter out most of the discrete noise points, the target point clustering module arranges each point with thermal value in the BEV thermal map generated in the previous step in descending order, and then selects them as the clustering starting seed points in turn, searches outward for clustering, and finds the cluster in the BEV grid coordinate system;

[0062] The IOU calculation module calculates relevant indicators for the multiple candidate clusters obtained in S7, selects the K clusters with the highest indicators as the global optimal clusters, and filters out the noise clusters;

[0063] Select the best candidate cluster module. The above operation will calculate C IOU indicators for the C clusters clustered in S7. Due to the existence of occlusion scenes and the inaccuracy of the detected target mask, there will be depth misassociation leading to the wrong cluster selection, and the distant target will be mistakenly associated with the nearby position (such as vegetation, fences, etc. The above figure is an example. If the intersection of cluster2 vegetation is greater than cluster1, it will be misassociated). At this time, it is necessary to filter out the wrong clusters in some way and select the best cluster. For static targets, since they have no speed and their positions are fixed, misassociation with nearby will not affect the decision-making of the vehicle. You can directly take the cluster with Top1 IOU; for dynamic targets, due to their speed, their positions are constantly changing, which will affect the decision-making logic of autonomous driving in the future. Therefore, for dynamic targets, we assist in selecting the best cluster by predicting the target depth value; (Here is an estimate of the approximate depth, which will not be too accurate, but it is sufficient to assist in screening clusters)

[0064] The candidate cluster fusion module fuses the candidate clusters selected by each target in the previous step to obtain the final target position output.

[0065] The present invention also provides a computer-readable storage medium containing a computer program, which, when executed by one or more processors, implements any of the above-mentioned methods for near-field blind spot perception of an autonomous driving vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A schematic diagram of generating a BEV thermal map for the present invention;

[0067] Figure 2 Schematic diagram of target point clustering;

[0068] Figure 3 Schematic diagram of an example of calculating IOU. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] like Figure 1 As shown, a method for near-field blind spot perception of an autonomous driving vehicle comprises the following steps:

[0071] S1, motion compensation, used to compensate for the offset of moving targets caused by the difference in exposure time between radar and camera;

[0072] S2, 3D to 2D projection conversion, projects the motion-compensated radar point cloud from the Baselink coordinate system to the pixel coordinate system on the camera image to obtain a one-to-one correspondence between each radar point and the image pixel;

[0073] S3, 2D object detection, uses the Condinst model to detect the objects of interest in all 2D images and obtain the mask of each object;

[0074] S4, extracting the target 3D points, through the one-to-one correspondence between each radar point and the image pixel obtained in S2, and the 2D mask of each target obtained in S3, extracting the points falling in each target mask as the points of the target in 3D space;

[0075] S5, filtering ground points. According to the prior sizes of different types of targets, the point cloud of the part where the target is connected to the ground is filtered to avoid the outer boundary contour of the target in the final 3D space being too large due to residual ground points.

[0076] S6, generate a BEV heat map (Bird's Eye View, BEV), project all 3D point clouds of the target into the BEV space; multiple 3D points may correspond to the same point in the BEV space;

[0077] S7, target point clustering, in order to filter out most of the discrete noise points, each point with thermal value in the BEV thermal map generated in the previous step is arranged in descending order, and then selected as the clustering starting seed point in turn, and clustering is performed outward to find the cluster in the BEV grid coordinate system;

[0078] S8, calculate IOU. For the multiple candidate clusters obtained in S7, it is necessary to calculate relevant indicators, select the K clusters with the highest indicators as the global optimal clusters, and filter out the noise clusters;

[0079] S9, select the best candidate cluster. The above operation will calculate C IOU indicators for the C clusters clustered in S7. Due to the existence of occlusion scenes and the inaccuracy of the detected target mask, there will be a situation where the wrong cluster is selected due to depth misassociation, and the distant target will be mistakenly associated with the nearby position (such as vegetation, fences, etc. The above figure is an example. If the intersection of cluster2 vegetation is greater than cluster1, it will be misassociated). At this time, it is necessary to filter out the wrong cluster in some way and select the best cluster. For static targets, since they have no speed and their positions are fixed, misassociation with nearby will not affect the decision of the vehicle. The cluster with Top1 IOU can be directly taken; for dynamic targets, due to their speed, the position is constantly changing, which will affect the decision logic of autonomous driving in the future. Therefore, for dynamic targets, we assist in selecting the best cluster by predicting the target depth value; (here is the estimated approximate depth, which will not be too accurate, but it is sufficient to assist in cluster screening).

[0080] S10, fusing candidate clusters, fusing the candidate clusters screened out after the previous step for each target, and obtaining the position output of the final target.

[0081] The present invention mainly utilizes computer vision technology and post-fusion operation, and effectively integrates the outputs of 2D and 3D sensors on the basis of 2D image segmentation, so as to achieve full end-to-end near-field blind spot perception coverage of autonomous driving vehicles and provide effective reference information for planning and control.

[0082] In practical applications, due to the difference in exposure time between the radar and the camera, if the vehicle is moving during this time difference, direct projection will cause the result to be offset. Therefore, it is necessary to perform motion compensation on the projection process according to the pose of the vehicle. The pose is obtained through GPS and IMU sensors, which will not be described here.

[0083] The steps of motion compensation are as follows:

[0084] The UTM (Universal Transverse Mercator) coordinate system is recorded as the world coordinate system, the vehicle coordinate system is recorded as the Baselink coordinate system, and the original radar point cloud in the Baselink coordinate system is recorded as P b , pose represents the transformation relationship from the Baselink coordinate system to the world coordinate system, including the rotation matrix R and the translation vector T. The radar and camera each have a pose at their respective exposure times, denoted by R lidar , T lidar and R camera , T camera , the compensated radar point cloud is recorded as P b ', motion compensation is achieved through the following formula:

[0085]

[0086] Where P w =R lidar @P b +T lidar , @ indicates matrix multiplication operation, Indicates the inverse of the rotation matrix.

[0087] The S2 is specifically:

[0088] Through the camera intrinsic parameter K, distortion sparse D and camera extrinsic parameter R c2b , T c2b , project the motion-compensated radar point cloud from the Baselink coordinate system to the pixel coordinate system on the camera image, and obtain a one-to-one correspondence between each radar point and the image pixel. The projection here uses a common standard projection process. For details, please refer to the projectPoints projection function in the open source cross-platform computer vision library OpenCV, which will not be repeated here.

[0089] The S6 example is as follows:

[0090] The BEV grid size is set to 5cm x 5cm, that is, the actual distance between two adjacent BEV coordinates is 5cm; in order to more smoothly represent which positions in the BEV space have the most points, a Gaussian kernel with a radius of 3 is used to calculate the thermal value, that is, the thermal value of each point in the BEV space is related to the value of the points with a radius of 3 around it. The denser the points in an area, the more points there are, and the closer to the center, the greater the thermal value. Figure 1 shown.

[0091] In order to filter out most of the discrete noise points, each point with thermal value in the BEV thermal map generated in the previous step is arranged in descending order, and then selected as the clustering starting seed point in turn, and clustering is performed outward to find the cluster in the BEV grid coordinate system. The target point clustering includes the following methods:

[0092] The clustering algorithm selected is the Breath First Search (BFS) algorithm, the search radius is set to 5 cm, and the clustering condition is set to the distance between the searched point and the current cluster center ≤ half of the diagonal distance of the prior size of the current category under the BEV grid (such as Figure 2 The points that have been clustered into a cluster will not participate in clustering in the future. Therefore, in theory, the earlier the cluster is, the more likely it is to be the target cluster.

[0093] The above clustering step will obtain multiple candidate clusters, and relevant indicators need to be calculated for them, and the K clusters with the highest indicators are selected as the global optimal clusters, and the noise clusters are filtered out. The IOU calculation includes the following methods:

[0094] According to the target mask obtained by the model detection in S3, the corresponding target region (Region of Interest, ROI) rectangular box is intercepted and divided into N x M grids (note that the image is divided into grids here, which is different from the BEV division in step 7 above). Assuming that the width of the rectangular box is W, the height is H, and the size of each grid is G x G, then N = W / G, M = H / G, all rounded up, and then the intersection over union (IOU) index of the 3D radar point and the 2D image at the grid scale is calculated:

[0095] Union (UNION, U): After the image ROI is divided into grids, count the number of grids in the image that the 3D radar point cloud falls into after being projected onto the 2D image (refer to step 2);

[0096] Intersection (I): For each cluster in the BEV space, count the number of grids in the image that all 3D points in the cluster fall into after being projected onto the 2D image (see step 2); see Figure 3 shown.

[0097] Finally, IOU is calculated, IOU=I / U.

[0098] The above operation will calculate C IOU indicators for the C clusters clustered in S7. Due to the existence of occlusion scenes and the inaccuracy of the detected target mask, there will be depth misassociation leading to the wrong cluster selection, and the distant target will be misassociated with the nearby position (such as vegetation, fences, etc.). Figure 3For example, if the intersection of cluster2 vegetation is greater than cluster1, it will be misassociated). At this time, it is necessary to filter out the wrong clusters in some way and select the optimal cluster. For static targets, since they have no speed and their positions are fixed, misassociating them to nearby locations will not affect the vehicle's decision-making. You can just take the cluster with the Top1 IOU. However, for dynamic targets, since they have speed and their positions are constantly changing, this will affect the decision-making logic of autonomous driving in the future. Therefore, for dynamic targets, we assist in selecting the optimal cluster by predicting the target depth value (here we estimate the approximate depth, which will not be too accurate, but is sufficient to assist in cluster screening). The S9 includes the following steps:

[0099] a. Dedistort the image of the fisheye camera according to the internal and external parameters and the distortion coefficient to obtain the corrected image;

[0100] b. At this time, the image is not distorted and can be approximately considered as an ordinary camera. According to the conversion relationship between the camera coordinate system and the pixel coordinate system:

[0101]

[0102] c. If we only look at the X direction, we can get: Z c u=f x X c +Z c c x , then the depth Where u represents the horizontal coordinate value of the target point in the pixel coordinate system, c x Represents the horizontal coordinate of the center point of the pixel coordinate system, then uc x Indicates the horizontal offset of the target point from the center of the image in the pixel coordinate system, fx is the focal length in the horizontal direction, X c is the horizontal coordinate value of the target point in the camera coordinate system, then u and X c Replaced by the target's width Δu in the pixel coordinate system and the actual width ΔX c ,Right now Where ΔX c We can take the width of the approximate prior size of the target of this category in reality, and Δu is the mask width detected by the model in step 3, and we can get the estimated target depth Z c ;

[0103] d. In addition, the incident angle of the target in the X direction in the camera coordinate system can be obtained Here we only estimate the depth of targets with |α|≤70°, because the fisheye camera is used and the edge of the picture is severely distorted, and this part of the field of view will be lost after dedistortion;

[0104] e. Since we cannot know the direction of the target in the image, we cannot determine ΔX c The width or length of the target prior size is taken. Here we assume that the target orientation is the same or opposite to the vehicle orientation. The approximate ΔX is obtained using the following formula c =P L R+P W (1-R), where P L represents the prior length of the target, P W represents the prior width of the target,

[0105] f. The target depth estimated by the above method will deviate from the actual depth. A threshold for controlling the tolerance is set to retain clusters with deviations within the tolerance range. For close targets, we expect the estimated depth to be more accurate, so a lower threshold is set. For distant targets, the result deviation of the depth estimation will be greater (a limitation of this method), so a larger threshold is set. Therefore, the threshold can change linearly according to the distance between the actual position of the target cluster and the vehicle. The farther the distance, the higher the threshold.

[0106] g. Filter out the optimal candidate clusters of dynamic targets based on IOU and depth estimation.

[0107] Furthermore, the S10 includes the following steps:

[0108] S101: For deformable targets (fences, two-wheeled vehicle piles, etc.), due to their variable sizes, multiple candidate clusters need to be considered, and the IOU must be greater than 0.01. The DBSCAN clustering algorithm is used here to perform secondary clustering on the clusters. The purpose is to exclude the radar noise clusters between the vehicle and the target, and to cluster up to the top 10 clusters for fusion and output;

[0109] S102, for general targets, if there is only one candidate cluster, output it directly; if there are two or more static targets in candidate clusters or dynamic targets at the edge of the screen without predicted depth, directly take the IOU Top1 cluster output; if there are two or more dynamic targets in candidate clusters and the depth is estimated, the Euclidean distance between the target center estimated by depth and the cluster center of Top2 is calculated respectively. The smaller the distance, the closer the estimated position is to the actual position. If the distance to the former is less than the distance to the latter, and the distance to the former is <5m, the former is output, otherwise the latter is output.

[0110] This patent mainly utilizes computer vision technology and post-fusion operations. Based on 2D image segmentation, it effectively integrates the outputs of 2D and 3D sensors, achieving full end-to-end near-field blind spot perception coverage for autonomous driving vehicles, and providing effective reference information for planning and control.

[0111] The present invention also provides a device for near-field blind spot perception of an autonomous driving vehicle, comprising:

[0112] Motion compensation module, used to compensate for the offset of moving targets caused by the difference in exposure time between radar and camera;

[0113] The 3D to 2D projection conversion module projects the motion-compensated radar point cloud from the Baselink coordinate system to the pixel coordinate system on the camera image to obtain a one-to-one correspondence between each radar point and the image pixel;

[0114] The 2D object detection module uses the Condinst model to detect the objects of interest in all 2D images and obtain the mask of each object;

[0115] The module for extracting target 3D points uses the one-to-one correspondence between each radar point and the image pixel obtained in S2 and the 2D mask of each target obtained in S3 to extract the points falling in each target mask as the points of the target in 3D space;

[0116] The ground point filtering module filters the point cloud of the part where the target is connected to the ground according to the prior size of different types of targets, so as to avoid the outer boundary contour of the target in the final 3D space being too large due to residual ground points;

[0117] Generate a BEV heat map module (Bird's Eye View, BEV), project all 3D point clouds of the target into the BEV space; multiple 3D points may correspond to the same point in the BEV space;

[0118] In order to filter out most of the discrete noise points, the target point clustering module arranges each point with thermal value in the BEV thermal map generated in the previous step in descending order, and then selects them as the clustering starting seed points in turn, searches outward for clustering, and finds the cluster in the BEV grid coordinate system;

[0119] The IOU calculation module calculates relevant indicators for the multiple candidate clusters obtained in S7, selects the K clusters with the highest indicators as the global optimal clusters, and filters out the noise clusters;

[0120] Select the best candidate cluster module. The above operation will calculate C IOU indicators for the C clusters clustered in S7. Due to the existence of occlusion scenes and the inaccuracy of the detected target mask, there will be depth misassociation leading to the wrong cluster selection, and the distant target will be mistakenly associated with the nearby position (such as vegetation, fences, etc. The above figure is an example. If the intersection of cluster2 vegetation is greater than cluster1, it will be misassociated). At this time, it is necessary to filter out the wrong clusters in some way and select the best cluster. For static targets, since they have no speed and their positions are fixed, misassociation with nearby will not affect the decision-making of the vehicle. You can directly take the cluster with Top1 IOU; for dynamic targets, due to their speed, their positions are constantly changing, which will affect the decision-making logic of autonomous driving in the future. Therefore, for dynamic targets, we assist in selecting the best cluster by predicting the target depth value; (Here is an estimate of the approximate depth, which will not be too accurate, but it is sufficient to assist in screening clusters)

[0121] The candidate cluster fusion module fuses the candidate clusters selected by each target in the previous step to obtain the final target position output.

[0122] The present invention also provides a computer-readable storage medium containing a computer program, which, when executed by one or more processors, implements any of the above-mentioned methods for near-field blind spot perception of an autonomous driving vehicle.

[0123] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for near-field blind spot perception of an autonomous driving vehicle, characterized in that: The following steps are involved: S1, motion compensation, used to compensate for the offset of moving targets caused by the difference in exposure time between radar and camera; S2, 3D to 2D projection conversion, projects the motion-compensated radar point cloud from the Baselink coordinate system to the pixel coordinate system on the camera image to obtain a one-to-one correspondence between each radar point and the image pixel; S3, 2D object detection, uses the Condinst model to detect the objects of interest in all 2D images and obtain the mask of each object; S4, extracting the target 3D points, through the one-to-one correspondence between each radar point and the image pixel obtained in S2, and the 2D mask of each target obtained in S3, extracting the points falling in each target mask as the points of the target in 3D space; S5, filtering ground points. According to the prior sizes of different types of targets, the point cloud of the part where the target is connected to the ground is filtered to avoid the outer boundary contour of the target in the final 3D space being too large due to residual ground points. S6, generate a BEV heat map, project all 3D point clouds of the target into the BEV space; multiple 3D points may correspond to the same point in the BEV space; S7, target point clustering, in order to filter out most of the discrete noise points, each point with thermal value in the BEV thermal map generated in the previous step is arranged in descending order, and then selected as the clustering starting seed point in turn, and clustering is searched outward to find the cluster in the BEV grid coordinate system; S8, calculate IOU. For the multiple candidate clusters obtained in S7, it is necessary to calculate relevant indicators, select the K clusters with the highest indicators as the global optimal clusters, and filter out the noise clusters; S9, select the best candidate cluster. The above operation will calculate C IOU indicators for the C clusters clustered in S7, filter out the wrong clusters, and select the best cluster. For static targets, directly take the cluster with Top1 IOU. For dynamic targets, the optimal cluster is selected by predicting the target depth value; S10, fusing candidate clusters, fusing the candidate clusters screened out after the previous step for each target, and obtaining the position output of the final target.

2. The method for near-field blind spot perception of an autonomous driving vehicle according to claim 1, characterized in that: The steps of S1 are as follows: The UTM coordinate system is recorded as the world coordinate system, the vehicle coordinate system is recorded as the Baselink coordinate system, and the original radar point cloud in the Baselink coordinate system is recorded as P b , pose represents the transformation relationship from the Baselink coordinate system to the world coordinate system, including the rotation matrix R and the translation vector T. The radar and camera each have a pose at their respective exposure times, denoted by R lidar , T lidar and R camera , T camera , the compensated radar point cloud is recorded as P b ', motion compensation is achieved through the following formula: Where P w =R lidar @P b +T lidar , @ indicates matrix multiplication operation, Indicates the inverse of the rotation matrix.

3. The method for near-field blind spot perception of an autonomous driving vehicle according to claim 1, characterized in that: The S2 is specifically: Through the camera intrinsic parameter K, distortion sparse D and camera extrinsic parameter R c2b , T c2b , project the motion-compensated radar point cloud from the Baselink coordinate system to the pixel coordinate system on the camera image, and obtain a one-to-one correspondence between each radar point and the image pixel. The projection here uses a common standard projection process. For details, please refer to the projectPoints projection function in the open source cross-platform computer vision library OpenCV, which will not be repeated here.

4. The method for near-field blind spot perception of an autonomous driving vehicle according to claim 1, characterized in that: The S6 adopts the following method: The BEV grid size is set to 5cm x 5cm, that is, the actual distance between two adjacent BEV coordinates is 5cm; in order to more smoothly represent which positions in the BEV space have the most points, a Gaussian kernel with a radius of 3 is used to calculate the thermal value, that is, the thermal value of each point in the BEV space is related to the value of the points around it with a radius of 3. The denser the points in an area, the more points there are, and the closer to the center, the greater the thermal value.

5. The method for near-field blind spot perception of an autonomous driving vehicle according to claim 1, characterized in that: The S7 includes the following methods: The clustering algorithm selects the breadth-first search BFS algorithm, the search radius is set to 5 cm, and the clustering condition is set to the distance between the searched point and the current cluster center ≤ half of the diagonal distance of the current category's prior size under the BEV grid. Points that have been clustered into a cluster will no longer participate in clustering in the future. Therefore, in theory, the earlier the cluster in the order, the more likely it is to be the target cluster.

6. The method for near-field blind spot perception of an autonomous driving vehicle according to claim 1, characterized in that: The S8 includes the following methods: According to the target mask obtained by the model detection in S3, the corresponding Target The ROI rectangle is divided into N x M grids. Assuming the width of the rectangle is W, the height is H, and the size of each grid is G x G, then N = W / G, M = H / G, both are rounded up. Then calculate the intersection-over-union (IOU) index of the 3D radar point and the 2D image at the grid scale: Union U: After the image ROI is divided into grids, the number of grids in the image that the 3D radar point cloud falls into after being projected onto the 2D image is counted; Intersection I: For each cluster in the BEV space, count the number of grids in the image that all 3D points in the cluster fall into after being projected onto the 2D image; Finally, IOU is calculated, IOU=I / U.

7. The method for near-field blind spot perception of an autonomous driving vehicle according to claim 1, characterized in that: The S9 comprises the following steps: a. Dedistort the image of the fisheye camera according to the internal and external parameters and the distortion coefficient to obtain the corrected image; b. At this time, the image is not distorted and can be approximately considered as an ordinary camera. According to the conversion relationship between the camera coordinate system and the pixel coordinate system: c. If we only look at the X direction, we can get: Z c u=f x X c +Z c c x , then the depth Where u represents the horizontal coordinate value of the target point in the pixel coordinate system, c x Represents the horizontal coordinate of the center point of the pixel coordinate system, then uc x Indicates the horizontal offset of the target point from the center of the image in the pixel coordinate system, fx is the focal length in the horizontal direction, X c is the horizontal coordinate value of the target point in the camera coordinate system, then u and X c Replaced by the target's width Δu in the pixel coordinate system and the actual width ΔX c ,Right now Where ΔX c We can take the width of the approximate prior size of the target of this category in reality, and Δu is the mask width detected by the model in step 3, and we can get the estimated target depth Z c ; d. In addition, the incident angle of the target in the X direction in the camera coordinate system can be obtained Here we only estimate the depth of targets with |α|≤70°, because the fisheye camera is used and the edge of the picture is severely distorted, and this part of the field of view will be lost after dedistortion; e. Since we cannot know the direction of the target in the image, we cannot determine ΔX c The width or length of the target prior size is taken. Here we assume that the target orientation is the same or opposite to the vehicle orientation. The approximate ΔX is obtained using the following formula c =P L R+P W (1-R), where P L represents the prior length of the target, P W represents the prior width of the target, f. The target depth estimated by the above method will deviate from the actual depth. A threshold for controlling the tolerance is set to retain clusters with deviations within the tolerance range. For close targets, we expect the estimated depth to be more accurate, so a lower threshold is set. For distant targets, the result deviation of the depth estimation will be greater, so a larger threshold is set. Therefore, the threshold can change linearly according to the actual position of the target cluster and the distance between the vehicle and the target cluster. The farther the distance, the higher the threshold. g. Filter out the optimal candidate clusters of dynamic targets based on IOU and depth estimation.

8. The method for near-field blind spot perception of an autonomous driving vehicle according to claim 1, characterized in that: The S10 comprises the following steps: S101: For deformable targets, due to their variable sizes, multiple candidate clusters need to be considered, and the IOU must be greater than 0.

01. The DBSCAN clustering algorithm is used here to perform secondary clustering on the clusters. The purpose is to exclude the radar noise clusters between the vehicle and the target, and to gather up to the top 10 clusters for fusion and output; S102, for general targets, if there is only one candidate cluster, output it directly; if there are two or more static targets in candidate clusters or dynamic targets at the edge of the screen without predicted depth, directly take the IOU Top1 cluster output; if there are two or more dynamic targets in candidate clusters and the depth is estimated, the Euclidean distance between the target center estimated by depth and the cluster center of Top2 is calculated respectively. The smaller the distance, the closer the estimated position is to the actual position. If the distance to the former is less than the distance to the latter, and the distance to the former is <5m, the former is output, otherwise the latter is output.

9. A device for near-field blind spot perception of an autonomous driving vehicle, characterized in that: include: Motion compensation module, used to compensate for the offset of moving targets caused by the difference in exposure time between radar and camera; The 3D to 2D projection conversion module projects the motion-compensated radar point cloud from the Baselink coordinate system to the pixel coordinate system on the camera image to obtain a one-to-one correspondence between each radar point and the image pixel; The 2D object detection module uses the Condinst model to detect the objects of interest in all 2D images and obtain the mask of each object; The module for extracting target 3D points uses the one-to-one correspondence between each radar point and the image pixel obtained in S2 and the 2D mask of each target obtained in S3 to extract the points falling in each target mask as the points of the target in 3D space; The ground point filtering module filters the point cloud of the part where the target is connected to the ground according to the prior size of different types of targets, so as to avoid the outer boundary contour of the target in the final 3D space being too large due to residual ground points; Generate BEV heat map module, project all 3D point clouds of the target into BEV space; multiple 3D points may correspond to the same point in BEV space; The target point clustering module, in order to filter out most of the discrete noise points, arranges each point with thermal value in the BEV thermal map generated in the previous step in descending order, and then selects them as the clustering starting seed points in turn, searches outward for clustering, and finds clusters in the BEV grid coordinate system; The IOU calculation module calculates relevant indicators for the multiple candidate clusters obtained in S7, selects the K clusters with the highest indicators as the global optimal clusters, and filters out the noise clusters; Select the optimal candidate cluster module. The above operation will calculate C IOU indicators for the C clusters clustered in S7. Due to the existence of occluded scenes and the inaccuracy of the detected target mask, there will be depth misassociation leading to the selection of the wrong cluster, and the distant target will be mistakenly associated with the nearby position. At this time, it is necessary to filter out the wrong cluster in some way to select the optimal cluster. For static targets, since they have no speed and their positions are fixed, misassociation with nearby locations will not affect the decision-making of the vehicle. You can directly take the cluster with the Top1 IOU; for dynamic targets, due to their speed, their positions are constantly changing, which will affect the decision-making logic of autonomous driving in the future. Therefore, for dynamic targets, we assist in selecting the optimal cluster by predicting the target depth value; The candidate cluster fusion module fuses the candidate clusters selected by each target in the previous step to obtain the final target position output.

10. A computer-readable storage medium containing a computer program, characterized in that: When the computer program is executed by one or more processors, the method for near-field blind spot perception of an autonomous driving vehicle as described in any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Sparse four-dimensional perception enhancement method and system for short-distance blind area of logistics vehicle

    CN122657855A