Three-dimensional target detection method, device and equipment
Through the mode-knowable radar fusion framework, combined with the characteristics of image and radar data, the performance of three-dimensional target detection is improved, solving the detection accuracy and speed prediction error problems caused by the mode-agnostic technology in the existing technology, and significantly improving the detection accuracy and speed prediction error. Detection accuracy and robustness.
Patent Information
- Application Number
- CN202410801142.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-20
AI Technical Summary
Existing 3D target detection methods suffer from poor performance due to the mode-agnostic radar fusion framework and fail to fully utilize the physical characteristics of radar and cameras, resulting in large detection accuracy and speed prediction errors.
Using the mode-aware radar fusion framework, the three-dimensional position perception features and significant radar point features are extracted by obtaining images and radar point features from different perspectives of the target scene, and the cross attention mechanism and the inner product self-attention mechanism are combined to enhance the query features and perform Target detection and speed prediction realize deep interaction of modal characteristics.
It significantly improves the performance of three-dimensional target detection, improves detection accuracy and speed prediction accuracy, and especially shows high robustness and stability in complex scenes and under different conditions.
Smart Images

Figure CN118629028A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision, and in particular to a three-dimensional target detection method, device and equipment. Background Art
[0002] Three-dimensional object detection refers to the use of sensor data to locate and identify objects in three-dimensional space, and the object detection task often also includes determining the speed of the object.
[0003] 3D object detection is usually based on the complementary features of data from various sensor types to enhance performance. For example, RGB cameras that acquire 2D images are often paired with distance sensors (such as LiDAR) to improve the detection accuracy of 3D objects because they can provide rich semantic information.
[0004] The integration of camera and radar is also called radar-vision fusion. The current radar-vision fusion framework places each modal data in an equal position and processes the data input with a symmetrical encoder (so the modality is unknown during radar-vision fusion). This processing method makes it difficult to maximize the physical characteristics of each modality, resulting in poor performance of the 3D target detection method based on radar-vision fusion. Summary of the invention
[0005] The disclosed embodiment proposes a three-dimensional target detection scheme based on a modality-aware radar-visual fusion framework, thereby avoiding the problem of poor performance of existing three-dimensional target detection schemes due to being based on a modality-agnostic radar-visual fusion framework.
[0006] A first aspect of an embodiment of the present disclosure provides a three-dimensional object detection method, including:
[0007] Acquire multiple images of the target scene from different perspectives, extract three-dimensional position perception features of the target scene from the images, and sample query points according to preset rules;
[0008] Acquire radar point features of the target scene, expand the query point based on the position information of significant radar point features, perform target query in the set composed of the three-dimensional position perception features based on the position features of the query point, and perform a target detection task based on the obtained query features, wherein the target detection task includes but is not limited to target classification and positioning tasks;
[0009] The query feature is modified based on the radar point feature in the neighborhood of the query result, and the target speed is predicted based on the modified query feature.
[0010] In some embodiments, extracting three-dimensional position-aware features of the target scene from the image comprises:
[0011] For each of the images, extracting image features of the image;
[0012] Determine a transformation matrix between the images based on the viewing angles of the multiple images, determine and encode a three-dimensional position corresponding to each pixel of each image based on the transformation matrix, and obtain a three-dimensional position perception feature corresponding to the image;
[0013] The three-dimensional position-aware features corresponding to all the images of the target scene form a three-dimensional position-aware feature corresponding to the target scene.
[0014] In some embodiments, said expanding said query point based on the location information of the significant radar point feature comprises:
[0015] The query point obtained by sampling the three-dimensional position sensing feature according to a preset rule is used as a first query point;
[0016] Selecting a significant radar point from the radar point features based on a preset standard, and determining a second query point based on position information of the radar features of the significant radar point;
[0017] The query point is composed of the second query point and the first query point.
[0018] In some embodiments, after expanding the query point based on the location information of the significant radar point features, the method further includes:
[0019] Extracting the position features of the first query point to form a first query;
[0020] obtaining a second query based on the position code of the radar feature of the second query point, and forming a hybrid query by the first query and the second query;
[0021] The radar features in the hybrid query are enhanced based on the cross-attention mechanism.
[0022] In some embodiments, before enhancing the radar features in the hybrid query based on the cross-attention mechanism, the method further includes:
[0023] The local feature expression of each radar feature is enhanced through the inner product self-attention mechanism.
[0024] In some embodiments, performing a target query in a set of three-dimensional location-aware features based on the location feature of the query point comprises:
[0025] Planarizing the three-dimensional position-aware features and using them as a key matrix and a value matrix respectively;
[0026] A query matrix is formed by the mixed queries;
[0027] The key matrix, the value matrix and the query matrix are input into a decoder of a transformer architecture, target decoding is performed, and the query features are output.
[0028] In some embodiments, the modifying the query feature based on the radar point feature within the query result neighborhood includes:
[0029] For each target query result output from the decoder, obtaining aggregate features of radar point features within multiple distance scales of a neighborhood;
[0030] Performing weighted aggregation on the aggregated features at each distance scale to obtain radar aggregated features;
[0031] The radar aggregate feature is connected with the query feature to form a modified query feature. In some embodiments, the obtaining of the aggregate feature of radar features within multiple distance scales of the neighborhood includes:
[0032] Taking the position of the target query result as the query center, performing a spherical search on the radar point features with a preset distance scale as the search radius, and aggregating the searched radar point features into the aggregated features corresponding to the distance scale;
[0033] The search radius of the ball search is adjusted to a second preset scale, the aggregation feature corresponding to the second preset scale is obtained, and this step is repeated a preset number of times.
[0034] A second aspect of an embodiment of the present disclosure provides a three-dimensional object detection device, including:
[0035] An acquisition module, used to acquire multiple images of a target scene from different perspectives, extract three-dimensional position perception features of the target scene from the images, and sample query points according to a preset rule;
[0036] a first fusion module, configured to obtain radar point features of the target scene, expand the query point based on location information of significant radar point features, perform target query in a set of three-dimensional position sensing features based on the location features of the query point, and perform a target detection task based on the obtained query features, wherein the target detection task includes but is not limited to target classification and positioning tasks;
[0037] The second fusion module is used to correct the query feature based on the radar point features within multiple distance scales in the neighborhood of the query result and predict the target speed based on the corrected query feature.
[0038] A third aspect of an embodiment of the present disclosure provides a three-dimensional object detection device, including a memory and a processor:
[0039] The memory is used to store computer programs;
[0040] The processor is configured to implement the method according to the first aspect of the present disclosure when executing the computer program.
[0041] In summary, the three-dimensional target detection method, device and equipment provided by the embodiments of the present invention integrate the spatial and velocity information from radar data into the main three-dimensional target detector based on the camera, thereby constructing a modally-aware radar-vision fusion model in which the weak modality (radar) assists the strong modality (camera), thereby deeply exploring the contribution of the modal characteristics provided by the radar-vision data to specific tasks; at the same time, based on the hierarchical fusion method with query as the interaction, by mapping the characteristic information of the radar to the target query at multiple levels, deep interaction of features is achieved, and the physical characteristics of the modality are retained to the maximum extent, thereby greatly improving the performance of three-dimensional target detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The features and advantages of the present disclosure will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present disclosure in any way. In the accompanying drawings:
[0043] Figure 1 is a schematic diagram of a computer system to which the present disclosure is applicable;
[0044] Figure 2 is a flow chart of a three-dimensional object detection method according to some embodiments of the present disclosure;
[0045] Figure 3 is a radar-visual fusion framework used by some embodiments of the present disclosure;
[0046] Figure 4 is a comparison between the traditional radar-visual fusion paradigm and the radar-visual fusion paradigm used in some embodiments of the present disclosure;
[0047] Figure 5 The mAP and mAVE results of the camera-only methods CMT-C and RaCFusion under different lighting and weather conditions are shown;
[0048] Figure 6 are the mAP and mAVE results of the camera-only methods CMT-C and RaCFusion at different target speeds;
[0049] Figure 7 The mAP and mAVE results of the camera-only methods CMT-C and RaCFusion at different detection distances;
[0050] Figure 8 is a schematic diagram of a three-dimensional object detection device according to some embodiments of the present disclosure;
[0051] Fig. 9It is a schematic diagram of a three-dimensional target detection device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0052] In the detailed description below, many specific details of the present disclosure are set forth by way of example in order to provide a thorough understanding of the relevant disclosure. However, it will be apparent to one of ordinary skill in the art that the present disclosure can be implemented without these details. It should be understood that the use of the terms "system," "device," "unit," and / or "module" in the present disclosure is a method for distinguishing different parts, elements, parts, or assemblies at different levels in a sequential arrangement. However, these terms may be replaced by other expressions if other expressions can achieve the same purpose.
[0053] It should be understood that when a device, unit or module is referred to as being "on," "connected to," or "coupled to" another device, unit or module, it may be directly on, connected to, coupled to, or communicating with other devices, units or modules, or there may be intermediate devices, units or modules, unless the context clearly indicates an exception. For example, the term "and / or" as used in this disclosure includes any and all combinations of one or more of the relevant listed items.
[0054] The terms used in this disclosure are only for describing specific embodiments and are not intended to limit the scope of this disclosure. As shown in the specification and claims of this disclosure, unless the context clearly indicates an exception, the words "one", "a kind" and / or "the" do not specifically refer to the singular, but may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of clearly identified features, wholes, steps, operations, elements and / or components, and such expressions do not constitute an exclusive list, and other features, wholes, steps, operations, elements and / or components may also be included.
[0055] These and other features and characteristics, methods of operation, functions of related elements of the structure, combinations of parts, and economies of manufacture of the present disclosure may be better understood with reference to the following description and drawings, which form a part of the specification. However, it is to be clearly understood that the drawings are for illustration and description purposes only and are not intended to limit the scope of protection of the present disclosure. It is to be understood that the drawings are not drawn to scale.
[0056] Various structural diagrams are used in this disclosure to illustrate various variations of the embodiments of the present disclosure. It should be understood that the above or below structures are not intended to limit the present disclosure. The scope of protection of the present disclosure shall be subject to the claims.
[0057] Figure 1 is a schematic diagram of a computer system to which the present disclosure is applicable. Figure 1The system shown includes a three-dimensional target detection server connected to the image sensor and the distance sensor signal. The three-dimensional target detection server obtains multiple images of the target scene from different perspectives from the image sensor, obtains the spatial position information and speed information of the target scene from the distance sensor, and performs target detection on the target scene based on the image, the distance information and the speed information.
[0058] The image sensor can be a camera array to obtain multiple images of the target scene from different perspectives, or it can be a camera device that simultaneously obtains multiple images of the target scene from different perspectives. The image can provide semantic information of the target scene. The distance sensor can be a laser radar or a millimeter wave radar. In addition to providing spatial position information of the target scene, the radar signal can also use the Doppler effect to determine the relative radial velocity of the object. The three-dimensional target detection server can be any of a stand-alone, cluster or distributed server.
[0059] Figure 2 is a flowchart of a three-dimensional object detection method according to some embodiments of the present disclosure. In some embodiments, the three-dimensional object detection method is executed by a three-dimensional object detection server, and the three-dimensional object detection method includes the following steps:
[0060] S210, acquiring multiple images of a target scene from different perspectives, extracting three-dimensional position perception features of the target scene from the images, and sampling query points according to a preset rule.
[0061] Specifically, in a typical self-driving car setting, N cameras are used to acquire multiple images from different perspectives. Figure 3 is a radar-visual fusion framework used in some embodiments of the present disclosure. Figure 3 As shown, first use ResNet or VoVNet and FPN (picture backbone network) to extract image features. For each image, each pixel can be formulated as a series of points in the camera frustum coordinates. Next, determine the transformation matrix between the images, and calculate the 3D position corresponding to each pixel for each image through the transformation matrix to obtain the three-dimensional position-aware features corresponding to the image. The three-dimensional position-aware features corresponding to images of all perspectives constitute the three-dimensional position-aware features corresponding to the target scene. Thus, a camera-based main 3D detector is constructed.
[0062] At the same time, a preset number of sampling points are determined in the three-dimensional position perception feature according to a preset rule, and the position information of the sampling points is extracted as an initial query.
[0063] S220, acquiring radar point features of the target scene, expanding the query points based on the location information of significant radar point features, performing target query in a set consisting of the three-dimensional position sensing features based on the location features of the query points, and performing a target detection task based on the obtained query features, wherein the target detection task includes but is not limited to target classification and positioning tasks.
[0064] Specifically, radar point features of the target scene are obtained, and a set abstraction (SA) layer is used to extract radar point features to generate a set of representative radar point features.
[0065] Then, the representative radar point features are passed through the position encoder to obtain the radar query. Radar =Ψ(P′ R ), where Ψ is the MLP layer, is the radar signature, N R is the number of radar queries, and the radar queries Q Radar This makes it easier for the decoder to detect the target object. At the same time, because some objects may not be detected due to the limitations of the radar sensor, the initial query Q0 is retained. By combining the two types of object queries, the hybrid query Q hybrid formal:
[0066]
[0067] Q hybrid = {Q0; Q Radar}
[0068] Among them, Q Radar is the radar query, Q0 is the initial query, Q hybrid It is a mixed query, N R is the number of radar queries, N0 is the number of initial queries, and C is the vector dimension of the features.
[0069] Q Radar and Q0’s feature space in Q hybrid The features generated in different domains may hinder the query of effective position features. To solve this problem, the present disclosure utilizes radar-assisted feature fusion to fuse hybrid queries with radar features through attention. Specifically, the local feature expression of each radar feature is first optionally enhanced through an inner product self-attention mechanism. Next, a versatile cross-attention mechanism is adopted to flexibly adjust the hybrid query by enhancing radar features. Finally, the two types of queries form a query matrix, and the enhanced radar features form a key and value matrix. Formally:
[0070]
[0071]
[0072] in, is the extracted radar point feature, SelfAttn is the self-attention mechanism, is the enhanced radar point feature, CrossAttn is the cross attention mechanism, Q′ hybrid is the updated hybrid radar query.
[0073] like Figure 3 As shown, some embodiments of the present disclosure flatten the three-dimensional position-aware features corresponding to the target scene into tokens, and use K and V as the decoder of the transformer structure to transform the hybrid query Q′ fused with radar features. hybrid Q as a decoder performs target query and performs target detection task based on the query features obtained. The target detection task generally includes target classification and positioning tasks.
[0074] S230, correcting the query feature based on the radar point feature in the neighborhood of the query result and performing target speed prediction based on the corrected query feature.
[0075] First, velocity-driven soft association is performed. Specifically, for the i-th target query result output from the decoder, its position is regarded as the query center to softly associate the radar point features from the radar backbone network. Then, a ball query is applied, and the object-centric features in the associated radar point features are aggregated using the PointNet module. Similarly, neighborhood-aware features can be obtained by appropriately expanding the search radius of the ball query Thus, is the i-th query feature. In this way, we associate each target query with radar point features using multiple distance scales (corresponding to different search radii for ball queries) to extract features from local areas near and extended from the object.
[0076] Then, multi-scale features are aggregated. Specifically, after obtaining the aggregated features from each scale, they are connected together and then input into an aggregation network. The aggregation operation adaptively and The calculation formula is
[0077] where ω1 and ω2 are the weights output from the aggregation network, is the object center feature, Neighborhood-aware features, η i It is the query feature after multi-scale aggregation.
[0078] The output η of this module (the updated query feature above) is consistent with the original query feature Q f concatenated for the velocity prediction task (which is decoupled from the regression task).
[0079]
[0080] Among them, [·] represents the splicing on the channel, FFN vel It is the speed regression feedforward network decoupled from the regression task, Q f is the original query feature, is the predicted speed corresponding to the target query.
[0081] Traditional radar-vision fusion methods use a symmetric architecture for image and radar inputs (modality-agnostic fusion) and treat the fusion mechanism as a “black box”, such as Figure 4 (a). This modality-agnostic approach fails to fully utilize the unique advantages of each modality in contributing to accurate 3D object detection, thus hindering further improvements. In view of this, the present disclosure proposes a radar-visual fusion method with a modality-aware fusion paradigm. Among them, the role of RGB images and radar data in 3D object detection can be explained as follows: the image is an intelligent leader for understanding semantic information; millimeter-wave radar data, as a professional consultant, further provides spatial priority and speed prompts. Figure 4 (b). The radar-visual fusion method disclosed in the present invention hierarchically fuses the most valuable spatial information and velocity attributes in the radar data. Specifically, in the first level, the spatial information obtained from the radar data is used to enhance the target query of the image branch. In the second level, the radar data is used to further enhance the query features of the velocity prediction, thereby reducing the error in the velocity estimation. Therefore, the radar-visual fusion method disclosed in the present invention can deeply explore the contribution of the modal characteristics provided by the radar-visual data to specific tasks, while realizing the deep interaction of features, maximizing the retention of the physical characteristics of the modality, thereby greatly improving the performance of three-dimensional target detection.
[0082] The radar-vision fusion method (abbreviated as RaCFusion) shown in the present disclosure was tested on the NuScenes dataset. NuScenes is a large-scale and challenging dataset for 3D detection. It provides camera images, lidar points, and millimeter-wave radar points. The main evaluation indicators used by nuScenes are mAP and nuScenes detection score (NDS). In addition, there is mAVE, which represents the absolute velocity error in m / s, and its reduction represents a more accurate velocity estimate. NDS is a combined metric of mAP and other attribute metrics. The test was performed on a server equipped with a 48-core Intel(R) Xeon(R) Gold 6226CPU, 376GB of memory, and eight 32GB NVIDIA Tesla V100 GPUs.
[0083] Test results:
[0084] 1. Robustness to lighting and weather conditions:
[0085] We divide the scenes in the validation set into Sunny / Rainy / Day / Night by searching for the keywords "rain" and "night" in the description of each scene. Figure 5 As shown in Figure 2, by integrating camera images and radar points through a modality-aware fusion strategy, RaCFusion significantly improves the performance in all challenging conditions. Notably, RaCFusion improves mAP by 5.1% in rainy scenes and mAVE by 42.9% in night scenes, outperforming the baseline method using only the camera.
[0086] 2. Robustness to different object speeds:
[0087] Objects with a speed > 0.5 m / s were considered moving objects, and 5 m / s and 10 m / s were used as the dividing lines between low and medium motion states. Figure 6 The mAP and mAVE of the camera-only detector and RaCFusion for objects moving at different speeds are shown. It can be seen that RaCFusion can greatly improve the detection performance and speed estimation when the target speed changes. The experimental results show that by making full use of radar information, RaCFusion has a more significant performance improvement, which verifies that it can effectively handle complex driving scenarios.
[0088] 3. Robustness to detection distance:
[0089] Figure 7The detection accuracy and velocity estimates are presented at different distance ranges. At a range of 20 meters, the improvement of RaCFusion is more significant. This is mainly due to the smaller position error of the radar points for objects within 20 meters. At distances beyond 20 meters, our RaCFusion consistently outperforms the camera-only baseline, especially in achieving a steadily decreasing velocity error (-25.9%l-17.7%). The results show that our RaCFusion fusion framework is less sensitive to distance and detects radar data at longer distances.
[0090] From the above experimental results, it can be seen that RaCFusion is a radar-camera fusion 3D detection method with robustness, stability and accuracy.
[0091] Figure 8 is a schematic diagram of a three-dimensional object detection device according to some embodiments of the present disclosure. Figure 8 As shown, the three-dimensional object detection device 800 includes an acquisition module 810, a first fusion module 820 and a second fusion module 830. In some embodiments of the present disclosure, the three-dimensional object detection function can be performed by a three-dimensional object detection server.
[0092] An acquisition module 810 is used to acquire multiple images of a target scene from different perspectives, extract three-dimensional position perception features of the target scene from the images, and sample query points according to a preset rule;
[0093] A first fusion module 820 is used to obtain radar point features of the target scene, expand the query point based on the location information of the significant radar point features, perform target query in the set composed of the three-dimensional position perception features based on the location features of the query point, and perform a target detection task based on the obtained query features, wherein the target detection task includes but is not limited to target classification and positioning tasks;
[0094] The second fusion module 830 is used to correct the query feature based on the radar point features within multiple distance scales in the neighborhood of the query result and perform target speed prediction based on the corrected query feature.
[0095] An embodiment of the present disclosure provides a three-dimensional object detection device. Fig. 9 As shown, the three-dimensional object detection device 900 includes a memory 920 and a processor 910, wherein the memory 920 is used to store a computer program; and the processor 910 is used to implement when executing the computer program. Figure 2 The method described in S210-S230.
[0096] In summary, the three-dimensional target detection method, device and equipment provided by the embodiments of the present invention integrate the spatial and velocity information from radar data into the main three-dimensional target detector based on the camera, thereby constructing a modally-aware radar-vision fusion model in which the weak modality (radar) assists the strong modality (camera), thereby deeply exploring the contribution of the modal characteristics provided by the radar-vision data to specific tasks; at the same time, based on the hierarchical fusion method with query as the interaction, by mapping the characteristic information of the radar to the target query at multiple levels, deep interaction of features is achieved, and the physical characteristics of the modality are retained to the maximum extent, thereby greatly improving the performance of three-dimensional target detection.
[0097] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding descriptions in the aforementioned device embodiments and will not be repeated here.
[0098] Although the subject matter described herein is provided in the general context of being executed in conjunction with the execution of operating systems and application programs on computer systems, it will be appreciated by those skilled in the art that other implementations may also be performed in conjunction with other types of program modules. In general, program modules include routines, programs, components, data structures, and other types of structures that perform specific tasks or implement specific abstract data types. It will be appreciated by those skilled in the art that the subject matter described herein may be practiced using other computer system configurations, including handheld devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, etc., and may also be used in a distributed computing environment in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
[0099] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0100] It should be understood that the above specific embodiments of the present disclosure are only used to illustrate or explain the principles of the present disclosure, and do not constitute a limitation of the present disclosure. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present disclosure should be included in the protection scope of the present disclosure. In addition, the claims attached to the present disclosure are intended to cover all changes and modifications that fall within the scope and boundaries of the attached claims, or the equivalent forms of such scope and boundaries.
Claims
1. A three-dimensional target detection method, characterized in that: include: Acquire multiple images of the target scene from different perspectives, extract three-dimensional position perception features of the target scene from the images, and sample query points according to a preset rule; Acquire radar point features of the target scene, expand the query point based on the position information of significant radar point features, perform target query in the set composed of the three-dimensional position perception features based on the position features of the query point, and perform a target detection task based on the obtained query features, wherein the target detection task includes but is not limited to target classification and positioning tasks; The query feature is modified based on the radar point feature in the neighborhood of the query result, and the target speed is predicted based on the modified query feature.
2. The method according to claim 1, characterized in that: The step of extracting the three-dimensional position perception features of the target scene from the image comprises: For each of the images, extracting image features of the image; Determine a transformation matrix between the images based on the viewing angles of the multiple images, determine and encode a three-dimensional position corresponding to each pixel of each image based on the transformation matrix, and obtain a three-dimensional position perception feature corresponding to the image; The three-dimensional position-aware features corresponding to all the images of the target scene form a three-dimensional position-aware feature corresponding to the target scene.
3. The method according to claim 1, characterized in that The expanding the query point based on the location information of the significant radar point features comprises: The query point obtained by sampling the three-dimensional position sensing feature according to a preset rule is used as a first query point; Selecting a significant radar point from the radar point features based on a preset standard, and determining a second query point based on position information of the radar features of the significant radar point; The query point is composed of the second query point and the first query point.
4. The method according to claim 3, characterized in that After the query point is expanded based on the location information of the significant radar point features, the method further includes: Extracting the position features of the first query point to form a first query; obtaining a second query based on the position code of the radar feature of the second query point, and forming a hybrid query by the first query and the second query; The radar features in the hybrid query are enhanced based on the cross-attention mechanism.
5. The method according to claim 4, characterized in that Before enhancing the radar features in the hybrid query based on the cross attention mechanism, the method further includes: The local feature expression of each radar feature is enhanced through the inner product self-attention mechanism.
6. The method according to claim 4, characterized in that The performing target query in the set consisting of the three-dimensional position-aware features based on the position feature of the query point comprises: Planarizing the three-dimensional position-aware features and using them as a key matrix and a value matrix respectively; A query matrix is formed by the mixed queries; The key matrix, the value matrix and the query matrix are input into a decoder of a transformer architecture, target decoding is performed, and the query features are output.
7. The method according to claim 6, characterized in that The step of correcting the query feature based on the radar point feature in the neighborhood of the query result includes: For each target query result output from the decoder, obtaining aggregate features of radar point features within multiple distance scales of a neighborhood; Performing weighted aggregation on the aggregated features at each distance scale to obtain radar aggregated features; The radar aggregation feature is connected to the query feature to form a modified query feature.
8. The method according to claim 7, characterized in that The method of obtaining the aggregated features of radar features within multiple distance scales of the neighborhood includes: Taking the position of the target query result as the query center, performing a spherical search on the radar point features with a preset distance scale as the search radius, and aggregating the searched radar point features into the aggregated features corresponding to the distance scale; The search radius of the ball search is adjusted to a second preset scale, the aggregation feature corresponding to the second preset scale is obtained, and this step is repeated a preset number of times.
9. A three-dimensional target detection device, characterized in that: include: An acquisition module, used to acquire multiple images of a target scene from different perspectives, extract three-dimensional position perception features of the target scene from the images, and sample query points according to a preset rule; a first fusion module, configured to obtain radar point features of the target scene, expand the query point based on location information of significant radar point features, perform target query in a set of three-dimensional position sensing features based on the location features of the query point, and perform a target detection task based on the obtained query features, wherein the target detection task includes but is not limited to target classification and positioning tasks; The second fusion module is used to correct the query feature based on the radar point features within multiple distance scales in the neighborhood of the query result and predict the target speed based on the corrected query feature.
10. A three-dimensional target detection device, characterized in that: Including memory and processor: The memory is used to store computer programs; The processor is configured to implement the method according to any one of claims 1-8 when executing the computer program.
Citation Information
Patent Citations
Millimeter wave radar and vision fused three-dimensional target detection method based on attention mechanism
CN114708585A
Radar- and vision-based navigation using bounding boxes
WO2024081667A1
