Universal target detection method and device, unmanned vehicle and storage medium

By combining the universal target detection method of the preset point cloud perception model and the spatiotemporal pyramid network, the problem of low target detection accuracy in the existing technology is solved, and the effective detection and identification of targets outside the labeled categories in autonomous driving are achieved. Improved detection accuracy and speed.

CN118552928APending Publication Date: 2024-08-27NEOLIX TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410841383.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing automatic driving target detection methods can only detect objects within annotated categories, resulting in low detection accuracy in real business scenarios.

Method used

A general target detection method is adopted to obtain continuous frame point cloud data of the target scene. Based on the preset point cloud perception model and spatiotemporal pyramid network, the target set is sensed from the point cloud data, and the union is performed to determine the target in the target scene. , combines clustering and weighted averaging to generate generic target information.

Benefits of technology

It improves the accuracy of target detection in real business scenarios, can detect targets outside the whitelist, reduces training costs, and increases the speed of target recognition, making it suitable for industrial applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552928A
    Figure CN118552928A
Patent Text Reader

Abstract

The invention discloses a universal target detection method and device, an unmanned vehicle and a storage medium. The method comprises the steps of obtaining point cloud data of continuous frames of a target scene; based on a preset point cloud sensing model, sensing a first target set from the point cloud data, a target in the first target set including first target information; the point cloud data is converted into a BEV map, a second target set is sensed from the BEV map based on a space-time pyramid network, and targets in the second target set comprise second target information; and merging the first target set and the second target set, and determining a target in the target scene. Therefore, the advantages of different algorithms can be fully utilized, and the detection of a general target is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of autonomous driving technology, and specifically relates to a general target detection method and device, an unmanned vehicle, and a storage medium. Background Art

[0002] Determining the state of the surrounding environment is crucial in autonomous vehicles (AVs). Accurate state information can help motion planners make timely plans, thereby providing a safe and smooth user experience. Traditional methods of perceiving the environment mainly provide bounding box detection, which is mainly achieved in autonomous driving by 3D object detection based on camera data or LiDAR data or detection based on fusion methods, and then motion prediction of the detected objects is performed in the tracker. However, most existing object detections are whitelist-based, that is, they can only detect objects within the labeled category, resulting in low accuracy of motion prediction strategies based on this in open-set scenarios of real business.

[0003] The information disclosed in this background technology section is only intended to increase the understanding of the overall background of the application and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention

[0004] The purpose of the present application is to provide a general target detection method, which is used to solve the problem that existing target detection methods can only detect objects within a labeled category, resulting in low detection accuracy in real business scenarios.

[0005] To achieve the above objectives, the present application provides a general target detection method, the method comprising:

[0006] Obtain point cloud data of consecutive frames of the target scene;

[0007] Based on a preset point cloud perception model, perceive a first target set from the point cloud data, wherein the targets in the first target set include first target information;

[0008] Convert the point cloud data into a BEV graph, and perceive a second target set from the BEV graph based on a spatiotemporal pyramid network, wherein the targets in the second target set include second target information;

[0009] The first target set and the second target set are combined to determine the targets in the target scene.

[0010] In one embodiment, the point cloud data is converted into a BEV map, and based on a spatiotemporal pyramid network, a second target set is perceived from the BEV map, specifically including:

[0011] Based on a spatiotemporal pyramid network, a target unit is perceived from the BEV graph, wherein the target unit includes category information, motion prediction information, and state estimation information;

[0012] Clustering the target units to determine targets in the second target set;

[0013] Based on the category information, motion prediction information, and state estimation information of the target units clustered into the same target, second target information of the corresponding target is determined.

[0014] In one embodiment, the method further comprises:

[0015] Based on the outer bounding boxes of the target units clustered as the same target, a minimum rectangular outer bounding box of the corresponding target is generated;

[0016] and / or, clustering the target units using a K-means point cloud clustering algorithm;

[0017] And / or, weighted average is calculated for category information, motion prediction information, and state estimation information of target units clustered into the same target to determine second target information of the corresponding target.

[0018] In one embodiment, the first target set is a subset of the second target set;

[0019] The first target set and the second target set are combined to determine the target in the target scene, specifically including:

[0020] Matching the targets in the first target set and the second target set to obtain matching targets and non-matching targets;

[0021] Merging the first target information and the second target information corresponding to the matching target to determine the common target information of the matching target;

[0022] The second target information corresponding to the non-matching target is determined as the general target information of the non-matching target.

[0023] In one embodiment, the method further comprises:

[0024] Matching the target in the target scene with the tracked target in the previous frame to obtain a tracked target and / or a non-tracked target;

[0025] Calculate the speed information of the tracked target and / or the non-tracked target between the previous frame and the current frame, correct the predicted amount of general target information of the tracked target and / or the non-tracked target in the current frame, and obtain the corrected amount of general target information of the tracked target and / or the non-tracked target in the current frame.

[0026] In one embodiment, the spatiotemporal pyramid network includes a unit classification head, a motion prediction head and a state estimation head. The unit classification head is used to segment the target unit from the BEV graph and perceive the corresponding unit category information. The motion prediction head is used to predict the trajectory of the target unit. The state estimation head is used to estimate the current motion state of the target unit.

[0027] In one embodiment, converting the point cloud data into a BEV map specifically includes:

[0028] Converting the point cloud data into voxel data, wherein the voxel data indicates whether it is occupied or not in binary information;

[0029] The height information of the voxel data corresponds to the channel of the two-dimensional image, and the voxel data is converted into a BEV map.

[0030] The present application also provides an unmanned vehicle, comprising:

[0031] at least one processor; and

[0032] A memory storing instructions, which, when executed by the at least one processor, enable the at least one processor to perform the general target detection method as described above.

[0033] The present application also provides a machine-readable storage medium storing executable instructions, which, when executed, enable the machine to perform the general target detection method as described above.

[0034] Compared with the prior art, according to the general target detection method of the present application, a first target set is sensed from point cloud data through a preset point cloud perception model, and after converting the point cloud data into a BEV map, a second target set is sensed from the BEV map based on a spatiotemporal pyramid network, and finally the first target set and the second target set are combined to determine the target in the target scene. Since the preset point cloud perception model can select a variety of mature models to sense rich target information (first target information) from point cloud data, and the spatiotemporal pyramid network can sense targets outside the algorithm whitelist from point cloud data, the combination of the two can achieve general target detection while obtaining richer target information.

[0035] On the other hand, the part about the target motion in the general target information can be confirmed by the motion information of its corresponding outer box. In this way, when training the model, there is no need to separately annotate the point cloud motion in the data set, thereby reducing the training cost; at the same time, the rate of general target recognition is effectively improved, which is suitable for industrial applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1This is an application scenario diagram of a general target detection method according to an embodiment of the present application;

[0037] Figure 2 is a flow chart of a general target detection method according to an embodiment of the present application;

[0038] Figure 3 It is a network architecture diagram of a target pyramid network in a general target detection method according to an embodiment of the present application;

[0039] Figure 4 and Figure 5 is a schematic diagram of a scenario in which Hungarian matching is performed on a first target set and a second target set in a general target detection method according to an embodiment of the present application;

[0040] Figure 6 is a scene diagram comparing target data predicted from point cloud data and true value data in a general target detection method according to an embodiment of the present application;

[0041] Figure 7 A module diagram of a general object detection device according to an embodiment of the present application;

[0042] Figure 8 It is a hardware structure diagram of an unmanned vehicle according to an embodiment of the present application. DETAILED DESCRIPTION

[0043] The present application will be described in detail below in conjunction with the various embodiments shown in the accompanying drawings. However, these embodiments do not limit the present application, and any structural, methodological, or functional changes made by a person of ordinary skill in the art based on these embodiments are all within the scope of protection of the present application.

[0044] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0045] Before introducing the embodiments of the present application, the basic technologies and some technical terms involved in the embodiments of the present application are schematically explained:

[0046] Autonomous driving system: A system that implements different levels of autonomous driving functions of a vehicle, such as assisted driving system (L2), high-speed autonomous driving system that requires human supervision (L3), and highly / fully autonomous driving system (L4 / L5).

[0047] Intelligent Traffic System (ITS), also known as Intelligent Transportation System, effectively and comprehensively applies advanced science and technology (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operations research and artificial intelligence, etc.) to transportation, service control and vehicle manufacturing, strengthens the connection between vehicles, roads and users, and thus forms a comprehensive transportation system that ensures safety, improves efficiency, improves the environment and saves energy.

[0048] Intelligent Vehicle Infrastructure Cooperative Systems (IVICS), referred to as IVICS, is a development direction of intelligent transportation systems. IVICS uses advanced wireless communications and new generation Internet technologies to implement dynamic real-time information interaction between vehicles and between vehicles and roads in all directions, and conducts active vehicle safety control and road cooperative management based on the collection and integration of dynamic traffic information in all time and space, fully realizing the effective coordination of people, vehicles and roads, ensuring traffic safety, and improving traffic efficiency, thus forming a safe, efficient and environmentally friendly road traffic system.

[0049] Point cloud data refers to a set of vectors in a three-dimensional coordinate system. The set is recorded in the form of points, each of which contains three-dimensional coordinates and can carry other information about the properties of the point, such as color, reflectivity, intensity, etc. Point cloud data is usually obtained by laser scanners, cameras, 3D scanners and other devices, and can be used in applications such as 3D modeling, scene reconstruction, robot navigation, virtual reality and augmented reality.

[0050] The main characteristics of point cloud data are high-precision, high-resolution and high-dimensional geometric information, which can intuitively represent the shape, surface and texture of objects in space. The processing and analysis of point cloud data usually requires the use of computer vision and computer graphics techniques, such as point cloud filtering, registration, segmentation, reconstruction, recognition and classification.

[0051] Figure 1 FIG. 1 is an optional schematic diagram of the system architecture involved in the embodiment of the present application. Figure 1As shown, the laser radar collects point cloud data of the target scene, and the laser radar sends the collected point cloud data to the server. The server receives the point cloud data sent by the laser radar and further processes the point cloud data to segment the targets therein. The server can send the segmented targets to terminal devices, such as vehicle-mounted terminals and user terminals.

[0052] In the above architecture, the lidar can be installed on a roadside device or on a vehicle. The server can be a third-party server, such as the server of Neolix, which is used to detect and track targets in target scenes based on lidar data. The server can also be a vehicle-mounted device. For example, if an unmanned vehicle comes with a map, the vehicle-mounted device can detect and track targets in target scenes based on lidar data.

[0053] Continue to participate Figure 1 , in a specific scenario of applying the vehicle speed planning method of the present application, a server and a terminal device may be included. Among them, the terminal device may include a vehicle-mounted terminal and a user terminal. The vehicle-mounted terminal may include a driving computer or an on-board unit (On Board Unit, OBU), etc. The vehicle-mounted terminal may also be an application (application, APP) on the terminal, an APP on the smart rearview mirror, an APP or a small program on a mobile phone, etc., which are not limited here. The user terminal (user equipment, UE) can be a wireless terminal device or a wired terminal device. The wireless terminal device may refer to a device with a wireless transceiver function. The user terminal may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (Virtual Reality, VR) user device, an augmented reality (Augmented Reality, AR) user device, an intelligent voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, etc., which are not limited here.

[0054] The terminal communicates with the server through the network. The data storage system can store data that the server needs to process, and the data storage system can exist independently or be integrated on the server. The server obtains point cloud data of continuous frames of the target scene, and perceives a first target set from the point cloud data based on a preset point cloud perception algorithm, and after converting the point cloud data into a BEV map, perceives a second target set from the BEV map based on a spatiotemporal pyramid network, and finally combines the first target set and the second target set to determine the target in the target scene.

[0055] It can be understood that the above is just an example of a possible execution subject of the general target detection method of the present application, which is explained by way of example using a server. In more embodiments, the general target detection can also be directly performed by a terminal device with sufficient computing power, and the present application does not limit this. Moreover, regardless of the type of server / terminal device, the general target detection method provided in the embodiments of the present application can be adapted to the autonomous driving system of unmanned vehicles, including L2, L3, L4 and above autonomous driving systems.

[0056] At present, no particularly effective and efficient method has been proposed based on general target detection. Currently, the two-dimensional occupancy grid map (OGM) method or the three-dimensional occupancy grid (OCC) method is more commonly used. However. The OGM method cannot obtain the motion state of the detection target, and the OCC method has been delayed in being applied to industrial production environments due to problems such as huge annotation, storage and computing costs. Based on this, the present application hopes to provide a general target detection method that can integrate target detection results of different algorithms to achieve feasible general target detection.

[0057] Specific reference Figure 2 , introduces an embodiment of the general target detection method of the present application. In this embodiment, the method includes:

[0058] S11. Obtain point cloud data of consecutive frames of the target scene.

[0059] The point cloud data of continuous frames can be a collection of multi-frame point clouds obtained by periodic scanning of the laser radar within a set period. The general target detection provided by the embodiments of the present application can directly perform motion prediction and state estimation of the detection target based on the multi-frame point cloud. The target scene can be the coverage of the point cloud data scanned by the laser radar. For example, the laser radar is installed on an unmanned vehicle. When the unmanned vehicle is moving, the laser radar will pass through a certain range of space, and the space within the range is the target scene.

[0060] S12. Based on a preset point cloud perception model, perceive a first target set from the point cloud data.

[0061] In each embodiment of the present application, the preset point cloud perception model can adopt a variety of suitable point cloud segmentation models, such as PointNet, PointPillars, etc.

[0062] The architecture of PointNet consists of a connected classification network and a segmentation network. The classification network performs input transform and feature transform on the input point cloud, and then integrates the features together through maximum pooling; the segmentation network is an extension of the classification network, and the classification network and the segmentation network share most of the structure. In PointNet, the point cloud data is first processed by a multi-layer perceptron (MLP) to extract the local features of each point. The coordinates and other attributes of each point (such as color, normal vector, etc.) are input into an MLP, which is mapped to a new feature vector through multiple fully connected layers to extract high-level features. Then, the output of the MLP is input into a maximum pooling layer to aggregate the information of the entire point cloud data. The maximum pooling layer reduces the feature vector of each point to a global feature vector that is invariant to the entire point cloud data. Finally, the global feature vector is input into a classifier or segmenter to perform specific tasks, such as object classification, shape component segmentation, or scene semantic parsing. Symmetric functions are used to aggregate the information of all points and extract global features of point cloud data. In PointNet, the symmetric function takes the form of maxpooling, that is, for each feature dimension, the maximum value of that dimension among all points is selected as the value of that dimension of the global feature vector. In this way, the symmetric function can aggregate the information of all points and extract the global features of the point cloud data. The joint alignment network is used to align input points and point features. Specifically, PointNet includes two joint alignment networks, one for aligning input points and the other for aligning point features. For point alignment, PointNet uses a small network (T-net) to predict the affine transformation matrix and applies the transformation matrix directly to the coordinates of the input points.

[0063] PointPillars uses PointNet to encode point cloud data, organizes the point cloud data into a vertical columnar structure, and then uses a 2D convolutional neural network for detection. Its core architecture includes two key components: encoder and detector. The encoder uses PointNet to process the point cloud data to create a vertical columnar structure. Specifically, the encoder divides the point cloud data into vertical columnar voxels, each of which contains a certain number of points. Subsequently, PointNet is used to encode each columnar voxel to produce a fixed-length feature vector. These feature vectors are integrated into a matrix and used as the input of the detector. The detector uses a 2D convolutional neural network to detect the encoded point cloud data. Specifically, the detector uses the Single Shot Detector (SSD) architecture for object detection, obtains a series of anchor boxes, and then classifies and regresses each anchor box through a convolutional neural network to determine whether each box contains an object, and at the same time determine the position and size of the object.

[0064] In this embodiment, the targets in the first target set include first target information. Generally, based on this type of point cloud perception model, rich target information can be obtained, such as a rectangular bounding box, orientation, category, etc. It can be seen that the type of information included in the first target information can be different depending on the specific preset point cloud perception model adopted, and this application does not limit this.

[0065] S13. Convert the point cloud data into a BEV map, and perceive the second target set from the BEV map based on a spatiotemporal pyramid network.

[0066] The spatio-temporal pyramid network (STPN) is used to extract features along the spatial and temporal dimensions in a hierarchical manner. Figure 3 , The basic building block of the spatiotemporal pyramid network is the spatiotemporal convolution (STC) block. Each STC block consists of a standard 2D convolution followed by a degenerate 3D convolution to capture spatial and temporal features respectively. The kernel size of the 3D convolution is k×1×1, where k corresponds to the time dimension. The 3D convolution kernel convolves the time dimension to aggregate temporal information, and temporal pooling is used to pool the time dimension. These two processes complete the aggregation of temporal features. The subsequent two 2D convolutions can extract features at different scales, thereby providing multi-scale contextual information. Finally, deconvolution Deconv is used to fuse the multi-scale spatiotemporal information together to obtain a feature map of size 1×C×H×H.

[0067] It can be seen that only two-dimensional convolution and one-dimensional convolution (3D convolution) are used in the spatiotemporal pyramid network, which reduces the complexity of the model and improves efficiency. In order to match the feature extraction method of the spatiotemporal pyramid network, in this embodiment, the point cloud data is first converted into voxel data, and the height information of the voxel data corresponds to the channel of the two-dimensional image, and the voxel data is converted into a BEV map. During the conversion process, the voxel data indicates whether it is occupied with binary information, such as 0 / 1. After the point cloud data is converted into a 2D pseudo image through the BEV map, it actually supports standard 2D convolution calculations.

[0068] In this embodiment, the spatiotemporal pyramid network also includes three heads connected thereto: a unit classification head, a motion prediction head, and a state estimation head. The unit classification head is used to segment the target unit from the BEV graph and perceive the corresponding unit category information, the motion prediction head is used to predict the trajectory of the target unit, and the state estimation head is used to estimate the current motion state of the target unit.

[0069] The target unit here may correspond to an independent target or a part of an independent target. Compared with segmenting the BEV image with barriers and predicting the category information of each barrier unit separately, the unit classification head of this embodiment can perform segmentation on the BEV image more flexibly. In this embodiment, the target units segmented from the BEV image are clustered to determine the targets in the second target set. Through the flexible segmentation of the classification head + target unit clustering, the target can be perceived from the BEV image efficiently and accurately.

[0070] The target units can be clustered using a variety of appropriate point cloud clustering algorithms, such as K-means. The K-Means algorithm is a method for implementing unsupervised clustering to find the centroids of multiple fusion vectors. The basic idea is to iteratively find K clusters so that the loss function corresponding to the clustering result is minimized, and the definition of the loss function is mostly the sum of squared errors of the centroids of the clusters to which each sample distance (Euclidean distance) belongs (that is, the sum of squared errors of each fusion vector distance centroid is minimized).

[0071] The target obtained by clustering can be expressed in the form of a convex hull (polygon). In this embodiment, since the spatiotemporal pyramid network is followed by a unit classification head, a motion prediction head, and a state estimation head, the unit classification head can output the category information and outer box information of the target unit, the motion prediction head can output the motion prediction information of the target unit, and the state estimation head can output the state estimation information of the target unit, the second target information of the corresponding target can be determined based on the above information of the target units clustered as the same target.

[0072] In one embodiment, the category information, motion prediction information, and state estimation information of the target units clustered into the same target may be weighted and averaged to determine the second target information of the corresponding target.

[0073] For example, target O corresponds to target unit a [category 1, predicted position 1, motion state 1] and target unit b [category 1, predicted position 2, motion state 1]. The corresponding weights can be determined according to the size of the outer boxes of target unit a and target unit b. The larger the outer box area, the larger the corresponding weight. In this example, the predicted positions of target unit a and target unit b are different. Assuming that the weights corresponding to target unit a and target unit b are 3:2, the predicted position is determined as [0.6*predicted position 1+0.4*predicted position 2] after weighting. Of course, in other examples, the weights corresponding to different target units can also be preset to be equal, that is, the second target information is determined by averaging the category information, prediction information, and state estimation information of the target units clustered as the same target.

[0074] S14: Combine the first target set and the second target set to determine the target in the target scene.

[0075] The union of the first target set and the second target set can integrate the advantages of different target detection algorithms. On the one hand, the selection of a suitable preset point cloud perception model can perceive targets with richer information from point cloud data; on the other hand, general target detection based on the spatiotemporal pyramid network can serve as a supplement to target detection outside the whitelist of the preset point cloud perception model.

[0076] Usually, the first target set is a subset of the second target set. The specific merging process includes: firstly matching the targets in the first target set and the second target set to obtain matching targets and non-matching targets; then merging the first target information and the second target information corresponding to the matching targets to determine the common target information of the matching targets; and determining the second target information corresponding to the non-matching targets as the common target information of the non-matching targets.

[0077] For example, if the first target set is [O1, O2] and the second target set is [O1, O2, O3, O4], then the matching targets of the first and second target sets are O1 and O2, and the non-matching targets are O3 and O4. Non-matching targets can be targets outside the preset point cloud perception model whitelist, such as a person in a wheelchair, or missed detection.

[0078] For matching targets O1 and O2, the first target information that can be included in the first target set is: rectangular bounding box, orientation, and category; the second target information that can be included in the second target set is: polygonal bounding box, motion prediction, state estimation, and category. After union, the common target information of the matching targets can include: rectangular bounding box, orientation, category, polygonal bounding box, motion prediction, and state estimation.

[0079] For non-matching targets O3 and O4, since the corresponding first target information cannot be obtained in the first target set, after the union, the general target information of the non-matching targets may include: polygonal outer bounding box, motion prediction, and state estimation. For non-matching targets, the embodiment of the present application also proposes that the corresponding minimum rectangular outer bounding box can be generated based on its polygonal outer bounding box, so that after the final union, the general target information of the non-matching targets may include: rectangular outer bounding box, motion prediction, and state estimation.

[0080] In this embodiment, Hungarian matching (Hungarian Algorithm) can be performed on the targets in the first target set and the second target set. Figure 4 , suppose that Hungarian matching is performed on the first target set O1[a11, a12, a13, ...] and the second target set O2[a21, a22, a23, a24, ...]. The line between the first target set and the second target set indicates that the probability of belonging to the same target is relatively high. For example, a21 is connected to a11 and a13, indicating that the probability of a21 belonging to the same target as a11 and a13 is relatively high. Therefore, a21 is connected to a11 and a13 respectively.

[0081] With reference Figure 5 In the specific matching process: first, a11 is matched and it is found that it can be connected to a21, so a11 and a21 can be paired; then, a12 is matched and it is found that it can be connected to a22, so a12 and a22 can be paired; then, a13 is matched, but since a21 and a22 connected to a13 have been successfully paired, a13 has no pairing target, so a11 is reallocated and a22 is paired with a11; at the same time, since a22 and a12 have been paired, a12 is reallocated, a23 is assigned to a12, a22 is assigned to a11, and a21 is assigned to a13. And so on, until there is no target that can continue to be paired in the two target sets, the matching ends.

[0082] During the matching process, the basis for connecting the lines may be that the similarity between the corresponding targets is greater than a set threshold, etc., and this application does not impose any restrictions on this.

[0083] In the embodiment of the present application, after determining the target in the target scene, the target in the target scene can also be matched with the tracking target of the previous frame to obtain the tracked target and / or the non-tracked target. Similarly, the matching here can also adopt the Hungarian matching method. If a target in the target scene can be matched with the tracking target of the previous frame, it means that the target appears continuously in these two frames; otherwise, it means that the target in the target scene is a new target in this frame.

[0084] For tracked targets and / or non-tracked targets, in this embodiment, their speed information between the previous frame and the current frame is further calculated, and the general target information prediction amount in the previous frame is corrected to obtain the general target information correction amount of the tracked target in the current frame.

[0085] In some embodiments, non-tracked targets may not actually have speed information / motion state information before the current frame, and speed information / motion state information of some tracked targets before the current frame may not be stored due to system settings or human preferences. In such cases, the initial general target information of these targets in the previous frame can also be assigned by random initialization, for example, set to: X. In this way, the motion state can be predicted based on X to obtain the general target information prediction amount of these targets in the current frame.

[0086] Specifically, assuming that the initial general target information of a target is an optimal estimate of its true initial general target information, then its state covariance matrix can be expressed as:

[0087] S = state_uncertain*eye(4)

[0088] With p representing position and v representing velocity, the state covariance matrix includes Σ pp ,Σ pv ,Σ vp ,Σ vv The uncertainty between the four states. Similarly, the state covariance matrix can also be randomly initialized.

[0089] Considering the influence of external factors on the target, it can also be assumed that the system error caused by the influence obeys a Gaussian distribution with a mean of 0, and the process excitation noise covariance Q is initialized.

[0090] Based on the above settings, the first state transfer matrix and the state control matrix are used to predict the initial general target information of the target, and the general target information prediction amount in the current frame is obtained, which is expressed as:

[0091] X(t)=A*X(t-1)+B*u(t)+Gaussian distribution mean (set to 0)

[0092] Among them, A is the first state transfer matrix, B is the state control matrix, and u(t) is the state control vector. The state control matrix B represents how acceleration and deceleration change the state of the target, and the state control vector u(t) represents the magnitude and direction of the control force. Substituting the initial general target information X of the above target into X(t-1), the general target information prediction of the target in the current frame can be obtained.

[0093] In order to use the general target information of the target in the current frame to correct the general target information prediction amount, the first state transfer matrix and the process excitation noise covariance matrix can also be used in the above prediction process to predict the initial state covariance matrix of the target to obtain the covariance prediction matrix of the target in the current frame, which is expressed as:

[0094] S(t)=A*S(t-1)*A'+Q.

[0095] Substituting the initial state covariance matrix S of the above target into S(t-1), the covariance prediction matrix of the current frame can be obtained. Assume that there should be a specific relationship between the predicted amount of general target information of the target in the current frame and the real general target information, and use the second state transfer matrix H to describe this relationship. At the same time, due to the interference of some environmental noise, there must be a difference between the general target information of the target in the current frame and the real general target information; it can be assumed that the observation noise is a Gaussian distribution with a mean of 0 and a covariance matrix (i.e., measurement noise matrix) of R, that is,

[0096] R=meas_uncertain*[1,0;0,1].

[0097] Correspondingly, the Kalman gain can be expressed as:

[0098] K = S*H'*inv(H*S*H'+R).

[0099] The general target information correction of the target in the current frame can be expressed as:

[0100] X'=X+K*(input-H*X)

[0101] Among them, input represents the general target information of the target in the current frame, and input-H*X represents the error between the general target information of the target in the current frame and the predicted amount of the general target information. It can be seen that the Kalman gain can be regarded as a correction weight at this time. The whole correction process is to eliminate the interference of various noises on the current real motion state of the target, which is also a filtering process.

[0102] In some embodiments, the above filtering process can be continuously iterated, and X and the state covariance are first predicted based on the filtering result X of the previous frame and the input input; then the general target information and the state covariance are corrected and updated based on the input; after multiple iterations of correction and update, more accurate general target information of the target can be obtained. Of course, the above filtering can also be omitted for the general target information, or other suitable filtering methods can be used, and this application does not limit this.

[0103] It can be seen that in the general target detection process of the above embodiment of the present application, the part of the general target information about the target movement can be confirmed by the movement information of the outer box. In this way, when training the model, there is no need to separately annotate the point cloud movement in the data set, thereby reducing the training cost. At the same time, the rate of general target recognition is effectively improved, which is suitable for industrial application. Figure 6 It can be seen that by applying the general target detection method of the embodiment of the present application, a better prediction of the target can be made based on the laser radar point cloud data.

[0104] Ginseng Figure 7 , an embodiment of the general target detection device of the present application is introduced. In this embodiment, the general target detection device includes an acquisition module 21, a first perception module 22, a second perception module 23 and a target determination module 24.

[0105] An acquisition module 21 is used to acquire point cloud data of continuous frames of a target scene; a first perception module 22 is used to perceive a first target set from the point cloud data based on a preset point cloud perception algorithm, wherein the targets in the first target set include first target information; a second perception module 23 is used to convert the point cloud data into a BEV graph, and perceive a second target set from the BEV graph based on a spatiotemporal pyramid network, wherein the targets in the second target set include second target information; a target determination module 24 is used to union the first target set and the second target set to determine the targets in the target scene.

[0106] In one embodiment, the second perception module 23 is used to perceive target units from the BEV graph based on a spatiotemporal pyramid network, wherein the target units include category information, motion prediction information, and state estimation information; cluster the target units to determine the targets in the second target set; and determine the second target information of the corresponding target based on the category information, motion prediction information, and state estimation information of the target units clustered as the same target.

[0107] In one embodiment, the second perception module 23 is used to generate a minimum rectangular bounding box of the corresponding target based on the bounding boxes of target units that are clustered as the same target.

[0108] In one embodiment, the second perception module 23 is used to cluster the target units using a K-means point cloud clustering algorithm.

[0109] In one embodiment, the second perception module 23 is used to perform weighted averaging on the category information, motion prediction information, and state estimation information of the target units clustered into the same target to determine the second target information of the corresponding target.

[0110] In one embodiment, the first target set is a subset of the second target set; the target determination module 24 is used to match the targets in the first target set and the second target set to obtain matching targets and non-matching targets; merge the first target information and the second target information corresponding to the matching targets to determine them as the general target information of the matching targets; and determine the second target information corresponding to the non-matching targets as the general target information of the non-matching targets.

[0111] In one embodiment, it also includes a tracking module 25, which is used to match the target in the target scene with the tracking target of the previous frame to obtain the tracked target and / or the non-tracked target; calculate the speed information of the tracked target and / or the non-tracked target between the previous frame and the current frame, correct the predicted amount of general target information of the tracked target and / or the non-tracked target in the current frame, and obtain the corrected amount of general target information of the tracked target and / or the non-tracked target in the current frame.

[0112] In one embodiment, the spatiotemporal pyramid network includes a unit classification head, a motion prediction head and a state estimation head. The unit classification head is used to segment the target unit from the BEV graph and perceive the corresponding unit category information. The motion prediction head is used to predict the trajectory of the target unit. The state estimation head is used to estimate the current motion state of the target unit.

[0113] In one embodiment, the second perception module 23 is used to convert the point cloud data into voxel data, wherein the voxel data indicates whether it is occupied using binary information; and the height information of the voxel data corresponds to the channel of the two-dimensional image, and the voxel data is converted into a BEV map.

[0114] As above Figures 1 to 6 , a general target detection method according to an embodiment of this specification is described. The details mentioned in the above description of the method embodiment are also applicable to the general target detection device of the embodiment of this specification. The above general target detection device can be implemented by hardware, or by software, or by a combination of hardware and software.

[0115] Figure 8 FIG. 1 shows a hardware structure diagram of an unmanned vehicle according to an embodiment of the present specification. Figure 8As shown, the unmanned vehicle 30 may include at least one processor 31, a memory 32 (e.g., a non-volatile memory), a memory 33, and a communication interface 34, and the at least one processor 31, the memory 32, the memory 33, and the communication interface 34 are connected together via an internal bus 35. At least one processor 31 executes at least one computer-readable instruction stored or encoded in the memory 32.

[0116] It should be understood that the computer executable instructions stored in the memory 32, when executed, cause at least one processor 31 to perform the above combined operations in various embodiments of the present specification. Figures 1 to 6 Describes the various operations and functions.

[0117] In the embodiments of the present specification, the unmanned vehicle 30 can be configured with a functional terminal to carry the above-mentioned hardware structure, and the terminal may include but is not limited to: a personal computer, a server computer, a workstation, a desktop computer, a laptop computer, a notebook computer, a mobile electronic device, a smart phone, a tablet computer, a cellular phone, a personal digital assistant (PDA), a handheld device, a messaging device, a wearable electronic device, a consumer electronic device, and the like.

[0118] According to one embodiment, a program product such as a machine-readable medium is provided. The machine-readable medium may have instructions (i.e., the above-mentioned elements implemented in the form of software), which, when executed by a machine, causes the machine to perform the above-mentioned combination of various embodiments of this specification. Figure 1-Figure 6 Specifically, a system or device equipped with a readable storage medium may be provided, on which a software program code implementing the functions of any of the above-mentioned embodiments is stored, and a computer or processor of the system or device reads and executes the instructions stored in the readable storage medium.

[0119] In this case, the program code itself read from the machine-readable medium can realize the function of any one of the above embodiments, and thus the machine-readable code and the machine-readable storage medium storing the machine-readable code constitute part of this specification.

[0120] Examples of readable storage media include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD-RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer or a cloud via a communication network.

[0121] Those skilled in the art should understand that the various embodiments disclosed above can be modified and altered in various ways without departing from the essence of the invention. Therefore, the protection scope of this specification should be defined by the appended claims.

[0122] It should be noted that not all steps and units in the above-mentioned processes and system structure diagrams are necessary, and some steps or units can be ignored according to actual needs. The execution order of each step is not fixed and can be determined as needed. The device structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some units may be implemented by the same physical client, or some units may be implemented by multiple physical clients, or some components in multiple independent devices may be implemented together.

[0123] In the above embodiments, the hardware unit or module can be realized by mechanical or electrical means. For example, a hardware unit, module or processor can include permanent dedicated circuit or logic (such as special processor, FPGA or ASIC) to complete the corresponding operation. The hardware unit or processor can also include programmable logic or circuit (such as general-purpose processor or other programmable processor), which can be temporarily set by software to complete the corresponding operation. Specific implementation (mechanical method or dedicated permanent circuit or temporary circuit) can be determined based on cost and time consideration.

[0124] The specific embodiments described above in conjunction with the accompanying drawings describe exemplary embodiments, but do not represent all embodiments that can be implemented or fall within the scope of protection of the claims. The term "exemplary" used throughout this specification means "used as an example, instance or illustration" and does not mean "preferred" or "having advantages" over other embodiments. For the purpose of providing an understanding of the described technology, the specific embodiments include specific details. However, these technologies can be implemented without these specific details. In some instances, in order to avoid making the concepts of the described embodiments difficult to understand, well-known structures and devices are shown in block diagram form.

[0125] The above description of the present disclosure is provided to enable any person of ordinary skill in the art to implement or use the present disclosure. Various modifications to the present disclosure will be apparent to those of ordinary skill in the art, and the general principles corresponding to the present disclosure may be applied to other variations without departing from the scope of protection of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but is consistent with the widest range of principles and novel features disclosed herein.

Claims

1. A general object detection method, It is characterized in that The method comprises: Obtain point cloud data of consecutive frames of the target scene; Based on a preset point cloud perception model, perceive a first target set from the point cloud data, wherein the targets in the first target set include first target information; Convert the point cloud data into a BEV graph, and perceive a second target set from the BEV graph based on a spatiotemporal pyramid network, wherein the targets in the second target set include second target information; The first target set and the second target set are combined to determine the targets in the target scene.

2. The general target detection method according to claim 1, It is characterized in that The point cloud data is converted into a BEV map, and based on a spatiotemporal pyramid network, a second target set is perceived from the BEV map, specifically including: Based on a spatiotemporal pyramid network, a target unit is perceived from the BEV graph, wherein the target unit includes category information, motion prediction information, and state estimation information; Clustering the target units to determine targets in the second target set; Based on the category information, motion prediction information, and state estimation information of the target units clustered into the same target, second target information of the corresponding target is determined.

3. The general target detection method according to claim 2, It is characterized in that The method further comprises: Based on the outer bounding boxes of the target units clustered as the same target, a minimum rectangular outer bounding box of the corresponding target is generated; and / or, clustering the target units using a K-means point cloud clustering algorithm; And / or, weighted average is calculated for category information, motion prediction information, and state estimation information of target units clustered into the same target to determine second target information of the corresponding target.

4. The general target detection method according to claim 1, It is characterized in that The first target set is a subset of the second target set; The first target set and the second target set are combined to determine the target in the target scene, specifically including: Matching the targets in the first target set and the second target set to obtain matching targets and non-matching targets; Merging the first target information and the second target information corresponding to the matching target to determine the common target information of the matching target; The second target information corresponding to the non-matching target is determined as the general target information of the non-matching target.

5. The general target detection method according to claim 4, It is characterized in that The method further comprises: Matching the target in the target scene with the tracked target in the previous frame to obtain a tracked target and / or a non-tracked target; Calculate the speed information of the tracked target and / or the non-tracked target between the previous frame and the current frame, correct the predicted amount of general target information of the tracked target and / or the non-tracked target in the current frame, and obtain the corrected amount of general target information of the tracked target and / or the non-tracked target in the current frame.

6. The general target detection method according to claim 1, It is characterized in that The spatiotemporal pyramid network includes a unit classification head, a motion prediction head and a state estimation head. The unit classification head is used to segment the target unit from the BEV image and perceive the corresponding category information. The motion prediction head is used to predict the trajectory of the target unit. The state estimation head is used to estimate the current motion state of the target unit.

7. The general target detection method according to claim 1, It is characterized in that The point cloud data is converted into a BEV map, specifically including: Converting the point cloud data into voxel data, wherein the voxel data indicates whether it is occupied or not in binary information; The height information of the voxel data corresponds to the channel of the two-dimensional image, and the voxel data is converted into a BEV map.

8. A general target detection device, It is characterized in that include: An acquisition module is used to acquire point cloud data of continuous frames of the target scene; A first perception module, configured to perceive a first target set from the point cloud data based on a preset point cloud perception algorithm, wherein the targets in the first target set include first target information; A second perception module is used to convert the point cloud data into a BEV map, and perceive a second target set from the BEV map based on a spatiotemporal pyramid network, wherein the targets in the second target set include second target information; The target determination module is used to combine the first target set and the second target set to determine the target in the target scene.

9. An unmanned vehicle, It is characterized in that include: at least one processor; as well as A memory storing instructions, which, when executed by the at least one processor, enables the at least one processor to perform the general target detection method according to any one of claims 1 to 7.

10. A machine-readable storage medium storing executable instructions, It is characterized in that When the instructions are executed, the machine performs the general object detection method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Multi-mode BEV look-around perception method, device and equipment and storage medium

    CN117392625A