Target detection method and device

The feature extraction coding layer is determined through knowledge distillation of point feature vectors of point cloud data, which solves the problem of feature loss caused by data sparsity after voxelization processing, achieves fast and accurate target detection, and improves the detection accuracy of unmanned vehicles. and driving safety.

CN118537579APending Publication Date: 2024-08-23BEIJING JINGDONG YUANSHENG TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410718401.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When the voxel-based target detection method in the existing technology processes point cloud data, features are lost due to data sparseness, which affects the detection accuracy and brings hidden dangers to the driving safety of unmanned vehicles.

Method used

By using point feature vectors of point cloud data for knowledge distillation, the feature extraction coding layer is determined, the feature extraction process is optimized, and detection accuracy is improved.

Benefits of technology

Without increasing the computing power of the algorithm, fast and accurate target detection is achieved, the feature extraction effect and detection accuracy are improved, and the driving safety of unmanned vehicles is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537579A
    Figure CN118537579A
Patent Text Reader

Abstract

The invention discloses a target detection method and device, and relates to the technical field of automatic driving. A specific embodiment of the method comprises the following steps: in response to a received target detection request, carrying out point cloud voxel feature extraction on obtained to-be-detected point cloud data to obtain a similar image feature vector of the point cloud data; wherein a feature extraction coding layer used for voxel feature extraction is determined by performing knowledge distillation by using point feature vectors of the point cloud data; and performing feature fusion and bounding box detection on the similar image feature vector to obtain a target detection result of the point cloud data. According to the embodiment, rapid and accurate target detection is realized, the feature extraction coding layer is determined by means of the point feature vector of the point cloud data, the parameters of the feature extraction coding layer are optimized on the premise of not increasing the computing power of an algorithm, the feature extraction effect is improved, and then the target detection precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method and device for target detection. Background Art

[0002] Point cloud object detection aims to accurately detect and identify different objects from point cloud data. Existing object detection algorithms usually voxelize point cloud data, extract features using neural networks, and then perform detection based on the extracted features.

[0003] In the process of implementing the present invention, the inventors found that the prior art has the following problems: Although voxel-based target detection has certain advantages in processing speed, point cloud data is sparse data. After voxelization processing, it will become even more sparse. It is inevitable that some features will be lost, affecting the detection accuracy of the algorithm, thus bringing certain safety risks to the driving of unmanned vehicles using target detection algorithms. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method and device for target detection, which realizes fast and accurate point cloud target detection. By determining the feature extraction coding layer with the help of the point feature vector of the point cloud data, the parameters of the feature extraction coding layer are optimized without increasing the computing power of the algorithm, thereby improving the effect of feature extraction and further improving the accuracy of target detection.

[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for target detection is provided, comprising: In response to receiving a target detection request, extracting voxel features of the point cloud data to be detected to obtain an image-like feature vector of the point cloud data; wherein a feature extraction encoding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; Feature fusion and bounding box detection are performed on the image-like feature vector to obtain an object detection result of the point cloud data.

[0006] Optionally, before performing voxel feature extraction on the acquired point cloud data to be detected, the method also includes: performing initial voxel feature extraction on the acquired point cloud data to be detected and point feature extraction on the point cloud to obtain an initial voxel feature vector and a point feature vector of the point cloud data; and according to the initial voxel feature vector and the point feature vector, correcting the initial feature extraction coding layer of the initial voxel feature vector by means of knowledge distillation to obtain a feature extraction coding layer.

[0007] Optionally, initial voxel feature extraction is performed on the acquired point cloud data to be detected to obtain an initial voxel feature vector of the point cloud data, including: voxelizing the acquired point cloud data to be detected, and counting the point indexes of the points contained in each voxel grid after the division; performing initial feature extraction on the points in each voxel grid after the division through the initial feature extraction coding layer, and obtaining the initial voxel feature vector based on the acquired initial voxel grid feature vector of each voxel grid.

[0008] Optionally, the initial voxel feature vector is composed of multiple initial voxel grid feature vectors; based on the initial voxel feature vector and the point feature vector, the initial feature extraction coding layer of the initial voxel feature vector is corrected by knowledge distillation, including: searching for a matching point feature vector that matches the point in the point index from the point feature vector of the point cloud data; calculating a distillation loss function based on the matching point feature vector and the initial voxel grid feature vector of the voxel grid to which the point index belongs; and correcting the parameters of the initial feature extraction coding layer according to the distillation loss function.

[0009] Optionally, feature fusion and bounding box detection are performed on the image-like feature vector to obtain a target detection result of the point cloud data, including: performing a first convolution feature extraction on the image-like feature vector to obtain a spatial feature; performing a second convolution feature extraction on the spatial feature to obtain a semantic feature; performing feature fusion on the spatial feature and the semantic feature to obtain a fused feature; and performing position and category detection of a target bounding box on the fused feature to obtain a target detection result.

[0010] Optionally, the spatial feature and the semantic feature are subjected to feature fusion, including: first fusing the spatial feature and the semantic feature to obtain a first fused feature; generating an attention map of the semantic feature, and second fusing the attention map and the first fused feature.

[0011] Optionally, the step of performing feature fusion and bounding box detection on the image-like feature vector is implemented through a detection network, and the detection network includes a backbone network for feature extraction, a fusion network for feature fusion, and an end network for bounding box detection.

[0012] According to a second aspect of an embodiment of the present invention, there is provided a device for target detection, comprising: An image-like feature vector acquisition module is used to extract voxel features of the point cloud data to be detected in response to receiving a target detection request, so as to obtain an image-like feature vector of the point cloud data; wherein the feature extraction coding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; The detection result acquisition module is used to perform feature fusion and bounding box detection on the class image feature vector to obtain the target detection result of the point cloud data.

[0013] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for target detection, including: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.

[0014] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.

[0015] An embodiment of the invention has the following advantages or beneficial effects: in response to receiving a target detection request, voxel features of the point cloud data to be detected are extracted to obtain an image-like feature vector of the point cloud data; wherein the feature extraction coding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; a technical solution of performing feature fusion and bounding box detection on the image-like feature vector to obtain the target detection result of the point cloud data realizes a fast and accurate target detection method, by determining the feature extraction coding layer with the help of the point feature vector of the point cloud data, the parameters of the feature extraction coding layer are optimized without increasing the algorithm computing power, thereby improving the effect of feature extraction and thus improving the accuracy of target detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention. Figure 1 is a schematic diagram of the main process of the target detection method according to an embodiment of the present invention; Figure 2 is a schematic diagram of calculating the distillation loss function of an embodiment of the present invention; Figure 3 is a schematic diagram of the principle of feature fusion in an embodiment of the present invention; Figure 4 Schematic diagram of the overall principle of target detection according to an embodiment of the present invention; Figure 5 is a schematic diagram of main modules of a device for target detection according to an embodiment of the present invention; Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied; Figure 7It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0017] It should be noted that in the technical solution of the present invention, the collection / collection, update, analysis, use, transmission, storage and other aspects of user personal information involved are in compliance with the provisions of relevant laws and regulations, are used for legal and reasonable purposes, are not shared, leaked or sold outside of these legal uses, and are subject to supervision and management by national regulatory authorities. Necessary measures should be taken for user personal information to selectively block the use or access to personal information data to prevent illegal access to such personal information data, ensure that persons who have access to personal information data comply with the provisions of relevant laws and regulations, and ensure the security of user personal information. In addition, once these user personal information data are no longer needed, the risks should be minimized by limiting or even prohibiting data collection and / or deleting data.

[0018] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0019] Although the current voxel-based target detection method has certain advantages in processing speed, point cloud data is sparse data. After voxelization processing, it will become even more sparse, and some features will inevitably be lost, which will affect the detection accuracy of the algorithm and bring certain safety hazards to the driving of unmanned vehicles. It cannot meet the actual application requirements well.

[0020] In order to solve the above-mentioned problems existing in the prior art, the present invention proposes a method for target detection, which performs voxel feature extraction of the point cloud data to be detected based on the feature extraction coding layer determined by knowledge distillation using the point feature vector of point cloud data, and performs feature fusion and bounding box detection on the image-like feature vector obtained by feature extraction, thereby realizing a fast and accurate target detection method. By determining the feature extraction coding layer with the help of the point feature vector of point cloud data, the parameters of the feature extraction coding layer are optimized without increasing the computing power of the algorithm, thereby improving the effect of feature extraction and thus improving the accuracy of target detection.

[0021] In the introduction to the embodiments of the present invention, the terms and their meanings are as follows: Smooth L1: SmoothL1 loss function is a loss function between L1 and L2. It is a loss function obtained by interpolation with the intersection of the absolute value function with a slope of 1 and the square function as the inflection point. It is mainly used in the training of regression models and can handle outliers well.

[0022] Figure 1 is a schematic diagram of the main process of the target detection method according to an embodiment of the present invention, such as Figure 1 As shown, the target detection method of the embodiment of the present invention includes the following steps S101 to S102.

[0023] Step S101, in response to receiving a target detection request, performing voxel feature extraction on the acquired point cloud data to be detected to obtain an image-like feature vector of the point cloud data; wherein the feature extraction encoding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data.

[0024] Specifically, in the field of autonomous driving, vehicles need to ensure the safety of the surrounding environment and detect obstacles such as pedestrians, vehicles and road signs on the road. Through target detection, vehicles can automatically perceive the surrounding environment and improve driving safety. Considering that the existing voxelized target detection method will inevitably have some features lost due to the sparser data after voxelization, it affects the detection accuracy of the algorithm. The point feature vector based on the point feature extraction of point cloud data has richer feature information than voxel feature extraction. The embodiment of the present invention uses the point feature vector of point cloud data and adopts the knowledge distillation method to determine the feature extraction coding layer used for voxel feature extraction. When the vehicle is started, the on-board system starts the laser radar to collect the point cloud data of the external driving environment, and when receiving the collected point cloud data, it sends a target detection request with point cloud data to the target detection unit. The target detection unit uses the feature extraction coding layer determined by the knowledge distillation of the point feature vector of the point cloud data to perform voxel feature extraction on the point cloud data to be detected, and obtains a class image feature vector similar to the image structure.

[0025] According to one embodiment of the present invention, before performing voxel feature extraction on the acquired point cloud data to be detected, the method further includes: performing initial voxel feature extraction on the point cloud and point feature extraction on the acquired point cloud data to be detected to obtain an initial voxel feature vector and a point feature vector of the point cloud data; and according to the initial voxel feature vector and the point feature vector, correcting the initial feature extraction coding layer of the initial voxel feature vector by means of knowledge distillation to obtain a feature extraction coding layer.

[0026] Specifically, before the target detection unit of the vehicle extracts voxel features of the acquired point cloud data to be detected, it is necessary to use the knowledge distillation method to correct the initial feature extraction coding layer with the help of the point feature vector of the point cloud data. Therefore, when the feature extraction coding layer is not determined, it is necessary to use the preset initial feature extraction coding layer to perform initial voxel feature extraction on the point cloud data according to the acquired point cloud data to be detected, and obtain the initial voxel feature vector; use the point-by-point feature extraction coding layer to perform point-by-point feature extraction on the point cloud data to obtain the point feature vector. Then, the knowledge distillation method is used to determine the correction parameters of the initial feature extraction coding layer according to the point feature vector and the initial voxel feature vector, and obtain the feature extraction coding layer used for target detection in the embodiment of the present invention.

[0027] According to another embodiment of the present invention, initial voxel feature extraction of the point cloud is performed on the acquired point cloud data to be detected to obtain an initial voxel feature vector of the point cloud data, including: voxelizing the acquired point cloud data to be detected, and counting the point indexes of the points contained in each voxel grid after the division; performing initial feature extraction on the points in each voxel grid after the division through the initial feature extraction coding layer, and obtaining the initial voxel feature vector based on the acquired initial voxel grid feature vector of each voxel grid.

[0028] Specifically, in the process of determining the feature extraction coding layer, it is first necessary to obtain the initial voxel feature vector of the point cloud data. The acquired point cloud data to be detected is voxelized and divided according to the position distribution, and divided into an individual voxel grid. Each voxel grid contains a number of point cloud point data, and each point data has a corresponding point index. The point index of the point contained in each voxel grid after the division is statistically calculated. Then, through the preset initial feature extraction coding layer, the points in each voxel grid are subjected to initial feature extraction to obtain the corresponding initial voxel grid feature vector. Each initial voxel grid feature vector is used as the initial point voxel feature vector of each point contained in the voxel grid, and the initial voxel feature vector of the point cloud data is obtained according to each initial voxel grid feature vector.

[0029] According to another embodiment of the present invention, the initial voxel feature vector is composed of multiple initial voxel grid feature vectors; based on the initial voxel feature vector and the point feature vector, the initial feature extraction coding layer of the initial voxel feature vector is corrected by knowledge distillation, including: searching for a matching point feature vector that matches the point in the point index from the point feature vector of the point cloud data; calculating a distillation loss function based on the matching point feature vector and the initial voxel grid feature vector of the voxel grid to which the point index belongs; and correcting the parameters of the initial feature extraction coding layer according to the distillation loss function.

[0030] Specifically, based on the point feature vectors extracted point by point from the point cloud data, according to the point indices in each voxel grid obtained by voxelization of the point cloud data, the matching point feature vectors of the points matching each index in the point index are searched from the point feature vectors; by comparing the found matching point feature vectors with the initial voxel grid feature vectors of the voxel grid where the point index is located, the distillation loss function (align loss) of each point in the voxel grid is obtained. Specifically, the smooth L1 function can be used to calculate the align loss, and finally the distillation loss functions of each point in the voxel grid are summed, and then the distillation loss functions of each voxel grid are summed to calculate the distillation loss function of the point cloud data. The distillation loss function is used to correct and determine the parameters of the initial feature extraction coding layer. Usually, the initial feature extraction coding layer is composed of convolutional layers. Accordingly, the parameters of the initial feature extraction coding layer are the parameters of the convolutional layers.

[0031] Figure 2 : is a schematic diagram of calculating the distillation loss function of an embodiment of the present invention. The target detection unit uses the initial feature extraction coding layer to extract features from the voxelized point cloud data to obtain an initial voxel grid feature vector; and uses the point-by-point feature extraction coding layer to extract point-by-point features from the point cloud data to obtain a point feature vector. According to the initial voxel feature vector, the matching point feature vector is searched from the point feature vector, and the distillation loss function is calculated using the smooth L1 function according to the initial voxel grid feature vector and the corresponding matching point feature vector.

[0032] Step S102: performing feature fusion and bounding box detection on the image-like feature vector to obtain a target detection result of the point cloud data.

[0033] Specifically, the vehicle's target detection unit extracts voxel features based on the feature extraction coding layer determined by the knowledge distillation to obtain a class image feature vector. Feature extraction is then performed on the class image feature vector, and the extracted features of different types are fused. The fused features are used to perform entity 3D bounding box detection, and the size, position and category of all entities in the vehicle's driving environment (pedestrians, vehicles, other roadblocks, etc.) are detected. The bounding box corresponding to each entity is clarified, and different entities are distinguished by the size, position and category of the bounding box to obtain a 3D target detection result.

[0034] According to one embodiment of the present invention, feature fusion and bounding box detection are performed on the image-like feature vector to obtain a target detection result of the point cloud data, including: performing a first convolution feature extraction on the image-like feature vector to obtain a spatial feature; performing a second convolution feature extraction on the spatial feature to obtain a semantic feature; performing feature fusion on the spatial feature and the semantic feature to obtain a fused feature; and performing position and category detection of a target bounding box on the fused feature to obtain a target detection result.

[0035] According to another embodiment of the present invention, the step of performing feature fusion and bounding box detection on the image-like feature vector is implemented through a detection network, and the detection network includes a backbone network for feature extraction, a fusion network for feature fusion, and an end network for bounding box detection.

[0036] Specifically, the embodiment of the present invention implements the fusion and detection of image-like feature vectors through a preset detection network. The first convolution feature extraction is performed on the image-like feature vector through the feature extraction backbone network. Taking into account the amount of calculation, the backbone network adopts five layers of convolution to achieve spatial features, that is, features related to the position space of the point cloud data. The second convolution deep feature extraction is then performed on the spatial features through the convolution layer to obtain the semantic features of the point cloud data. The spatial features and semantic features are fused through the feature fusion fusion network to obtain fused features. The fused features are then used through the bounding box detection terminal network to detect the position and category of the target bounding box to obtain the position, size, and corresponding category information of the bounding box, which is the target detection result.

[0037] According to another embodiment of the present invention, the spatial feature and the semantic feature are subjected to feature fusion, including: performing a first fusion of the spatial feature and the semantic feature to obtain a first fusion feature; generating an attention map of the semantic feature, and performing a second fusion of the attention map and the first fusion feature.

[0038] Specifically, the spatial features and semantic features of the point cloud data are added together through the fusion network to obtain a first fusion feature; according to the semantic feature, a corresponding attention map between 0 and 1 is generated, and the attention map and the first fusion feature are fused by a second point product fusion.

[0039] Figure 3 It is a schematic diagram of the principle of feature fusion of an embodiment of the present invention. Light colors represent spatial features, dark colors represent semantic features, black represents the first fused features, and white represents the attention map. The spatial features of the point cloud data are subjected to deep feature extraction through the convolution layer to obtain dark semantic features. Since the dimension of the semantic features is different from that of the spatial features, the semantic features and spatial features are converted to the same dimension through convolution of the spatial features, as well as convolution and deconvolution of the semantic features, and then added and fused to obtain the first fused feature in black. In addition, the semantic features after the convolution operation are deconvolved to generate the corresponding attention map between 0 and 1, and then the first fused feature and the attention map are adjusted through the convolution operation to perform point multiplication fusion to obtain the final fused feature.

[0040] Figure 4It is a schematic diagram of the overall principle of target detection in an embodiment of the present invention. The acquired point cloud data to be detected is voxelized, and the initial feature extraction coding layer is used to perform initial voxel feature extraction to obtain an initial voxel feature vector; at the same time, the point cloud data is subjected to point-by-point feature extraction using a point-by-point feature extraction coding layer to obtain a point feature vector. From the point feature vector, a matching point feature vector that matches the point index in the voxel grid is searched, and a distillation loss function is calculated based on the matching point feature vector and the initial voxel grid feature vector of the voxel grid in the corresponding initial voxel feature vector. According to the distillation loss function, the parameters of the initial feature extraction coding layer are corrected to obtain a feature extraction coding layer.

[0041] Furthermore, the feature extraction coding layer is used to extract voxel features from the voxelized point cloud data to obtain image-like feature vectors. The image-like feature vectors are then input into the detection network including the backbone network, fusion network, and terminal network for feature fusion and bounding box detection to obtain the 3D object detection results of the point cloud data.

[0042] In the field of autonomous driving, the embodiments of the present invention, based on the point cloud data collected by the vehicle laser radar, use the point feature vector of the point cloud data, and through the knowledge distillation method, combine the initial voxel feature vector of the point cloud data to correct the preset initial feature extraction coding layer, so as to obtain a feature extraction coding layer with good extraction performance, and then obtain a high-quality image-like feature vector. Then, by extracting the spatial features and semantic features of the image-like feature vector, and fusing the spatial features and semantic features, the fused features are used to detect the entity target bounding box, and pedestrians, other vehicles, temporary roadblocks and other entities in the current driving environment of the autonomous driving vehicle are detected, so as to achieve accurate 3D point cloud target detection without increasing the algorithm computing power, so as to better meet the actual needs.

[0043] Figure 5 Schematic diagram of the main modules of the target detection device according to an embodiment of the present invention. Figure 5 As shown, the target detection device 500 mainly includes an image-like feature vector acquisition module 501 and a detection result acquisition module 502.

[0044] The image-like feature vector acquisition module 501 is used to extract voxel features of the point cloud data to be detected in response to receiving the target detection request, so as to obtain the image-like feature vector of the point cloud data; wherein the feature extraction coding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; The detection result acquisition module 502 is used to perform feature fusion and bounding box detection on the image-like feature vector to obtain the target detection result of the point cloud data.

[0045] According to one embodiment of the present invention, the target detection device 500 also includes a feature extraction coding layer determination module (not shown in the figure), which is used to: before performing voxel feature extraction on the acquired point cloud data to be detected, perform initial voxel feature extraction on the point cloud and point feature extraction on the point cloud to obtain an initial voxel feature vector and a point feature vector of the point cloud data; according to the initial voxel feature vector and the point feature vector, correct the initial feature extraction coding layer of the initial voxel feature vector by means of knowledge distillation to obtain a feature extraction coding layer.

[0046] According to another embodiment of the present invention, the feature extraction coding layer determination module (not shown in the figure) is also used to: voxelize the acquired point cloud data to be detected, and count the point indexes of the points contained in each voxel grid after the division; perform initial feature extraction on the points in each voxel grid after the division through the initial feature extraction coding layer, and obtain the initial voxel feature vector based on the acquired initial voxel grid feature vector of each voxel grid.

[0047] According to another embodiment of the present invention, the initial voxel feature vector is composed of multiple initial voxel grid feature vectors; the feature extraction coding layer determination module (not shown in the figure) is also used to: search for a matching point feature vector that matches the point in the point index from the point feature vector of the point cloud data; calculate a distillation loss function based on the matching point feature vector and the initial voxel grid feature vector of the voxel grid to which the point index belongs; and correct the parameters of the initial feature extraction coding layer based on the distillation loss function.

[0048] According to another embodiment of the present invention, the detection result acquisition module 502 is also used to: perform a first convolution feature extraction on the image-like feature vector to obtain a spatial feature; perform a second convolution feature extraction on the spatial feature to obtain a semantic feature; perform feature fusion on the spatial feature and the semantic feature to obtain a fused feature; perform position and category detection of a target bounding box on the fused feature to obtain a target detection result.

[0049] According to another embodiment of the present invention, the detection result acquisition module 502 is further used to: perform a first fusion of the spatial feature and the semantic feature to obtain a first fusion feature; generate an attention map of the semantic feature, and perform a second fusion of the attention map and the first fusion feature.

[0050] According to another embodiment of the present invention, the step of performing feature fusion and bounding box detection on the image-like feature vector is implemented through a detection network, and the detection network includes a backbone network for feature extraction, a fusion network for feature fusion, and an end network for bounding box detection.

[0051] Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention can be applied.

[0052] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0053] Users can use terminal devices 601, 602, 603 to interact with server 605 through network 604 to receive or send messages, etc. Various communication client applications, such as target detection applications, etc., can be installed on terminal devices 601, 602, 603 (only as an example).

[0054] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0055] Server 605 may be a server that provides various services, such as a background management server that supports target detection performed by users using terminal devices 601, 602, and 603 (only as an example). In response to receiving a target detection request, the background management server may extract voxel features of the point cloud data to be detected to obtain an image-like feature vector of the point cloud data; wherein the feature extraction coding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; feature fusion and bounding box detection are performed on the image-like feature vector to obtain the target detection result of the point cloud data, and the processing result (such as the target detection result, etc. - only as an example) is fed back to the terminal device.

[0056] It should be noted that the target detection method provided in the embodiment of the present invention is generally executed by the server 605 , and accordingly, the target detection device is generally set in the server 605 .

[0057] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0058] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. Figure 7The terminal device or server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0059] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0060] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0061] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0062] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination thereof.

[0063] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0064] The units involved in the embodiments of the present invention may be implemented by software or hardware. The units described may also be arranged in a processor, for example, it may be described as follows: a processor includes: a class image feature vector acquisition module and a detection result acquisition module.

[0065] Among them, the names of these modules do not constitute a limitation on the modules themselves in some cases. For example, the detection result acquisition module can also be described as "a module used to perform feature fusion and bounding box detection on the image-like feature vector to obtain the target detection result of the point cloud data."

[0066] On the other hand, the present invention also provides a computer-readable medium, which may be included in the device described in the embodiment; or it may exist independently without being assembled into the device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by a device, the device includes: in response to receiving a target detection request, performing voxel feature extraction of the point cloud data to be detected to obtain an image-like feature vector of the point cloud data; wherein the feature extraction encoding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; and performing feature fusion and bounding box detection on the image-like feature vector to obtain a target detection result of the point cloud data.

[0067] The technical solution according to the embodiment of the present invention has the following advantages or beneficial effects: by responding to receiving a target detection request, performing voxel feature extraction on the acquired point cloud data to be detected, and obtaining an image-like feature vector of the point cloud data; wherein, the feature extraction coding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; the image-like feature vector is subjected to feature fusion and bounding box detection to obtain the target detection result of the point cloud data. This technical solution realizes a fast and accurate target detection method, and determines the feature extraction coding layer with the help of the point feature vector of the point cloud data. Without increasing the computing power of the algorithm, the parameters of the feature extraction coding layer are optimized, thereby improving the effect of feature extraction and thus improving the accuracy of target detection.

[0068] The specific implementation methods described herein do not constitute limitations on the scope of protection of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention.

Claims

1. A method for target detection, characterized in that: include: In response to receiving a target detection request, extracting voxel features of the point cloud data to be detected to obtain an image-like feature vector of the point cloud data; wherein a feature extraction encoding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; Feature fusion and bounding box detection are performed on the image-like feature vector to obtain an object detection result of the point cloud data.

2. The method according to claim 1, characterized in that Before extracting voxel features of the point cloud from the acquired point cloud data to be detected, the method further includes: Performing initial voxel feature extraction and point feature extraction of the point cloud on the acquired point cloud data to be detected, to obtain an initial voxel feature vector and a point feature vector of the point cloud data; According to the initial voxel feature vector and the point feature vector, the initial feature extraction coding layer of the initial voxel feature vector is modified by knowledge distillation to obtain a feature extraction coding layer.

3. The method according to claim 2, characterized in that Extracting initial voxel features of the point cloud data to be detected to obtain an initial voxel feature vector of the point cloud data includes: The acquired point cloud data to be detected is divided into voxels, and the point indexes of the points contained in each voxel grid after division are counted; The initial feature extraction coding layer is used to extract initial features from points in each divided voxel grid, and the initial voxel feature vector is obtained based on the acquired initial voxel grid feature vector of each voxel grid.

4. The method according to claim 3, characterized in that The initial voxel feature vector is composed of a plurality of initial voxel grid feature vectors; According to the initial voxel feature vector and the point feature vector, the initial feature extraction coding layer of the initial voxel feature vector is modified by knowledge distillation, including: Searching for a matching point feature vector that matches a point in the point index from the point feature vectors of the point cloud data; Calculating a distillation loss function according to the matching point feature vector and an initial voxel feature vector of the voxel to which the point index belongs; According to the distillation loss function, the parameters of the initial feature extraction encoding layer are modified.

5. The method according to claim 1, characterized in that Performing feature fusion and bounding box detection on the image-like feature vector to obtain the target detection result of the point cloud data includes: Performing a first convolution feature extraction on the image-like feature vector to obtain a spatial feature; Performing a second convolution feature extraction on the spatial feature to obtain a semantic feature; Fusing the spatial feature and the semantic feature to obtain a fused feature; The position and category of the target bounding box are detected on the fused features to obtain a target detection result.

6. The method according to claim 5, characterized in that The spatial feature and the semantic feature are fused, including: Performing a first fusion of the spatial feature and the semantic feature to obtain a first fused feature; Generate an attention map of the semantic feature, and perform a second fusion on the attention map and the first fusion feature.

7. The method according to claim 1, characterized in that The step of performing feature fusion and bounding box detection on the class image feature vector is implemented through a detection network, and the detection network includes a backbone network for feature extraction, a fusion network for feature fusion, and an end network for bounding box detection.

8. A target detection device, characterized in that: include: An image-like feature vector acquisition module is used to extract voxel features of the point cloud data to be detected in response to receiving a target detection request, so as to obtain an image-like feature vector of the point cloud data; wherein the feature extraction coding layer used for the voxel feature extraction is determined by performing knowledge distillation using the point feature vector of the point cloud data; The detection result acquisition module is used to perform feature fusion and bounding box detection on the class image feature vector to obtain the target detection result of the point cloud data.

9. A mobile electronic device terminal, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Complex road boundary detection method and device based on point cloud voxel processing

    CN121564678A