A three-dimensional object detection method and device

By performing voxelization and feature extraction on point cloud data, and combining sparse 3D convolutional networks and anchorless network to optimize the detection boxes, the problems of inaccurate and inefficient detection in sparse point cloud scenarios in existing technologies are solved, and more efficient 3D target detection is achieved.

CN119206702BActive Publication Date: 2026-11-24CHINA AUTOMOTIVE INNOVATION CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411219282.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2026-11-24
Estimated Expiration
2044-09-02

AI Technical Summary

Technical Problem

Existing 3D target detection methods suffer from inaccurate center detection and low computational efficiency in sparse point cloud scenarios, making it difficult to achieve efficient and accurate target detection.

Method used

By acquiring point cloud data and performing voxelization, a pre-constructed sparse 3D convolutional network is used to extract 3D localization features and target recognition features, which are then projected onto a 2D plane to obtain 2D localization features. Combined with an anchorless network, the localization parameters of the detection box are optimized to improve detection accuracy and efficiency.

Benefits of technology

It improves the accuracy and efficiency of 3D target detection, enabling more accurate determination of target location and basic information, and enriching the content of target detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119206702B_ABST
    Figure CN119206702B_ABST
Patent Text Reader

Abstract

This application relates to the field of computer vision technology, and in particular to a method, apparatus, computer device, storage medium, and computer program product for three-dimensional target detection. The method involves acquiring point cloud data of a target in a detection space, performing voxelization on the point cloud data to obtain voxel point cloud data, extracting features from the voxel point cloud data using a pre-constructed first feature network to obtain three-dimensional localization features and target recognition features corresponding to the voxel point cloud data, projecting the target onto a preset two-dimensional plane based on the three-dimensional localization features to obtain the two-dimensional localization features of the target, obtaining the localization parameters of a three-dimensional detection box corresponding to the target based on the two-dimensional localization features, and optimizing the three-dimensional detection box based on the target recognition features to obtain the target detection result. This method can improve the accuracy and efficiency of target detection in three-dimensional space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer vision technology, and in particular to a three-dimensional target detection method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] Autonomous driving refers to the use of artificial intelligence, computer vision, radar, monitoring devices, and GPS to enable computers to operate motor vehicles safely and automatically without any human intervention. 3D target detection in the environment is a crucial technical module in autonomous driving. This module is based on computer vision technology and is a core foundational direction in computer vision research, thus attracting widespread attention. Unlike image recognition, target detection not only needs to identify objects in an image and assign their categories, but also needs to provide the object's location using a minimum bounding box. Depending on the output requirements, target detection is generally categorized into 2D target detection, which uses RGB images to output object categories and their minimum bounding boxes, and 3D target detection, which uses RGB images, RGB-D depth images, and laser point clouds to output object categories and their dimensions, dimensions, height, and rotation angles in three-dimensional space. For example, in autonomous driving scenarios, it is necessary to provide the target object's three-dimensional size and rotation angle from the image. This bird's-eye view projection information is crucial for subsequent path planning and control in autonomous driving scenarios.

[0003] In related technologies, with the widespread application of LiDAR sensors and other technologies, capturing 3D scene information as sparse and irregular point clouds provides important cues for 3D scene perception. Among these, the common PVRCNN method uses pre-defined bounding boxes of different sizes and aspect ratios, either manually or through clustering methods, to cover the entire image and prevent missed detections. The CenterPoint method is based on a Center-based two-stage detection combined with tracking model. In the first stage, a keypoint detector is used to detect the center of the object, and the 3D size, 3D orientation, and velocity of the detection box are regressed. In the second stage, a memory-based thinning module is designed to refine the detection boxes generated in the first stage using additional point features.

[0004] However, current target detection methods have the following technical problems:

[0005] The PVRCNN method suffers from inaccurate center detection and low computational efficiency, while the CenterPoint method is not suitable for computational scenarios with sparse point clouds. Based on existing detection methods, it is difficult to achieve efficient and accurate target detection. Summary of the Invention

[0006] Therefore, it is necessary to provide a three-dimensional target detection method, device, computer equipment, computer-readable storage medium, and computer program product that can improve the accuracy and efficiency of target detection in three-dimensional space, in order to address the above-mentioned technical problems.

[0007] Firstly, this application provides a three-dimensional target detection method. The method includes:

[0008] Obtain point cloud data of the target in the detection space, and perform voxelization processing on the point cloud data to obtain voxel point cloud data;

[0009] The voxel point cloud data is used to extract features from the pre-constructed first feature network to obtain the three-dimensional localization features and target recognition features corresponding to the voxel point cloud data.

[0010] Based on the three-dimensional positioning features, the target to be tested is projected onto a preset two-dimensional plane to obtain the two-dimensional positioning features of the target to be tested;

[0011] Based on the two-dimensional positioning features, the positioning parameters of the three-dimensional detection box corresponding to the target to be tested are obtained;

[0012] The three-dimensional detection box is optimized based on the target recognition features to obtain the target detection result.

[0013] In one embodiment, the first feature network is a sparse three-dimensional convolutional network. The step of using the pre-constructed first feature network to extract features from the voxel point cloud data to obtain three-dimensional localization features and target recognition features corresponding to the voxel point cloud data includes:

[0014] The three-dimensional localization features are obtained by performing multiple downsampling feature extractions on the voxel point cloud data based on multiple convolutional layers in the first feature network.

[0015] The target recognition features are obtained by extracting features from the voxel point cloud data in each convolutional layer using a pre-defined voxel feature extraction network.

[0016] In one embodiment, the positioning parameters for obtaining the three-dimensional detection box corresponding to the target based on the two-dimensional positioning features include:

[0017] The central target region corresponding to the target to be measured is obtained based on the two-dimensional positioning features.

[0018] Determine the distance parameter between the central target area and the edge of the target to be measured, and obtain the positioning parameter based on the central target area and the distance parameter.

[0019] In one embodiment, determining the distance parameter between the central target region and the edge of the target to be measured, and obtaining the positioning parameter based on the central target region and the distance parameter, includes:

[0020] Several sets of candidate positioning parameters are generated based on the central target area and the corresponding distance parameters.

[0021] Calculate the loss value between the candidate positioning parameter and the preset reference true value, and determine the positioning parameter based on the loss value.

[0022] In one embodiment, the positioning parameters include the category, center position parameter, size parameter, and orientation parameter of the three-dimensional detection box.

[0023] In one embodiment, obtaining the positioning parameters of the three-dimensional detection box corresponding to the target based on the two-dimensional positioning features further includes:

[0024] The positioning parameters are obtained through a preset detection head network, which is an anchorless network based on the center point.

[0025] Secondly, this application also provides a three-dimensional target detection device. The device includes:

[0026] The voxel processing module is used to acquire point cloud data of the target to be tested in the detection space, and to perform voxelization processing on the point cloud data to obtain voxel point cloud data.

[0027] The feature extraction module is used to extract features from the voxel point cloud data using a pre-constructed first feature network, and to obtain the three-dimensional positioning features and target recognition features corresponding to the voxel point cloud data.

[0028] The feature projection module is used to project the target under test onto a preset two-dimensional plane based on the three-dimensional positioning features, so as to obtain the two-dimensional positioning features of the target under test.

[0029] The detection and positioning module is used to obtain the positioning parameters of the three-dimensional detection box corresponding to the target under test based on the two-dimensional positioning features.

[0030] The target optimization module is used to optimize the three-dimensional detection box based on the target recognition features to obtain the target detection result.

[0031] In one embodiment, the first feature network is a sparse three-dimensional convolutional network, and the feature extraction module includes:

[0032] A multi-level downsampling module is used to perform multiple downsampling feature extractions on the voxel point cloud data based on multiple convolutional layers in the first feature network to obtain the three-dimensional localization features.

[0033] The voxel feature module is used to extract features from the voxel point cloud data in each convolutional layer through a preset voxel feature capture network to obtain the target recognition features.

[0034] In one embodiment, the detection and positioning module includes:

[0035] The center detection module is used to obtain the center target region corresponding to the target to be tested based on the two-dimensional positioning features;

[0036] The boundary distance module is used to determine the distance parameters between the central target area and the edge of the target to be measured, and to obtain the positioning parameters based on the central target area and the distance parameters.

[0037] In one embodiment, the boundary distance module includes:

[0038] The candidate parameter module is used to generate several sets of candidate positioning parameters based on the central target area and the corresponding distance parameters;

[0039] The filtering and determination module is used to calculate the loss value between the candidate positioning parameters and the preset reference true value, and determine the positioning parameters based on the loss value.

[0040] In one embodiment, the positioning parameters include the category, center position parameter, size parameter, and orientation parameter of the three-dimensional detection box.

[0041] In one embodiment, the detection and positioning module further includes:

[0042] The detection head module is used to obtain the positioning parameters through a preset detection head network, which is an anchorless network based on the center point.

[0043] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of a three-dimensional target detection method as described in any embodiment of the first aspect.

[0044] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of a three-dimensional target detection method as described in any embodiment of the first aspect.

[0045] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of a three-dimensional target detection method as described in any embodiment of the first aspect.

[0046] The aforementioned three-dimensional target detection method, apparatus, computer equipment, storage medium, and computer program product, derived through the technical features described in the patent, can achieve beneficial effects to address the technical problems in the background art.

[0047] Point cloud data from the target space is acquired and voxelized to obtain voxel point cloud data. Then, a pre-constructed first feature network is used to extract features from the voxel point cloud data, obtaining corresponding 3D localization features and target recognition features, thus acquiring the location and basic information of the target. Next, the 2D position of the target in the projection plane is determined, and then the target's detection bounding box is determined based on this 2D position and the 3D localization features. At this point, a preliminary target detection result is obtained, primarily reflecting the target's location, i.e., the localization parameters of the 3D detection bounding box. Finally, the target recognition features obtained from the first feature network are used to optimize the target detection result, enriching its content and improving the detection effect. In practice, compared with existing technologies, this method achieves the beneficial effects of improving target detection effect and efficiency. Attached Figure Description

[0048] Figure 1 This is a schematic diagram of the first process of a three-dimensional target detection method in one embodiment;

[0049] Figure 2 This is a schematic diagram of the second process of a three-dimensional target detection method in another embodiment;

[0050] Figure 3 This is a schematic diagram of the third process of a three-dimensional target detection method in another embodiment;

[0051] Figure 4 This is a schematic diagram of the fourth process of a three-dimensional target detection method in another embodiment;

[0052] Figure 5 This is a schematic diagram of the fifth process of a three-dimensional target detection method in another embodiment;

[0053] Figure 6 This is a structural block diagram of a three-dimensional target detection device in one embodiment;

[0054] Figure 7This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0056] In related technologies, with the widespread application of LiDAR sensors and other technologies, capturing 3D scene information as sparse and irregular point clouds provides important cues for 3D scene perception. Among these, the common PVRCNN method uses pre-defined bounding boxes of different sizes and aspect ratios, either manually or through clustering methods, to cover the entire image and prevent missed detections. The CenterPoint method is based on a Center-based two-stage detection combined with tracking model. In the first stage, a keypoint detector is used to detect the center of the object, and the 3D size, 3D orientation, and velocity of the detection box are regressed. In the second stage, a memory-based thinning module is designed to refine the detection boxes generated in the first stage using additional point features.

[0057] However, current target detection methods have the following technical problems:

[0058] The PVRCNN method suffers from inaccurate center detection and low computational efficiency, while the CenterPoint method is unsuitable for computational scenarios with sparse point clouds. Therefore, existing detection methods struggle to achieve efficient and accurate object detection. Specifically, PVRCNN is a novel method for accurately detecting 3D objects from point clouds. This method covers the entire image with pre-defined bounding boxes of different sizes and aspect ratios, either manually or through clustering methods, to prevent missed detections. However, the target boxes generated using anchor-based detection heads are time-consuming to ensure a rigorous selection process, and compared to center-based detection methods, they suffer from unstable center detection. Furthermore, integrating multi-scale 3D voxel CNN features using a voxel setabstraction layer often introduces larger positional shifts, especially for small targets (such as pedestrians and bicycles). The CenterPoint method uses a center-based, anchor-free detector head to identify targets. Numerous experiments have shown that it does not perform well when the point cloud is too sparse. For example, its performance on the nuScenes dataset is not as good as Waymo. The main reason for this is that the center point detection method cannot effectively identify 3D point cloud data with too little information retained after feature extraction.

[0059] Based on this, this application provides a three-dimensional target detection method.

[0060] In one embodiment, such as Figure 1 As shown, a three-dimensional target detection method is provided. This embodiment illustrates the method's application to a terminal. It is understood that this method can also be applied to a server, or to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0061] Step 101: Obtain point cloud data of the target in the detection space, and perform voxelization processing on the point cloud data to obtain voxel point cloud data.

[0062] In this context, the space to be detected refers to the three-dimensional spatial region covered by the sensing range for detecting the target. Point cloud data refers to a set of vectors in a three-dimensional coordinate system, used to record the three-dimensional coordinates, color information, and reflection intensity information of each point. A voxel refers to a volume element; a voxel can represent a three-dimensional region using a constant scalar or vector.

[0063] For example, the terminal can acquire raw point cloud data through vehicle-mounted LiDAR or similar devices. The terminal can then transform the raw point cloud data into point cloud data within a three-dimensional space conforming to the vehicle's coordinate system through coordinate transformation and other processing. Subsequently, the terminal can perform voxelization processing on the point cloud data, thereby converting the sparse three-dimensional point cloud into dense three-dimensional voxel features, i.e., voxel point cloud data. During this process, the terminal can assign each point in the point cloud data to a corresponding voxel. The number of point points in each voxel can be one, multiple, or zero.

[0064] Step 103: Use the pre-constructed first feature network to extract features from the voxel point cloud data to obtain the three-dimensional positioning features and target recognition features corresponding to the voxel point cloud data.

[0065] Here, the first feature network can refer to a convolutional neural network (CNN) used to extract 3D features. 3D localization features can refer to parametric features used to determine the position and pose of the target. Target recognition features can refer to parameters used to describe other basic information about the target object, such as color and material.

[0066] For example, the terminal can use a pre-built first feature network to extract features from voxel point cloud data, thereby obtaining the three-dimensional localization features and target recognition features output by the model.

[0067] Step 105: Based on the three-dimensional positioning features, project the target to be tested onto a preset two-dimensional plane to obtain the two-dimensional positioning features of the target to be tested.

[0068] Among them, two-dimensional positioning features can refer to the positioning features of the target in a specific two-dimensional plane.

[0069] For example, the terminal can predetermine a general two-dimensional plane, which can be a bird's-eye view plane from the vehicle's perspective, or other two-dimensional planes. The terminal can project the target to be measured onto the predetermined two-dimensional plane based on the three-dimensional positioning features, thereby obtaining the two-dimensional positioning features of the target to be measured. The two-dimensional positioning features can be a heatmap.

[0070] Step 107: Obtain the positioning parameters of the three-dimensional detection box corresponding to the target under test based on the two-dimensional positioning features.

[0071] Among them, the 3D detection box can refer to the bounding box of the target in 3D space.

[0072] For example, the terminal can determine a two-dimensional detection box of the target within a preset two-dimensional plane based on two-dimensional positioning features, and then expand the determined two-dimensional detection box based on three-dimensional positioning features to obtain the positioning parameters of the three-dimensional detection box. The positioning parameters may include the category, center position parameter, size parameter, and orientation parameter of the three-dimensional detection box.

[0073] Step 109: Optimize the 3D detection box based on the target recognition features to obtain the target detection result.

[0074] For example, after acquiring the 3D detection bounding box of the target to be tested, the terminal can use the target recognition features obtained in the previous steps to optimize the rendering of the current 3D detection bounding box, thereby obtaining the final target detection result.

[0075] In the above-mentioned three-dimensional target detection method, by reasonably deducing the technical features in the embodiments, the following beneficial effects can be achieved in solving the technical problems raised in the background art:

[0076] Point cloud data from the target space is acquired and voxelized to obtain voxel point cloud data. Then, a pre-constructed first feature network is used to extract features from the voxel point cloud data, obtaining corresponding 3D localization features and target recognition features, thus acquiring the location and basic information of the target. Next, the 2D position of the target in the projection plane is determined, and then the target's detection bounding box is determined based on this 2D position and the 3D localization features. At this point, a preliminary target detection result is obtained, primarily reflecting the target's location, i.e., the localization parameters of the 3D detection bounding box. Finally, the target recognition features obtained from the first feature network are used to optimize the target detection result, enriching its content and improving the detection effect. In practice, compared with existing technologies, this method achieves the beneficial effects of improving target detection effect and efficiency.

[0077] In one embodiment, such as Figure 2 As shown, the first feature network can be a sparse three-dimensional convolutional network, and step 103 includes:

[0078] Step 201: Based on multiple convolutional layers in the first feature network, perform multiple downsampling feature extractions on the voxel point cloud data to obtain the three-dimensional localization features.

[0079] Downsampling can refer to a processing method that filters and extracts target features according to specific feature recognition rules.

[0080] For example, the terminal can utilize multiple convolutional layers in the first feature network to perform multiple downsampling feature extractions on the voxel point cloud data, thereby obtaining the final three-dimensional localization features.

[0081] Step 203: Using a preset voxel feature extraction network, feature extraction is performed on the voxel point cloud data in each convolutional layer to obtain the target recognition features.

[0082] For example, the terminal can use the voxel feature extraction network in each convolutional layer of the first feature network to extract features from voxel point cloud data that conform to preset rules, thereby obtaining target recognition features.

[0083] In this embodiment, multiple convolutional layers are used to perform multiple downsampling processes on the voxel point cloud data to obtain the final three-dimensional localization features and target recognition features, which helps to improve the feature extraction effect of point cloud data.

[0084] In one embodiment, such as Figure 3 As shown, step 107 includes:

[0085] Step 301: Obtain the central target region corresponding to the target to be tested based on the two-dimensional positioning features.

[0086] The central target area can refer to the positioning center of the three-dimensional detection box corresponding to the target to be measured. It can be the center point or a central area of ​​a preset size.

[0087] For example, the terminal can determine the central target area corresponding to the target to be measured in a preset two-dimensional plane based on the two-dimensional positioning features.

[0088] Step 303: Determine the distance parameter between the central target area and the edge of the target to be measured, and obtain the positioning parameter based on the central target area and the distance parameter.

[0089] For example, the terminal can determine the distance parameters between the central target area and the edge of the target to be measured based on the two-dimensional positioning parameters, and obtain the positioning parameters based on the central target area and the distance parameters.

[0090] In this embodiment, determining the final 3D detection box positioning parameters through the central region helps improve the calculation efficiency of positioning parameters and reduce the amount of computation.

[0091] In one embodiment, such as Figure 4 As shown, step 303 includes:

[0092] Step 401: Generate several sets of candidate positioning parameters based on the central target area and the corresponding distance parameters.

[0093] For example, when calculating positioning parameters, the terminal may be able to calculate multiple sets of positioning parameters due to information loss when projecting onto a two-dimensional plane. In this case, the multiple sets of positioning parameters obtained can be determined as candidate positioning parameters.

[0094] Step 403: Calculate the loss value between the candidate positioning parameters and the preset reference true value, and determine the positioning parameters based on the loss value.

[0095] For example, the terminal can calculate the loss value between the candidate positioning parameters and the preset ground truth. In this way, the terminal can determine the final positioning parameters to be used based on the obtained loss value.

[0096] In this embodiment, the loss value is used to filter and determine multiple sets of candidate positioning parameters, which helps to improve the accuracy of candidate positioning parameter selection.

[0097] In one embodiment, the positioning parameters may include the category, center position parameter, size parameter, and orientation parameter of the 3D detection box.

[0098] In one embodiment, such as Figure 5 As shown, step 107 includes:

[0099] Step 501: Obtain the positioning parameters through a preset detection head network, wherein the detection head network is an anchorless network based on the center point.

[0100] For example, when obtaining localization parameters through the detection head network, an anchorless network based on the center point (PVCP-RCNN model) can be used.

[0101] In this embodiment, the center-based anchor-free detection head network helps to improve the efficiency of obtaining positioning parameters.

[0102] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0103] Based on the same inventive concept, this application also provides a three-dimensional target detection device for implementing the three-dimensional target detection method described above. The solution provided by this device is similar to the implementation scheme described in the above method; therefore, the specific limitations of one or more embodiments of the three-dimensional target detection device provided below can be found in the limitations of the three-dimensional target detection method described above, and will not be repeated here.

[0104] In one embodiment, such as Figure 6 As shown, a three-dimensional target detection device is provided, including a voxel processing module, a feature extraction module, a feature projection module, a detection and localization module, and a target optimization module, wherein:

[0105] The voxel processing module is used to acquire point cloud data of the target to be tested in the detection space, and to perform voxelization processing on the point cloud data to obtain voxel point cloud data.

[0106] The feature extraction module is used to extract features from the voxel point cloud data using a pre-constructed first feature network, and to obtain the three-dimensional positioning features and target recognition features corresponding to the voxel point cloud data.

[0107] The feature projection module is used to project the target under test onto a preset two-dimensional plane based on the three-dimensional positioning features, so as to obtain the two-dimensional positioning features of the target under test.

[0108] The detection and positioning module is used to obtain the positioning parameters of the three-dimensional detection box corresponding to the target under test based on the two-dimensional positioning features.

[0109] The target optimization module is used to optimize the three-dimensional detection box based on the target recognition features to obtain the target detection result.

[0110] In one embodiment, the first feature network is a sparse three-dimensional convolutional network, and the feature extraction module includes:

[0111] A multi-level downsampling module is used to perform multiple downsampling feature extractions on the voxel point cloud data based on multiple convolutional layers in the first feature network to obtain the three-dimensional localization features.

[0112] The voxel feature module is used to extract features from the voxel point cloud data in each convolutional layer through a preset voxel feature capture network to obtain the target recognition features.

[0113] In one embodiment, the detection and positioning module includes:

[0114] The center detection module is used to obtain the center target region corresponding to the target to be tested based on the two-dimensional positioning features;

[0115] The boundary distance module is used to determine the distance parameters between the central target area and the edge of the target to be measured, and to obtain the positioning parameters based on the central target area and the distance parameters.

[0116] In one embodiment, the boundary distance module includes:

[0117] The candidate parameter module is used to generate several sets of candidate positioning parameters based on the central target area and the corresponding distance parameters;

[0118] The filtering and determination module is used to calculate the loss value between the candidate positioning parameters and the preset reference true value, and determine the positioning parameters based on the loss value.

[0119] In one embodiment, the positioning parameters include the category, center position parameter, size parameter, and orientation parameter of the three-dimensional detection box.

[0120] In one embodiment, the detection and positioning module further includes:

[0121] The detection head module is used to obtain the positioning parameters through a preset detection head network, which is an anchorless network based on the center point.

[0122] The modules in the aforementioned three-dimensional target detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0123] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a three-dimensional target detection method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0124] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0125] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0126] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0127] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0129] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0130] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0131] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A three-dimensional target detection method, characterized in that, The method includes: Obtain point cloud data of the target in the detection space, and perform voxelization processing on the point cloud data to obtain voxel point cloud data; The voxel point cloud data is used to extract features from the pre-constructed first feature network to obtain the three-dimensional localization features and target recognition features corresponding to the voxel point cloud data. Based on the three-dimensional positioning features, the target to be tested is projected onto a preset two-dimensional plane to obtain the two-dimensional positioning features of the target to be tested; Based on the two-dimensional positioning features, the positioning parameters of the three-dimensional detection box corresponding to the target to be tested are obtained; The three-dimensional detection box is optimized based on the target recognition features to obtain the target detection result; The first feature network is a sparse 3D convolutional network. The step of using the pre-constructed first feature network to extract features from the voxel point cloud data to obtain 3D localization features and target recognition features corresponding to the voxel point cloud data includes: The three-dimensional localization features are obtained by performing multiple downsampling feature extractions on the voxel point cloud data based on multiple convolutional layers in the first feature network. The target recognition features are obtained by extracting features from the voxel point cloud data in each of the convolutional layers through a pre-defined voxel feature extraction network. The positioning parameters for obtaining the three-dimensional detection box corresponding to the target based on the two-dimensional positioning features include: The central target region corresponding to the target to be measured is obtained based on the two-dimensional positioning features. Determine the distance parameter between the central target area and the edge of the target to be measured, and obtain the positioning parameter based on the central target area and the distance parameter.

2. The method according to claim 1, characterized in that, The step of determining the distance parameter between the central target region and the edge of the target to be measured, and obtaining the positioning parameter based on the central target region and the distance parameter, includes: Several sets of candidate positioning parameters are generated based on the central target area and the corresponding distance parameters. Calculate the loss value between the candidate positioning parameters and the preset reference true value, and determine the positioning parameters based on the loss value.

3. The method according to any one of claims 1 to 2, characterized in that, The positioning parameters include the category, center position parameter, size parameter, and orientation parameter of the three-dimensional detection box.

4. The method according to claim 2, characterized in that, The method for obtaining the localization parameters of the three-dimensional detection box corresponding to the target based on the two-dimensional localization features further includes: The positioning parameters are obtained through a preset detection head network, which is an anchorless network based on the center point.

5. A three-dimensional target detection device, characterized in that, The device includes: The voxel processing module is used to acquire point cloud data of the target to be tested in the detection space, and to perform voxelization processing on the point cloud data to obtain voxel point cloud data. The feature extraction module is used to extract features from the voxel point cloud data using a pre-constructed first feature network, and to obtain the three-dimensional positioning features and target recognition features corresponding to the voxel point cloud data. The feature projection module is used to project the target under test onto a preset two-dimensional plane based on the three-dimensional positioning features, so as to obtain the two-dimensional positioning features of the target under test. The detection and positioning module is used to obtain the positioning parameters of the three-dimensional detection box corresponding to the target under test based on the two-dimensional positioning features. The target optimization module is used to optimize the three-dimensional detection box based on the target recognition features to obtain the target detection result; The first feature network is a sparse three-dimensional convolutional network, and the feature extraction module includes: A multi-level downsampling module is used to perform multiple downsampling feature extractions on the voxel point cloud data based on multiple convolutional layers in the first feature network to obtain the three-dimensional localization features. The voxel feature module is used to extract features from the voxel point cloud data in each convolutional layer through a preset voxel feature capture network to obtain the target recognition features. The detection and positioning module includes: The center detection module is used to obtain the center target region corresponding to the target to be tested based on the two-dimensional positioning features; The boundary distance module is used to determine the distance parameters between the central target area and the edge of the target to be measured, and to obtain the positioning parameters based on the central target area and the distance parameters.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Target detection method, storage medium, electronic device, and vehicle

    US20230386076A1