Target detection tracking method, system and equipment based on laser point cloud and medium

By adopting a real-time object detection and tracking method based on laser point cloud in unmanned driving systems, using fast European clustering and Kalman filtering algorithms, the challenge of real-time object detection and tracking on low-performance computing devices is solved, achieving efficient target tracking effects and reducing costs.

CN119559220AActive Publication Date: 2025-03-04HEFEI JIMU XINGYUAN TECH CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202411606749.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-03-04
Estimated Expiration
2044-11-11

AI Technical Summary

Technical Problem

In the field of unmanned driving, the target tracking method based on deep learning detectors requires high performance computing equipment, which leads to high cost. How to achieve real-time target detection and tracking on low-performance computing devices has become a challenge.

Method used

The real-time object detection and tracking method based on laser point cloud is adopted, and the initial point cloud data is obtained through the lidar reception of digital signals, preprocessing and fast European clustering, the detection target list is obtained, and the target trajectory is estimated using the Kalman filtering algorithm.

Benefits of technology

Implementing tracking effects comparable to those in high-performance computing environments on low-cost and low-performance computing devices reduces equipment costs and avoids performance waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119559220A_ABST
    Figure CN119559220A_ABST
Patent Text Reader

Abstract

The invention discloses a laser-point-cloud-based target detection tracking method, system and device and a medium, and the method comprises the following steps: obtaining initial point cloud data through a digital signal received by a laser radar, carrying out the preprocessing of the initial point cloud data, obtaining first point cloud data, carrying out the quick European clustering of the first point cloud data, and obtaining a second point cloud data; and clustering point cloud data are obtained, a detection target list is obtained according to the clustering point cloud data, correlation matching is performed on an existing track and the detection target, and a Kalman filtering algorithm is utilized to estimate the target track. In a low-speed unmanned driving scene, the target tracking effect is ensured, and meanwhile, the requirement of an algorithm on computing equipment is reduced, so that the equipment cost of low-speed unmanned driving is reduced, and'performance waste 'is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of low-speed unmanned driving target perception technology, and in particular to a target detection and tracking method, system, equipment and medium based on laser point cloud. Background Art

[0002] Object tracking technology was first applied in the field of computer vision to track objects that appear continuously in a single video. With the development of laser point cloud technology, object tracking technology has gradually been applied to point cloud objects. According to the number of objects being tracked, object tracking can be divided into single object tracking (SOT) and multiple object tracking (MOT). In the field of unmanned driving, more attention is paid to multiple object tracking technology.

[0003] There are two paradigms for multi-target tracking: the tracking-by-detection (TBD) paradigm and the joint-detection-and-tracking (JDT) paradigm. The TBD paradigm, as the name implies, refers to tracking by target detection. It first uses the target detection algorithm to detect the position and size of all targets in each frame of data; then connects the detection results of different frames through data management. The core idea of ​​the JDT paradigm is to achieve target detection and tracking simultaneously under a unified framework. It is an end-to-end trainable target tracking paradigm. Compared with the JDT paradigm, the TBD paradigm is more classic and commonly used in the field of unmanned driving.

[0004] Currently, in the common unmanned driving framework, the target tracking method based on laser point cloud mostly uses deep learning detectors (such as PointPillars, CenterPoint, etc.). Deep learning detectors can better consider the target category. However, the use of deep learning detectors brings another problem, that is, the increased requirements for computing devices. Deep learning detectors often require expensive, high-performance computing devices with GPUs to achieve quasi-real time. From the perspective of cost control, how to achieve real-time target detection and tracking on low-performance computing devices is undoubtedly a major challenge for unmanned vehicle manufacturers.

[0005] The disclosure of the above background technology content is only used to assist in understanding the inventive concept and technical solution of the present invention. It does not necessarily belong to the prior art of this patent application, nor does it necessarily provide technical guidance. In the absence of clear evidence that the above content has been disclosed before the filing date of this patent application, the above background technology should not be used to evaluate the novelty and creativity of the present application. Summary of the invention

[0006] The purpose of the present invention is to provide a target detection and tracking method, so that the algorithm can achieve a tracking effect equivalent to that in a high-performance computing environment under low-cost and low-performance computing equipment.

[0007] To achieve the above object, the technical solution adopted by the present invention is as follows:

[0008] A real-time target detection and tracking method based on laser point cloud, comprising:

[0009] Acquire initial point cloud data through digital signals received by the laser radar;

[0010] Preprocessing the initial point cloud data to obtain first point cloud data;

[0011] Applying fast Euclidean clustering to the first point cloud data to obtain clustered point cloud data;

[0012] Acquire a detection target list according to the clustered point cloud data;

[0013] Associating and matching the existing trajectory with the detection target;

[0014] The Kalman filter algorithm is used to estimate the target trajectory.

[0015] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions,

[0016] The fast Euclidean clustering further comprises the following steps:

[0017] Constructing a balanced binary tree for the first point cloud data to speed up the search;

[0018] Create a labels data group and a removed data group that are consistent with the size of the first point cloud data;

[0019] Create an empty adjacency list G;

[0020] Traversing all points in the first point cloud data, merging the label numbers of the points according to the adjacency table G, assigning the same label number information to the points with connected label numbers in the adjacency table G, and outputting the label number array of the first point cloud data;

[0021] The clustered point cloud data is obtained according to the label number array.

[0022] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the traversing all points in the point cloud data includes:

[0023] If the value of the removed data group corresponding to the current point p is true, the current point p has been processed and is skipped;

[0024] Create a new label label p , label p Add to the adjacency list G;

[0025] Take the current point p as the center and r as the radius to perform a radius search to obtain a list of points adjacent to p; loop through the list of adjacent points and extract point q: when the label number of point q is label q The label number label that is valid and not equal to the point p p When creating label in the adjacency table G q With label p connection relationship; set the label number of the point q to label p , and set the removed value of the point q to true.

[0026] Further, based on any one of the above technical solutions or a combination of multiple technical solutions, the method further includes: using a directional envelope box to describe the detection target;

[0027] The existing trajectory and the detected target are associated and matched through the weighted bipartite graph optimal matching algorithm.

[0028] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the method of associating and matching the existing trajectory with the detection target by using the weighted bipartite graph optimal matching algorithm specifically includes:

[0029] All detected targets in the latest frame of the current trajectory are defined as a set U, and the set size is m;

[0030] Define the current detection target as a set V, the set size is n;

[0031] The similarity between the set U targets and the set V targets is calculated based on the weighted information of the center point, direction, and OBB intersection ratio to form a similarity matrix M. m×n ;

[0032] According to the similarity matrix M m×n Find the optimal target assignment in the set U and the protected set V, the unassigned targets in the set U are regarded as disappeared targets, and the unassigned targets in the set V are regarded as newly added targets.

[0033] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the preprocessing of the initial point cloud data to obtain the first point cloud data comprises:

[0034] Performing voxel filtering on the initial point cloud data, and filtering the initial point cloud data using the voxel filtering; and / or,

[0035] The point cloud data after the voxel filtering is subjected to ground filtering processing, thereby obtaining first point cloud data.

[0036] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, ground filtering is performed on the point cloud data after the voxel filtering, specifically including:

[0037] Dividing the point cloud data after the voxel filtering into 0.1m×0.1m grids on the xy plane, and independently performing height estimation on each grid, wherein the height estimation includes a maximum height and a minimum height;

[0038] Assume that the ideal ground height is h0, and filter out the grids that meet the following two conditions as ground:

[0039] The maximum and minimum heights of the grid are both within the range [h0-Δ1,h0+Δ1];

[0040] The difference between the maximum height and the minimum height of the grid is less than Δ2.

[0041] Among them, h0 is the ideal ground height, Δ1 is the height difference threshold, and Δ2 is the maximum and minimum height difference threshold of the grid.

[0042] Further, based on any one of the above-mentioned technical solutions or a combination of multiple technical solutions, the method of estimating the target trajectory by using the Kalman filter algorithm includes:

[0043] According to the optimal state estimation of the target at the previous moment and combined with the state transfer equation of the system, the state at the current moment is predicted.

[0044] Further, based on any one of the above technical solutions or a combination of multiple technical solutions, the method of estimating the target trajectory by using the Kalman filter algorithm further includes:

[0045] According to the estimation of the position and speed of the target at time k-1, combined with the state transfer equation Predict the state at the current time k;

[0046] in, is the estimated state at time k-1, is the state at the current time k, u k-1 is the external input, A and B are the coefficient matrices of the shape equation.

[0047] Further, based on any one of the above technical solutions or a combination of multiple technical solutions, the method of estimating the target trajectory by using the Kalman filter algorithm further includes:

[0048] Predict the error covariance matrix at the current time k;

[0049] The error covariance matrix equation is

[0050] in, is the prediction error covariance matrix at the current time k, P k-1 is the error covariance matrix at time k-1, Q is the noise of the prediction model, A T is the transposed matrix of A.

[0051] Further, based on any one of the above technical solutions or a combination of multiple technical solutions, the method of estimating the target trajectory by using the Kalman filter algorithm further includes:

[0052] According to the error covariance matrix of the prediction results The Kalman gain is calculated by the error covariance matrix R of the observation results. The calculation formula is:

[0053] The observation results and prediction results are weighted and summed according to the Kalman gain to obtain the optimal state estimate at the current time k, and the calculation formula is:

[0054] Among them, K k is the Kalman gain, H is the observation matrix, H T is the transposed matrix of H, z k is the target observation result.

[0055] Further, based on any one of the above technical solutions or a combination of multiple technical solutions, the method of estimating the target trajectory by using the Kalman filter algorithm further includes:

[0056] Update the error covariance matrix P at the current time k k , and its calculation formula is

[0057] According to another aspect of the present invention, the present invention provides a real-time target detection and tracking system based on laser point cloud, comprising the following modules:

[0058] A point cloud data acquisition module, used to acquire initial point cloud data through digital signals received by the laser radar;

[0059] A preprocessing module preprocesses the initial point cloud data to obtain first point cloud data;

[0060] Clustering module, used to perform fast Euclidean clustering on the ground filtered point cloud data to obtain clustered point cloud data

[0061] A detection target list acquisition module, used to acquire a detection target list according to the clustered point cloud data;

[0062] A matching module, which associates and matches the existing trajectory with the detection target;

[0063] The target trajectory acquisition module uses the Kalman filter algorithm to estimate the target trajectory.

[0064] According to another aspect of the present invention, the present invention provides an electronic device, comprising:

[0065] Memory, used to store computer programs;

[0066] The processor is used to execute the steps of any one of the above-mentioned real-time target detection and tracking methods based on laser point cloud when executing the computer program stored in the memory.

[0067] According to another aspect of the present invention, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the above-mentioned real-time target detection and tracking methods based on laser point cloud are performed.

[0068] The beneficial effects brought by the technical solution provided by the present invention are as follows:

[0069] a. Use the Fast Euclidean Cluster (FEC) method as the target tracking detection, replacing the deep learning detector as the target tracking detection, while achieving the tracking effect and reducing "performance waste";

[0070] b. Fast Euclidean clustering, combined with voxel filtering, ground filtering and other point cloud preprocessing techniques to reduce the amount of data, reduce the amount of point cloud data in the target detection process, and make improvements from the data level to achieve real-time target tracking, so that the algorithm can achieve the same tracking effect as in a high-performance computing environment under low-cost and low-performance computing equipment. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0072] Figure 1 A schematic diagram of a target detection and tracking method provided for an exemplary embodiment of the present invention;

[0073] Figure 2 A schematic diagram of a target detection and tracking system provided for an exemplary embodiment of the present invention;

[0074] Figure 3 A flow chart of fast Euclidean clustering provided for an exemplary embodiment of the present invention;

[0075] Figure 4 A schematic diagram of an electronic device is provided for an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0076] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0077] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0078] The flow chart used in this application shows the operation implemented according to some embodiments of the application. It should be understood that the operation of the flow chart can be implemented out of order, and the steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flow chart under the guidance of the content of this application, and can also remove one or more operations from the flow chart.

[0079] The embodiments described herein are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0080] In one embodiment of the present invention, a real-time target detection and tracking method based on laser point cloud is provided. Figure 1 As shown, the following steps are included:

[0081] Step 1: Obtain initial point cloud data through the digital signal received by the laser radar;

[0082] Step 2: preprocessing the initial point cloud data to obtain first point cloud data;

[0083] Step 3: Apply fast Euclidean clustering to the first point cloud data to obtain clustered point cloud data;

[0084] Step 4: Obtain a detection target list according to the clustered point cloud data;

[0085] Step 5: Associating and matching the existing trajectory with the detection target;

[0086] Step 6: Use the Kalman filter algorithm to estimate the target trajectory.

[0087] The present invention uses the Fast Euclidean Cluster (FEC) method as the target tracking detection method, replacing the mainstream deep learning detector as the target tracking detection. In the low-speed unmanned driving scenario, it not only ensures the target tracking effect, but also reduces the algorithm's requirements for computing equipment, thereby reducing the equipment cost of low-speed unmanned driving and avoiding "performance waste".

[0088] In one embodiment of the present invention, the fast Euclidean clustering step in step 3 is as follows: Figure 3 As shown:

[0089] Step 31: Construct a KD tree from the point cloud data to speed up the search;

[0090] Step 32: Create labels data group and removed data group with the same size as the point cloud data;

[0091] Step 33: Create an empty adjacency list G;

[0092] Step 34: Traverse all points in the point cloud data;

[0093] Step 35: merging the label numbers of the points according to the adjacency list G, assigning the same label number information to the points connected by label numbers in the adjacency list G, and outputting the label number array of the first point cloud data;

[0094] Step 36: Obtain clustered point cloud data according to the label number array, wherein the nearest neighbor query algorithm based on KD-Tree is an important preprocessing method to accelerate the Euclidean clustering algorithm. The fast Euclidean clustering process is as follows: Figure 2shown.

[0095] In one embodiment of the present invention, step 34 is specifically as follows: if the value of the removed data group corresponding to the current point p is true, the current point p has been processed, and then the process is skipped;

[0096] Create a new label label p , label p Add to the adjacency list G;

[0097] Take the current point p as the center and r as the radius to perform a radius search to obtain a list of points adjacent to p; loop through the list of adjacent points and extract point q: when the label number of point q is label q The label number label that is valid and not equal to the point p p When creating label in the adjacency table G q With label p connection relationship; set the label number of the point q to label p , and set the removed value of the point q to true.

[0098] In one embodiment of the present invention, step 4 uses a directional envelope box to describe the detection target.

[0099] In one embodiment of the present invention, step 5 performs association matching between the existing trajectory and the detection target through a weighted bipartite graph optimal matching algorithm.

[0100] In one embodiment of the present invention, the existing trajectory and the detection target are associated and matched by using a weighted bipartite graph optimal matching algorithm, specifically including:

[0101] All detected targets in the latest frame of the current trajectory are defined as a set U, and the set size is m;

[0102] Define the current detection target as a set V, the set size is n;

[0103] The similarity between the set U targets and the set V targets is calculated based on the weighted information of the center point, direction, and OBB intersection ratio to form a similarity matrix M. m×n ;

[0104] According to the similarity matrix M m×n Find the optimal target assignment in the set U and the protected set V, the unassigned targets in the set U are regarded as disappeared targets, and the unassigned targets in the set V are regarded as newly added targets.

[0105] In one embodiment of the present invention, step 2 preprocesses the initial point cloud data, specifically including: performing voxel filtering on the initial point cloud data, filtering the initial point cloud data using the voxel filtering; and / or,

[0106] The point cloud data after the voxel filtering is subjected to ground filtering processing, thereby obtaining first point cloud data.

[0107] The initial point cloud data has the following problems: (1) point cloud data density is irregular and needs to be smoothed; (2) outliers caused by occlusion and other problems need to be removed; (3) a large amount of data needs to be downsampled; (4) noise data needs to be removed. The present invention uses point cloud preprocessing technologies such as voxel filtering and ground filtering to reduce the amount of point cloud data in the target detection process, and makes improvements from the data level to achieve real-time target tracking.

[0108] In addition, target detection is more important for the perception of structures, moving objects, and people above the road surface. A large number of ground points will affect the subsequent clustering. Therefore, it is preferred to filter out the ground points. Ground point filtering is used to filter out ground points, thereby reducing the interference of ground points on target detection.

[0109] Furthermore, voxel filtering is used to filter the point cloud, and the voxel size is set to 0.01m. Then ground filtering is performed, and the point cloud data is divided into 0.1m×0.1m grids on the xy plane. The height of each grid is estimated independently. The height estimation includes the maximum height and the minimum height. The ideal ground height is set to h0. The grids that meet the following two conditions are removed as ground filters. The maximum height and minimum height of the grid are both in the range of [h0-Δ1,h0+Δ1], and the difference between the maximum height and the minimum height of the grid is less than Δ2, where h0 is the ideal ground height, Δ1 is the height difference threshold, and Δ2 is the maximum height and minimum height difference threshold of the grid.

[0110] In one embodiment of the present invention, step 6 includes: Step 61: Based on the estimated position and speed of the target at time k-1, combined with the state transfer equation Predict the state at the current time k; where, is the estimated state at time k-1, is the state at the current time k, u k-1 is the external input, A and B are the shape equation coefficient matrices; Step 62: predict the error covariance matrix at the current time k to represent the uncertainty of the prediction; the error covariance matrix equation is in, is the prediction error covariance matrix at the current time k, P k-1 is the error covariance matrix at time k-1, Q is the noise of the prediction model, A T is the transposed matrix of A;

[0111] Step 63: Based on the error covariance matrix P of the prediction result k - The Kalman gain is calculated by the error covariance matrix R of the observation results. The calculation formula is:

[0112] The observation results and prediction results are weighted and summed according to the Kalman gain to obtain the optimal state estimate at the current time k, and the calculation formula is: Among them, K k is the Kalman gain, H is the observation matrix, H T is the transposed matrix of H, z k is the target observation result.

[0113] Step 64: Update the error covariance matrix P at the current time k k , and its calculation formula is

[0114] In one embodiment of the present invention, a real-time target detection and tracking system based on laser point cloud is provided. Figure 2 As shown, including:

[0115] A point cloud data acquisition module, used to acquire initial point cloud data through digital signals received by the laser radar;

[0116] A preprocessing module preprocesses the initial point cloud data to obtain first point cloud data;

[0117] Clustering module, used to perform fast Euclidean clustering on the ground filtered point cloud data to obtain clustered point cloud data

[0118] A detection target list acquisition module, used to acquire a detection target list according to the clustered point cloud data;

[0119] A matching module, which associates and matches the existing trajectory with the detection target;

[0120] The target trajectory acquisition module uses the Kalman filter algorithm to estimate the target trajectory.

[0121] In one embodiment of the present invention, an electronic device is provided, such as Figure 4 As shown, the electronic device includes:

[0122] At least one processor 401, and a memory 402 connected to the at least one processor 401. The specific connection medium between the processor 401 and the memory 402 is not limited in the embodiment of the present application. Figure 4 In the example, the processor 401 and the memory 402 are connected via the bus 400. The bus 400 is Figure 4The connection between other components is shown by bold lines, and is not intended to be limiting. The bus 400 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 401 can also be called a controller, and there is no limitation on the name. In one embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned network intrusion detection method is implemented.

[0123] In the embodiment of the present application, the memory 402 stores instructions that can be executed by at least one processor 401. The at least one processor 401 can execute the network intrusion detection method described above by executing the instructions stored in the memory 402. The processor 401 can implement Figure 4 The functions of each module in the device shown.

[0124] Among them, the processor 401 is the control center of the device, and can use various interfaces and lines to connect various parts of the entire control device. By running or executing instructions stored in the memory 402 and calling data stored in the memory 402, the various functions of the device and processing data, the device can be monitored as a whole. In a possible design, the processor 401 may include one or more processing units, and the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 401. In some embodiments, the processor 401 and the memory 402 can be implemented on the same chip, and in some embodiments, they can also be implemented separately on independent chips.

[0125] Processor 401 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the network intrusion detection method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0126] The memory 402 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 402 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 402 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 402 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0127] By programming the processor 401, the code corresponding to the network intrusion detection method in the above-mentioned embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 1 The steps of the network intrusion detection method of the embodiment shown are as follows: How to design and program the processor 401 is a technology well known to those skilled in the art and will not be described in detail here.

[0128] In one embodiment of the present invention, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the above-mentioned real-time target detection and tracking methods based on laser point cloud are performed.

[0129] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0130] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A real-time target detection and tracking method based on laser point cloud, characterized in that: The following steps are involved: Acquire initial point cloud data through digital signals received by the laser radar; Preprocessing the initial point cloud data to obtain first point cloud data; Applying fast Euclidean clustering to the first point cloud data to obtain clustered point cloud data; Acquire a detection target list according to the clustered point cloud data; Associating and matching the existing trajectory with the detection target; The Kalman filter algorithm is used to estimate the target trajectory.

2. The real-time target detection and tracking method based on laser point cloud according to claim 1 is characterized in that: The fast Euclidean clustering further comprises the following steps: Constructing a balanced binary tree for the first point cloud data to speed up the search; Create a labels data group and a removed data group that are consistent with the size of the first point cloud data; Create an empty adjacency list G; Traversing all points in the first point cloud data, merging the label numbers of the points according to the adjacency table G, assigning the same label number information to the points with connected label numbers in the adjacency table G, and outputting the label number array of the first point cloud data; The clustered point cloud data is obtained according to the label number array.

3. The real-time target detection and tracking method based on laser point cloud according to claim 2 is characterized in that: The traversal of all points in the point cloud data includes: If the value of the removed data group corresponding to the current point p is true, the current point p has been processed and is skipped; Create a new label label p , label p Add to the adjacency list G; Take the current point p as the center and r as the radius to perform a radius search to obtain a list of points adjacent to p; loop through the list of adjacent points and extract point q: when the label number of point q is label q The label number label that is valid and not equal to the point p p When creating label in the adjacency table G q With label p connection relationship; set the label number of the point q to label p , and set the removed value of the point q to true.

4. The real-time target detection and tracking method based on laser point cloud according to claim 1, characterized in that: Also includes: Using a directional envelope box to describe the detection target; The existing trajectory and the detected target are associated and matched through the weighted bipartite graph optimal matching algorithm.

5. The real-time target detection and tracking method based on laser point cloud according to claim 4 is characterized in that: The method of associating and matching the existing trajectory with the detection target by using the weighted bipartite graph optimal matching algorithm specifically includes: All detected targets in the latest frame of the current trajectory are defined as a set U, and the set size is m; Define the current detection target as a set V, the set size is n; The similarity between the set U targets and the set V targets is calculated based on the weighted information of the center point, direction, and OBB intersection ratio to form a similarity matrix M. m×n ; According to the similarity matrix M m×n Find the optimal target assignment in the set U and the protected set V, the unassigned targets in the set U are regarded as disappeared targets, and the unassigned targets in the set V are regarded as newly added targets.

6. The real-time target detection and tracking method based on laser point cloud according to any one of claims 1 to 5, characterized in that: The preprocessing of the initial point cloud data to obtain the first point cloud data comprises: Performing voxel filtering on the initial point cloud data, and filtering the initial point cloud data using the voxel filtering; and / or, The point cloud data after the voxel filtering is subjected to ground filtering processing, thereby obtaining first point cloud data.

7. The real-time target detection and tracking method based on laser point cloud according to claim 6 is characterized in that: The point cloud data after the voxel filtering is subjected to ground filtering processing, specifically comprising: Dividing the point cloud data after the voxel filtering into 0.1m×0.1m grids on the xy plane, and independently performing height estimation on each grid, wherein the height estimation includes a maximum height and a minimum height; Assume that the ideal ground height is h0, and filter out the grids that meet the following two conditions as ground: The maximum and minimum heights of the grid are both within the range [h0-Δ1,h0+Δ1]; The difference between the maximum height and the minimum height of the grid is less than Δ2. Among them, h0 is the ideal ground height, Δ1 is the height difference threshold, and Δ2 is the maximum and minimum height difference threshold of the grid.

8. The real-time target detection and tracking method based on laser point cloud according to claim 1, characterized in that: The method of estimating the target trajectory by using the Kalman filter algorithm includes: According to the optimal state estimation of the target at the previous moment and combined with the state transfer equation of the system, the state at the current moment is predicted.

9. The real-time target detection and tracking method based on laser point cloud according to claim 8, characterized in that: The method of estimating the target trajectory by using the Kalman filter algorithm also includes: According to the estimation of the position and speed of the target at time k-1, combined with the state transfer equation Predict the state at the current time k; in, is the estimated state at time k-1, is the state at the current time k, u k-1 is the external input, A and B are the coefficient matrices of the shape equation.

10. The real-time target detection and tracking method based on laser point cloud according to claim 8 or 9, characterized in that: The method of estimating the target trajectory by using the Kalman filter algorithm also includes: Predict the error covariance matrix at the current time k; The error covariance matrix equation is in, is the prediction error covariance matrix at the current time k, P k-1 is the error covariance matrix at time k-1, Q is the noise of the prediction model, A T is the transposed matrix of A.

11. The real-time target detection and tracking method based on laser point cloud according to claim 10, characterized in that: The method of estimating the target trajectory by using the Kalman filter algorithm also includes: According to the error covariance matrix of the prediction results The Kalman gain is calculated by the error covariance matrix R of the observation results. The calculation formula is: The observation results and prediction results are weighted and summed according to the Kalman gain to obtain the optimal state estimate at the current time k, and the calculation formula is: Among them, K k is the Kalman gain, H is the observation matrix, H T is the transposed matrix of H, z k is the target observation result.

12. The real-time target detection and tracking method based on laser point cloud according to claim 10, characterized in that: The method of estimating the target trajectory by using the Kalman filter algorithm also includes: Update the error covariance matrix P at the current time k k , and its calculation formula is 13. A real-time target detection and tracking system based on laser point cloud, characterized in that: include: A point cloud data acquisition module, used to acquire initial point cloud data through digital signals received by the laser radar; A preprocessing module preprocesses the initial point cloud data to obtain first point cloud data; Clustering module, used to perform fast Euclidean clustering on the ground filtered point cloud data to obtain clustered point cloud data A detection target list acquisition module, used to acquire a detection target list according to the clustered point cloud data; A matching module, which associates and matches the existing trajectory with the detection target; The target trajectory acquisition module uses the Kalman filter algorithm to estimate the target trajectory.

14. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the steps of the method according to any one of claims 1 to 12 when executing the computer program stored in the memory.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are performed.

Citation Information

Patent Citations

  • Disjoint-view object matching method based on corrected weighted bipartite graph

    CN104065932A

  • Water surface target detection and tracking method based on laser radar

    CN110275153A

  • 3D human skeleton recognition and extraction method based on depth camera point cloud data

    CN111681274A

  • Mine-based point cloud data preprocessing method

    CN111738945A

  • Multi-strategy rail transit obstacle recognition method based on laser radar

    CN113569915A