3D target detection method based on multi-frame time sequence information
By using the 3D target detection method of multi-frame temporal information in BEV3D target detection, using feature pyramid, multi-scale spatial cross-attention encoder, long and short-term feature encoder and historical query fusion decoder module, the target object occlusion and motion are solved The resulting problem of insufficient detection accuracy achieves efficient target detection.
Patent Information
- Application Number
- CN202410664005.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In the field of BEV3D target detection, target objects are often occluded and factors such as the movement of the self-vehicle and the target object make the target detection task difficult to perform accurately and efficiently. Existing temporal information fusion methods suffer from long-term memory failure and unutilized query-level temporal information. The resulting detection accuracy is insufficient, and the performance loss caused by the complex fusion calculation module is not conducive to practical applications.
A 3D target detection method based on multi-frame temporal information is proposed. Through the feature pyramid module, multi-scale spatial cross-attention encoder module, long and short-term feature encoder module and historical query fusion decoder module, multi-view feature maps and fusion are obtained. Feature map and time series information query to achieve accurate detection of occluded and moving target objects.
It improves the accuracy and performance of target detection, achieves effective modeling of temporal features and decouples the motion information of self-vehicles and moving target objects, reduces computational costs, and improves the detection accuracy of occluded target objects and moving target objects.
Smart Images

Figure CN118736558A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of 3D object detection, and in particular relates to a 3D object detection method based on multi-frame timing information. Background Art
[0002] At present, most 3D object detection research focuses on single-frame images. In 3D object detection methods based on single-frame images, the focus is on how to better model the spatial information in the image. However, in addition to spatial information, temporal information is also important for 3D object detection tasks. For example, in the absence of temporal cues, it is difficult to accurately infer the speed of a moving target object or the size of an occluded target object from static image features. These defects can be compensated by modeling the spatiotemporal information of multiple frames of images.
[0003] In addition, for the detection of occluded target objects in images, the information of a single frame image is not comprehensive enough and the information of the occluded part cannot be obtained, which makes it difficult for the detection head to accurately predict its size and position. In multi-frame images, the feature information of the occluded target object in the historical frame can be used to complete the feature information of the current frame to improve the detection effect. The existing model for the fusion of temporal information can be divided into two types: feature-level fusion method and query-level fusion method.
[0004] In summary, in the field of BEV3D target detection, due to factors such as the target object being often blocked and the egomotion and the movement of the target object, it is difficult to perform the target detection task accurately and efficiently. Existing research has used time series information to optimize and supplement the detection accuracy and performance, but due to the complex dynamic characteristics of multi-frame images and the great difficulty of temporal information modeling, the traditional solution has limited compensation for detection accuracy, and the performance loss caused by the complex fusion calculation module is not conducive to practical application. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes a 3D target detection method based on multi-frame time series information, which solves the problems of long-term memory failure and insufficient detection accuracy caused by not utilizing query-level time series information in traditional time series fusion methods, reduces computational costs, and improves target detection performance.
[0006] To achieve the above object, the present invention provides a 3D target detection method based on multi-frame time sequence information, comprising:
[0007] Acquire a 3D image to be detected;
[0008] The 3D image to be detected is input into the TSIF3D model to obtain a 3D target detection result, wherein the TSIF3D model is trained by a training set, the training set is a collected historical 3D image, and the TSIF3D model consists of a feature pyramid module, a multi-scale spatial cross-attention encoder module, a long-short term feature encoder module and a historical query fusion decoder module.
[0009] Optionally, inputting the 3D image to be detected into the TSIF3D model to obtain the 3D target detection result includes:
[0010] Based on the feature pyramid module, a multi-view feature map is obtained;
[0011] Input the multi-view feature map into the multi-scale spatial cross-attention encoder module to obtain the current frame feature map;
[0012] Inputting the historical frame features and the current frame feature map into a long-term and short-term feature encoder module to obtain a fused feature map;
[0013] Based on the fused feature map and the historical query fusion decoder module, a 3D object detection result is obtained.
[0014] Optionally, inputting the historical features and the current frame feature map into a long-term and short-term feature encoder module to obtain a fused feature map includes:
[0015] The short-term feature encoder is used to fuse the features of adjacent historical frames to obtain the fused spatial information features;
[0016] Using a long-term feature encoder to fuse the historical frame features to obtain fused time information features;
[0017] The spatial information features and the temporal information features are stacked, and feature fused using a convolutional layer to obtain a fused feature map.
[0018] Optionally, the method for obtaining the fused spatial information features is:
[0019]
[0020] in, is the fused spatial information feature, pos is the position index on the BEV plane, For short-term inquiries, is the feature of the current frame, It is the historical frame feature.
[0021] Optionally, the method for obtaining the fused time information features is:
[0022]
[0023] in, is the fused temporal information feature, is the long-term BEV feature query, W r For the channel reduction network, r represents the reduction rate and the default value is set to 4. is the feature set of all historical frames, t is the current frame time, and N is the number of historical frame features.
[0024] Optionally, obtaining a 3D object detection result based on the fused feature map and the historical query fusion decoder module includes:
[0025] Obtaining historical query results and predefined queries, and fusing the historical query results and the predefined queries to obtain a fused time series information query;
[0026] The fused temporal information query and the fused feature map are input into a history query fusion decoder module to obtain a 3D object detection result.
[0027] Optionally, fusing the historical query result with the predefined query includes:
[0028] Inputting the historical query results into the motion perception layer normalization network to obtain aligned historical query results;
[0029] The aligned historical query results are subjected to a bitwise addition operation with the predefined query to obtain the fused time series information query.
[0030] Optionally, inputting the historical query results into a motion perception layer normalization network to obtain aligned historical query results includes:
[0031] Inputting a posture transformation matrix, time information, and speed information, flattening the posture transformation matrix, time information, and speed information, inputting the posture transformation matrix, time information, and speed information after the flattening operation into a linear layer, and obtaining a first affine transformation vector and a second affine transformation vector;
[0032] The historical query result is layer-normalized and then calculated with the first affine transformation vector and the second affine transformation vector to obtain an aligned historical query result.
[0033] Optionally, the first affine transformation vector is:
[0034]
[0035] Among them, γ is the first affine transformation vector, is the pose transformation matrix from time t-1 to time t, v is the velocity information, Δt is the time interval between two frames, and Linear1 is the linear layer network;
[0036] The second affine transformation vector is:
[0037]
[0038] Among them, β is the second affine transformation vector, and Linear2 is the linear layer network;
[0039] The historical query results after alignment are:
[0040]
[0041] in, For the aligned historical query results, LN represents layer normalization. This is the historical query result.
[0042] Compared with the prior art, the present invention has the following advantages and technical effects:
[0043] 1. In the field of BEV3D target detection, due to factors such as the target object being often blocked and the egomotion and the movement of the target object, it is difficult to perform the target detection task accurately and efficiently. Existing research has used timing information to optimize and supplement the detection accuracy and performance, but due to the complex dynamic characteristics of multi-frame images, the difficulty of temporal information modeling is enormous, the traditional solution has limited compensation for detection accuracy, and the performance loss caused by the complex fusion calculation module is not conducive to practical application. The method proposed in the present invention designs two modules to model this problem in order to improve detection performance and accuracy.
[0044] 2. In order to utilize more information from historical frames to deal with problems such as target occlusion and motion, traditional methods often cyclically fuse historical frame features in pairs or stack all features along the channel, which will lead to long-term memory failure or computational cost problems, low computational efficiency and cannot effectively improve the detection accuracy of the model. The method proposed in the present invention uses a long-term and short-term memory feature encoder module to utilize historical frame features with a longer time span without reducing model performance, thereby improving the detection accuracy of occluded and moving target objects.
[0045] 3. Traditional methods rarely pay attention to temporal information in the decoding stage. Only predefined queries are used in the decoder to perform target queries on BEV features, which makes it difficult to solve the detection problem of moving target objects. This paper proposes a historical query fusion decoder module (HQFD) to explore the query-level temporal fusion method by fusing historical object queries into the current query.
[0046] 4. The present invention realizes the effective modeling of temporal features and decouples the motion information of the self-vehicle and the moving target object, thereby improving the detection accuracy of occluded target objects and moving target objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0048] Figure 1 is a flow chart of a 3D target detection method based on multi-frame timing information according to an embodiment of the present invention;
[0049] Figure 2 TSFF3D overall structure schematic diagram of an embodiment of the present invention;
[0050] Figure 3 It is an overall structural diagram of a long-term and short-term feature encoder according to an embodiment of the present invention;
[0051] Figure 4 A schematic diagram of the structure of a short-term feature encoder according to an embodiment of the present invention;
[0052] Figure 5 A schematic diagram of the structure of a long-term feature encoder according to an embodiment of the present invention;
[0053] Figure 6 This is a schematic diagram of the structure of a historical query fusion decoder module according to an embodiment of the present invention;
[0054] Figure 7 This is a schematic diagram of the structure of a motion perception layer normalization module according to an embodiment of the present invention;
[0055] Figure 8 Schematic diagram of detection results of subsets with different visibility according to an embodiment of the present invention, wherein: Figure 8 (a) is a schematic diagram of the recall rate results. Figure 8 (b) is a schematic diagram of the model’s displacement detection results. Figure 8 (c) is a schematic diagram of the model’s detection results for direction. Figure 8 (d) is a schematic diagram of the model’s detection results of speed;
[0056] Fig. 9 This is a schematic diagram of visualization results in the BEV space of an embodiment of the present invention. Fig. 9 (a) is a schematic diagram of the visualization results of BEVFormer-S. Fig. 9 (b) is a schematic diagram of the BEVFormer visualization results. Fig. 9 (c) is a schematic diagram of TSIF3D visualization results;
[0057] Fig.10 Schematic diagram of image visualization of the detection result of an embodiment of the present invention. DETAILED DESCRIPTION
[0058] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0059] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0060] The present invention proposes a 3D target detection method based on multi-frame temporal information. Figure 1 As shown, the specific steps include:
[0061] Acquire a 3D image to be detected;
[0062] Input the 3D image to be detected into the TSIF3D model ( Figure 2 ) to obtain the 3D target detection results, where the TSIF3D model is trained through a training set, which is a collection of historical 3D images. The TSIF3D model consists of a feature pyramid module, a multi-scale spatial cross-attention encoder module, a long- and short-term feature encoder module, and a historical query fusion decoder module.
[0063] Specifically, to ensure that the model can detect the target object in the actual scene of autonomous driving, it is necessary to train the model using the collected actual scene data so that the model can accurately and efficiently detect the target. The data can be organized into the nuScenes dataset format for model preprocessing and feature extraction, or the nuScenes dataset can be used directly for training. Training can use computing hardware such as GPU.
[0064] Furthermore, the 3D image to be detected is input into the TSIF3D model to obtain the 3D target detection result, including:
[0065] Based on the feature pyramid module, obtain multi-view feature maps;
[0066] Input the multi-view feature map into the multi-scale spatial cross-attention encoder module to obtain the current frame feature map;
[0067] Input the historical frame features and the current frame feature map into the long-term and short-term feature encoder module to obtain a fused feature map;
[0068] Based on the fused feature map and historical query fusion decoder module, 3D object detection results are obtained.
[0069] Specifically, the present invention obtains the features of the current frame through a multi-scale spatial cross-attention feature encoder (MSCAE) For historical frame features, the present invention uses features stored in memory In order to eliminate the position offset caused by the movement of the ego vehicle, the present invention aligns the historical frame features with the current frame features through the posture transformation matrix to obtain the aligned historical frame features. Will and The short-term feature encoder is used to encode the features of adjacent historical frames. Fusion is performed to obtain features that integrate spatial information Use the long-term feature encoder to encode all historical frame features Fusion is performed to obtain features that incorporate temporal information Next will and Connect in the channel dimension and obtain through BEV convolution Next will The result is input into the historical query fusion decoder module (HQFD) proposed by the present invention. In the HQFQ module, the present invention designs a motion-aware layer normalization module to add additional motion information to the historical query results, and after fusion with the predefined query, the feature of the fusion of spatiotemporal information is By introducing the feature-level temporal information fusion method LSTFE and the query-level temporal information fusion method HQFD, the TSIF3D method proposed in the present invention further improves the detection accuracy of the model by utilizing historical temporal information.
[0070] Furthermore, the historical features and the current frame feature map are input into the long-term and short-term feature encoder module to obtain the fused feature map including:
[0071] The short-term feature encoder is used to fuse the features of adjacent historical frames to obtain the fused spatial information features;
[0072] The long-term feature encoder is used to fuse the historical frame features to obtain the fused time information features;
[0073] The spatial information features and the temporal information features are stacked, and the convolutional layer is used to fuse the features to obtain a fused feature map.
[0074] Specifically, for a single-frame image, the modeling of BEV features mainly focuses on the contextual information between the BEV space and multi-viewpoint views; while for multi-frame images, more attention is paid to the contextual association information between the current frame and the historical frame. In order to obtain the relationship between the current frame features and the historical frame features, some methods fuse the features of two adjacent frames. Although this method can solve the problem of occluded targets, it cannot obtain longer time information. Therefore, some methods consider introducing historical frame features of longer time series, cyclically fusing historical frame features pairwise or stacking all features along the channel. Although this method fuses the features of longer time series, it will lead to long-term memory failure or computational cost problems, and the improvement of model detection accuracy is limited. In response to the above problems, the present invention proposes a long short-term feature encoder (LSTFE), whose overall structure is as follows: Figure 3 shown.
[0075] The present invention proposes a temporal feature encoder, which consists of two independent branches with special functions, a short-term feature encoder (STFE) and a long-term feature encoder (LTFE), which are used to obtain spatial information and temporal information in historical frame features respectively, and better perform temporal fusion of BEV features without reducing model performance. The input of the short-term and long-term feature encoder is the short-term BEV feature. and long-term BEV characteristics LSTFE firstly computes the BEV features of all historical frames. The time information position is embedded, and then the temporal information of the historical frame features is used through STFE and LTFE to complete the current frame features.
[0076] Furthermore, due to the strong correlation between the spatial information of adjacent frames, in the short-term feature encoder, the feature fusion is mainly performed on the spatial information. and the current frame BEV feature As input, a richer spatial representation is constructed in the BEV space. Its network structure is as follows Figure 4 As shown, the input set It consists of convolutional layers and deformable attention networks.
[0077] The input of STFE is the BEV feature at time t-1 after pose alignment. and the BEV characteristics at the current time t First, and The intermediate features of size H×W×2C are obtained by connecting along the feature channel dimension, and then the intermediate features are reduced in dimension through the convolution layer to obtain the initial fused features, which are then combined with The added input is fed into the deformable self-attention module to further encode and fuse the features to obtain the final BEV features. As shown in formula (1):
[0078]
[0079] in, is the fused spatial information feature, pos is the position index on the BEV plane, For short-term inquiries, is the feature of the current frame, is the historical frame feature. However, the feature obtained by the short-term feature fusion encoder Although the spatial information is integrated, it is not possible to The temporal correlation information between the features on and other BEV features is modeled, so the present invention designs a long-term temporal encoder LTFE for the temporal information in the long-term historical features.
[0080] Furthermore, the long-term feature encoder LTFE is used to process the entire historical BEV feature set To perceive the long-term historical motion information, increase the positioning potential, and help more accurately locate and estimate the speed of moving targets. The network structure of LTFE is as follows Figure 5 As shown, the feature input set It consists of a channel reduction operation layer, a deformable attention layer, and a feature bitwise addition operation.
[0081] For long-term motion information, LTFE only focuses on the spatial motion of the same object in the BEV perspective, but does not care about the semantic information of the same object. Therefore, the long-term temporal encoder first A channel reduction operation is used to prune semantic information, which greatly reduces the number of parameters in LTFE and speeds up model training and inference. Given a learnable long-term BEV query and the parameters are The reduction layer, then the variable attention mechanism is used to focus on the long-term historical BEV features after channel reduction and Perform long-term time information fusion, and then perform bitwise addition and merging of all the fused features. The expression is shown in Formula 2:
[0082]
[0083] Where: is the fused temporal information feature, is the long-term BEV feature query, W r For the channel reduction network, r represents the reduction rate and the default value is set to 4. is the feature set of all historical frames, t is the current frame time, and N is the number of historical frame features.
[0084] So far, the features that integrate spatial information are obtained and features that incorporate temporal information Afterwards and The features are stacked along the channel dimension and fused through 3×3 convolution to achieve the complementarity of spatial information and temporal information, and finally the current frame features that integrate the spatial information and temporal information of historical frame features are obtained.
[0085] Furthermore, based on the fused feature map and the historical query fusion decoder module, obtaining the 3D object detection result includes:
[0086] Obtain historical query results and predefined queries, and fuse the historical query results and predefined queries to obtain fused time series information query;
[0087] The fused temporal information query and fused feature map are input into the history query fusion decoder module to obtain the 3D object detection result.
[0088] Furthermore, the fusion of historical query results and predefined queries includes:
[0089] Input the historical query results into the motion perception layer normalization network to obtain the aligned historical query results;
[0090] Perform a bitwise addition operation on the aligned historical query results and the predefined query to obtain a fused time series information query.
[0091] Furthermore, the historical query results are input into the motion perception layer normalization network, and the aligned historical query results are obtained, including:
[0092] Inputting a posture transformation matrix, time information, and speed information, flattening the posture transformation matrix, time information, and speed information, inputting the posture transformation matrix, time information, and speed information after the flattening operation into a linear layer, and obtaining a first affine transformation vector and a second affine transformation vector;
[0093] The historical query results are layer-normalized and then calculated with the first affine transformation vector and the second affine transformation vector to obtain the aligned historical query results.
[0094] Specifically, with regard to the utilization of temporal information, most of the existing research focuses on how to fuse the correlation information of historical frame features with the current frame features at the feature level, and few methods focus on utilizing temporal information in the decoding stage. A large part of the reason is that the traditional anchor frame-based detection method makes it difficult to apply temporal information in the decoding stage. Therefore, a new detection method is urgently needed. In the existing methods, the decoder only uses the predefined query Q to perform target query on the BEV features, which makes it difficult to solve the detection problem of moving target objects. In response to the above problems, the present invention proposes a historical query fusion decoder module (HQPD), which explores query-level temporal fusion methods by fusing historical object queries into the current query.
[0095] HQFD processes historical query results and merges them with predefined queries to form refined queries, which compensates for the deviation caused by the movement of target objects, thereby improving the detection accuracy of the model for moving target objects. Its overall structure is as follows: Figure 6 As shown, first, the historical query results of the previous frame image are obtained. In order to align it with the current frame, the historical query results are input into the motion perception layer normalization network to eliminate motion deviations. The aligned historical query results are fused with the predefined query by bitwise addition operation to obtain a fused query that integrates historical timing information. After that, the current frame features obtained by MSCAE are input into the Detr decoder for feature decoding to obtain the query results and provide historical timing information for the next frame feature decoding.
[0096] In the decoder, each object query learns to specialize in the target region in the BEV plane, so each output query result contains rich semantic information from the target region. When detecting the current frame features, these output historical queries are refined and fused with predefined object queries to act on the BEV feature map, rather than starting from a predefined query, making it easier for the model to detect the target. For example, if an object query detects a stationary object in the previous historical frame, its historical object query results can help it quickly locate the object without searching other areas on the BEV plane again. On the other hand, historical information from moving objects also helps to locate and detect their speed. For the BEV features of the previous frame Detection is performed using a predefined object query as shown in formula (3).
[0097]
[0098] Where: Q is the predefined query, The query result after the decoder is obtained. Decoder is the decoder. The query result of the previous frame First, according to the self-pose matrix E of the previous frame t-1and the current frame's self-pose matrix E t , calculate the pose transformation matrix Its calculation expression is shown in (4).
[0099]
[0100] Assuming that the target objects to be detected are static, the query results in the previous frame It can be aligned to the current frame. The calculation method is shown in formula (5):
[0101]
[0102] Where: is the historical query result after alignment with the pose transformation matrix. Some methods align the historical query result to the current frame through formula (5), and then fuse it with the predefined query to compensate for the deviation caused by the motion of the ego vehicle. This display motion compensation method solves the detection problem of stationary target objects to a certain extent. However, in actual autonomous driving scenarios, the target objects to be detected are not all stationary, but more dynamic target objects, such as moving vehicles and pedestrians.
[0103] Therefore, the present invention considers adding more information to the historical query to eliminate the deviation caused by the motion of the dynamic target object. Inspired by the conditional layer normalization, the present invention designs a motion-aware layer normalization module (MLN) to model the motion information of the target object. The schematic diagram of the MLN network structure is shown in Figure 7 As shown, its input is the posture transformation matrix, time information and speed information. After the flattening operation, the feature vector is input into two linear layers to obtain the affine transformation vectors γ and β. Then, the historical query results are layer-normalized and calculated with the affine transformation vectors γ and β to obtain the aligned historical query results.
[0104] Similar to the way conditional layer normalization allows scaling and offset factors to depend on additional conditional information (such as category labels or other attributes), the MLN module dynamically generates these parameters based on the motion properties of the target object. The motion properties include the pose transformation matrix of the target object, which reflects the position and orientation changes of the target object in the world coordinate system; time information, which can be used to calculate the motion trajectory of the target object; and velocity information, which represents the magnitude and direction of the velocity of the target object.
[0105] Similar to the way conditional layer normalization allows scaling and offset factors to depend on additional conditional information (such as category labels or other attributes), the MLN module dynamically generates these parameters based on the motion properties of the target object. The motion properties include the pose transformation matrix of the target object, which reflects the position and orientation changes of the target object in the world coordinate system; time information, which can be used to calculate the motion trajectory of the target object; and velocity information, which represents the magnitude and direction of the velocity of the target object.
[0106] In MLN, not only the pose transformation of the target object to the current frame is considered Time information and speed information are also considered. MLN first flattens these motion attribute information so that they can be processed by linear layers. The flattened attribute information is then processed through two linear layers and converted into affine transformation vectors γ and β, as shown in formulas (6) and (7).
[0107]
[0108]
[0109] Where: is additional motion attribute information, where represents the pose transformation matrix from time t-1 to time t, v represents the velocity information, and Δt represents the time interval between two frames. Then, an affine transformation is performed to obtain By adjusting the historical query results through affine transformation, the model can not only understand the current state of the object, but also perceive the motion information of the object. As shown in formula (8),
[0110]
[0111] Where: LN represents layer normalization. Figure 6 As shown, the BEV query result of the previous frame is processed With the predefined query Q t Fusion, characteristics of BEV Perform a query as shown in formula (9):
[0112]
[0113] The present invention quantitatively compares the experimental results of the TSIF3D method proposed in the present invention and the above-mentioned comparative methods on the nuScenes dataset. In order to ensure the fairness of the comparison, the present invention controls the TSIF3D method proposed in the present invention and all comparative methods to use the same backbone network for feature extraction.
[0114] Table 1 shows the experimental results of the TSIF3D method proposed in this invention and the comparative method on the test set in the nuScenes dataset. All methods in the table use the ResNet101 network pre-trained on the COCO dataset as the backbone network, View represents the viewing angle, Perspective represents 3D object detection from the perspective feature map, BEV represents 3D object detection from the BEV feature map, Images represents the number of input images, and Temporal represents whether to introduce temporal information.
[0115] Table 1 Experimental results of different methods on the nuScenes dataset
[0116]
[0117] The experimental results in Table 1 show that the TSIF3D method proposed in the present invention has achieved the highest detection accuracy in all comparative experiments. Compared with FCOS3D, DETR3D, BEVFormer-S and the TSBEV3D method proposed in the previous chapter, which do not introduce time series information, the detection accuracy of TSIF3D has been significantly improved. Compared with BEVFormer, which also introduces time series information, TSIF3D improves NDS and mAP by 2.2% and 1.8% respectively, and decreases mAVE by 0.042m / s. Compared with the TSBEV3D method, TSIF3D has made significant progress in all three evaluation indicators by introducing LSTFE module and HQFD module to utilize time series information. It improves NDS and mAP by 6.5% and 4.1% respectively, and decreases mAVE by 0.545m / s. The experimental results in Table 1 demonstrate the effectiveness of the TSIF3D method proposed in the present invention in fusing time series information.
[0118] In addition, in order to evaluate the detection performance of TSIF3D for target objects with different occlusion levels, the present invention divides the validation set of nuScenes into four subsets {0-40%, 40-60%, 60-80%, 80-100%} according to the official visibility labels provided by nuScenes. The experimental results are shown in Figure 2. Figure 8 shown.
[0119] from Figure 8(a) shows that compared with DETR3D and BEVFormer-S without temporal information, TSIF3D with temporal information has higher recall on all subsets, especially on the subset with the lowest visibility (0-40%), which is improved by more than 7%. Compared with BEVFormer, which also performs temporal information enhancement, TSIF3D further improves the recall on different subsets by integrating longer temporal information. From (b), (d) and (e), it can be seen that temporal information is beneficial to the model's detection of displacement, direction and speed. From (c) and (f), it can be seen that after introducing temporal information, the model's performance in target scale prediction and attribute prediction on the subset with high visibility is even lower than that of DETR3D and BEVFormer-S without temporal information. Therefore, it can be judged that the introduction of temporal information is not conducive to the scale and attribute prediction of the target object. In general, the impact of temporal information is mainly reflected in the following aspects: (1) The introduction of temporal information greatly benefits the accuracy of velocity estimation; (2) The use of temporal information makes the prediction of the position and direction of objects more accurate; (3) Since temporal information contains clues about past objects, TSIF3D achieves a higher recall rate on severely occluded objects.
[0120] In this paper, in order to further verify the effectiveness of the method proposed in this paper, this section conducts a visual comparative analysis of the experimental results of BEVFormer-S, BEVFormer and the TSIF3D method proposed in this paper. The visualization results in BEV space are shown in Figure 2. Fig. 9 As shown in (a)-(c), the visualization result of projecting the detection results back to the image is as follows Fig.10 shown.
[0121] from Fig. 9 It can be seen that in the visualization results of BEVFormer-S without time series fusion, there is a large deviation in the positioning of the moving object, such as the detection result of the target pointed by the arrow in the figure. BEVFormer, which performs time series feature fusion in a cyclic manner, improves the positioning accuracy to a certain extent, but there is still a certain deviation, and the detection result of the moving target by the TSIF3D method proposed in the present invention almost coincides with the ground truth. From the visualization results, it can be seen that the method of fusing multi-frame time series information through the long-term and short-term feature fusion module and the historical query fusion module in TSIF3D is better than the method of fusing multi-frame time series information in a cyclic manner in BEVFormer.
[0122] from Fig.10It can be seen from the first row that the prediction box of the car in the driving state in the figure by BEVFormer-S without the introduction of time series information fusion has a relatively large deviation from the true value box, while the detection results of the target by BEVFormer and TSIF3D proposed by the present invention are more accurate, and the prediction of the target angle by TSIF3D is closer to the true value than that of BEVFormer. In addition, it can be seen from the detection results of the moving pedestrian in the second row that TSIF3D has a predicted position and predicted angle closer to the true value box than BEVFormer-S and BEVFormer. Fig. 9 and Fig.10 The visualization results verify the quantitative experimental results in Table 1 from a qualitative perspective, further proving the effectiveness of the TSIF3D method in temporal information fusion.
[0123] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A 3D object detection method based on multi-frame temporal information, characterized in that: include: Acquire a 3D image to be detected; The 3D image to be detected is input into the TSIF3D model to obtain a 3D target detection result, wherein the TSIF3D model is trained by a training set, the training set is a collected historical 3D image, and the TSIF3D model consists of a feature pyramid module, a multi-scale spatial cross-attention encoder module, a long-short term feature encoder module and a historical query fusion decoder module.
2. The 3D target detection method based on multi-frame timing information according to claim 1, characterized in that: Inputting the 3D image to be detected into the TSIF3D model to obtain the 3D target detection result includes: Based on the feature pyramid module, a multi-view feature map is obtained; Input the multi-view feature map into the multi-scale spatial cross-attention encoder module to obtain the current frame feature map; Inputting the historical frame features and the current frame feature map into a long-term and short-term feature encoder module to obtain a fused feature map; Based on the fused feature map and the historical query fusion decoder module, a 3D object detection result is obtained.
3. The 3D target detection method based on multi-frame timing information according to claim 2, characterized in that: Inputting the historical features and the current frame feature map into the long-term and short-term feature encoder module to obtain the fused feature map includes: The short-term feature encoder is used to fuse the features of adjacent historical frames to obtain the fused spatial information features; Using a long-term feature encoder to fuse the historical frame features to obtain fused time information features; The spatial information features and the temporal information features are stacked, and feature fused using a convolutional layer to obtain a fused feature map.
4. The 3D target detection method based on multi-frame timing information according to claim 3, characterized in that: The method for obtaining the fused spatial information features is: in, is the fused spatial information feature, pos is the position index on the BEV plane, For short-term inquiries, is the feature of the current frame, is the feature of the previous frame.
5. The 3D target detection method based on multi-frame timing information according to claim 4, characterized in that: The method to obtain the fused time information features is: in, is the fused temporal information feature, is the long-term BEV feature query, W r is the channel reduction network, r represents the reduction rate, is the feature set of all historical frames, t is the current frame time, and N is the number of historical frame features.
6. The 3D target detection method based on multi-frame timing information according to claim 2, characterized in that: Based on the fused feature map and the historical query fusion decoder module, obtaining a 3D object detection result includes: Obtaining historical query results and predefined queries, and fusing the historical query results and the predefined queries to obtain a fused time series information query; The fused temporal information query and the fused feature map are input into a history query fusion decoder module to obtain a 3D object detection result.
7. The 3D target detection method based on multi-frame timing information according to claim 6, characterized in that: The fusion of the historical query results and the predefined query includes: Inputting the historical query results into the motion perception layer normalization network to obtain aligned historical query results; The aligned historical query results are subjected to a bitwise addition operation with the predefined query to obtain the fused time series information query.
8. The 3D target detection method based on multi-frame timing information according to claim 7, characterized in that: Inputting the historical query results into the motion perception layer normalization network, and obtaining the aligned historical query results includes: Inputting a posture transformation matrix, time information, and speed information, flattening the posture transformation matrix, time information, and speed information, inputting the posture transformation matrix, time information, and speed information after the flattening operation into a linear layer, and obtaining a first affine transformation vector and a second affine transformation vector; The historical query result is layer-normalized and then calculated with the first affine transformation vector and the second affine transformation vector to obtain an aligned historical query result.
9. The 3D target detection method based on multi-frame timing information according to claim 8, characterized in that: The first affine transformation vector is: Among them, γ is the first affine transformation vector, is the pose transformation matrix from time t-1 to time t, v is the velocity information, Δt is the time interval between two frames, and Linear1 is the linear layer network; The second affine transformation vector is: Among them, β is the second affine transformation vector, and Linear2 is the linear layer network; The historical query results after alignment are: in, For the aligned historical query results, LN represents layer normalization. This is the historical query result.
Citation Information
Patent Citations
Multi-target tracking method and device based on aerial view angle, storage medium and equipment
CN115457288A
Automatic driving 3D target detection method and related device
CN116259043A
Traffic flow prediction method and system based on trend space-time diagram convolution, and medium
CN116895157A
3D target detection algorithm based on combination of time attention and deformable cross attention
CN116977623A
Cited By
Hydraulic engineering concrete crack detection method and system
CN121074034A
