Pedestrian target detection method based on vehicle-mounted laser radar point cloud

By using semantic guidance and multi-scale feature aggregation module methods in lidar point cloud target detection, the problem of reduced detection accuracy caused by point cloud conversion is solved, and the accuracy of small target detection and the feature extraction capability of the model are improved.

CN118658141APending Publication Date: 2024-09-17TIANJIN SINO GERMAN VOCATIONAL TECHNICAL COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, during the lidar point cloud target detection process, converting the point cloud into other representations will sacrifice geometric details and affect the detection accuracy, especially the detection accuracy of small targets.

Method used

A pedestrian target detection method based on vehicle-mounted lidar point cloud is adopted. Through data set enhancement and semantic-guided down-sampling, a point cloud pedestrian target detection algorithm model is constructed. The multi-scale feature aggregation module and detection head network are used for prediction, calculation of the loss function and Update parameters to improve the accuracy of small target detection.

Benefits of technology

It improves the accuracy of small target detection, enhances the feature extraction capability of the model, effectively integrates features of different scales and levels, and improves detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658141A
    Figure CN118658141A
Patent Text Reader

Abstract

The invention provides a pedestrian target detection method based on a vehicle-mounted laser radar point cloud, and relates to the technical field of intelligent driving automobile laser radar three-dimensional target detection. Comprising the following steps: S1, marking true values of an automobile, a pedestrian and a rider by data set point cloud data; S2, carrying out data set enhancement and data expansion on the marked true values; S3, constructing a semantic guidance-based point cloud pedestrian target detection algorithm model; S4, inputting the data set point cloud data enhanced in the step S2 into the algorithm model; the method comprises the following steps: acquiring information of a vehicle target, a direction angle and category information, comprehensively considering semantic information and distance information of points by a semantic guidance down-sampling method, enabling a network to transfer concern points from a vehicle large target which is easier to recognize to small targets such as pedestrians, and adding a reverse bottleneck structure into a classic point cloud feature extraction structure SA module, efficient and effective model scaling is realized, and the feature extraction capability of the model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of three-dimensional target detection by laser radar of intelligent driving vehicles, and more specifically, particularly relates to a pedestrian target detection method based on vehicle-mounted laser radar point cloud. Background Art

[0002] The core of autonomous driving technology consists of three basic parts: environmental perception system, path planning module, and decision control module. Among this series of modules, environmental perception is not only the starting point of autonomous driving, but also the basis for the successful operation of the entire system. Among various perception data, point cloud data generated by lidar has become an indispensable part of the autonomous driving perception system because of its high-precision three-dimensional geometric information. The advantage of lidar lies in its robustness to changes in ambient light and its ability to capture real and accurate 3D environmental information over a wide range. Point cloud three-dimensional object detection can accurately predict the position, size, and category of key objects in three-dimensional space, such as cars, pedestrians, and cyclists. However, the point cloud data captured by lidar has unstructured properties such as sparseness, disorder, and non-uniform distribution. At present, three-dimensional object detection methods are divided into four schools: projection-based methods, grid-based strategies, technologies that directly process raw point clouds, and methods that integrate voxel and point data fusion. Point-based methods take raw point clouds as input and predict bounding boxes based on points. They work on raw points without converting points into other representations. Compared with voxel grids, they can retain more details and have a more flexible receptive field. Summary of the invention

[0003] In order to solve the technical problem in the prior art that point clouds are converted into other representations during lidar point cloud target detection, thereby sacrificing geometric details and affecting detection accuracy, especially the detection accuracy of small targets, the present invention provides a pedestrian target detection method based on vehicle-mounted lidar point cloud to solve the above problem.

[0004] A pedestrian target detection method based on a vehicle-mounted laser radar point cloud comprises the following steps:

[0005] S1: dataset point cloud data annotated with true values ​​of cars, pedestrians and cyclists;

[0006] S2: Perform data set enhancement and data expansion on the annotated truth values;

[0007] S3: Construct a semantically guided point cloud pedestrian target detection algorithm model;

[0008] S4: Input the point cloud data of the dataset enhanced in step S2 into the algorithm model;

[0009] S5: Get the position, direction angle and category information of cars, pedestrians and cyclists.

[0010] Preferably, S3 specifically includes the following steps:

[0011] S31: Sampling points are obtained using distance downsampling and semantically guided downsampling;

[0012] S32: Calculate the coordinate offset through the context centroid prediction module, and add it to the sampling point to obtain the voted centroid point;

[0013] S33: Aggregate point features of different radii through the multi-scale feature aggregation module to obtain centroid features;

[0014] S34: The detection head network processes the centroid features to output the prediction results and calculate the loss function;

[0015] S35: The back propagation algorithm calculates the gradient of the loss function with respect to the parameters of each layer of the network, and updates the parameters through the gradient.

[0016] Preferably, S31 specifically includes the following steps:

[0017] S311: Use the farthest point sampling method to downsample the point cloud, with N1 sampling points, and use the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction;

[0018] S312: Use the farthest point sampling method to downsample the point cloud, with N2 sampling points, and use the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction;

[0019] S313: Use the semantically guided farthest point sampling method to downsample the point cloud, with N3 sampling points, and the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction.

[0020] Preferably, a GA feature extraction module is used to extract point-wise features, and the GA layer includes grouping, MLP, and Reduction.

[0021] Preferably, the InvMLP is divided into two parts: a single layer based on domain feature computation, located between the grouping and pooling layers, and two layers based on point feature computation, after the pooling layer.

[0022] Preferably, in S32, the context centroid prediction module obtains 256 candidate points after a semantically guided downsampling, and uses MLP to calculate the coordinate offset, which is then added to the candidate point to obtain the voted centroid point.

[0023] Preferably, in S33, the multi-scale feature aggregation module (MSFA) uses the GA layer to aggregate the output point features of the third downsampling with the voted centroid point as the center, and aggregates the multi-scale point features with branches of different radii to obtain the centroid feature.

[0024] Preferably, in S34, the centroid feature is input to the detection head to predict the regression 3D bounding box and the corresponding category label. The algorithm uses multi-task loss for joint optimization, and the total loss L total The foreground segmentation loss L seg , voting centroid prediction loss L vote , classification loss L cls and box generation loss L box Composition, S34, box generation loss L box It can be further decomposed into position, size, angle bin, angle resolution, and corner.

[0025] Preferably, S35 is trained multiple times to obtain a model with the best prediction effect.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] In the present invention, the semantically guided downsampling method comprehensively considers the semantic information and distance information of the point, so that the network shifts the focus from the larger target of the vehicle that is easier to identify to the smaller target such as the pedestrian.

[0028] In the present invention, a reverse bottleneck structure is added to the classic point cloud feature extraction structure SA module to achieve efficient and effective model scaling and increase the feature extraction capability of the model.

[0029] In the present invention, in order to improve the single feature of the original network, the large aggregation radius of the aggregation feature module, and the unfriendlyness to small targets, a multi-scale feature aggregation module is proposed to effectively integrate features of different scales and levels. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a flow chart of the present invention;

[0031] Figure 2 It is the design diagram of the SGP-SSD module in the present invention;

[0032] Figure 3 It is a structural diagram of the multi-scale feature aggregation module in the present invention;

[0033] Figure 4 It is a structural diagram of the InvMLP module in the present invention;

[0034] Figure 5It is the evaluation result of each category in the validation set of the data set in the present invention;

[0035] Figure 6 It is a schematic diagram of the S-FPS algorithm process in the present invention. DETAILED DESCRIPTION

[0036] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0037] See also Figure 1-Figure 6 The present invention provides a pedestrian target detection method based on a vehicle-mounted laser radar point cloud, comprising the following steps:

[0038] S1: Dataset point cloud data annotated with the true values ​​of cars, pedestrians and cyclists, as follows:

[0039] The on-board laser radar collects environmental point cloud data and annotates the true values ​​of cars, pedestrians and cyclists, including: using the on-board laser radar to collect road scene point cloud data, taking point clouds within a certain range of the forward viewing angle, establishing an XY coordinate axis on a plane parallel to the ground and at the same height as the radar, the forward direction is the X-axis direction, the length is Lx, the perpendicular to the X-axis direction is the Y-axis direction, the length is Ly, and the Z axis is perpendicular to the XY plane, and the true values ​​of people, cars and cyclists are annotated. The true values ​​include the point cloud coordinates (X, Y, Z), reflection intensity (γ), and category information (0, 1, 2) of people, cars and cyclists, where 0, 1, and 2 represent the categories of cars, pedestrians, and cyclists, the length, width, height (l, w, h) of the external 3D rectangular bounding box, the center point coordinates (x, y, z) and direction angle (θ), respectively, and the true value samples are divided into a training set and a test set in a 5:5 ratio, and the training set is randomly shuffled.

[0040] S2: Dataset enhancement and data expansion for the labeled truth values:

[0041] Specifically, data enhancement of the annotated truth values ​​includes: data enhancement and data expansion of pedestrians, cars and cyclists in the road scene point cloud training set data, and creating a search library of truth value external 3D rectangular bounding boxes for all classes and related point clouds that fall within the external 3D rectangular bounding boxes of the corresponding categories;

[0042] The enhancement method includes scaling, translating, rotating and flipping the point cloud within the true value circumscribed 3D rectangular bounding box; the scaling method is to multiply the coordinates (X, Y, Z) of all points within the circumscribed 3D rectangular bounding box under a certain scene point cloud by a random value in the interval [0.95, 1.05]; the translation method is to translate the x-coordinates of all points within the circumscribed 3D rectangular bounding box under a certain scene point cloud by a random value in the interval [-0.1m, 0.1m]; the rotation method is to randomly rotate the points within the circumscribed 3D rectangular bounding box under a certain scene point cloud by an angle of [□π / 20, π / 20]; the flipping method is to rotate all points within the circumscribed 3D rectangular bounding box under a certain scene point cloud by 180° with the Z axis as the rotation axis; the symmetry method is to perform symmetric operations on all points within the circumscribed 3D rectangular bounding box under a certain scene point cloud along the XZ plane;

[0043] The data expansion method is to add the point cloud data of cars, pedestrians and cyclists in other scenes to this scene. The added point cloud data cannot overlap with the original point cloud of the scene.

[0044] S3: Constructing a semantically guided point cloud pedestrian target detection algorithm model:

[0045] In the first stage, 16384 points are selected from each scene of the KITTI training set as the initial input. If the number of points in a scene is less than 16384, then we will randomly select laser points from the scene repeatedly until 16384 points are reached for data completion. This is done to ensure that each scene has the same number of points as the initial input, and then three GA layers are used to extract point-by-point features. (4096, 1024, 512) points are sampled sequentially. In order to stably extract local geometric features, the multi-scale radius grouping used is ([0.2, 0.8], [0.8, 1.6], [1.6, 4.8]). Considering that the limited semantics contained in the first few layers is much less than the geometric information, we use D-FPS in the first two encoding layers, and then use semantic-guided downsampling (S-FPS). Next, we use semantic-guided downsampling (S-FPS) to downsample 512 points to 256 representative point features and feed them into the context centroid prediction module. Then, three MLP layers (256, 256, 3) are used to predict the instance centroid, and the centroid features are aggregated with a radius of [4.8, 6.4] through the centroid feature aggregation module. Finally, classification and regression layers (3 MLP layers) are added to output semantic labels and corresponding bounding boxes.

[0046] S4: Input the point cloud data of the dataset enhanced in step S2 into the algorithm model.

[0047] S5: Get the position, direction angle and category information of cars, pedestrians and cyclists.

[0048] SGP-SSD is compared with the baseline network IA-SSD. Other 3D object detection networks are retrained and tested on the dataset in the same experimental environment, and the results are compared with the algorithm in this paper. The evaluation results of each category in the dataset validation set are shown in Figure 5 .

[0049] Figure 5 The specific English explanation is:

[0050] Pointpillars: A fast encoder for object detection in point clouds

[0051] Center-Point: Center-based 3D object detection and tracking

[0052] 3DSSD: Point-based 3D Single-stage Object Detector

[0053] DBQ-SSD: Dynamic Ball Query for Efficient 3D Object Detection

[0054] SECOND: Sparse Embedded Convolutional Detection

[0055] DSVT: Dynamic Sparse Voxel Transformer with Spin Sets

[0056] PointRCNN: 3D object solution generation and detection based on point cloud

[0057] IA-SSD: Not All Points Are Created Equal: Learning Efficient Point-Based Detectors for 3D LiDAR Point Clouds

[0058] Ours (Ours Algorithm)-The SGP-SSD algorithm proposed in this paper is a pedestrian target detection algorithm based on the vehicle-mounted lidar point cloud.

[0059] from Figure 5 From the results, SGP-SSD achieves better performance on the KITTI dataset in most indicators compared with IA-SSD and other methods. Compared with IA-SSD, it improves by 4.81, 3.43, and 3.56 in the three difficulties of pedestrians, and by 3.5, 2.35, and 0.31 in the three difficulties of cyclists. Compared with IA-SSD, it decreases by 0.69 and 0.64 in the simple and medium difficulties of the car category. There is almost no decrease in the difficult difficulty, which is because the various modules proposed in this paper mainly make improvements for small targets, and the characteristics of vehicle targets are weakened. Difficult vehicles also require fine-grained information like pedestrians. The downsampling method should increase the number of sampling points of difficult car categories to a certain extent, but the other two modules (InvMLP, MSFA) weaken the characteristics to a certain extent.

[0060] S3 specifically includes the following steps:

[0061] S31: Sampling points are obtained using distance downsampling and semantically guided downsampling;

[0062] S32: Calculate the coordinate offset through the context centroid prediction module, and add it to the sampling point to obtain the voted centroid point;

[0063] S33: Aggregate point features of different radii through the multi-scale feature aggregation module to obtain centroid features;

[0064] S34: The detection head network processes the centroid features to output the prediction results and calculate the loss function;

[0065] S35: The back propagation algorithm calculates the gradient of the loss function with respect to the parameters of each layer of the network, updates the parameters through the gradient, and obtains the model with the best prediction effect after multiple trainings.

[0066] S31 specifically includes the following steps:

[0067] S311: Use the farthest point sampling method to downsample the point cloud, with N1 sampling points, and use the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction;

[0068] S312: Use the farthest point sampling method to downsample the point cloud, with N2 sampling points, and use the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction;

[0069] S313: Use the semantically guided farthest point sampling method to downsample the point cloud, with N3 sampling points, and the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction.

[0070] The GA feature extraction module is used to extract point-wise features. The GA layer includes grouping, MLP, and Reduction.

[0071] InvMLP is divided into two parts: a single layer based on domain feature computation, located between the grouping and pooling layers, and two layers based on point feature computation, after the pooling layer.

[0072] The semantically guided downsampling provides foreground scores for S-FPS through the proposed foreground segmentation module. The foreground segmentation classifies points as foreground points or background points. The score calculation MLP layer is a simple 2-layer MLP that can calculate the foreground score of a point, where the input feature As the dimensional feature input to the k-th SA layer, the category score of each point output by the k-th SA layer is:

[0073]

[0074] By point feature Calculated as:

[0075]

[0076] Among them, M k (·) is the score calculation MLP layer added in the k-th SA module, and σ(·) is the sigmoid function.

[0077] To train the point segmentation module in each GA layer, the foreground segmentation label of the point can be naturally obtained from the box annotation. Any point within the ground-truth 3D bounding box is considered as a foreground point, and other points are considered as background points. The total segmentation loss is calculated using the cross entropy loss function:

[0078]

[0079] in and represents the predicted foreground score and the ground-truth segmentation label (1 for foreground and 0 for background) at the i-th point in the k-th downsampling layer. k and λ k is the total number of input points and segmentation loss weight of the kth downsampling layer. The segmentation loss weights of level 3 and level 4 downsampling layers are set to 0.01 and 0.1 respectively. The semantically guided downsampling module S-FPS is used. The process of the S-FPS algorithm is as follows: Figure 6 shown.

[0080] The input point is a given three-dimensional X = {x1, x2, ..., x N} and foreground score P = {p1, p2, ..., p N}, distance array {d1, d2, ..., d N} Maintain the shortest distance from the i-th point to the selected key point. In each round of selection, the semantic weighted distance The highest point is added to the key point set and calculated as:

[0081]

[0082] Where γ is a balancing factor that controls the importance of semantic information.

[0083] In S32, the context centroid prediction module obtains 256 candidate points after a semantically guided downsampling, and uses MLP to calculate the coordinate offset, which is then added to the candidate point to obtain the voted centroid point.

[0084] In S33, the multi-scale feature aggregation module uses the GA layer to aggregate the output point features of the third downsampling with the voted centroid point as the center, and aggregates the multi-scale point features with branches of different radii to obtain the centroid feature.

[0085] In S34, the centroid feature is input to the detection head to predict the regression 3D bounding box and the corresponding category label. The algorithm uses multi-task loss for joint optimization, and the total loss L total The foreground segmentation loss L seg , voting centroid prediction loss L vote , classification loss L cls and box generation loss L box composition:

[0086] L total =L seg +L vote +L cls +L box #(5)

[0087] In S34, the box generation loss L box It can be further decomposed into position, size, angle bin, angle resolution, and corner:

[0088] L total =L lce +L size +L angle-bin +L angle-res +L corner #(6)

[0089] The semantic-guided downsampling method comprehensively considers the semantic information and distance information of the points, so that the network shifts its focus from larger targets such as vehicles that are easier to identify to smaller targets such as pedestrians. At the same time, a reverse bottleneck structure is added to the classic point cloud feature extraction structure SA module to achieve efficient and effective model scaling and increase the feature extraction capability of the model. In order to improve the single feature of the original network, the large aggregation radius of the aggregation feature module, which is not friendly to small targets, a multi-scale feature aggregation module is proposed, which effectively integrates features of different scales and levels. The entire algorithm improves the detection accuracy of the network in small target detection.

[0090] The embodiments of the present invention are given for the purpose of illustration and description, and are not intended to be exhaustive or to limit the invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.

Claims

1. A pedestrian target detection method based on vehicle-mounted laser radar point cloud, Features: The following steps are involved: S1: dataset point cloud data annotated with true values ​​of cars, pedestrians and cyclists; S2: Perform data set enhancement and data expansion on the annotated truth values; S3: Construct a semantically guided point cloud pedestrian target detection algorithm model; S4: Input the point cloud data of the dataset enhanced in step S2 into the algorithm model; S5: Get the position, direction angle and category information of cars, pedestrians and cyclists.

2. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 1, It is characterized in that S3 specifically includes the following steps: S31: Sampling points are obtained using distance downsampling and semantically guided downsampling; S32: Calculate the coordinate offset through the context centroid prediction module, and add it to the sampling point to obtain the voted centroid point; S33: Aggregate point features of different radii through the multi-scale feature aggregation module to obtain centroid features; S34: The detection head network processes the centroid features to output the prediction results and calculate the loss function; S35: The back propagation algorithm calculates the gradient of the loss function with respect to the parameters of each layer of the network, and updates the parameters through the gradient.

3. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 2, It is characterized in that S31 specifically includes the following steps: S311: Use the farthest point sampling method to downsample the point cloud, with N1 sampling points, and use the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction; S312: Use the farthest point sampling method to downsample the point cloud, with N2 sampling points, and use the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction; S313: Use the semantically guided farthest point sampling method to downsample the point cloud, with N3 sampling points, and the GA feature extraction module to extract point-by-point features. After the reverse InvMLP structure, separable MLPs are used to improve feature extraction.

4. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 3, It is characterized in that The GA feature extraction module is used to extract point-wise features. The GA layer includes grouping, MLP, and Reduction.

5. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 3, It is characterized in that InvMLP is divided into two parts: a single layer based on domain feature computation, located between the grouping and pooling layers, and two layers based on point feature computation, after the pooling layer.

6. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 2, It is characterized in that In S32, the context centroid prediction module obtains 256 candidate points after a semantically guided downsampling, and uses MLP to calculate the coordinate offset, which is then added to the candidate point to obtain the voted centroid point.

7. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 2, It is characterized in that In S33, the multi-scale feature aggregation module uses the GA layer to aggregate the output point features of the third downsampling with the voted centroid point as the center, and aggregates the multi-scale point features with branches of different radii to obtain the centroid feature.

8. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 2, It is characterized in that The centroid feature in S34 is input to the detection head to predict the regression 3D bounding box and the corresponding category label. The algorithm uses multi-task loss for joint optimization, and the total loss L total The foreground segmentation loss L seg , voting centroid prediction loss L votal , classification loss L cls and box generation loss L box composition.

9. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 8, It is characterized in that In S34, the box generation loss L box It can be further decomposed into position, size, angle partition, angle resolution, and corner point.

10. A pedestrian target detection method based on vehicle-mounted laser radar point cloud as claimed in claim 2, It is characterized in that After multiple trainings, S35 obtained the model with the best prediction effect.