Target detection method, device and electronic equipment

By extracting and mapping the top view and surround view features of lidar point cloud data, combined with sparse factors and rasterization processing, the problem of slow lidar target detection speed in the existing technology is solved, and fast and accurate detection results are achieved. It reduces the amount of calculation and has the capability of real-time calculation and engineering implementation.

CN112364775BActive Publication Date: 2024-10-29SUZHOU ZHITU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011259312.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-12
Publication Date
2024-10-29
Estimated Expiration
2040-11-12

AI Technical Summary

Technical Problem

Existing target detection methods based on lidar data require the fusion of multi-frame time-series point clouds. The data volume is large and the running speed is slow. It cannot achieve real-time calculations and lacks the feasibility of engineering implementation, especially when on-board computing power is limited.

Method used

By performing top view feature extraction and surround view feature extraction on lidar point cloud data, and combining the preset correspondence between top view and surround view, feature mapping and splicing are performed to obtain target detection results, and the sparse factor and rasterization processing are used to improve detection. Efficiency, avoiding 3D convolution operations.

Benefits of technology

It achieves fast and accurate target detection based on lidar point cloud data, reduces the amount of calculation, improves detection efficiency, has the feasibility of engineering implementation, and avoids the need for simultaneous deployment of cameras and lidar.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112364775B_ABST
    Figure CN112364775B_ABST
Patent Text Reader

Abstract

The present application provides a method, device and electronic device for target detection, wherein the method comprises: obtaining point cloud data to be detected; the point cloud data is obtained by scanning a vehicle-side laser radar; extracting top view features and surround view features from the point cloud data respectively to obtain top view features and surround view features; determining the mapping features of the surround view features on the top view based on the preset correspondence between the top view and the surround view; splicing the top view features and the mapping features to obtain the target detection result corresponding to the point cloud data to be detected. The present application can quickly and accurately detect targets based on laser radar point cloud data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of target detection, and in particular to a target detection method, device and electronic equipment. Background Art

[0002] 3D object detection is an important research topic in the field of autonomous driving. There are 3D object detection methods that are based on camera data alone, laser radar data alone, or both. In practical applications, the detection method based on both data requires synchronization of the camera and laser radar, which makes actual deployment difficult.

[0003] However, the existing target detection methods based on LiDAR data require the fusion of multiple frames of time-series point clouds, which results in large amounts of data and slow operation. In the case of limited on-board computing power, real-time computing cannot be achieved and is not feasible for engineering implementation. Summary of the invention

[0004] The purpose of this application is to provide a target detection method, device and electronic equipment that can quickly and accurately detect targets based on lidar point cloud data.

[0005] In a first aspect, an embodiment of the present application provides a target detection method, the method comprising: acquiring point cloud data to be detected; the point cloud data is obtained by scanning a vehicle-side laser radar; performing top view feature extraction and surround view feature extraction on the point cloud data respectively to obtain top view features and surround view features; based on a preset correspondence between the top view and the surround view, determining the mapping features of the surround view features on the top view; splicing the top view features and the mapping features to obtain a target detection result corresponding to the point cloud data to be detected.

[0006] Furthermore, the above-mentioned steps of respectively performing top view feature extraction and surround view feature extraction on the point cloud data to obtain top view features and surround view features include: respectively performing BEV encoding and RV encoding on the point cloud data to obtain top view point cloud data and surround view point cloud data; respectively performing rasterization processing on the top view point cloud data and surround view point cloud data to obtain raster point cloud data; inputting the raster point cloud data corresponding to the top view point cloud data and the surround view point cloud data into a preset point cloud feature extraction model to obtain top view features corresponding to the top view point cloud data and surround view features corresponding to the surround view point cloud data.

[0007] Furthermore, the above-mentioned step of inputting the grid point cloud data corresponding to the overhead view point cloud data into the preset point cloud feature extraction model to obtain the overhead view features corresponding to the overhead view point cloud data includes: for each grid in the overhead view point cloud data, the following steps are performed: the eigenvalue corresponding to each point in the grid is input into the preset point cloud feature extraction model to obtain the 64-dimensional features corresponding to the grid; wherein the eigenvalue corresponding to each point includes 11 features including the sparsity factor; and the 64-dimensional features corresponding to each grid are used as the overhead view features corresponding to the overhead view point cloud data.

[0008] Furthermore, the above sparse factor a is as follows:

[0009]

[0010] Among them, x, y, and z represent the three-dimensional coordinate values ​​of a point in a three-dimensional space coordinate system.

[0011] Furthermore, before the above-mentioned step of inputting the grid point cloud data corresponding to the surround view point cloud data into the preset point cloud feature extraction model to obtain the surround view features corresponding to the surround view point cloud data, it also includes: performing grid screening on the grid point cloud data corresponding to the surround view point cloud data to obtain 2D space grid point cloud data; using the 2D space grid point cloud data as new grid point cloud data, and continuing to execute the step of inputting the grid point cloud data corresponding to the surround view point cloud data into the preset point cloud feature extraction model to obtain the surround view features corresponding to the surround view point cloud data.

[0012] Furthermore, the grid point cloud data corresponding to the above-mentioned surround view point cloud data are characterized by angle, radius and height in a cylindrical coordinate system; the grid point cloud data corresponding to the surround view point cloud data are screened to obtain 2D space grid point cloud data, including: for each grid sequence with the same angle coordinate and height coordinate, screening out the target grid containing the largest number of point clouds; and forming 2D space grid point cloud data in a coordinate system with angle and height as horizontal and vertical coordinates by the screened target grids.

[0013] Furthermore, the correspondence between the top view and the surrounding view is pre-stored in a hash table; based on the preset correspondence between the top view and the surrounding view, the step of determining the mapping features of the surrounding view features on the top view includes: mapping the surrounding view features in the top view according to the correspondence between the top view and the surrounding view in the hash table, to obtain the mapping features of the surrounding view features on the top view.

[0014] In the second aspect, an embodiment of the present application also provides a target detection device, which includes: a data acquisition module, used to acquire point cloud data to be detected; the point cloud data is obtained by scanning a vehicle-side laser radar; a feature extraction module, used to perform top view feature extraction and surround view feature extraction on the point cloud data respectively, to obtain top view features and surround view features; a feature mapping module, used to determine the mapping features of the surround view features on the top view based on a preset correspondence between the top view and the surround view; a feature splicing module, used to splice the top view features and the mapping features to obtain a target detection result corresponding to the point cloud data to be detected.

[0015] In a third aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method described in the first aspect above.

[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method described in the first aspect above.

[0017] In the target detection method provided in the embodiment of the present application, the top view feature and the surround view feature are respectively extracted from the acquired point cloud data to obtain the top view feature and the surround view feature, and the surround view feature is mapped on the top view to obtain the mapping feature, and finally the top view feature and the mapping feature are spliced ​​to obtain the target detection result corresponding to the point cloud data to be detected. Since the point cloud under the surround view is denser and the feature extraction is convenient, the feature under the top view can better extract the spatial 3D coordinate information of the object. Therefore, in the embodiment of the present application, the combination of the feature under the top view and the feature under the surround view can better complete the laser radar 3D object detection task. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 A flow chart of a target detection method provided in an embodiment of the present application;

[0020] Figure 2 A flowchart of a method for extracting features from a top view provided in an embodiment of the present application;

[0021] Figure 3 A schematic diagram of a feature extraction process provided in an embodiment of the present application;

[0022] Figure 4 A flowchart of a method for extracting surround view features provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of a grid screening provided in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of a corresponding relationship provided in an embodiment of the present application;

[0025] Figure 7 A characteristic splicing schematic diagram provided for an embodiment of the present application;

[0026] Figure 8 A schematic diagram of the overall process framework of a target detection method provided in an embodiment of the present application;

[0027] Fig. 9 A structural block diagram of a target detection device provided in an embodiment of the present application;

[0028] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] The technical solution of the present application will be described clearly and completely below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0030] 3D object detection is an important research topic in the field of autonomous driving. There are 3D object detection methods that are based on camera data alone, laser radar data alone, or both. In practical applications, the detection method based on both data requires synchronization of the camera and laser radar, which makes actual deployment difficult.

[0031] In the existing technology of target detection based on lidar data, in order to achieve better detection effects, the algorithm needs to fuse multiple frames of time-series point clouds. The data volume is large and the running speed is slow. In the case of limited on-board computing power, real-time calculation cannot be achieved, and it is not feasible for engineering implementation.

[0032] Based on this, the embodiments of the present application provide a target detection method, device and electronic device that can quickly and accurately detect targets based on lidar point cloud data.

[0033] Figure 1 A flow chart of a target detection method provided in an embodiment of the present application. The method can be applied to various working scenarios equipped with a laser radar device, such as unmanned driving scenarios or conventional traffic scenarios. The target of target detection can be pedestrians, or vehicles, street lights and other objects. The target detection method specifically includes the following steps:

[0034] Step S102, obtaining the point cloud data to be detected; the point cloud data is obtained by scanning the vehicle-side laser radar.

[0035] In specific implementation, the point cloud data to be detected can be obtained by scanning through the vehicle-side laser radar.

[0036] Step S104 , performing top view feature extraction and surround view feature extraction on the point cloud data to obtain top view features and surround view features.

[0037] Two types of feature extraction are performed on the above point cloud data, one is the top view feature extraction, and the other is the surround view feature extraction. This requires first converting the point cloud data into top view point cloud data and surround view point cloud data, and then performing feature extraction through the preset point cloud feature extraction model, and finally obtaining the top view feature and surround view feature.

[0038] Step S106, determining mapping features of the surround view features on the top view based on a preset correspondence relationship between the top view and the surround view;

[0039] The correspondence between the above-mentioned top view and the surrounding view is pre-stored and can be stored in a hash table for subsequent rapid feature mapping. According to the correspondence between the top view and the surrounding view, the above-mentioned extracted surrounding view features can be mapped to the top view to obtain the mapping features of the surrounding view features on the top view.

[0040] Step S108, splicing the top view features and the mapping features to obtain the target detection result corresponding to the point cloud data to be detected.

[0041] The mapping features of the top view features and the surround view features on the top view are fused, that is, the feature splicing process, to obtain the final target detection result corresponding to the point cloud data to be detected.

[0042] In the target detection method provided in the embodiment of the present application, the top view feature and the surround view feature are respectively extracted from the acquired point cloud data to obtain the top view feature and the surround view feature, and the surround view feature is mapped on the top view to obtain the mapping feature, and finally the top view feature and the mapping feature are spliced ​​to obtain the target detection result corresponding to the point cloud data to be detected. Since the point cloud under the surround view is denser and the feature extraction is convenient, the feature under the top view can better extract the spatial 3D coordinate information of the object. Therefore, in the embodiment of the present application, the combination of the feature under the top view and the feature under the surround view can better complete the laser radar 3D object detection task.

[0043] In order to facilitate the understanding of the two feature extraction processes in the embodiments of the present application, the two feature extraction processes are described separately below:

[0044] (1) Extract the top view features of the point cloud data. The process of obtaining the top view features is as follows:

[0045] See also Figure 2 The flowchart of the feature extraction method shown in FIG. 1 specifically includes the following steps:

[0046] Step S202, performing BEV encoding on the point cloud data to obtain top view point cloud data;

[0047] Step S204, rasterizing the top view point cloud data to obtain raster point cloud data;

[0048] In the BEV view point cloud data, the grid size is 0.2*0.2, and the height is generally 4. For example, the point cloud range is:

[0049] x:[-40,40], y:[-70,70], z:[-1,3];

[0050] After rasterization, it becomes [400*700] grids, each of which contains a maximum of 100 pixels (usually less than 100 pixels).

[0051] Step S206, inputting the grid point cloud data corresponding to the top view point cloud data into a preset point cloud feature extraction model to obtain the top view features corresponding to the top view point cloud data.

[0052] Specifically, for each grid in the top view point cloud data, the following steps are performed:

[0053] The eigenvalue corresponding to each point in the grid is input into the preset point cloud feature extraction model to obtain the 64-dimensional features corresponding to the grid; among them, the eigenvalue corresponding to each point includes 11 features including the sparsity factor; the 64-dimensional features corresponding to each grid are used as the overhead view features corresponding to the overhead view point cloud data.

[0054] In the BEV view, the farther away from the radar center, the sparser the points are, and the closer to the radar center, the denser the points are. Different object surfaces will also cause inconsistent point cloud distribution. The subsequent 2D convolution has the characteristic of translation invariance, so the sparse factor is introduced in the embodiment of this application. The sparse factor a is as follows:

[0055]

[0056] Among them, x, y, and z represent the three-dimensional coordinate values ​​of a point in a three-dimensional space coordinate system.

[0057] In practical applications, each point in the grid has a pre-processed feature value, which can be a manually input feature. The feature values ​​corresponding to each point in the embodiment of the present application include the following 11: 1. Sparse factor; 2. Intensity, the reflectivity intensity corresponding to the point in the point cloud data; 3. x; 4. y; 5. z; 6. x-x_mean, which represents the current coordinate value x minus the average value of x in the current grid; 7. y-y_mean, which represents the current coordinate value y minus the average value of y in the current grid; 8. z-z_mean, which represents the current coordinate value z minus the average value of z in the current grid; 9. x relative to the coordinates within the grid; 10. y relative to the coordinates within the grid; 11. z relative to the coordinates within the grid.

[0058] The above 11 features corresponding to each point in a grid are input into the preset point cloud feature extraction model. Figure 3 The feature extraction process shown in the figure (the convolution process is not shown in the figure) obtains the 64-dimensional features corresponding to the grid, that is, the top view features corresponding to the view point cloud data. The specific feature extraction process includes a fully connected layer and maximum pooling processing, as well as a 2D convolution process, that is, the 64-dimensional features obtained after the maximum pooling are subjected to three 3*3 convolutions to become features of size 180*80*64.

[0059] (2) Extracting surround view features from point cloud data: The process of obtaining surround view features is as follows:

[0060] See also Figure 4 The flowchart of the feature extraction method shown in FIG. 1 specifically includes the following steps:

[0061] Step S402, performing RV encoding on the point cloud data to obtain surround view point cloud data;

[0062] Convert the spatial coordinates [x, y, z] into the cylindrical coordinate system [θ, l, r]. The conversion formula is as follows:

[0063]

[0064]

[0065] l=z.

[0066] Step S404, rasterizing the surround view point cloud data to obtain raster point cloud data;

[0067] Rasterize in the coordinate system of [θ,l,r], with each grid size [2°,0.05,0.2].

[0068] Assume that the point cloud space value range is:

[0069] θ:[0,360], l:[-1,3], r:[0,40]

[0070] After rasterization, it becomes [180*80*200] unit grids. During the rasterization process, the points in the grid are counted at the same time.

[0071] After obtaining the grid point cloud data corresponding to the surround view point cloud data, feature extraction can be performed directly based on the grid point cloud data. However, the rasterized grid is a grid in 3D space. In this case, if model feature extraction is performed directly, a 3D convolution process is required, resulting in a slower speed. Therefore, in order to speed up the feature extraction process and avoid 3D convolution operations, in the embodiment of the present application, after obtaining the grid point cloud data corresponding to the surround view point cloud data, step S406 is executed to perform grid screening on the grid point cloud data corresponding to the surround view point cloud data to obtain 2D space grid point cloud data.

[0072] The grid screening process is as follows:

[0073] The grid point cloud data corresponding to the surround view point cloud data is represented by the angle, radius and height in the cylindrical coordinate system; for each grid sequence with the same angle coordinate and height coordinate, the target grid containing the largest number of point clouds is screened out; the screened target grids are combined into 2D spatial grid point cloud data in a coordinate system with angle and height as horizontal and vertical coordinates.

[0074] Usually, there are many laser points concentrated on the surface of an object. In the same [θ, l] grid sequence, that is, in the grid sequence with different r, the target grid containing the largest number of point clouds is selected, and then based on the selected multiple target grids, 2D spatial grid point cloud data can be generated in a coordinate system with θ as the horizontal coordinate and l as the vertical coordinate, such as Figure 5 shown.

[0075] Step S408, inputting the 2D space grid point cloud data into a preset point cloud feature extraction model to obtain surround view features corresponding to the surround view point cloud data.

[0076] By inputting the 2D space grid point cloud data into the preset point cloud feature extraction model, the surrounding view feature can be obtained. The specific model feature extraction process can refer to the above-mentioned top view feature extraction process, which will not be repeated here.

[0077] The embodiment of the present application can speed up the feature extraction of the model, avoid the 3D convolution operation process, and greatly improve the target detection efficiency by converting the surround view point cloud data from 3D grid space to 2D grid space.

[0078] In order to quickly determine the mapping features of the ring view features on the top view, the embodiment of the present application pre-stores the correspondence between the top view and the ring view in a hash table, that is, the correspondence between the BEV view and the RV view is calculated at the beginning and represented by the hash table, so that the features of the RV view and the BEV view can be quickly matched later.

[0079] For example, to quickly calculate the intersection area of ​​a sector area and a rectangle: first approximate the sector area and take the four vertices of the sector area as the four vertices of the approximate quadrilateral. Assume a square area S and a sector area F, the corresponding relationship standard is:

[0080] S∩F=F, it is considered that the fan-shaped area corresponds to the square area.

[0081] S∩F=S, it is considered that the fan-shaped area corresponds to the square area.

[0082] If IoU>0.7, it is considered that the fan-shaped area corresponds to the square area.

[0083] Among them, IoU represents the ratio of the intersection area and the union area of ​​the two areas of area S and area F. If the three criteria that meet the above conditions are not found, the part with the largest IoU is taken as the square area.

[0084] In the embodiment of the present application, each grid of the BEV view is the square area S, and the grid in each small fan-shaped image in the RV view refers to the F area. The correspondence relationship refers to finding the grid in the RV view corresponding to the grid in the BEV view. The corresponding relationship diagram is shown in FIG. Figure 6 As shown, each grid in the RV view has a corresponding grid in BEV, and this correspondence is recorded to facilitate subsequent spatial feature mapping.

[0085] According to the correspondence between the top view and the annular view in the hash table, the annular view feature is mapped to the top view to obtain the mapping feature of the annular view feature on the top view.

[0086] According to the above steps, the corresponding feature space of the ring view feature on the top view, that is, the mapping feature, is obtained. In the above feature mapping process, if there are features that are not projected to the top view area, the feature values ​​not projected to the top view area are filled with 0. If there are multiple corresponding BEV feature area values, the average value of multiple features is calculated as input data.

[0087] After determining the mapping features of the surrounding view features on the top view, further perform the following steps: Figure 7 The splicing operation shown realizes the feature fusion process and obtains the final feature space, that is, the target detection result.

[0088] In the above-mentioned target detection process, the error loss calculation of the point cloud feature extraction model can also be performed through a preset loss function, and the preset loss function can be optimized through the gradient descent method. The loss function used in the embodiment of the present application can be a smoothL1 loss function.

[0089] The overall process framework of the target detection method provided in the embodiment of the present application is as follows Figure 8 As shown, the method of the embodiment of the present application includes the following advantages:

[0090] 1. The embodiment of the present application performs grid screening on the surround view point cloud data and converts it into a 2D grid space, thereby avoiding the 3D convolution commonly used in laser point cloud processing, greatly reducing the amount of computational effort in point cloud operations, and can be actually applied to a vehicle-side domain controller after subsequent model optimization.

[0091] 2. The embodiment of the present application does not use camera data for fusion, but directly uses lidar point cloud data for calculation. It does not require spatiotemporal alignment of the camera and lidar, and has a high feasibility for engineering implementation.

[0092] 3. In the process of extracting point cloud features from the BEV view, the embodiment of the present application adds point cloud sparse factor features, thereby improving the prediction accuracy of the final point cloud result.

[0093] 4. The embodiment of the present application makes full use of the features of the point cloud under the BEV view and the features of the point cloud under the RV view. The point cloud under the RV view is denser, which is convenient for feature extraction. The features under the BEV view can better extract the spatial 3D coordinate information of the object. Combining the features under the BEV view with the features under the RV view can better complete the laser radar 3D object detection task.

[0094] Based on the above method embodiment, the present application embodiment also provides a target detection device, see Fig. 9 As shown, the device comprises:

[0095] The data acquisition module 92 is used to acquire the point cloud data to be detected; the point cloud data is obtained by scanning the vehicle-side laser radar; the feature extraction module 94 is used to extract the top view features and the surround view features of the point cloud data respectively, and obtain the top view features and the surround view features; the feature mapping module 96 is used to determine the mapping features of the surround view features on the top view based on the preset correspondence between the top view and the surround view; the feature splicing module 98 is used to splice the top view features and the mapping features to obtain the target detection results corresponding to the point cloud data to be detected.

[0096] Furthermore, the feature extraction module 94 is also used to: perform BEV encoding and RV encoding on the point cloud data respectively to obtain overhead view point cloud data and surround view point cloud data; perform rasterization processing on the overhead view point cloud data and surround view point cloud data respectively to obtain raster point cloud data; input the raster point cloud data corresponding to the overhead view point cloud data and surround view point cloud data respectively into a preset point cloud feature extraction model to obtain overhead view features corresponding to the overhead view point cloud data and surround view features corresponding to the surround view point cloud data.

[0097] Furthermore, the feature extraction module 94 is also used to: for each grid in the overhead view point cloud data, perform the following steps: input the feature value corresponding to each point in the grid into the preset point cloud feature extraction model to obtain 64-dimensional features corresponding to the grid; wherein the feature value corresponding to each point includes 11 features including the sparsity factor; and use the 64-dimensional features corresponding to each grid as the overhead view features corresponding to the overhead view point cloud data.

[0098] Furthermore, the above sparse factor a is as follows:

[0099]

[0100] Among them, x, y, and z represent the three-dimensional coordinate values ​​of a point in a three-dimensional space coordinate system.

[0101] Furthermore, the feature extraction module 94 is also used to: perform grid screening on the grid point cloud data corresponding to the surround view point cloud data to obtain 2D space grid point cloud data; use the 2D space grid point cloud data as new grid point cloud data, and continue to input the grid point cloud data corresponding to the surround view point cloud data into a preset point cloud feature extraction model to obtain the surround view features corresponding to the surround view point cloud data.

[0102] Furthermore, the grid point cloud data corresponding to the above-mentioned surround view point cloud data are characterized by angle, radius and height in the cylindrical coordinate system; the above-mentioned feature extraction module 94 is also used to: for each grid sequence with the same angle coordinate and height coordinate, screen out the target grid containing the largest number of point clouds; and form 2D spatial grid point cloud data in a coordinate system with angle and height as horizontal and vertical coordinates by the screened target grids.

[0103] Furthermore, the correspondence between the top view and the surrounding view is pre-stored in a hash table; the feature mapping module 96 is also used to map the surrounding view features in the top view according to the correspondence between the top view and the surrounding view in the hash table to obtain the mapping features of the surrounding view features on the top view.

[0104] The target detection device provided in the embodiment of the present application has the same implementation principle and technical effects as those of the aforementioned target detection method embodiment. For the sake of brief description, for matters not mentioned in the embodiment of the target detection device, reference may be made to the corresponding contents in the aforementioned target detection method embodiment.

[0105] The present application also provides an electronic device, such as Fig.10 As shown, it is a schematic diagram of the structure of the electronic device, wherein the electronic device includes a processor 101 and a memory 100, the memory 100 stores computer executable instructions that can be executed by the processor 101, and the processor 101 executes the computer executable instructions to implement the above method.

[0106] exist Fig.10 In the illustrated embodiment, the electronic device further includes a bus 102 and a communication interface 103 , wherein the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .

[0107] Among them, the memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 102 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 102 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0108] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined and performed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor 101 reads the information in the memory and completes the steps of the method of the above embodiment in combination with its hardware.

[0109] An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above method. The specific implementation can be found in the aforementioned method embodiment, which will not be repeated here.

[0110] The computer program products of the target detection method, device and electronic device provided in the embodiments of the present application include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.

[0111] Unless otherwise specifically stated, the relative steps, numerical expressions and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present application.

[0112] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0113] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0114] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A target detection method, characterized in that: The method comprises: Obtaining point cloud data to be detected; the point cloud data is obtained by scanning by a vehicle-side laser radar; The point cloud data are respectively subjected to BEV encoding and RV encoding to obtain top view point cloud data and surround view point cloud data; the top view point cloud data and surround view point cloud data are respectively subjected to rasterization processing to obtain raster point cloud data; the raster point cloud data corresponding to the top view point cloud data and surround view point cloud data are respectively input into a preset point cloud feature extraction model to obtain top view features corresponding to the top view point cloud data and surround view features corresponding to the surround view point cloud data; According to the correspondence between the top view and the annular view in the hash table, the annular view feature is mapped into the top view to obtain the mapping feature of the annular view feature on the top view; splicing the top view feature and the mapping feature to obtain a target detection result corresponding to the point cloud data to be detected; The step of inputting the grid point cloud data corresponding to the overhead view point cloud data into a preset point cloud feature extraction model to obtain the overhead view features corresponding to the overhead view point cloud data comprises: for each grid in the overhead view point cloud data, the following steps are performed: inputting the feature value corresponding to each point in the grid into the preset point cloud feature extraction model to obtain the 64-dimensional features corresponding to the grid; wherein the feature value corresponding to each point includes 11 features including the sparse factor; using the 64-dimensional features corresponding to each of the grids as the overhead view features corresponding to the overhead view point cloud data; the sparse factor as follows: , ; Among them, x, y, and z represent the three-dimensional coordinate values ​​of a point in a three-dimensional space coordinate system.

2. The method according to claim 1, characterized in that Before the step of inputting the grid point cloud data corresponding to the surround view point cloud data into a preset point cloud feature extraction model to obtain surround view features corresponding to the surround view point cloud data, the method further includes: Performing grid screening on the grid point cloud data corresponding to the surround view point cloud data to obtain 2D space grid point cloud data; The 2D space grid point cloud data is used as new grid point cloud data, and the step of inputting the grid point cloud data corresponding to the surround view point cloud data into a preset point cloud feature extraction model to obtain the surround view features corresponding to the surround view point cloud data is continued.

3. The method according to claim 2, characterized in that The grid point cloud data corresponding to the surround view point cloud data are characterized by angle, radius and height in a cylindrical coordinate system; The step of screening the grid point cloud data corresponding to the surround view point cloud data to obtain 2D space grid point cloud data comprises: For each grid sequence with the same angle coordinates and height coordinates, select the target grid containing the largest number of point clouds; The selected target grids form 2D space grid point cloud data in a coordinate system with angle and height as horizontal and vertical coordinates.

4. A target detection device, characterized in that: The device comprises: A data acquisition module is used to acquire point cloud data to be detected; the point cloud data is obtained by scanning by a vehicle-side laser radar; A feature extraction module is used to perform BEV encoding and RV encoding on the point cloud data to obtain top view point cloud data and surround view point cloud data; perform rasterization processing on the top view point cloud data and surround view point cloud data to obtain raster point cloud data; input the raster point cloud data corresponding to the top view point cloud data and the surround view point cloud data into a preset point cloud feature extraction model to obtain top view features corresponding to the top view point cloud data and surround view features corresponding to the surround view point cloud data; A feature mapping module, used to map the surrounding view feature in the top view according to the correspondence between the top view and the surrounding view in the hash table, so as to obtain a mapping feature of the surrounding view feature on the top view; A feature splicing module, used for splicing the top view feature and the mapping feature to obtain the target detection result corresponding to the point cloud data to be detected; The feature extraction module is further used to perform the following steps for each grid in the overhead view point cloud data: input the feature value corresponding to each point in the grid into the preset point cloud feature extraction model to obtain the 64-dimensional feature corresponding to the grid; wherein the feature value corresponding to each point includes 11 features including the sparse factor; the 64-dimensional features corresponding to each of the grids are used as the overhead view features corresponding to the overhead view point cloud data; the sparse factor as follows: , ; Among them, x, y, and z represent the three-dimensional coordinate values ​​of a point in a three-dimensional space coordinate system.

5. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Map building method based on overlook splicing map and vehicle-mounted terminal

    CN110136058A

  • Parking space detection method for autonomous vehicle

    CN110766979A