A target recognition method based on adaptive clustering of minimum bounding rectangle

By using the minimum circumscribed rectangle adaptive clustering method in radar data processing to construct a target rectangular frame, the problems of inaccurate clustering results and poor stability of the DBSCAN algorithm are solved, and the accuracy of target recognition is improved.

CN118628779BActive Publication Date: 2024-10-15ZHEJIANG SUPCON INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411081294.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-15
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

The existing density-based clustering algorithm DBSCAN suffers from excessive denoising or excessive clustering in radar data processing, resulting in inaccurate clustering results, heavy dependence on parameter selection, and poor stability.

Method used

The adaptive clustering method based on the minimum circumscribed rectangle is used to construct the target rectangular frame by determining the minimum circumscribed rectangle and the target rotation angle, and cluster the point cloud data to improve the accuracy of target recognition.

Benefits of technology

By determining the minimum circumscribed rectangle and the target rotation angle to construct the target rectangular frame, the accurate clustering and identification of point cloud data in the target area is achieved, the accuracy of target recognition is improved, and the dependence on parameter selection is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628779B_ABST
    Figure CN118628779B_ABST
Patent Text Reader

Abstract

The present application provides a target recognition method based on minimum bounding rectangle adaptive clustering, which relates to the technical field of radar data processing. The method comprises: obtaining a point cloud set of a preset area range collected by a radar device at a preset traffic intersection within a preset time period, segmenting the preset area range to obtain a plurality of area segments, determining the target point cloud data of each area segment according to the position of each area segment in the plurality of area segments and the point cloud set, and determining the point cloud distribution information of each point cloud in each area segment, determining the minimum bounding rectangle of the target area range in each area segment and the corresponding target rotation angle based on the point cloud distribution information of each point cloud in each area segment, constructing a target rectangular frame of the target area range under the target rotation angle, clustering the point cloud data in the target rectangular frame to obtain a cluster cluster of the target rectangular frame, performing target recognition on the cluster cluster, and improving the accuracy of target recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of radar data processing technology, and in particular to a target recognition method based on minimum circumscribed rectangle adaptive clustering. Background Art

[0002] With the rise of smart intersections, traffic millimeter-wave radar detectors are becoming increasingly important. Traffic millimeter-wave radar detectors can detect and identify moving targets in traffic around the clock, and have the advantages of low cost and strong robustness. Clustering plays an important role in radar data processing, among which density-based clustering algorithm (Density-Based Spatial Clustering of Applications with Noise, DBSCAN) is one of the most commonly used methods. However, the DBSCAN clustering algorithm is heavily dependent on the selection of parameters, and the effect stability is poor. When the data points have unique spatial distribution characteristics, the clustering algorithm often has over-denoising or over-clustering, resulting in inaccurate clustering results. Summary of the invention

[0003] The purpose of the present invention is to provide a target recognition method based on minimum bounding rectangle adaptive clustering to address the deficiencies in the above-mentioned prior art, so that a target rectangular frame can be constructed by determining the minimum bounding rectangle and the target rotation angle of the minimum bounding rectangle, and the point cloud data of the target rectangular frame within the target area can be accurately clustered, and then the clustered clusters can be used for target recognition, thereby improving the accuracy of target recognition.

[0004] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for target recognition based on minimum bounding rectangle adaptive clustering, comprising:

[0006] Obtaining a point cloud set within a preset time period within a preset area range collected by a radar device at a preset traffic intersection;

[0007] Segmenting the preset area range to obtain a plurality of area segments;

[0008] Determine target point cloud data of each area segment according to the position of each area segment in the plurality of area segments and the point cloud set;

[0009] Determining point cloud distribution information of each point cloud in each area segment according to the target point cloud data of each area segment;

[0010] Based on the point cloud distribution information of each point cloud in each area segment, determining the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle;

[0011] According to the minimum circumscribed rectangle of the target area and the target rotation angle, construct a target rectangular frame of the target area under the target rotation angle;

[0012] Clustering the point cloud data within the target rectangular frame to obtain a cluster of the target rectangular frame;

[0013] Target recognition is performed on the clusters.

[0014] In an optional implementation manner, the preset area range is segmented to obtain a plurality of area segments, including:

[0015] The preset area range is segmented according to the distance between each position point within the preset area range and the radar device in a preset direction to obtain the multiple area segments.

[0016] In an optional implementation, determining the target point cloud data of each area segment according to the position of each area segment in the plurality of area segments and the point cloud set includes:

[0017] Determining, from the point cloud set, a sub-point cloud set corresponding to each area segment according to the position of each area segment;

[0018] According to the preset number of merged frames corresponding to each area segment, merging the point cloud data of the preset number of merged frames on the sub-point cloud set corresponding to each area segment to obtain merged point cloud data of each area segment;

[0019] Abnormal point cloud data in the merged point cloud data of each area segment is filtered to obtain target point cloud data of each area segment.

[0020] In an optional implementation, before filtering the abnormal point cloud data in the merged point cloud data of each area segment to obtain the target point cloud data of each area segment, the method further includes:

[0021] According to a preset speed interval, determining abnormal movement point cloud data from the merged point cloud data of each area segment;

[0022] Determine the point cloud local density of each point cloud in the merged point cloud data of each area segment;

[0023] According to the point cloud local density of each point cloud and a preset point cloud local density threshold, noise point cloud data is determined from the merged point cloud data of each area segment, and the abnormal point cloud data includes: the abnormal movement point cloud data and the noise point cloud data.

[0024] In an optional embodiment, determining the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle based on the point cloud distribution information of each point cloud in each area segment includes:

[0025] Sorting the point clouds based on point cloud distribution information of the point clouds in each area segment;

[0026] Traversing the sorted point cloud, and constructing a plurality of first rectangular frames centered on the traversed point cloud, wherein the plurality of first rectangular frames are rectangular frames with sizes of a plurality of rotation angles in a first range;

[0027] Determine a first target rectangular frame from the plurality of first rectangular frames;

[0028] If the first target rectangular box satisfies a first preset point cloud constraint condition, a range corresponding to the first target rectangular box is determined to be the target area range, and a first minimum enclosing rectangle and a first target rotation angle of the first minimum enclosing rectangle are calculated based on the point cloud of the first target rectangular box.

[0029] In an optional implementation, if the first target rectangular box satisfies the first preset point cloud constraint condition, before determining that the range corresponding to the first target rectangular box is the target area range, the method further includes:

[0030] Based on the speed information of each point cloud in the first target rectangular frame, the speed difference with the traversed point cloud, and the preset speed error interval, the point cloud in the first target rectangular frame whose speed difference is not in the preset speed error interval is filtered out to obtain the filtered point cloud of the first target rectangular frame;

[0031] Determine whether the number of the filtered point clouds of the first target rectangular frame exceeds a first point cloud number threshold;

[0032] If the number of the filtered point clouds of the first target rectangular frame does not exceed the first point cloud number threshold, it is determined that the first preset point cloud constraint condition is satisfied;

[0033] If the number of the filtered point clouds of the first target rectangular frame exceeds the first point cloud number threshold, it is determined that the first preset point cloud constraint condition is not satisfied.

[0034] In an optional embodiment, the determining of the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle based on the point cloud distribution information of each point cloud in each area segment further includes:

[0035] If the first target rectangular frame does not satisfy the first preset point cloud constraint condition, reconstructing a second target rectangular frame of a second range centered on the traversed point cloud based on the first target rotation angle; the second range is larger than the first range;

[0036] If the second target rectangular box satisfies the second preset point cloud constraint condition, determining the range corresponding to the second target rectangular box as the target area range, and computing a second minimum enclosing rectangle and a second target rotation angle of the second minimum enclosing rectangle based on the point cloud within the second target rectangular box;

[0037] If the second target rectangular box does not satisfy the second preset point cloud constraint condition, based on the second target rotation angle, continue to reconstruct a third target rectangular box of a third range centered on the traversed point cloud, determine that the range corresponding to the third target rectangular box is the target area range, and based on the point cloud computing third minimum enclosing rectangle of the third target rectangular box and the third target rotation angle of the third minimum enclosing rectangle, the third range is larger than the second range.

[0038] In an optional implementation, the point cloud computing first minimum bounding rectangle based on the first target rectangular frame and the first target rotation angle of the first minimum bounding rectangle include:

[0039] Based on the point cloud of the first target rectangular box, generating a point cloud convex hull corresponding to the first target rectangular box;

[0040] Based on the point cloud convex hull, the first minimum circumscribed rectangle and the first target rotation angle are calculated.

[0041] In an optional implementation, the performing target identification on the clusters includes:

[0042] Sorting the plurality of clusters, and determining a target cluster from the sorted plurality of clusters;

[0043] Based on a first target size of the target cluster, construct an outer expansion rectangular frame of the target cluster whose size is larger than the first target size;

[0044] Based on the second target size of the other clusters, construct a range rectangular frame of the other clusters with a size equal to the second target size;

[0045] Target recognition is performed according to the positions and point cloud velocities within the outer expansion rectangular frame of the target cluster and the range rectangular frames of the other clusters.

[0046] In an optional implementation, the target recognition is performed according to the position and speed of the point cloud within the outer expansion rectangular frame of the target cluster and the range rectangular frames of the other clusters, including:

[0047] According to the positions of the outer expansion rectangular frame of the target cluster and the range rectangular frames of the other clusters, determining whether the outer expansion rectangular frame of the target cluster and the range rectangular frames of the other clusters have an intersection;

[0048] If there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular box of the other clusters exceeds the preset proportional area of ​​the range rectangular box, or exceeds the preset proportional area of ​​the outer expansion rectangular box, then the point cloud in the target cluster is determined to be a noise point cloud and is filtered out;

[0049] If there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular box of the other clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box, and the speed difference between the point cloud speeds of the target cluster and the other clusters is less than or equal to the preset speed error, then it is determined that the target cluster and the other clusters are the same target class;

[0050] If there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular box of the other clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box, and the speed difference between the point cloud speeds of the target cluster and the other clusters is greater than the preset speed error, it is determined that the target cluster and the other clusters are not the same target class;

[0051] If there is no intersection, it is determined that the target cluster and the other clusters are not the same target class.

[0052] In a second aspect, the embodiment of the present application further provides a target recognition device based on minimum bounding rectangle adaptive clustering, comprising:

[0053] An acquisition module, used to acquire a point cloud set within a preset time period within a preset area range collected by a radar device at a preset traffic intersection;

[0054] A segmentation module, used for segmenting the preset area range to obtain multiple area segments;

[0055] A determination module, configured to determine target point cloud data of each area segment according to a position of each area segment in the plurality of area segments and the point cloud set;

[0056] The determination module is further used to determine the point cloud distribution information of each point cloud in each area segment according to the target point cloud data of each area segment;

[0057] The determination module is further used to determine the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle based on the point cloud distribution information of each point cloud in each area segment;

[0058] A construction module, used for constructing a target rectangular frame of the target area at the target rotation angle according to the minimum circumscribed rectangle of the target area and the target rotation angle;

[0059] A clustering module, used for clustering the point cloud data within the target rectangular frame to obtain a cluster cluster of the target rectangular frame;

[0060] The identification module is used to perform target identification on the cluster.

[0061] In the third aspect, an embodiment of the present application also provides a computer device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the computer device is running, the processor communicates with the storage medium through the bus, and the processor executes the program instructions to perform the steps of the target recognition method based on minimum circumscribed rectangle adaptive clustering as described in any one of the first aspects.

[0062] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the target recognition method based on minimum circumscribed rectangle adaptive clustering as described in any one of the first aspects are executed.

[0063] The beneficial effects of this application are:

[0064] The embodiment of the present application provides a target recognition method based on minimum bounding rectangle adaptive clustering, the method comprising: obtaining a point cloud set of a preset area range collected by a radar device at a preset traffic intersection within a preset time period, segmenting the preset area range to obtain multiple area segments, and then determining the target point cloud data of each area segment according to the position of each area segment in the multiple area segments and the point cloud set, determining the point cloud distribution information of each point cloud in each area segment according to the target point cloud data of each area segment, determining the minimum bounding rectangle of the target area range in each area segment and the corresponding target rotation angle based on the point cloud distribution information of each point cloud in each area segment, constructing a target rectangular frame of the target area range under the target rotation angle according to the minimum bounding rectangle of the target area range and the target rotation angle of the minimum bounding rectangle, clustering the point cloud data in the target rectangular frame to obtain a cluster cluster of the target rectangular frame, and finally performing target recognition on the cluster cluster. The method of the present application constructs a target rectangular frame by determining the minimum enclosing rectangle and the target rotation angle of the minimum enclosing rectangle, can accurately cluster the point cloud data of the target rectangular frame within the target area, and then perform target recognition on the clustered clusters to improve the accuracy of target recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0066] Figure 1 One of the flow charts of a target recognition method based on minimum circumscribed rectangle adaptive clustering provided in an embodiment of the present application;

[0067] Figure 2 A second flow chart of a target recognition method based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application;

[0068] Figure 3 A third flow chart of a target recognition method based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application;

[0069] Figure 4 A fourth flowchart of a target recognition method based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application;

[0070] Figure 5 A schematic diagram of a first target rectangular frame provided in an embodiment of the present application;

[0071] Figure 6A fifth flow chart of a target recognition method based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application;

[0072] Figure 7 A sixth flow chart of a target recognition method based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application;

[0073] Figure 8 A flowchart of a target recognition method based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application is shown in FIG7;

[0074] Fig. 9 A schematic diagram of calculating a minimum circumscribed rectangle provided in an embodiment of the present application;

[0075] Fig.10 FIG8 is a flow chart of a target recognition method based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application;

[0076] Fig.11 A schematic diagram of an outward-expanding rectangular frame provided in an embodiment of the present application;

[0077] Fig.12 A schematic diagram of target recognition provided by an embodiment of the application;

[0078] Fig.13 A schematic diagram of another target recognition provided by an embodiment of the application;

[0079] Fig.14 A schematic diagram of another target recognition provided by an embodiment of the application;

[0080] Fig.15 A schematic diagram of a clustering result provided in an embodiment of the application;

[0081] Fig.16 A schematic diagram of functional modules of a target recognition device based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application;

[0082] Fig.17 A schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0083] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions 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.

[0084] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0085] In addition, 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, 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.

[0086] It should be noted that, in the absence of conflict, the features in the embodiments of the present application may be combined with each other.

[0087] In order to achieve accurate clustering and identification of moving target point cloud data, an embodiment of the present application provides a target recognition method based on minimum bounding rectangle adaptive clustering, by obtaining a point cloud set of a preset area range collected by a radar device at a preset traffic intersection within a preset time period, the preset area range is segmented to obtain multiple area segments, and then the target point cloud data of each area segment is determined according to the position of each area segment in the multiple area segments and the point cloud set, and the point cloud distribution information of each point cloud in each area segment is determined according to the target point cloud data of each area segment, and the minimum bounding rectangle of the target area range in each area segment and the corresponding target rotation angle are determined based on the point cloud distribution information of each point cloud in each area segment, and the target rectangular frame of the target area range under the target rotation angle is constructed according to the minimum bounding rectangle of the target area range and the target rotation angle of the minimum bounding rectangle, and the point cloud data in the target rectangular frame is clustered to obtain a cluster cluster of the target rectangular frame, and finally the cluster cluster is used for target recognition. By determining the minimum enclosing rectangle and the target rotation angle of the minimum enclosing rectangle to construct a target rectangular frame, the point cloud data of the target rectangular frame within the target area can be accurately clustered, and then the clustered clusters are used for target recognition, thereby improving the accuracy of target recognition.

[0088] The following is a detailed explanation of a target recognition method based on adaptive clustering of minimum bounding rectangles provided by an embodiment of the present application through specific examples in conjunction with the accompanying drawings. A target recognition method based on adaptive clustering of minimum bounding rectangles provided by an embodiment of the present application can be implemented by a computer device pre-installed with: a detection algorithm or detection software for preset target recognition, by running the algorithm or software. The computer device can be, for example, a server or a terminal, and the terminal can be a user computer. Figure 1 This is a flow chart of a target recognition method based on minimum bounding rectangle adaptive clustering provided in an embodiment of the present application. Figure 1 As shown, the method includes:

[0089] S101, obtaining a point cloud set within a preset area within a preset time period collected by a radar device at a preset traffic intersection.

[0090] In this embodiment, the radar device is installed on the lamp pole of the traffic light at a preset traffic intersection. The radar device is used to collect point cloud data within a preset area at the preset traffic intersection. According to the point cloud data within the preset area collected within a preset time period, a point cloud set within the preset area within the preset time period is obtained, wherein the preset area is the collection area of ​​the radar device facing each entrance direction of the preset traffic intersection. The collection area can be 300m, 500m, etc., and the preset time period for collection is 1 hour, 2 hours, etc., which is not limited here.

[0091] The key fields contained in each point cloud data in the point cloud set include: x-coordinate in the radar coordinate system, y-coordinate in the radar coordinate system, velocity value, and radar cross section (RCS) value.

[0092] S102: Segment the preset area range to obtain multiple area segments.

[0093] Specifically, due to the characteristics of target recognition by radar equipment: there are more detection point data for nearby vehicles (vehicles close to the radar equipment) or larger vehicles, and there are fewer detection point data for distant vehicles or smaller vehicles, or even only one detection point. Therefore, in order to facilitate target recognition of the point cloud within the preset area, the preset area needs to be segmented to obtain multiple area segments, and the point cloud data of each area segment is processed.

[0094] Optionally, the preset area range is segmented according to the distance between each position point within the preset area range and the radar device in a preset direction to obtain a plurality of area segments.

[0095] Specifically, a spatial segmentation processing method is adopted to segment the preset area range. For example, the distance between each position point and the radar device in the preset direction is 150 meters as the segmentation interval to obtain multiple area segments. If the maximum detection distance of the radar device is 300m, the multiple area segments include: an area segment with a distance of 0-150m and an area segment with a distance of 150m-300m.

[0096] S103 . Determine target point cloud data of each area segment according to the position of each area segment in the plurality of area segments and the point cloud set.

[0097] Specifically, according to the position of each area segment in the multiple area segments and the coordinates of each point cloud in the point cloud set, each area segment matches the point cloud data in the point cloud set to determine the target point cloud data in each area segment.

[0098] S104. Determine the point cloud distribution information of each point cloud in each area segment according to the target point cloud data of each area segment.

[0099] The point cloud distribution information of each point cloud is determined to include: the local density of the point cloud, the RCS value, and the x-coordinate in the radar coordinate system and the y-coordinate in the radar coordinate system.

[0100] S105 . Determine, based on the point cloud distribution information of each point cloud in each area segment, the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle.

[0101] S106: construct a target rectangular frame of the target area at the target rotation angle according to the minimum circumscribed rectangle of the target area and the target rotation angle.

[0102] S107 , clustering the point cloud data within the target rectangular frame to obtain clusters of the target rectangular frame.

[0103] Specifically, based on the point cloud distribution information of each point cloud in each area segment, the target area range centered on each point cloud is determined, and the minimum enclosing rectangle of the target area range and the target rotation angle of the minimum enclosing rectangle are determined, and based on the minimum enclosing rectangle of the target area range and the target rotation angle, a target rectangular frame of the target area range under the target rotation angle is constructed.

[0104] The point cloud data within the target rectangular frame is clustered to obtain the clustering clusters of the target rectangular frame. Since the target area range is the area range centered on each point cloud, there will be multiple target rectangular frames and multiple clustering clusters in each area segment.

[0105] S108: Perform target recognition on the clusters.

[0106] Specifically, since there are multiple clusters in each area segment, target recognition is performed on each cluster to determine whether the multiple clusters are clusters of the same target, or to determine whether there is a noise point cloud in each cluster.

[0107] In summary, an embodiment of the present application provides a target recognition method based on minimum bounding rectangle adaptive clustering, the method comprising: obtaining a point cloud set of a preset area range collected by a radar device at a preset traffic intersection within a preset time period, segmenting the preset area range to obtain multiple area segments, and then determining the target point cloud data of each area segment according to the position of each area segment in the multiple area segments and the point cloud set, determining the point cloud distribution information of each point cloud in each area segment according to the target point cloud data of each area segment, determining the minimum bounding rectangle of the target area range in each area segment and the corresponding target rotation angle based on the point cloud distribution information of each point cloud in each area segment, constructing a target rectangular frame of the target area range under the target rotation angle according to the minimum bounding rectangle of the target area range and the target rotation angle of the minimum bounding rectangle, clustering the point cloud data in the target rectangular frame to obtain a cluster cluster of the target rectangular frame, and finally performing target recognition on the cluster cluster. The method of the present application constructs a target rectangular frame by determining the minimum enclosing rectangle and the target rotation angle of the minimum enclosing rectangle, can accurately cluster the point cloud data of the target rectangular frame within the target area, and then perform target recognition on the clustered clusters to improve the accuracy of target recognition.

[0108] On the basis of a target recognition method based on minimum bounding rectangle adaptive clustering provided in the above embodiment, an embodiment of the present application further provides another possible implementation example of a target recognition method based on minimum bounding rectangle adaptive clustering. Figure 2 The second flow chart of a target recognition method based on the minimum bounding rectangle adaptive clustering provided in the embodiment of the present application is as follows. Figure 2 As shown, according to the position of each area segment in the multiple area segments and the point cloud set, the target point cloud data of each area segment is determined, including:

[0109] S201 . Determine, according to the position of each region segment, a sub-point cloud set corresponding to each region segment from the point cloud set.

[0110] In this embodiment, each point cloud is matched according to the coordinates of each point cloud in the point cloud set under the radar and the position of each area segment, and a sub-point cloud set corresponding to each area segment is determined, wherein the coordinates of each point cloud in the sub-point cloud set under the radar are within the position range of each area segment.

[0111] S202. According to a preset number of merged frames corresponding to each area segment, merge the point cloud data of the sub-point cloud set corresponding to each area segment with the preset number of merged frames to obtain merged point cloud data of each area segment.

[0112] For example, if the maximum detection distance of the radar device is 300m, the multiple segmented areas include: an area segment with a distance of 0-150m and an area segment with a distance of 150m-300m. If the radar device collects and updates data at a frequency of 50ms, the preset number of merged frames corresponding to the area segment with a distance of 0-150m is set to 3, and the preset number of merged frames corresponding to the area segment with a distance of 150m-300m is set to 6.

[0113] The sub-point cloud set corresponding to the area segment with a distance of 0-150m is merged and clustered with 3 consecutive frames of point cloud data to obtain the merged point cloud data of the area segment with a distance of 0-150m. After the merging of the sub-point cloud set is completed, multiple merged point cloud data can be obtained; the sub-point cloud set corresponding to the area segment with a distance of 150-300m is merged and clustered with 6 consecutive frames of point cloud data to obtain the merged point cloud data of the area segment with a distance of 150-300m. After the merging of the sub-point cloud set is completed, multiple merged point cloud data can be obtained.

[0114] S203 , filtering abnormal point cloud data in the merged point cloud data of each area segment to obtain target point cloud data of each area segment.

[0115] Specifically, there may be abnormal point cloud data in the merged point cloud data of each area segment. Therefore, the abnormal point cloud data needs to be filtered to obtain the target point cloud data of each area segment.

[0116] In the method provided in the embodiment of the present application, according to the position of each area segment, the sub-point cloud set corresponding to each area segment is determined from the point cloud set, and according to the preset number of merged frames corresponding to each area segment, the point cloud data of the sub-point cloud set corresponding to each area segment with the preset number of merged frames are merged to obtain merged point cloud data of each area segment, and finally, the abnormal point cloud data in the merged point cloud data of each area segment is filtered to obtain the target point cloud data of each area segment, thereby realizing the merging of the point cloud data in each area segment and the determination of the target point cloud data.

[0117] The embodiment of the present application also provides another possible implementation example of a target recognition method based on minimum circumscribed rectangle adaptive clustering. Figure 3 The third flow chart of a target recognition method based on the minimum bounding rectangle adaptive clustering provided in the embodiment of the present application. Figure 3 As shown, before filtering the abnormal point cloud data in the merged point cloud data of each area segment to obtain the target point cloud data of each area segment, the method further includes:

[0118] S301 . Determine abnormal movement point cloud data from the merged point cloud data of each area segment according to a preset speed range.

[0119] In this embodiment, abnormal moving point cloud data may exist in the merged point cloud data of each area segment, such as stationary background points or point cloud data moving too fast. Stationary background points are easily confused with stationary targets. Therefore, it is necessary to set a preset speed range to determine the abnormal moving point cloud data from the merged point cloud data of each area segment.

[0120] For example, if the preset speed range is 0.5 m / s-30 m / s, point cloud data with a speed less than 0.5 m / s or a speed greater than 30 m / s is determined to be abnormal movement point cloud data.

[0121] S302: Determine the point cloud local density of each point cloud in the merged point cloud data of each region segment.

[0122] Specifically, since the moving target is composed of multiple point cloud data and the multiple point cloud data are relatively dense, while the point cloud data of the background noise is relatively sparse, it is necessary to determine the point cloud local density of each point cloud in the merged point cloud data of each area segment to identify the noise point cloud.

[0123] The calculation formula of point cloud local density is as follows:

[0124]

[0125] in, Expressed as j The local density of the point cloud is P Represented as the merged point cloud data for each region segment, Indicates i Point cloud and j The Euclidean distance of the point cloud, Denoted as a local distance threshold.

[0126] S303 : determining noise point cloud data from the merged point cloud data of each area segment according to the point cloud local density of each point cloud and a preset point cloud local density threshold.

[0127] Among them, the abnormal point cloud data includes: abnormal movement point cloud data and noise point cloud data.

[0128] Specifically, if the point cloud local density of a point cloud is less than a preset point cloud local density threshold, the point cloud is determined to be a noise point cloud.

[0129] For example, in an area segment with a distance of 0-150m, if there are less than 3 other points within 1 meter of a point cloud, the point cloud is determined to be a noise point cloud. In an area segment with a distance of 150m-300m, if there are less than 3 other points within 2 meters of a point cloud, the point cloud is determined to be a noise point cloud.

[0130] In the method provided in the embodiment of the present application, according to the preset speed range, abnormal moving point cloud data is determined from the merged point cloud data of each area segment; the point cloud local density of each point cloud in the merged point cloud data of each area segment is determined; according to the point cloud local density of each point cloud and the preset point cloud local density threshold, the noise point cloud data is determined from the merged point cloud data of each area segment, and the abnormal point cloud data includes: abnormal moving point cloud data and noise point cloud data. By determining the abnormal point cloud data, the abnormal point cloud is filtered to obtain the target point cloud data, thereby improving the accuracy of target recognition.

[0131] The embodiment of the present application also provides another possible implementation example of a target recognition method based on minimum circumscribed rectangle adaptive clustering. Figure 4 The fourth flowchart of a target recognition method based on minimum circumscribed rectangle adaptive clustering provided in an embodiment of the present application. Figure 5 Schematic diagram of a first target rectangular frame provided in an embodiment of the present application. Figure 4 As shown, based on the point cloud distribution information of each point cloud in each area segment, the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle are determined, including:

[0132] S401 , sorting each point cloud based on point cloud distribution information of each point cloud in each area segment.

[0133] In this embodiment, the point cloud distribution information of each point cloud in each area segment includes: point cloud local density, RCS value, x coordinate in radar coordinate system, and y coordinate in radar coordinate system. Each point cloud is sorted according to its point cloud local density, RCS value, and x coordinate in radar coordinate system, wherein the higher the point cloud local density, the higher the RCS value, and the closer the x coordinate in radar coordinate system to the radar distance, the higher the credibility of the point cloud.

[0134] S402 , traversing the sorted point cloud, and constructing a plurality of first rectangular frames centered on the traversed point cloud, wherein the plurality of first rectangular frames are rectangular frames with sizes of a plurality of rotation angles within a first range.

[0135] The sorted point cloud is traversed in sequence, and a plurality of first rectangular frames centered on the traversed point cloud are constructed, wherein the plurality of first rectangular frames are rectangular frames of a plurality of rotation angles within a first range, such as Figure 5 As shown, the size of the rectangular frame in the first range can be set to be 6 in length and 3 in width, and the multiple rotation angles are 0, 45, 90, and 135, respectively, to obtain rectangular frames with four rotation angles.

[0136] S403: Determine a first target rectangular frame from multiple first rectangular frames.

[0137] Specifically, multiple first rectangular frames are matched with other point clouds respectively, a first rectangular frame with the largest number of matched point clouds is determined as a first target rectangular frame, and the point clouds in the first target rectangular frame are clustered.

[0138] Among them, the construction formula of the four points of the first target rectangular box is as follows:

[0139]

[0140]

[0141]

[0142]

[0143]

[0144]

[0145]

[0146]

[0147] The area range of the first target rectangular frame is expressed as: x 1, y 1], [x2, y 2], [ x 3, y 3], [ x 4, y 4], [ x 1, y 1]].

[0148] in, x , y They are respectively the point clouds in the radar coordinate system x , y coordinate, dir Represented as the longest side of the first target rectangle compared to x The rotation angle of the coordinate axis, w , h They are the length and width of the first target rectangle respectively.

[0149] S404: If the first target rectangular box satisfies the first preset point cloud constraint condition, determine the range corresponding to the first target rectangular box as the target area range, and calculate a first minimum circumscribed rectangle and a first target rotation angle of the first minimum circumscribed rectangle based on the point cloud of the first target rectangular box.

[0150] Specifically, if the first target rectangular box satisfies the first preset point cloud constraint condition, the range corresponding to the first target rectangular box is determined to be the target area range, and the first minimum circumscribed rectangle and the first target rotation angle of the first minimum circumscribed rectangle are calculated based on the point cloud of the first target rectangular box.

[0151] Then continue to traverse the next point cloud. If the next point cloud has been classified into other categories, for example, it belongs to the category corresponding to the first target rectangular box, skip the clustering process of the point cloud, and continue to traverse the next point cloud until all point clouds are traversed. If the next point cloud does not belong to other categories, take the next point cloud as the center, construct multiple first rectangular boxes again, and repeat the above steps until the next point cloud is classified.

[0152] In the method provided in the embodiment of the present application, each point cloud is sorted based on the point cloud distribution information of each point cloud in each area segment, the sorted point cloud is traversed, and a plurality of first rectangular frames centered on the traversed point cloud are constructed, wherein the plurality of first rectangular frames are rectangular frames with a plurality of rotation angles in a first range in size, and a first target rectangular frame is determined from the plurality of first rectangular frames. If the first target rectangular frame satisfies a first preset point cloud constraint condition, the range corresponding to the first target rectangular frame is determined as the target area range, and based on the point cloud computing of the first target rectangular frame and the first target rotation angle of the first minimum bounding rectangle, the target area range in each area segment, as well as the minimum bounding rectangle of the target area range and the target rotation angle of the minimum bounding rectangle are determined.

[0153] The embodiment of the present application also provides another possible implementation example of a target recognition method based on minimum circumscribed rectangle adaptive clustering. Figure 6 The fifth flow chart of a target recognition method based on the minimum bounding rectangle adaptive clustering provided in the embodiment of the present application. Figure 6 As shown, if the first target rectangular box satisfies the first preset point cloud constraint condition, before determining that the range corresponding to the first target rectangular box is the target area range, the method further includes:

[0154] S501, based on the speed information of each point cloud in the first target rectangular frame, the speed difference with the traversed point cloud, and the preset speed error interval, filter out the point cloud in the first target rectangular frame whose speed difference is not in the preset speed difference error interval to obtain the filtered point cloud of the first target rectangular frame.

[0155] In this embodiment, if the preset speed error is 0.5m / s, the preset speed error interval is [-0.5,0.5]m / s. According to the speed information of each point cloud in the first target rectangular frame and the speed of the traversed point cloud, the speed difference between each point cloud and the traversed point cloud is calculated. If the speed difference between a point cloud and the traversed point cloud is not in [-0.5,0.5]m / s, the point cloud is filtered out to obtain the filtered point cloud of the first target rectangular frame.

[0156] S502: Determine whether the number of the filtered point clouds of the first target rectangular frame exceeds a first point cloud number threshold.

[0157] S503: If the number of the filtered point clouds of the first target rectangular frame does not exceed the first point cloud number threshold, it is determined that the first preset point cloud constraint condition is satisfied.

[0158] S504: If the number of the filtered point clouds of the first target rectangular frame exceeds a first point cloud number threshold, it is determined that the first preset point cloud constraint condition is not satisfied.

[0159] If the first point cloud number threshold is 10 and the number of filtered point clouds of the first target rectangular frame does not exceed 10, it is determined that the first target rectangular frame satisfies the first preset point cloud constraint condition.

[0160] If the number of the filtered point clouds of the first target rectangular frame exceeds 10, it is determined that the first target rectangular frame does not satisfy the first preset point cloud constraint condition.

[0161] In the method provided in the embodiment of the present application, based on the speed information of each point cloud in the first target rectangular frame, the speed difference of the traversed point cloud, and the preset speed error interval, the point cloud in the first target rectangular frame whose speed difference is not in the preset speed error interval is filtered out to obtain the filtered point cloud of the first target rectangular frame; then, it is determined whether the number of the filtered point cloud of the first target rectangular frame exceeds the first point cloud number threshold; if the number of the filtered point cloud of the first target rectangular frame does not exceed the first point cloud number threshold, it is determined that the first preset point cloud constraint condition is satisfied; if the number of the filtered point cloud of the first target rectangular frame exceeds the first point cloud number threshold, it is determined that the first preset point cloud constraint condition is not satisfied. By filtering the point cloud in the first target rectangular frame, the point cloud with a large speed difference is filtered out, so as to avoid clustering the point clouds of the two moving targets into one category, and then by comparing the number of the filtered point cloud of the first target rectangular frame with the first point cloud number threshold, it is determined whether the first target rectangular frame satisfies the first preset point cloud constraint condition, thereby determining whether the range corresponding to the first target rectangular frame is the target area range.

[0162] The embodiment of the present application also provides another possible implementation example of a target recognition method based on minimum circumscribed rectangle adaptive clustering. Figure 7The sixth flow chart of a target recognition method based on the minimum bounding rectangle adaptive clustering provided in the embodiment of the present application. Figure 7 As shown, based on the point cloud distribution information of each point cloud in each area segment, the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle are determined, and also includes:

[0163] S601: If the first target rectangular frame does not satisfy the first preset point cloud constraint condition, reconstruct a second target rectangular frame of a second range centered on the traversed point cloud based on the first target rotation angle.

[0164] In this embodiment, if the first target rectangular box does not satisfy the first preset point cloud constraint condition, a second target rectangular box centered on the traversed point cloud is constructed, the second target rectangular box is a rectangular box with a size of the second range and a rotation angle of the first target rotation angle, and the size of the rectangular box in the second range can be set to a length of 9 and a width of 4. The second range is larger than the first range.

[0165] The second target rectangular box matches other point clouds respectively, and the point clouds within the second target rectangular box are clustered.

[0166] Based on the speed information of each point cloud in the second target rectangular frame, the speed difference with the center speed of the second target rectangular frame, and the preset speed error interval, the point cloud in the second target rectangular frame whose speed difference is not in the preset speed error interval is filtered out to obtain the filtered point cloud of the second target rectangular frame.

[0167] The calculation formula of center speed is as follows:

[0168]

[0169] in, , They are respectively represented as the first target rectangular box in the filtered point cloud set. j The velocity value of a point cloud and the local density value of the point cloud.

[0170] If the preset speed error interval is [-0.5, 0.5] m / s, the speed difference between each point cloud and the center speed is calculated according to the speed information of each point cloud in the second target rectangular frame and the center speed. If the speed difference between a point cloud and the center point cloud is not in [-0.5, 0.5] m / s, the point cloud is filtered out to obtain the filtered point cloud of the second target rectangular frame.

[0171] S602: If the second target rectangular box satisfies the second preset point cloud constraint condition, determine the range corresponding to the second target rectangular box as the target area range, and calculate a second minimum circumscribed rectangle and a second target rotation angle of the second minimum circumscribed rectangle based on the point cloud in the second target rectangular box.

[0172] Specifically, determine whether the number of filtered point clouds of the second target rectangular box exceeds the second point cloud number threshold. If the number of filtered point clouds of the second target rectangular box does not exceed the second point cloud number threshold, determine that the second target rectangular box satisfies the second preset point cloud constraint condition, determine that the range corresponding to the second target rectangular box is the target area range, and calculate the second minimum enclosing rectangle of the point cloud within the second target rectangular box and the second target rotation angle of the second minimum enclosing rectangle, wherein the second point cloud number threshold can be set to 30.

[0173] S603. If the second target rectangular box does not satisfy the second preset point cloud constraint condition, based on the second target rotation angle, continue to reconstruct the third target rectangular box of the third range centered on the traversed point cloud, determine the range corresponding to the third target rectangular box as the target area range, and calculate the third minimum enclosing rectangle based on the point cloud of the third target rectangular box and the third target rotation angle of the third minimum enclosing rectangle.

[0174] Specifically, if the number of filtered point clouds of the second target rectangular frame exceeds the second point cloud number threshold, it is determined that the second target rectangular frame does not meet the second preset point cloud constraint condition, and based on the second target rotation angle, a third target rectangular frame of a third range centered on the traversed point cloud is continuously reconstructed, the third target rectangular frame is a rectangular frame with a size of the third range and a rotation angle of the second target rotation angle, and the size of the rectangular frame of the third range can be set to be 12 in length and 4 in width. Among them, the third range is larger than the second range.

[0175] The third target rectangular box matches other point clouds respectively, and the point clouds within the third target rectangular box are clustered.

[0176] Based on the speed information of each point cloud within the third target rectangular frame, the speed difference with the center speed of the third target rectangular frame, and the preset speed error interval, the point cloud within the third target rectangular frame whose speed difference is not within the preset speed error interval is filtered out to obtain the filtered point cloud of the third target rectangular frame.

[0177] If the preset speed error interval is [-0.5, 0.5] m / s, the speed difference between each point cloud and the center speed is calculated according to the speed information of each point cloud in the third target rectangular frame and the center speed. If the speed difference between a point cloud and the center point cloud is not in [-0.5, 0.5] m / s, the point cloud is filtered out to obtain the filtered point cloud of the third target rectangular frame.

[0178] The range corresponding to the third target rectangular frame is determined as the target area range, and a third minimum bounding rectangle and a third target rotation angle of the third minimum bounding rectangle are calculated based on the point cloud within the third target rectangular frame.

[0179] In the method provided by the embodiment of the present application, if the first target rectangular box does not meet the first preset point cloud constraint condition, based on the first target rotation angle, a second target rectangular box of a second range centered on the traversed point cloud is reconstructed; the second range is larger than the first range; if the second target rectangular box meets the second preset point cloud constraint condition, the range corresponding to the second target rectangular box is determined to be the target area range, and the second minimum bounding rectangle of the point cloud in the second target rectangular box and the second target rotation angle of the second minimum bounding rectangle are calculated; if the second target rectangular box does not meet the second preset point cloud constraint condition, based on the second target rotation angle, a third target rectangular box of a third range centered on the traversed point cloud is continued to be reconstructed, and the range corresponding to the third target rectangular box is determined to be the target area range, and the third minimum bounding rectangle of the point cloud of the third target rectangular box and the third target rotation angle of the third minimum bounding rectangle are calculated, and the third range is larger than the second range. According to the preset point cloud constraint condition, a rectangular box centered on the traversed point cloud is continued to be constructed, and finally a target rectangular box that meets the preset point cloud constraint condition is obtained, so as to achieve more accurate clustering.

[0180] The embodiment of the present application also provides another possible implementation example of a target recognition method based on minimum circumscribed rectangle adaptive clustering. Figure 8 FIG7 is a flow chart of a target recognition method based on minimum circumscribed rectangle adaptive clustering provided in an embodiment of the present application. Fig. 9 A schematic diagram of calculating a minimum bounding rectangle provided in an embodiment of the present application. Figure 8 As shown, the point cloud computing of the first target rectangular frame and the first target rotation angle of the first minimum circumscribed rectangle include:

[0181] S701 . Based on the point cloud of the first target rectangular box, generate a point cloud convex hull corresponding to the first target rectangular box.

[0182] S702: Calculate a first minimum circumscribed rectangle and a first target rotation angle based on the point cloud convex hull.

[0183] In this embodiment, if Fig. 9 As shown, based on the point cloud cluster of the first target rectangular box, the point cloud convex hull corresponding to the first target rectangular box is generated, and the coordinate differences of the points of the point cloud convex hull are calculated pairwise to obtain the edge vector of each edge, and the rotation angle of the edge vector compared to the x-axis is calculated, and the angle is reduced to [0, π / 2], and then the rotation matrix of the edge vector is calculated, and the points after the convex hull points are converted are calculated. Finally, based on this, the rectangle corresponding to the minimum area is calculated as the first minimum circumscribed rectangle, and the first target rotation angle is the rotation angle corresponding to the minimum area.

[0184] In the method provided in an embodiment of the present application, based on the point cloud of the first target rectangular box, a point cloud convex hull corresponding to the first target rectangular box is generated, and based on the point cloud convex hull, the first minimum circumscribed rectangle and the first target rotation angle are calculated. The first minimum circumscribed rectangle corresponding to the first target rectangular box and the first target rotation angle of the first minimum circumscribed rectangle can be calculated.

[0185] The embodiment of the present application also provides another possible implementation example of a target recognition method based on minimum circumscribed rectangle adaptive clustering. Fig.10 FIG8 is a flow chart of a target recognition method based on minimum circumscribed rectangle adaptive clustering provided in an embodiment of the present application. Fig.11 A schematic diagram of an outward-expanding rectangular frame provided in an embodiment of the present application. Fig.10 As shown, target recognition is performed on clusters, including:

[0186] S801: sort multiple clusters, and determine a target cluster from the sorted multiple clusters.

[0187] In this embodiment, there are multiple clusters in each area segment, and the attributes of the target class of each cluster are calculated, wherein the attributes of each cluster include: core x coordinate, core y coordinate, core speed, the rotation angle of the target compared to the radar x coordinate axis, target size, and the number of points in the class. Among them, the core x coordinate, core y coordinate, and core speed are obtained by combining the respective attributes of each point cloud in each cluster with the local density of the point cloud, and the rotation angle of the target compared to the radar x coordinate axis and the target size can be indirectly obtained by calculating the minimum bounding rectangle. The calculation method of the minimum bounding rectangle refers to steps S701-S702. The calculation method of the core x coordinate, core y coordinate, and core speed is:

[0188]

[0189]

[0190]

[0191] in, , , , Represented as the first j Point cloud x coordinates, y coordinates, velocity values, and local density of the point cloud.

[0192] According to the number of point clouds in each cluster and the order of target class generation, multiple clusters are sorted, and a target cluster is determined from the sorted multiple clusters. The more point clouds a cluster has and the earlier the target class generation order is, the higher the credibility of the cluster is.

[0193] S802 : Based on a first target size of the target cluster, construct an outer expansion rectangular frame of the target cluster whose size is larger than the first target size.

[0194] Among them, according to the core x coordinate, core y coordinate, rotation angle of the target relative to the radar x coordinate axis, and the first target size of the target cluster, an outer expansion rectangular frame of the target cluster is generated. The outer expansion length of the outer expansion rectangular frame can be set to 3, the outer expansion width can be set to 2, and the size of the outer expansion rectangular frame is larger than the first target size, such as Fig.11 shown.

[0195] S803: Based on the second target size of the other clusters, construct a range rectangular frame of the other clusters whose size is equal to the second target size.

[0196] Specifically, according to the core x-coordinates, core y-coordinates, rotation angles of the targets relative to the radar x-coordinate axis, and the second target sizes of the other clusters, range rectangular frames of the other clusters are generated, and the size of the range rectangular frames is equal to the second target size.

[0197] S804 , target recognition is performed based on the position and point cloud velocity within the outer expansion rectangular frame of the target cluster and the range rectangular frames of other clusters.

[0198] Specifically, target recognition is performed based on the position and point cloud velocity within the outer expansion rectangle of the target cluster and the range rectangle of other clusters. Two classes with similar positions and point cloud velocities are regarded as two classes of the same target. Multiple classes of the same target are merged, and then the attributes of the target class are recalculated.

[0199] In the method provided in the embodiment of the present application, multiple clusters are sorted, and a target cluster is determined from the sorted multiple clusters. Based on the first target size of the target cluster, an outer expansion rectangular frame of the target cluster whose size is larger than the first target size is constructed. Based on the second target size of other clusters, a range rectangular frame of other clusters whose size is equal to the second target size is constructed. The target is identified based on the position and point cloud velocity within the outer expansion rectangular frame of the target cluster and the range rectangular frames of other clusters. By determining the outer expansion rectangular frame of the target cluster and the range rectangular frame of other clusters, and comparing the two rectangular frames, it can be determined whether the classes corresponding to the two rectangular frames are the same target class, thereby realizing the identification of the target.

[0200] The embodiment of the present application also provides another possible implementation example of a target recognition method based on minimum circumscribed rectangle adaptive clustering. Fig.12 A schematic diagram of target recognition provided in an embodiment of the application. Fig.13 A schematic diagram of another target recognition provided in an embodiment of the application. Fig.14A schematic diagram of another target recognition provided in an embodiment of the application. Fig.15 A schematic diagram of a clustering result provided in an embodiment of the application. Target recognition is performed based on the position and speed of the point cloud within the outer expansion rectangle of the target cluster and the range rectangle of other clusters, including:

[0201] According to the positions of the outer expansion rectangular frame of the target cluster and the range rectangular frames of other clusters, it is determined whether the outer expansion rectangular frame of the target cluster and the range rectangular frames of other clusters intersect.

[0202] In this embodiment, according to the positions of the outer expansion rectangular frame of the target cluster and the range rectangular frames of other clusters, it is determined whether the outer expansion rectangular frame of the target cluster and the range rectangular frames of other clusters intersect, and the target is identified by determining the intersection area. Specifically, there are the following situations:

[0203] If there is an intersection, and the overlapping area of ​​the target cluster's outer expansion rectangle and the range rectangle of other clusters exceeds the preset proportional area of ​​the range rectangle, or exceeds the preset proportional area of ​​the outer expansion rectangle, the point cloud in the target cluster is determined to be a noise point cloud and is filtered out.

[0204] Among them, Fig.12 As shown, there is an intersection between the outer expansion rectangular box of the target cluster and the range rectangular boxes of other clusters, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular boxes of other clusters exceeds the preset proportion area of ​​the range rectangular box, or exceeds the preset proportion area of ​​the outer expansion rectangular box, then the point cloud in the target cluster is determined to be a noise point cloud and is filtered out, where the preset proportion is set to 2 / 3, and the next other cluster is compared to determine whether the next other cluster is the same target class.

[0205] If there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster cluster and the range rectangular box of other cluster clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box, and the speed difference of the point cloud speed of the target cluster cluster and other cluster clusters is less than or equal to the preset speed error, then the target cluster cluster and other cluster clusters are determined to be the same target class.

[0206] Among them, Fig.13 As shown in FIG. 1 , the outer expansion rectangular box of the target cluster cluster and the range rectangular box of other cluster clusters have an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster cluster and the range rectangular box of other cluster clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box. The speed difference between the point cloud speeds of the target cluster cluster and the other cluster clusters is less than or equal to the preset speed error, and the preset speed error can be set to 0.5 m / s. Then, it is determined that the target cluster cluster and the other cluster clusters are the same target class, and the target cluster cluster and the other cluster clusters are merged, as shown in FIG. Fig.14 As shown, the attributes of the target class are recalculated, and the next other cluster is compared to determine whether the next other cluster is the same target class.

[0207] If there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster cluster and the range rectangular box of other cluster clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box, and the speed difference between the point cloud speeds of the target cluster cluster and the other cluster clusters is greater than the preset speed error, then it is determined that the target cluster cluster and the other cluster clusters are not the same target class.

[0208] Among them, there is an intersection between the outer expansion rectangular box of the target cluster cluster and the range rectangular box of other cluster clusters, and the overlapping area of ​​the outer expansion rectangular box of the target cluster cluster and the range rectangular box of other cluster clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box. The speed difference between the point cloud speeds of the target cluster cluster and the other cluster clusters is greater than the preset speed error, and the preset speed error can be set to 0.5m / s. It is determined that the target cluster cluster and the other cluster clusters are not the same target class, and the next other cluster cluster is compared to determine whether the next other cluster cluster is the same target class.

[0209] If there is no intersection, it is determined that the target cluster and other clusters are not the same target class.

[0210] Among them, if there is no intersection between the outer expansion rectangle of the target cluster and the range rectangle of other clusters, it is determined that the target cluster and the other clusters are not the same target class, and the next other cluster is compared to determine whether the next other cluster is the same target class.

[0211] like Fig.15 As shown, the final clustering result is obtained by performing target recognition on each cluster in a region segment.

[0212] The following is a corresponding explanation of the target recognition device and computer equipment based on minimum circumscribed rectangle adaptive clustering provided by any of the above embodiments of the present application. Its specific implementation process and the technical effects produced are the same as those of the corresponding method embodiments mentioned above. For the sake of brief description, the parts not mentioned in this embodiment can refer to the corresponding contents in the method embodiments.

[0213] Fig.16 The functional module diagram of a target recognition device based on the minimum bounding rectangle adaptive clustering provided by the embodiment of the present application is shown in FIG. Fig.16 As shown, the target recognition device 100 based on the minimum bounding rectangle adaptive clustering includes:

[0214] An acquisition module 110 is used to acquire a point cloud set within a preset time period in a preset area range collected by a radar device at a preset traffic intersection;

[0215] A segmentation module 120, used to segment the preset area range to obtain multiple area segments;

[0216] A determination module 130, configured to determine target point cloud data of each area segment according to a position of each area segment in the plurality of area segments and a point cloud set;

[0217] The determination module 130 is further used to determine the point cloud distribution information of each point cloud in each area segment according to the target point cloud data of each area segment;

[0218] The determination module 130 is further used to determine the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle based on the point cloud distribution information of each point cloud in each area segment;

[0219] A construction module 140 is used to construct a target rectangular frame of the target area under the target rotation angle according to the minimum circumscribed rectangle of the target area and the target rotation angle;

[0220] A clustering module 150 is used to cluster the point cloud data within the target rectangular frame to obtain a cluster of the target rectangular frame;

[0221] The identification module 160 is used to perform target identification on the clusters.

[0222] Optionally, the segmentation module 120 is further used to segment the preset area range according to the distance between each position point in the preset area range and the radar device in a preset direction to obtain a plurality of area segments.

[0223] Optionally, the determination module 130 is also used to determine the sub-point cloud set corresponding to each area segment from the point cloud set according to the position of each area segment; merge the point cloud data of the sub-point cloud set corresponding to each area segment with the preset merged frame number according to the preset merged frame number corresponding to each area segment to obtain the merged point cloud data of each area segment; filter the abnormal point cloud data in the merged point cloud data of each area segment to obtain the target point cloud data of each area segment.

[0224] Optionally, the determination module 130 is also used to determine abnormal movement point cloud data from the merged point cloud data of each area segment according to a preset speed range; determine the point cloud local density of each point cloud in the merged point cloud data of each area segment; determine the noise point cloud data from the merged point cloud data of each area segment according to the point cloud local density of each point cloud and a preset point cloud local density threshold, and the abnormal point cloud data includes: abnormal movement point cloud data and noise point cloud data.

[0225] Optionally, the determination module 130 is also used to sort each point cloud based on the point cloud distribution information of each point cloud in each area segment; traverse the sorted point cloud and construct multiple first rectangular boxes centered on the traversed point cloud, and the multiple first rectangular boxes are rectangular boxes with multiple rotation angles of a first range in size; determine a first target rectangular box from the multiple first rectangular boxes; if the first target rectangular box satisfies a first preset point cloud constraint condition, determine the range corresponding to the first target rectangular box as the target area range, and calculate a first minimum enclosing rectangle and a first target rotation angle of the first minimum enclosing rectangle based on the point cloud of the first target rectangular box.

[0226] Optionally, the determination module 130 is also used to filter out the point clouds in the first target rectangular box whose speed difference is not in the preset speed error interval based on the speed information of each point cloud in the first target rectangular box, the speed difference with the traversed point cloud, and the preset speed error interval, to obtain the filtered point clouds of the first target rectangular box; determine whether the number of filtered point clouds of the first target rectangular box exceeds a first point cloud number threshold; if the number of filtered point clouds of the first target rectangular box does not exceed the first point cloud number threshold, determine that the first preset point cloud constraint condition is met; if the number of filtered point clouds of the first target rectangular box exceeds the first point cloud number threshold, determine that the first preset point cloud constraint condition is not met.

[0227] Optionally, the determination module 130 is also used to reconstruct a second target rectangular box of a second range centered on the traversed point cloud based on the first target rotation angle if the first target rectangular box does not satisfy the first preset point cloud constraint; the second range is larger than the first range; if the second target rectangular box satisfies the second preset point cloud constraint, determine that the range corresponding to the second target rectangular box is the target area range, and calculate the second minimum enclosing rectangle of the point cloud within the second target rectangular box and the second target rotation angle of the second minimum enclosing rectangle; if the second target rectangular box does not satisfy the second preset point cloud constraint, continue to reconstruct a third target rectangular box of a third range centered on the traversed point cloud based on the second target rotation angle, determine that the range corresponding to the third target rectangular box is the target area range, and calculate the third minimum enclosing rectangle of the point cloud of the third target rectangular box and the third target rotation angle of the third minimum enclosing rectangle, and the third range is larger than the second range.

[0228] Optionally, the determination module 130 is further configured to generate a point cloud convex hull corresponding to the first target rectangular box based on the point cloud of the first target rectangular box; and calculate a first minimum circumscribed rectangle and a first target rotation angle based on the point cloud convex hull.

[0229] Optionally, the recognition module 160 is also used to sort multiple clusters and determine a target cluster from the sorted multiple clusters; based on the first target size of the target cluster, construct an outer rectangular box of the target cluster whose size is larger than the first target size; based on the second target size of other clusters, construct a range rectangular box of other clusters whose size is equal to the second target size; and perform target recognition based on the position and point cloud velocity within the outer rectangular box of the target cluster and the range rectangular boxes of other clusters.

[0230] Optionally, the identification module 160 is further used to determine whether there is an intersection between the outer expansion rectangular box of the target cluster and the range rectangular boxes of other clusters according to the positions of the outer expansion rectangular box of the target cluster and the range rectangular boxes of other clusters; if there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular boxes of other clusters exceeds a preset proportional area of ​​the range rectangular box, or exceeds a preset proportional area of ​​the outer expansion rectangular box, then determine that the point cloud in the target cluster is a noise point cloud and filter it out; if there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular boxes of other clusters does not exceed the preset proportional area of ​​the range rectangular box, Or if the speed difference between the point cloud speeds of the target cluster cluster and other cluster clusters does not exceed the preset proportional area of ​​the outer expansion rectangular box, and is less than or equal to the preset speed error, then the target cluster cluster and other cluster clusters are determined to be the same target class; if there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster cluster and the range rectangular box of other cluster clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box, and the speed difference between the point cloud speeds of the target cluster cluster and other cluster clusters is greater than the preset speed error, then it is determined that the target cluster cluster and other cluster clusters are not the same target class; if there is no intersection, it is determined that the target cluster cluster and other cluster clusters are not the same target class.

[0231] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0232] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0233] Fig.17 Schematic diagram of a computer device provided in an embodiment of the present application, the computer device can be used for target recognition based on minimum bounding rectangle adaptive clustering. Fig.17 As shown, the computer device includes: a processor 210 , a storage medium 220 , and a bus 230 .

[0234] The storage medium 220 stores machine-readable instructions executable by the processor 210. When the computer device is running, the processor 210 communicates with the storage medium 220 via the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0235] Optionally, the present application further provides a storage medium 220, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method embodiment are executed. The specific implementation method and technical effect are similar and will not be repeated here.

[0236] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0237] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0238] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0239] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as: RAM), disk or optical disk and other media that can store program codes.

[0240] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A target recognition method based on minimum bounding rectangle adaptive clustering, characterized in that: include: Obtaining a point cloud set within a preset time period within a preset area range collected by a radar device at a preset traffic intersection; Segmenting the preset area range to obtain a plurality of area segments; Determine target point cloud data of each area segment according to the position of each area segment in the plurality of area segments and the point cloud set; Determining point cloud distribution information of each point cloud in each area segment according to the target point cloud data of each area segment; Based on the point cloud distribution information of each point cloud in each area segment, determining the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle; According to the minimum circumscribed rectangle of the target area and the target rotation angle, construct a target rectangular frame of the target area under the target rotation angle; Clustering the point cloud data within the target rectangular frame to obtain a cluster of the target rectangular frame; Target recognition is performed on the clusters.

2. The method according to claim 1, characterized in that The step of segmenting the preset area range to obtain a plurality of area segments includes: The preset area range is segmented according to the distance between each position point within the preset area range and the radar device in a preset direction to obtain the multiple area segments.

3. The method according to claim 1, characterized in that The step of determining target point cloud data of each area segment according to the position of each area segment in the plurality of area segments and the point cloud set comprises: Determining, from the point cloud set, a sub-point cloud set corresponding to each area segment according to the position of each area segment; According to the preset number of merged frames corresponding to each area segment, merging the point cloud data of the preset number of merged frames on the sub-point cloud set corresponding to each area segment to obtain merged point cloud data of each area segment; Abnormal point cloud data in the merged point cloud data of each area segment is filtered to obtain target point cloud data of each area segment.

4. The method according to claim 3, characterized in that Before filtering the abnormal point cloud data in the merged point cloud data of each area segment to obtain the target point cloud data of each area segment, the method further includes: According to a preset speed interval, determining abnormal movement point cloud data from the merged point cloud data of each area segment; Determine the point cloud local density of each point cloud in the merged point cloud data of each area segment; According to the point cloud local density of each point cloud and a preset point cloud local density threshold, noise point cloud data is determined from the merged point cloud data of each area segment, and the abnormal point cloud data includes: the abnormal movement point cloud data and the noise point cloud data.

5. The method according to claim 1, characterized in that The step of determining the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle based on the point cloud distribution information of each point cloud in each area segment includes: Sorting the point clouds based on point cloud distribution information of the point clouds in each area segment; Traversing the sorted point cloud, and constructing a plurality of first rectangular frames centered on the traversed point cloud, wherein the plurality of first rectangular frames are rectangular frames with sizes of a plurality of rotation angles in a first range; Determine a first target rectangular frame from the plurality of first rectangular frames; If the first target rectangular box satisfies a first preset point cloud constraint condition, the range corresponding to the first target rectangular box is determined to be the target area range, and a first minimum enclosing rectangle and a first target rotation angle of the first minimum enclosing rectangle are calculated based on the point cloud of the first target rectangular box.

6. The method according to claim 5, characterized in that If the first target rectangular frame satisfies the first preset point cloud constraint condition, before determining that the range corresponding to the first target rectangular frame is the target area range, the method further includes: Based on the speed information of each point cloud in the first target rectangular frame, the speed difference with the traversed point cloud, and the preset speed error interval, the point cloud in the first target rectangular frame whose speed difference is not in the preset speed error interval is filtered out to obtain the filtered point cloud of the first target rectangular frame; Determine whether the number of the filtered point clouds of the first target rectangular frame exceeds a first point cloud number threshold; If the number of the filtered point clouds of the first target rectangular frame does not exceed the first point cloud number threshold, it is determined that the first preset point cloud constraint condition is satisfied; If the number of the filtered point clouds of the first target rectangular frame exceeds the first point cloud number threshold, it is determined that the first preset point cloud constraint condition is not satisfied.

7. The method according to claim 5, characterized in that The step of determining the minimum bounding rectangle of the target area range in each area segment and the target rotation angle of the minimum bounding rectangle based on the point cloud distribution information of each point cloud in each area segment further includes: If the first target rectangular frame does not satisfy the first preset point cloud constraint condition, reconstructing a second target rectangular frame of a second range centered on the traversed point cloud based on the first target rotation angle; the second range is larger than the first range; If the second target rectangular box satisfies the second preset point cloud constraint condition, determining the range corresponding to the second target rectangular box as the target area range, and computing a second minimum enclosing rectangle and a second target rotation angle of the second minimum enclosing rectangle based on the point cloud within the second target rectangular box; If the second target rectangular box does not satisfy the second preset point cloud constraint condition, based on the second target rotation angle, continue to reconstruct a third target rectangular box of a third range centered on the traversed point cloud, determine that the range corresponding to the third target rectangular box is the target area range, and based on the point cloud computing third minimum enclosing rectangle of the third target rectangular box and the third target rotation angle of the third minimum enclosing rectangle, the third range is larger than the second range.

8. The method according to claim 5, characterized in that The point cloud computing first minimum bounding rectangle based on the first target rectangular frame and the first target rotation angle of the first minimum bounding rectangle include: Based on the point cloud of the first target rectangular box, generating a point cloud convex hull corresponding to the first target rectangular box; Based on the point cloud convex hull, the first minimum circumscribed rectangle and the first target rotation angle are calculated.

9. The method according to claim 1, characterized in that: The performing target identification on the clusters includes: Sorting the plurality of clusters, and determining a target cluster from the sorted plurality of clusters; Based on a first target size of the target cluster, construct an outer expansion rectangular frame of the target cluster whose size is larger than the first target size; Based on the second target size of the other clusters, construct a range rectangular frame of the other clusters with a size equal to the second target size; Target recognition is performed according to the positions and point cloud velocities within the outer expansion rectangular frame of the target cluster and the range rectangular frames of the other clusters.

10. The method according to claim 9, characterized in that The target recognition is performed according to the position and speed of the point cloud within the outer expansion rectangular frame of the target cluster and the range rectangular frames of the other clusters, including: According to the positions of the outer expansion rectangular frame of the target cluster and the range rectangular frames of the other clusters, determining whether the outer expansion rectangular frame of the target cluster and the range rectangular frames of the other clusters have an intersection; If there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular box of the other clusters exceeds the preset proportional area of ​​the range rectangular box, or exceeds the preset proportional area of ​​the outer expansion rectangular box, then the point cloud in the target cluster is determined to be a noise point cloud and is filtered out; If there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular box of the other clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box, and the speed difference between the point cloud speeds of the target cluster and the other clusters is less than or equal to the preset speed error, then it is determined that the target cluster and the other clusters are the same target class; If there is an intersection, and the overlapping area of ​​the outer expansion rectangular box of the target cluster and the range rectangular box of the other clusters does not exceed the preset proportional area of ​​the range rectangular box, or does not exceed the preset proportional area of ​​the outer expansion rectangular box, and the speed difference between the point cloud speeds of the target cluster and the other clusters is greater than the preset speed error, it is determined that the target cluster and the other clusters are not the same target class; If there is no intersection, it is determined that the target cluster and the other clusters are not the same target class.