3D target detection method, system and device based on multi-modal fusion and medium
By employing a multimodal fusion-based 3D target detection method, this approach utilizes 3D laser point cloud data and image feature information for feature extraction and spatial transformation. Combined with a trained 3D automatically labeled large model, it addresses the issue of low regression accuracy of deep learning networks for small targets, targets with few samples, and distant targets, thus achieving efficient and accurate 3D target detection.
Patent Information
- Application Number
- CN202410729440.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-10
AI Technical Summary
Existing technologies, when using deep learning networks for data annotation, have low regression accuracy for small targets, targets with few samples, and targets at long distances, as well as low localization accuracy for large targets, resulting in low annotation efficiency, high time and effort consumption, and low annotation quality.
A 3D target detection method based on multimodal fusion is adopted. By acquiring the point cloud feature information of 3D laser point cloud data and the segmentation mask of the image, feature extraction and spatial transformation are performed by combining RGB three-channel data. 3D target annotation is performed by using multimodal fusion algorithm and trained 3D automatic annotation large model. Reference point constraints and equalization coefficients are introduced for iterative optimization.
It improved the detection rate of small targets and targets with few samples, solved the problem of low positioning accuracy of large targets, and improved the quality and efficiency of annotation.
Smart Images

Figure CN118628995A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of autonomous driving, deep learning, and computer vision, and relates to data labeling technology, and specifically to a 3D target detection method, system, equipment, and medium based on multimodal fusion. Background Art
[0002] Autonomous driving refers to the use of technologies such as artificial intelligence, visual computing, radar, GPS positioning, and structured road vehicle-road collaboration to enable motor vehicles to have the ability to perceive the environment, plan paths, and control themselves. For example, AI technology is used to continuously collect various types of information during driving, and the vehicle is controlled after information analysis and self-learning through machine learning or deep learning. For autonomous driving vehicles, the goal is to drive safely in any road conditions and any environment and respond to extreme situations in a timely manner to ensure the safety of the driver's life, vehicle safety, and the safety of road participants.
[0003] The field of autonomous driving is an important area for the deployment and implementation of deep learning algorithms. Autonomous driving algorithms are also in the process of rapid update and iteration. Various novel algorithms are constantly being proposed in the fields of target detection, lane line recognition, target tracking, semantic segmentation, dynamic target trajectory prediction and multi-task learning. The core of the autonomous driving algorithm technology framework is divided into three parts: environmental perception, decision planning and control execution. Environmental perception is the conversion of sensor data into machine language of the scene in which the vehicle is located. For example, the bev (B i rd Eye View) perception paradigm mainly provides a unified space, which can convert the information obtained by multiple cameras or radars into a bird's-eye view, and then perform tasks such as target detection and instance segmentation, which can more intuitively display the size and direction of objects in the bev space.
[0004] At present, automatic labeling is usually used to improve the detection accuracy of the BEV model. Data labeling is usually done manually by professional data engineers or labelers. Data labeling is inefficient and time-consuming and labor-intensive. There are also deep learning networks to label raw data, but the regression accuracy of small targets, targets with few samples, and long-distance targets is not high, and the positioning accuracy of large targets is not high. As a result, the results after automatic labeling require a lot of manual calibration, which will also greatly reduce the efficiency of data labeling, increase the labeling cost, and make it difficult to obtain large-scale high-quality labeled data. Summary of the invention
[0005] In order to solve the technical problems of low standard efficiency, time-consuming and labor-intensive, and low annotation quality caused by low regression accuracy for small targets, targets with few samples, and targets at long distances and low positioning accuracy for large targets when data is annotated through a deep learning network, the present invention discloses a 3D target detection method based on multimodal fusion, which comprises the following steps:
[0006] S1, obtain the point cloud feature information of the 3D laser point cloud data and the segmentation mask of each image at the same time;
[0007] S2. Perform feature extraction and spatial conversion to obtain a feature map of each picture based on the depth information and intensity information of the point cloud feature information, the RGB three-channel data of each picture, and the segmentation mask;
[0008] S3, fusing the 3D laser point cloud data and all the feature maps through a multimodal fusion algorithm to obtain a fused image, and performing bev feature extraction on the fused image to obtain a bev feature map;
[0009] S4. Input the bev feature map into the trained 3D automatic annotation large model to perform 3D object annotation to obtain multiple 3D object detection frames.
[0010] Furthermore, in the above step S1, the step of obtaining the point cloud feature information of the 3D laser point cloud data and the segmentation mask of each image at the same time includes:
[0011] S11. At the same time, multiple images of the surroundings of the vehicle are collected through multiple cameras of the vehicle, and 3D laser point cloud data of the surroundings of the vehicle are collected through a laser radar sensor;
[0012] S12, extracting point cloud features of the 3D laser point cloud data to obtain point cloud feature information, wherein the point cloud feature information includes depth information and intensity information;
[0013] S13. Perform semantic segmentation on each of the images using a semantic segmentation algorithm to obtain a segmentation mask for each of the images.
[0014] Furthermore, in the above step S2, the feature extraction and spatial conversion are performed based on the depth information and intensity information of the point cloud feature information, the RGB three-channel data of each of the pictures and the segmentation mask to obtain the feature map of each of the pictures, including:
[0015] S21, projecting the 3D laser point cloud data onto each of the pictures, and extracting the correspondence between the point cloud and the pixel points;
[0016] S22, obtaining depth data and intensity data of each of the images according to the corresponding relationship and the depth information and intensity information of the point cloud feature information;
[0017] S23. For each of the pictures, feature extraction and space conversion are performed through a picture feature extraction algorithm and a bev space conversion algorithm according to the depth data, the intensity data, the segmentation mask and the RGB three-channel data to obtain a feature map.
[0018] Furthermore, in the above step S4, the bev feature map is input into the trained 3D automatic annotation large model to perform 3D object annotation to obtain multiple 3D object detection frames, including:
[0019] S41, iteratively training the initial 3D automatic annotation large model through real scene data sets of vehicles in different scenes to obtain a trained 3D automatic annotation large model;
[0020] S42. Input the bev feature map into the trained 3D automatic annotation large model, perform 3D object annotation to obtain multiple 3D object detection frames, wherein the 3D object detection frame includes the object category and the center point, coordinate value and angle of the object relative to the vehicle.
[0021] Furthermore, in the above step S41, the initial 3D automatic annotation large model is iteratively trained using the real scene data set of the vehicle in different scenes to obtain the trained 3D automatic annotation large model, including:
[0022] S411, collecting real scene data sets of vehicles in different scenes, wherein the real scene data sets include 3D laser point cloud data sets and picture sets;
[0023] S412, annotating the image set by manual annotation to obtain the true value of each target category;
[0024] S413, performing multimodal fusion on the 3D laser point cloud historical data in the 3D laser point cloud data set and the historical pictures at corresponding moments in the picture set, and performing bev feature extraction on the fused historical fused pictures to obtain a historical bev feature map;
[0025] S414. Input the historical bev feature map into the initial 3D automatic annotation large model, extract DETR features from the historical bev feature map according to the given reference point constraint conditions, and predict the extracted DETR features through the Hungarian matching algorithm and the loss function until the output prediction value and the true value are within the error range, thereby completing the iterative optimization of the initial 3D automatic annotation large model and obtaining the trained 3D automatic annotation large model.
[0026] Furthermore, in the above step 414, the prediction of the extracted DETR features by using the Hungarian matching algorithm and the loss function also includes:
[0027] An equalization coefficient is assigned to each target category, and the extracted DETR features are predicted according to the equalization coefficient through the Hungarian matching algorithm and the loss function until the output prediction value and the true value are within the error range, completing the iterative optimization of the initial 3D automatic annotation large model to obtain the trained 3D automatic annotation large model.
[0028] Preferably, in the above step S414, the reference point constraint condition includes: assigning a set number of reference points to each target category, and assigning a set number of reference points to long-distance targets according to point cloud clustering.
[0029] The assigning of an equalization coefficient to each target category includes: assigning an equalization coefficient in the range of 0 to 1 to a target category whose size is larger than a threshold value; and assigning an equalization coefficient greater than 1 to a target category whose size is smaller than the threshold value.
[0030] In an improved embodiment, the above method further includes:
[0031] S5. Evaluate and adjust each of the 3D object detection frames, and output a final 3D object detection frame.
[0032] An embodiment of the present invention also provides a 3D target detection system based on multimodal fusion, the system comprising an image feature extraction and spatial conversion module, a multimodal fusion module, a bev feature extraction module and a trained 3D automatic annotation large model.
[0033] Among them, the image feature extraction and spatial conversion module is used to perform feature extraction and spatial conversion based on the depth information and intensity information of the point cloud feature information of the 3D laser point cloud data, the RGB three-channel data of each image and the segmentation mask to obtain the feature map of each image.
[0034] The multimodal fusion module is used to fuse the 3D laser point cloud data and all the feature maps through a multimodal fusion algorithm to obtain a fused image.
[0035] The bev feature extraction module is used to extract bev features from the fused image to obtain a bev feature map.
[0036] The trained 3D automatic annotation large model is used to perform 3D object annotation on the input bev feature map to obtain multiple 3D object detection frames.
[0037] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-mentioned 3D target detection methods based on multimodal fusion when executing the computer program, so as to solve the technical problems of low standard efficiency, time and labor consumption, and low labeling quality caused by low regression accuracy for small targets, targets with few samples, and targets at long distances, and low positioning accuracy for large targets when data labeling is performed through a deep learning network.
[0038] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program for executing any of the above-mentioned 3D target detection methods based on multimodal fusion, so as to solve the technical problems of low standard efficiency, time and labor consumption, and low annotation quality caused by low regression accuracy for small targets, targets with few samples, and targets at long distances, and low positioning accuracy for large targets when data is labeled through a deep learning network.
[0039] Compared with the prior art, the beneficial effects that can be achieved by at least one of the above-mentioned technical solutions adopted in the embodiments of this specification include at least the following: the 3D target detection method based on multimodal fusion disclosed in the present invention, first, by pre-processing the 3D laser point cloud data and the picture collected at the same time, point cloud feature information and segmentation mask are obtained; secondly, using the data of the three channels of R, G, and B of the picture, the segmentation mask, and the depth information and intensity information in the point cloud feature information, a total of 6 channels of data, when performing feature extraction and bev space conversion on each picture to obtain the feature map of the picture, using multi-channel data as prior information can make the model converge better, and the picture can be strengthened to improve the accuracy of the feature map; then, the 3D laser point cloud data and all the feature maps are multimodally fused and bev features are extracted to obtain a bev feature map; finally, the bev feature map is annotated with the trained 3D automatic annotation large model to obtain multiple 3D target detection frames.
[0040] At the same time, the present invention uses real scene data sets of vehicles in different scenes, and sets reference point constraints to iteratively optimize the initial 3D automatic annotation large model to obtain a trained 3D automatic annotation large model. By using the trained model to perform 3D target annotation, the detection rate of small targets and small sample targets such as traffic cones and pedestrians can be improved, and the problem that the initial model mainly focuses on the prediction of targets with obvious characteristics and large numbers such as cars, and weakens the prediction of small targets and small sample targets such as traffic cones and pedestrians.
[0041] Furthermore, when iteratively training the initial 3D automatic annotation large model, an equalization coefficient is introduced so that the trained model can appropriately reduce the size of large targets to make the positioning error of large targets more sensitive, and appropriately enlarge the size of small targets to make the positioning error of small targets more insensitive, so as to solve the positioning accuracy of large targets and the regression accuracy of small targets. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 The process of the 3D target detection method based on multimodal fusion disclosed in the embodiment of the present invention;
[0044] Figure 2 Schematic diagram of the iterative training process of the initial 3D automatic annotation large model disclosed in an embodiment of the present invention;
[0045] Figure 3 It is a structural block diagram of a 3D target detection system based on multimodal fusion disclosed in an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of a computer device disclosed in an embodiment of the present invention;
[0047] Among them, 301, the 3D target detection system includes a point cloud feature extraction module; 302, a semantic segmentation module; 303, an image feature extraction and space conversion module; 304, a multimodal fusion module; 305, a bev feature extraction module; 306, a trained 3D automatic annotation large model; 401, a memory; 402, a processor. DETAILED DESCRIPTION
[0048] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0049] The following describes the implementation methods of the present application through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and the features of the embodiments can be combined with each other in the absence of conflict. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0050] The embodiment of the present invention discloses a 3D target detection method based on multimodal fusion, see Figure 1 As shown, the method comprises the following steps:
[0051] S1, obtain the point cloud feature information of the 3D laser point cloud data and the segmentation mask of each image at the same time;
[0052] S2. Perform feature extraction and spatial conversion to obtain a feature map of each picture based on the depth information and intensity information of the point cloud feature information, the RGB three-channel data of each picture, and the segmentation mask;
[0053] S3, fusing the 3D laser point cloud data and all the feature maps through a multimodal fusion algorithm to obtain a fused image, and performing bev feature extraction on the fused image to obtain a bev feature map;
[0054] S4. Input the bev feature map into the trained 3D automatic annotation large model to perform 3D object annotation to obtain multiple 3D object detection frames.
[0055] Furthermore, in the above step S1, the step of obtaining the point cloud feature information of the 3D laser point cloud data and the segmentation mask of each image at the same time includes:
[0056] S11. At the same time, multiple images of the surroundings of the vehicle are collected through multiple cameras of the vehicle, and 3D laser point cloud data of the surroundings of the vehicle are collected through a laser radar sensor;
[0057] S12, extracting point cloud features of the 3D laser point cloud data to obtain point cloud feature information, wherein the point cloud feature information includes depth information and intensity information;
[0058] S13. Perform semantic segmentation on each of the images using a semantic segmentation algorithm to obtain a segmentation mask for each of the images.
[0059] In a specific implementation, 3D laser point cloud data can provide three-dimensional spatial coordinate information of objects around the vehicle. The laser beam is emitted by the laser radar sensor, and point cloud data can be generated by measuring the distance and direction between the laser beam and each target. Point cloud feature information can be obtained by filtering, registering, segmenting, and extracting features from 3D laser point cloud data. Point cloud feature information usually includes the coordinate values of the three directions of xyz for each point cloud, as well as the depth value and intensity value. At the same time, by performing semantic segmentation on each image, the category information of each pixel in the image can be obtained.
[0060] Furthermore, in the above step S2, the feature extraction and spatial conversion are performed based on the depth information and intensity information of the point cloud feature information, the RGB three-channel data of each of the pictures and the segmentation mask to obtain the feature map of each of the pictures, including:
[0061] S21, projecting the 3D laser point cloud data onto each of the pictures, and extracting the correspondence between the point cloud and the pixel points;
[0062] S22, obtaining depth data and intensity data of each of the images according to the corresponding relationship and the depth information and intensity information of the point cloud feature information, wherein the depth data includes the average depth of each pixel, the intensity data includes the average intensity of each pixel, the depth information includes the depth value of each point cloud, and the intensity information includes the intensity value of each point cloud;
[0063] S23. For each of the pictures, feature extraction and space conversion are performed through a picture feature extraction algorithm and a bev space conversion algorithm according to the depth data, the intensity data, the segmentation mask and the RGB three-channel data to obtain a feature map.
[0064] In a specific implementation, when performing feature extraction and BEV space conversion on an image, the image, that is, its RGB three-channel data, is usually input into the model and processed by the image feature extraction algorithm and the BEV space conversion algorithm. In the present invention, on the one hand, the depth information and intensity information of the point cloud feature information are matched with the image, and each pixel is enhanced to obtain the depth data and intensity data of each image, which can also be referred to as depth channel data and intensity channel data; on the other hand, each image is processed separately by the semantic segmentation algorithm to obtain a segmentation mask, and the data of the three channels of R, G, and B, and the input of the segmentation mask, depth channel data, and intensity channel data, a total of six channels, are input into the model, and processed by the image feature extraction algorithm and the BEV space conversion algorithm to obtain a feature map of each image. The accuracy of the image feature extraction algorithm can be greatly improved by the three channels of segmentation mask, depth channel data, and intensity channel data.
[0065] In step S3 of the present invention, the 3D laser point cloud data and all feature maps are fused by a multimodal fusion algorithm to obtain a fused image, and then bev features are extracted from the fused image to obtain a bev feature map. The existing traditional method can be used, and the present invention will not elaborate on it.
[0066] Furthermore, in the above step S4, the bev feature map is input into the trained 3D automatic annotation large model to perform 3D object annotation to obtain multiple 3D object detection frames, including:
[0067] S41, iteratively training the initial 3D automatic annotation large model through real scene data sets of vehicles in different scenes to obtain a trained 3D automatic annotation large model;
[0068] S42. Input the bev feature map into the trained 3D automatic annotation large model, perform 3D object annotation to obtain multiple 3D object detection frames, wherein the 3D object detection frame includes the object category and the center point, coordinate value and angle of the object relative to the vehicle.
[0069] Furthermore, in the above step S41, the initial 3D automatic annotation large model is iteratively trained using the real scene data set of the vehicle in different scenes to obtain the trained 3D automatic annotation large model, see Figure 2 Shown include:
[0070] S411, collecting real scene data sets of vehicles in different scenes, wherein the real scene data sets include 3D laser point cloud data sets and picture sets;
[0071] S412, annotating the image set by manual annotation to obtain the true value of each target category;
[0072] S413, performing multimodal fusion on the 3D laser point cloud historical data in the 3D laser point cloud data set and the historical pictures at corresponding moments in the picture set, and performing bev feature extraction on the fused historical fused pictures to obtain a historical bev feature map;
[0073] S414. Input the historical bev feature map into the initial 3D automatic annotation large model, extract DETR features from the historical bev feature map according to the given reference point constraint conditions, and predict the extracted DETR features through the Hungarian matching algorithm and the loss function until the output prediction value and the true value are within the error range, thereby completing the iterative optimization of the initial 3D automatic annotation large model and obtaining the trained 3D automatic annotation large model.
[0074] When the above step S413 is implemented specifically, the method for obtaining the historical bev feature map can be specifically referred to the method of steps S1 to S3. Each historical image is obtained by strengthening the data of three channels: segmentation mask, depth channel data and intensity channel data.
[0075] Since the traditional mainstream Transformer network-based 3D automatic annotation large model algorithm generates heatmaps (heat maps used to display the density and distribution of values in the data matrix) of multiple target categories, and then selects the top N values with the largest values as reference points to obtain the query value, this reference point selection method will cause the algorithm to concentrate the N values on the prediction of targets with obvious characteristics and large numbers such as cars in the later stage of training, weakening the prediction of small targets and small sample targets such as traffic cones and pedestrians, making the algorithm's regression accuracy for such targets low. Therefore, when the above step S414 is implemented, the reference point is selected by introducing reference point constraints, so that the algorithm can increase its attention to small targets and small sample targets such as traffic cones and pedestrians in the later stage of training.
[0076] Furthermore, when using the current Hungarian matching algorithm for positive and negative sample matching, ioucost is usually calculated as one of the costs of sample matching. The calculation of iou cost generally adopts 3D deformation functions commonly used in the field of 2D detection, such as IOU, GIOU, CIOU, etc. These functions do not take into account the actual requirements of the field of autonomous driving for 3D target detection. For example, the positioning accuracy of large targets such as large vehicles is the main difficulty in detection, and the positioning accuracy is required to be at the centimeter level. However, the size of large vehicles is generally several meters to tens of meters. Even if the calculated iou cost is small, it does not mean that the target matching degree is high. For another example, the regression accuracy of small targets such as traffic cones and pedestrians is the main difficulty in detection. The current ioucost calculation method makes the iou cost of small targets very large, which will lead to a large total cost, so it is at a disadvantage in the matching process. Considering the above situation, the positioning accuracy of large targets and the regression accuracy of small targets are solved by introducing an equalization coefficient, see. Figure 2 As shown, in the above step 414, the prediction of the extracted DETR features by the Hungarian matching algorithm and the loss function also includes:
[0077] An equalization coefficient is assigned to each target category, and the extracted DETR features are predicted according to the equalization coefficient through the Hungarian matching algorithm and the loss function until the output prediction value and the true value are within the error range, completing the iterative optimization of the initial 3D automatic annotation large model to obtain the trained 3D automatic annotation large model.
[0078] Preferably, in the above step S414, the reference point constraint conditions include: assigning a set number of reference points to each target category, and assigning a set number of reference points to long-distance targets according to point cloud clustering. Specifically, when selecting reference points, a certain number of reference points are selected for each target category, and then Topk operations are performed on each target category, so that the targets that are difficult to pay attention to in the previous query design scheme can ensure basic attention, thereby improving the detection rate of small targets and small sample targets such as traffic cones and pedestrians. At the same time, considering that it is difficult for heatmap to select targets with a small number of long-distance point clouds, the traditional point cloud clustering method can be used to enhance the point cloud of target objects with fewer point clouds after clustering at a long distance, thereby making up for the shortcomings of heatmap in the selection of long-distance reference points. The above schemes can solve the problem of difficulty in detecting small sample targets, small targets, and long-distance targets.
[0079] The assigning of an equalization coefficient to each target category includes: assigning an equalization coefficient in the range of 0 to 1 to a target category larger than a size threshold; assigning an equalization coefficient greater than 1 to a target category smaller than a size threshold. In specific implementation, the purpose of introducing the equalization coefficient is to appropriately reduce the size of large target detection objects so that the model is more sensitive to the positioning error of large targets, and to appropriately enlarge the size of small target detection objects so that the model is more insensitive to the positioning error of small targets, thereby improving the overall performance of the model.
[0080] After the automatic labeling is performed through the above steps S1 to S4, a relatively accurate 3D object detection frame is obtained. In order to further improve the accuracy of the output 3D object detection frame, in an improved embodiment, the above 3D object detection method further includes:
[0081] S5. Evaluate and adjust each of the 3D object detection frames, and output a final 3D object detection frame. In a specific implementation, the evaluation of the 3D object detection frame can be performed using an existing method, and the fine-tuning can be performed manually.
[0082] Based on the same inventive concept, a 3D target detection system based on multimodal fusion is also provided in an embodiment of the present invention, as described in the following embodiments. Since the principle of solving the problem by the 3D target detection system is similar to the 3D target detection method based on multimodal fusion in the above-mentioned embodiment, the implementation of the 3D target detection system can refer to the implementation of the above-mentioned 3D target detection method, and the repeated parts will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0083] Figure 3is a structural block diagram of a 3D target detection system based on multimodal fusion according to an embodiment of the present invention, such as Figure 3 As shown, the 3D target detection system includes a point cloud feature extraction module 301, a semantic segmentation module 302, an image feature extraction and space conversion module 303, a multimodal fusion module 304, a bev feature extraction module 305 and a trained 3D automatic annotation large model 306. The structure is described below.
[0084] The point cloud feature extraction module 301 is used to extract features from the collected 3D laser point cloud data to obtain point cloud feature information.
[0085] The semantic segmentation module 302 is used to perform semantic segmentation on each picture collected by the vehicle through a semantic segmentation algorithm to obtain a segmentation mask for each picture.
[0086] The image feature extraction and spatial conversion module 303 is used to perform feature extraction and spatial conversion to obtain a feature map of each image based on the depth information and intensity information of the point cloud feature information, the RGB three-channel data of each image and the segmentation mask.
[0087] The multimodal fusion module 304 is used to fuse the 3D laser point cloud data and all the feature maps through a multimodal fusion algorithm to obtain a fused image.
[0088] The bev feature extraction module 305 is used to extract bev features from the fused image to obtain a bev feature map.
[0089] The trained 3D automatic annotation large model 306 is used to perform 3D object annotation on the input bev feature map to obtain multiple 3D object detection frames.
[0090] The embodiments of the present invention achieve the following technical effects: the 3D target detection method based on multimodal fusion disclosed by the present invention, first, obtains point cloud feature information and segmentation mask by preprocessing the 3D laser point cloud data and pictures collected at the same time respectively; secondly, uses the data of the three channels of R, G, and B of the picture, the segmentation mask, and the depth information and intensity information in the point cloud feature information, a total of 6 channels of data, and when performing feature extraction and bev space conversion on each picture to obtain the feature map of the picture, multi-channel data is used as prior information to enable better convergence of the model, and the picture can be enhanced to improve the accuracy of the feature map; then, the 3D laser point cloud data and all the feature maps are multimodally fused and bev features are extracted to obtain a bev feature map; finally, the bev feature map is annotated with the trained 3D automatic annotation large model to obtain multiple 3D target detection frames.
[0091] At the same time, the present invention uses real scene data sets of vehicles in different scenes, and sets reference point constraints to iteratively optimize the initial 3D automatic annotation large model to obtain a trained 3D automatic annotation large model. By using the trained model to perform 3D target annotation, the detection rate of small targets and small sample targets such as traffic cones and pedestrians can be improved, and the problem that the initial model mainly focuses on the prediction of targets with obvious characteristics and large numbers such as cars, and weakens the prediction of small targets and small sample targets such as traffic cones and pedestrians.
[0092] Furthermore, when iteratively training the initial 3D automatic annotation large model, an equalization coefficient is introduced so that the trained model can appropriately reduce the size of large targets to make the positioning error of large targets more sensitive, and appropriately enlarge the size of small targets to make the positioning error of small targets more insensitive, so as to solve the positioning accuracy of large targets and the regression accuracy of small targets.
[0093] In this embodiment, a computer device is provided, such as Figure 4 As shown, it includes a memory 401, a processor 402, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, any of the above-mentioned 3D target detection methods based on multimodal fusion is implemented.
[0094] Specifically, the computer device may be a computer terminal, a server or a similar computing device.
[0095] In this embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program for executing any of the above-mentioned 3D object detection methods based on multimodal fusion.
[0096] Specifically, computer-readable storage media include permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include transitory media such as modulated data signals and carrier waves.
[0097] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.
[0098] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of 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. A 3D object detection method based on multimodal fusion, characterized in that: Obtain the point cloud feature information of the 3D laser point cloud data and the segmentation mask of each image at the same time; According to the depth information and intensity information of the point cloud feature information, the RGB three-channel data of each of the pictures and the segmentation mask, feature extraction and spatial conversion are performed to obtain a feature map of each of the pictures; The 3D laser point cloud data and all the feature maps are fused by a multimodal fusion algorithm to obtain a fused image, and bev feature extraction is performed on the fused image to obtain a bev feature map; The bev feature map is input into the trained 3D automatic annotation large model to perform 3D object annotation to obtain multiple 3D object detection frames.
2. The 3D target detection method based on multimodal fusion according to claim 1, characterized in that: The step of obtaining the point cloud feature information of the 3D laser point cloud data and the segmentation mask of each image at the same time includes: At the same time, multiple cameras of the vehicle collect multiple pictures around the vehicle, and the lidar sensor collects 3D laser point cloud data around the vehicle; Extracting point cloud features of the 3D laser point cloud data to obtain point cloud feature information, wherein the point cloud feature information includes depth information and intensity information; Semantic segmentation is performed on each of the images using a semantic segmentation algorithm to obtain a segmentation mask for each of the images.
3. The 3D target detection method based on multimodal fusion according to claim 1, characterized in that: The method of performing feature extraction and spatial transformation based on the depth information and intensity information of the point cloud feature information, the RGB three-channel data of each of the pictures and the segmentation mask to obtain a feature map of each of the pictures includes: Projecting the 3D laser point cloud data onto each of the pictures, and extracting the correspondence between the point cloud and the pixel points; Obtaining depth data and intensity data of each of the images according to the corresponding relationship and the depth information and intensity information of the point cloud feature information; For each of the pictures, feature extraction and space conversion are performed through a picture feature extraction algorithm and a BEV space conversion algorithm according to the depth data, the intensity data, the segmentation mask and the RGB three-channel data to obtain a feature map.
4. The 3D target detection method based on multimodal fusion according to claim 1, characterized in that: The bev feature map is input into the trained 3D automatic annotation large model to perform 3D object annotation to obtain multiple 3D object detection frames, including: The initial 3D automatic annotation large model is iteratively trained through real scene data sets of vehicles in different scenes to obtain a trained 3D automatic annotation large model; The bev feature map is input into the trained 3D automatic annotation large model, and 3D target annotation is performed to obtain multiple 3D target detection frames, wherein the 3D target detection frame includes the target category and the center point, coordinate value and angle of the target relative to the vehicle.
5. The 3D target detection method based on multimodal fusion according to claim 4, characterized in that: The method iteratively trains the initial 3D automatic annotation large model through the real scene data set of the vehicle in different scenes to obtain the trained 3D automatic annotation large model, including: The collected real scene data sets of vehicles in different scenes include 3D laser point cloud data sets and picture sets; Performing object labeling on the image set by manual labeling to obtain the true value of each object category; Perform multimodal fusion of the 3D laser point cloud historical data in the 3D laser point cloud data set and the historical pictures at the corresponding time in the picture set, and perform bev feature extraction on the fused historical fusion pictures to obtain a historical bev feature map; The historical bev feature map is input into the initial 3D automatic annotation large model, DETR features are extracted from the historical bev feature map according to the given reference point constraint conditions, and the extracted DETR features are predicted by the Hungarian matching algorithm and the loss function until the output prediction value and the true value are within the error range, completing the iterative optimization of the initial 3D automatic annotation large model to obtain the trained 3D automatic annotation large model.
6. The 3D target detection method based on multimodal fusion according to claim 5, characterized in that: The method of predicting the extracted DETR features by using the Hungarian matching algorithm and the loss function also includes: An equalization coefficient is assigned to each target category, and the extracted DETR features are predicted according to the equalization coefficient through the Hungarian matching algorithm and the loss function until the output prediction value and the true value are within the error range, completing the iterative optimization of the initial 3D automatic annotation large model to obtain the trained 3D automatic annotation large model.
7. The 3D target detection method based on multimodal fusion according to claim 6, characterized in that: The reference point constraint conditions include: assigning a set number of reference points to each target category, and assigning a set number of reference points to distant targets based on point cloud clustering; The assigning of an equalization coefficient to each target category includes: assigning an equalization coefficient in the range of 0 to 1 to a target category whose size is larger than a threshold value; and assigning an equalization coefficient greater than 1 to a target category whose size is smaller than the threshold value.
8. A 3D object detection system based on multimodal fusion, characterized in that: include: An image feature extraction and space conversion module, which is used to perform feature extraction and space conversion to obtain a feature map of each image based on the depth information and intensity information of the point cloud feature information of the 3D laser point cloud data, the RGB three-channel data of each image, and the segmentation mask; A multimodal fusion module, which is used to fuse the 3D laser point cloud data and all the feature maps through a multimodal fusion algorithm to obtain a fused image; A bev feature extraction module, the bev feature extraction module is used to extract bev features from the fused image to obtain a bev feature map; The trained 3D automatic annotation large model is used to perform 3D target annotation on the input bev feature map to obtain multiple 3D target detection frames.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the 3D target detection method based on multimodal fusion described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the 3D object detection method based on multimodal fusion according to any one of claims 1 to 7.
Citation Information
Cited By
Flexible object control strategy generation method based on multi-modal fusion
CN119359801A
Self-closed-loop optimized point cloud fusion data labeling method and system
CN121330685A
