Track updating method for multiple objects, computing device and storage medium
By obtaining and updating the target point position and status parameters in the track, and prioritizing the association of target tracks with high status parameters, the problem of low monitoring accuracy of multiple objects is solved and accurate monitoring of multiple objects is achieved.
Patent Information
- Application Number
- CN202310438801.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-21
- Publication Date
- 2024-10-22
AI Technical Summary
In the scenario of monitoring multiple objects, the remote monitoring objects are not concentrated, resulting in poor monitoring accuracy.
By obtaining the position of the last target point of each track in multiple tracks at the current moment and the position of the target point to be associated collected by the millimeter wave radar, combined with the state parameters of the previous moment, the state parameters are calculated in order from high to low. The target track is updated, and priority is given to associating target points to be associated with target tracks with high status parameters to improve the accuracy of track association.
It improves the monitoring accuracy in scenarios where multiple objects are monitored and ensures accurate monitoring of multiple objects on the road.
Smart Images

Figure CN118818486A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radar signal processing technology, and in particular to a track updating method for multiple objects, a computing device, and a storage medium. Background Art
[0002] With the rapid development of economy, the popularity of automobiles has brought great convenience to people's travel. In order to monitor the road conditions, millimeter wave radars and computing devices for receiving millimeter wave radar data can be set at road intersections.
[0003] However, in the scenario of monitoring multiple objects on the road, the number of monitored objects is not fixed and the long-distance monitored objects are not concentrated, resulting in poor monitoring accuracy in the scenario of monitoring multiple objects.
[0004] How to achieve accurate monitoring of multiple objects on the road is an urgent problem to be solved. Summary of the invention
[0005] In order to solve the above-mentioned problems in the prior art, the embodiments of the present application provide a track update method for multiple objects, a computing device and a storage medium, which can realize accurate monitoring of multiple objects on the road.
[0006] In a first aspect, an embodiment of the present application provides a method for updating tracks of multiple objects, which is applied to a computing device, and the method includes:
[0007] Obtaining the position of the last target point of each of the multiple tracks at the current moment, and the positions of multiple target points to be associated collected by the millimeter-wave radar at the current moment; each of the multiple tracks is the track of one of the multiple objects;
[0008] Get the status parameters of each track at the last moment;
[0009] For each target track whose state parameter is higher than the set threshold, update each target track in the order of the state parameters from high to low by the following operations: according to the position of the last target point in each target track and the positions of the multiple target points to be associated, associate the multiple target points to be associated with the target track respectively; if there is a target point to be associated that is successfully associated, add the set value to the state parameter of the target track at the previous moment to obtain the state parameter of the target track at the current moment, and add the successfully associated target point to be associated to the target track; if the multiple target points to be associated all fail to be associated, reduce the set value from the state parameter of the target track at the previous moment to obtain the state parameter of the target track at the current moment;
[0010] Output each updated target track.
[0011] In a possible implementation manner, obtaining the positions of multiple target points to be associated collected by the millimeter wave radar at the current moment includes:
[0012] Get multiple radar data points collected by the millimeter-wave radar at the current moment;
[0013] determining, based on the positions of the plurality of radar data points, whether at least two radar data points among the plurality of radar data points belong to the same object;
[0014] If so, cluster at least two radar data points belonging to the same object into one radar data point;
[0015] The positions of the multiple radar data points obtained after clustering are used as the positions of the multiple target points to be associated.
[0016] In a possible implementation manner, the positions of the multiple radar data points include distances and angles of the multiple radar data points relative to the vehicle, and determining, based on the positions of the multiple radar data points, whether at least two of the multiple radar data points belong to the same object includes:
[0017] converting the distances and angles of the plurality of radar data points relative to the vehicle into coordinates of the plurality of radar data points;
[0018] According to the coordinates of the plurality of radar data points, it is determined whether at least two radar data points among the plurality of radar data points belong to the same object.
[0019] In a possible implementation, determining, according to the coordinates of the multiple radar data points, whether at least two radar data points among the multiple radar data points belong to the same object includes:
[0020] If it is determined according to the coordinates of the multiple radar data points that the distance between at least two of the multiple radar data points is less than the set distance threshold, it is determined that at least two of the multiple radar data points belong to the same object.
[0021] In a possible implementation, associating the multiple target points to be associated with the target track respectively according to the position of the last target point in each target track and the positions of the multiple target points to be associated, includes:
[0022] Determine the distance between each target point to be associated and each target track according to the position of the last target point in each target track and the positions of the plurality of target points to be associated;
[0023] Generate a distance matrix according to the distance between each target point to be associated and each target track;
[0024] Based on the distance matrix, the multiple target points to be associated are respectively associated with the target track.
[0025] In a possible implementation, the position of the last target point in the target track includes the track angle of the last target point in the target track relative to the vehicle, the position of the target point to be associated includes the angle of the target point to be associated relative to the vehicle, and the associating the multiple target points to be associated with the target track respectively based on the distance matrix includes:
[0026] Sorting the plurality of target points to be associated according to the order of the distance between each target point to be associated and the target track in the distance matrix from near to far;
[0027] The first target point to be associated is used as the current target point to be associated, and the following operations are repeatedly performed until the current target point to be associated is successfully associated with the target track;
[0028] Determine the angle difference between the track angle corresponding to the target track and the angle of the current target point to be associated with the vehicle;
[0029] If the angle difference is greater than or equal to the set angle threshold, it is determined that the current target point to be associated with the target track fails to be associated, and the next target point to be associated is used as the new current target point to be associated;
[0030] If the angle difference is less than the set angle threshold, it is determined that the current target point to be associated is successfully associated with the target track.
[0031] In a possible implementation, each row of the distance matrix corresponds to the distance between a target point to be associated and each target track, and each column of the distance matrix corresponds to the distance between a target track and each target point to be associated. After adding the successfully associated target point to be associated to the target track, the method further includes:
[0032] Delete the row where the successfully associated target point to be associated is located and the column where the target track is located.
[0033] In a possible implementation, outputting each updated target track includes:
[0034] Each updated target track is filtered and each filtered target track is output.
[0035] In a second aspect, an embodiment of the present application provides a method and apparatus for updating tracks of multiple objects, including:
[0036] An acquisition unit, used to acquire the position of the last target point of each track among the multiple tracks at the current moment, and the positions of the multiple target points to be associated collected by the millimeter-wave radar at the current moment; each track among the multiple tracks is the track of one object among the multiple objects;
[0037] Track update unit, used to obtain the status parameters of each track at the last moment;
[0038] For each target track whose state parameter is higher than the set threshold, update each target track in the order of the state parameters from high to low by the following operations: according to the position of the last target point in each target track and the positions of the multiple target points to be associated, associate the multiple target points to be associated with the target track respectively; if there is a target point to be associated that is successfully associated, add the set value to the state parameter of the target track at the previous moment to obtain the state parameter of the target track at the current moment, and add the successfully associated target point to be associated to the target track; if the multiple target points to be associated all fail to be associated, reduce the set value from the state parameter of the target track at the previous moment to obtain the state parameter of the target track at the current moment;
[0039] Output each updated target track.
[0040] In a third aspect, an embodiment of the present application provides a computing device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the computer program is executed by the processor, any one of the methods described in the first aspect for updating tracks of multiple objects is implemented.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the track updating methods for multiple objects in the first aspect is implemented.
[0042] The embodiment of the present application provides a track update method, computing device and storage medium for multiple objects, which can obtain the position of the last target point of each track in the multiple tracks at the current moment, the positions of the multiple target points to be associated collected by the millimeter-wave radar at the current moment, and the state parameters of each track at the previous moment, and can sequentially associate the multiple target points to be associated with each target track whose state parameter is higher than a set threshold value according to the position of the last target point of each track in the multiple tracks at the current moment, the positions of the multiple target points to be associated collected by the millimeter-wave radar at the current moment, and the state parameters of each track at the previous moment. Prioritizing the association of the target points to be associated with the target tracks with high state parameters can improve the accuracy of track association, thereby improving the monitoring accuracy in the scenario of monitoring multiple objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0044] Figure 1 An application scenario diagram of a method for updating the track of multiple objects provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of the structure of a computing device provided in an embodiment of the present application;
[0046] Figure 3 A flowchart of a method for updating tracks of multiple objects provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of multiple tracks provided in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of multiple tracks provided in an embodiment of the present application;
[0049] Figure 6 A flowchart of a method for updating tracks of multiple objects provided in an embodiment of the present application;
[0050] Figure 7 A schematic diagram of radar data provided by an embodiment of the present application;
[0051] Figure 8 A flowchart of a method for updating tracks of multiple objects provided in an embodiment of the present application;
[0052] Fig. 9 A schematic diagram of a radar data point provided in an embodiment of the present application;
[0053] Fig.10 A schematic diagram of a radar data point provided in an embodiment of the present application;
[0054] Fig.11 A flowchart of a method for updating tracks of multiple objects provided in an embodiment of the present application;
[0055] Fig.12 A flowchart of a method for updating tracks of multiple objects provided in an embodiment of the present application;
[0056] Fig.13 A schematic diagram of multiple tracks provided in an embodiment of the present application;
[0057] Fig.14 A schematic diagram of multiple tracks provided in an embodiment of the present application;
[0058] Fig.15 A schematic diagram of multiple tracks provided in an embodiment of the present application;
[0059] Fig.16 A schematic diagram of multiple tracks provided in an embodiment of the present application;
[0060] Fig.17 A schematic diagram of a track updating device for multiple objects provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of this application clearer, this application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0062] It should be noted that the application scenarios described in the following embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. A person of ordinary skill in the art can know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0063] With the rapid development of science and technology, the popularity of cars has brought great convenience to people's travel. As the number of cars increases, the road conditions become more complicated. In order to monitor the road conditions, millimeter-wave radars can be set at the intersections of the road, as well as computing equipment for receiving millimeter-wave radar data.
[0064] However, in the scenario of monitoring multiple objects, the number of monitored objects is not fixed and the long-distance monitored objects are not concentrated, resulting in poor monitoring accuracy in the scenario of monitoring multiple objects.
[0065] Based on this, an embodiment of the present application provides a track update method for multiple objects, which can obtain the position of the last target point of each track in the multiple tracks at the current moment, the positions of the multiple target points to be associated collected by the millimeter-wave radar at the current moment, and the state parameters of each track at the previous moment, and can sequentially associate the multiple target points to be associated with each target track whose state parameters are higher than a set threshold according to the position of the last target point of each track in the multiple tracks at the current moment, the positions of the multiple target points to be associated collected by the millimeter-wave radar at the current moment, and the state parameters of each track at the previous moment. Prioritizing the association of the target points to be associated with the target tracks with high state parameters can improve the accuracy of track association, thereby improving the monitoring accuracy in the scenario of monitoring multiple objects.
[0066] The following first briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0067] Figure 1 Schematic diagram of application scenarios of the method for updating the track of multiple objects provided in the embodiment of the present application. Figure 1 As shown, the application scenario includes a millimeter wave radar 100 and a computing device 200, and the millimeter wave radar 100 and the computing device 200 can be connected via a network. The millimeter wave radar 100 can monitor multiple objects on the road in real time and send the collected radar data points corresponding to the multiple objects to the computing device 200. Figure 1 Taking multiple objects being cars as an example for explanation, in actual application, multiple objects may be electric vehicles, bicycles, tricycles or pedestrians and other objects that need to be monitored on the road. Multiple objects may be the same, for example, multiple objects may all be cars. Multiple objects may also be different, for example, multiple objects may include both cars and bicycles and pedestrians, which is not limited in this application. The computing device 200 receives the radar data points collected by the millimeter wave radar 100, and may associate the radar data points with the pre-stored target tracks, and render each associated target track to the display interface in the computing device to assist the driver in driving, or each associated target track may be sent to the traffic control platform to assist traffic control personnel in monitoring road condition information.
[0068] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method may be executed or executed in parallel in the actual processing process or when the device is executed in accordance with the method sequence shown in the embodiment or drawings.
[0069] Figure 2 The hardware configuration block diagram of the computing device 200 in the embodiment of the present application is exemplarily shown. Figure 2 As shown, the computing device 200 may include: a processor 210 , a memory 220 , a display 230 , and a bus 240 ; the processor 210 , the memory 220 , and the display 230 are connected via the bus 240 .
[0070] Display 230 is used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of computing device 200. Specifically, display 230 can be configured in the form of a liquid crystal display, a light emitting diode, etc. Display 230 can be used to display the interface of the computing device when it is running, and can also display the tracks of multiple objects in this application.
[0071] The memory 220 may be used to store data or program codes used when the computing device is running. The processor 210 executes various functions and data processing of the computing device 200 by running the data or program codes stored in the memory 220. The memory 220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 220 stores an operating system that enables the computing device 200 to run.
[0072] The processor 210 is the control center of the computing device 200. It uses various interfaces and lines to connect various parts of the entire computing device 200. It executes various functions of the computing device 200 and processes data by running or executing software programs stored in the memory 220 and calling data stored in the memory 220. In some embodiments, the processor 210 may include one or more processing units. In this application, the processor 210 can run an operating system, an application program, a user interface display and touch response, and a track update method for multiple objects described in an embodiment of the present application. The specific process of the processor 210 executing the track update method for multiple objects will be described in detail below.
[0073] Figure 3 A flowchart of a method for updating the track of multiple objects provided by an embodiment of the present application is shown. The method can be applied to Figure 2 In the computing device shown. Figure 3 As shown, the method may include the following steps:
[0074] Step S301, obtaining the position of the last target point of each track in the multiple tracks at the current moment, and the positions of multiple target points to be associated collected by the millimeter wave radar at the current moment.
[0075] In order to continuously monitor the movement of multiple other objects on the road, the position of the last target point of each track in the multiple tracks at the current moment and the positions of multiple target points to be associated collected by the millimeter-wave radar at the current moment can be obtained.
[0076] Each of the multiple tracks is the track of one of the multiple objects on the road, and the track of each object includes the position of the target point corresponding to the object on the road at different times. Figure 4 As shown, assuming that other objects on the current road are vehicle a, vehicle b and vehicle c, the tracks of vehicle a, vehicle b and vehicle c can be track A, track B and track C.
[0077] In an optional implementation, in order to obtain the position of the last target point of each track in the multiple tracks at the current moment, the multiple track information pre-stored in the memory of the computing device can be read, wherein the position of the last target point of each track is the position of the target point last associated with each track in the track information, that is, the position of the most recently associated target point. For example, assuming that vehicles a, b and c are Figure 5 If you follow the arrow direction, the position of the last target point of track A, track B and track C is as follows: Figure 5 shown.
[0078] After obtaining the position of the last target point of each track in the multiple tracks at the current moment, the positions of multiple target points to be associated collected by the millimeter-wave radar at the current moment can be obtained.
[0079] In an optional implementation, a method for obtaining the positions of multiple target points to be associated collected by the millimeter wave radar at the current moment is as follows: Figure 6 As shown, the following steps may be included:
[0080] Step S3011, obtaining multiple radar data points collected by the millimeter wave radar at the current moment.
[0081] like Figure 7 As shown, the data frame collected by the millimeter-wave radar at the current moment includes the distances and angles of multiple radar data points relative to the vehicle.
[0082] Step S3012: Determine, based on the positions of the multiple radar data points, whether at least two radar data points among the multiple radar data points belong to the same object.
[0083] In an optional embodiment, if Figure 8 As shown, determining whether at least two radar data points among the multiple radar data points belong to the same object according to the positions of the multiple radar data points may include the following steps:
[0084] Step S801, converting the distances and angles of multiple radar data points relative to the vehicle into coordinates of the multiple radar data points.
[0085] In some embodiments, the distances and angles of the plurality of radar data points relative to the vehicle may be converted into coordinates of the plurality of radar data points.
[0086] Specifically, the distance r and the angle α of each radar data point in the plurality of radar data points relative to the vehicle may be converted into an (x, y) coordinate system, wherein x=r*sinα, y=r*cosα.
[0087] Step S802: determining, based on the coordinates of the plurality of radar data points, whether at least two radar data points among the plurality of radar data points belong to the same object.
[0088] In some embodiments, if it is determined based on the coordinates of the multiple radar data points that the distance between at least two radar data points in the multiple radar data points is less than a set distance threshold, it is determined that at least two radar data points in the multiple radar data points belong to the same object. The set distance threshold can be set according to actual needs, and the present application does not limit this. For example, in one embodiment, the set distance threshold can be 0.5 meters.
[0089] For example, assuming that in the same data frame, the distance d between the radar data point m (r1*sinα1, r1*cosα1) and the radar data point n (r2*sinα2, r2*cosα2) is less than the set distance threshold, it can be determined as follows Fig. 9 The radar data point m and the radar data point n shown belong to the same object.
[0090] in,
[0091] In another optional implementation, based on the positions of the multiple radar data points, it may be determined according to a DBSCAN clustering method whether at least two radar data points among the multiple radar data points belong to the same object.
[0092] Specifically, we can first set the two parameters required by the DBSCAN clustering method: scanning radius (eps) and minimum number of included points (minPts). Then, we can select any unvisited radar data point as the current radar data point, find all nearby radar data points within eps (including eps) from the current radar data point, and if the nearby radar data point is ≥minPts, the current radar data point and the nearby radar data points form a cluster, and the current radar data point is marked as visited. Finally, recursively process all radar data points in the cluster that are not marked as visited in the same way, thereby expanding the cluster. If the same cluster contains at least two radar data points, it can be considered that at least two of the multiple radar data points belong to the same object.
[0093] Step S3013: If present, cluster at least two radar data points belonging to the same object into one radar data point.
[0094] In an optional implementation, if at least two radar data points among the plurality of radar data points belong to the same object, the radar data points belonging to the same object may be clustered into one radar data point.
[0095] Let's continue to use the example that radar data point m (r1*sinα1, r1*cosα1) and radar data point n (r2*sinα2, r2*cosα2) belong to the same object. Fig.10 As shown, radar data point m and radar data point n can be clustered into one radar data point f. The coordinates of radar data point f can be the coordinates of radar data point m (r1*sinα1, r1*cosα1), or the coordinates of radar data point f can be the coordinates of radar data point n (r2*sinα2, r2*cosα2), or the coordinates of radar data point f can be the average of the coordinates of radar data point m and radar data point n ((r1*sinα1+r2*sinα2) / 2, (r1*cosα1+r2*cosα2) / 2).
[0096] Step S3014: The positions of the multiple radar data points obtained after clustering are used as the positions of the multiple target points to be associated.
[0097] After clustering is completed, the positions of the multiple radar data points obtained after clustering can be used as the positions of the multiple target points to be associated.
[0098] Step S302, obtaining the state parameters of each track at the last moment.
[0099] Among them, the state parameter of each track represents the number of points recorded for each track, which can be used to characterize the reliability of each track.
[0100] Step S303, for each target track whose state parameter is higher than the set threshold, update each target track in sequence according to the state parameter from high to low.
[0101] In order to improve the accuracy of track association, track initiation processing may be performed first. After the track initiation processing is completed, each track whose state parameter is higher than a set threshold may be used as a target track to be associated.
[0102] Among them, the state parameters at the beginning of the track are used to record the number of target points recorded in the track. The reliability of the track can be judged based on the state parameters at the beginning of the track. If the state parameters of the track are higher than the set threshold, it means that the track is stable and reliable, and it is a stable track. If the state parameters of the track are lower than or equal to the set threshold, it means that the track is a false track.
[0103] In an optional embodiment, if radar data points in N or more data frames are marked with the same track number among adjacent M frames of data frames, the track corresponding to the same track number is identified as the target track. At this time, the state parameter of the track is obtained as the number of data frames in which the radar data points are marked with the same track number. The target track is retained and then associated. Among them, N is the set threshold under the adjacent M frames of data frames. If radar data points in N or less data frames are marked with the same track number among adjacent M frames of data frames, the track corresponding to the same track number is identified as a false track, and the false track is deleted without association.
[0104] For example, M is 6 and the threshold N is set to 3. Assuming that radar data points in 5 of the 6 adjacent data frames are marked as track 1, track 1 is identified as the target track. At this time, the state parameter of track 1 is 5, and track 1 is retained, and track 1 is subsequently associated. Assuming that radar data points in 2 of the 6 adjacent data frames are marked as track 2, track 2 is identified as a false track and deleted, and no subsequent association processing is performed.
[0105] After determining the target tracks whose state parameters are higher than the set threshold, each target track may be updated in sequence according to the state parameters from high to low.
[0106] Exemplarily, any target track can be updated by the following operations: according to the position of the last target point in each target track and the positions of multiple target points to be associated, multiple target points to be associated are respectively associated with the target track; if there is a target point to be associated that is successfully associated, the set value is added to the state parameters of the target track at the previous moment to obtain the state parameters of the target track at the current moment, and the successfully associated target point to be associated is added to the target track; if multiple target points to be associated all fail to be associated, the set value is reduced from the state parameters of the target track at the previous moment to obtain the state parameters of the target track at the current moment.
[0107] In an alternative embodiment, the Fig.11 The method shown in the figure updates each target track in turn. The method may include the following steps:
[0108] Step S1101, according to the position of the last target point in each target track and the positions of multiple target points to be associated, determine the distance between each target point to be associated and each target track.
[0109] In an optional implementation, the distance between each target point to be associated and each target track can be determined according to formula (1), which can be expressed as:
[0110]
[0111] Among them, D ij (k) represents the distance between the i-th target point to be associated and the target track j at time k, represents the measurement residual between the i-th target point to be associated and the target track j at time k, S j (k) is the innovation covariance matrix of the target track j at time k, T represents the transpose, and -1 represents the inverse of the innovation covariance matrix of the target track j at time k.
[0112] Step S1102: Generate a distance matrix according to the distance between each target point to be associated and each target track.
[0113] Each row of the distance matrix corresponds to the distance between a target point to be associated and each target track, and each column of the distance matrix corresponds to the distance between a target track and each target point to be associated.
[0114] After determining the distance between each target point to be associated and each target track, a distance matrix may be generated according to the distance between each target point to be associated and each target track.
[0115] For example, the distance matrix D can be expressed as follows using formula (2):
[0116]
[0117] Step S1103: associate multiple target points to be associated with the target track respectively based on the distance matrix.
[0118] In an alternative embodiment, the Fig.12 The method shown, based on the distance matrix, associates multiple target points to be associated with the target track respectively. The method may include the following steps:
[0119] Step S1201, sorting a plurality of target points to be associated according to the order of the distance between each target point to be associated and the target track in the distance matrix from near to far.
[0120] In order to improve the accuracy of track association, the distance between each target point to be associated in the distance matrix and the target track can be sorted in order from near to far. After sorting the multiple target points to be associated, the target point to be associated closest to the target track can be taken as the first target point to be associated, and is preferentially associated with the target track.
[0121] Step S1202: The first target point to be associated is used as the current target point to be associated, and the following operations are repeatedly performed until the current target point to be associated is successfully associated with the target track.
[0122] In an optional implementation, the angle difference between the track angle corresponding to the target track and the angle of the current target point to be associated with the vehicle may be determined first.
[0123] For example, the angle difference between the track angle corresponding to the target track and the angle of the current target point to be associated with the vehicle can be determined by formula (3), which can be expressed as:
[0124]
[0125] Among them, Δα ij (k) is the angle difference between the track angle corresponding to the target track at time k and the angle of the current target point to be associated with the vehicle, α i (k) is the angle of the i-th target point to be associated with the vehicle at time k, is the track angle corresponding to the target track j at time k-1.
[0126] After determining the angle difference between the track angle corresponding to the target track and the angle of the current target point to be associated with the vehicle. If the angle difference is greater than or equal to the set angle threshold, it is determined that the current target point to be associated with the target track fails to be associated, and the next target point to be associated is used as the new current target point to be associated. If the angle difference is less than the set angle threshold, it is determined that the current target point to be associated with the target track is successfully associated.
[0127] After determining that the current target point to be associated is successfully associated with the target track, the set value can be added to the state parameter of the target track at the previous moment to obtain the state parameter of the target track at the current moment, and the successfully associated target point to be associated is added to the target track, and the row where the successfully associated target point to be associated is located and the column where the target track is located are deleted. If multiple target points to be associated fail to be associated, the set value is reduced on the state parameter of the target track at the previous moment.
[0128] For example, Fig.13 As shown, it is assumed that there are three tracks and three target points to be associated at the current moment, namely track A, track B and track C, and points 1, 2 and 3. If the state parameter of track A is the highest, the state parameter of track B is the second, and the state parameter of track C is the lowest. Then track A can be associated first, and point 1, which is closest to track A, is selected to determine whether the angle of point 1 and the track angle of track A is less than the angle threshold. If it is less, a set value can be added to the state parameter of track A. For example, the set value can be 1. After obtaining the state parameters of track A at the current moment, as shown in Fig.14 As shown, point 1 can be added to track A. After track A is successfully associated, it can continue to be associated with track B, select point 2 closest to track B, and determine whether the angle between point 2 and the track angle of track B is less than the angle threshold. If it is less, the set value can be added to the state parameter of track B. After obtaining the state parameter of track B at the current moment, as shown in Fig.15 As shown, point 2 can be added to track B. After track B is successfully associated, it can continue to be associated with track C, select point 3 closest to track C, and determine whether the angle between point 3 and the track angle of track C is less than the angle threshold. If it is less than, the set value can be added to the state parameter of track C. After obtaining the state parameter of track C at the current moment, as shown in Fig.16 As shown, point 3 can be added to track C.
[0129] Step S304, output each updated target track.
[0130] After each target track is associated, each updated target track may be filtered and each filtered target track may be output.
[0131] Exemplarily, Kalman filtering may be used to estimate the motion states of multiple monitored objects, so that the associated incoherent object states become continuous, thereby further improving the monitoring accuracy in multiple object scenarios.
[0132] This application can obtain the position of the last target point of each track in multiple tracks at the current moment, the positions of multiple target points to be associated collected by the millimeter-wave radar at the current moment, and the state parameters of each track at the previous moment, and can sequentially associate multiple target points to be associated with each target track whose state parameters are higher than a set threshold according to the position of the last target point of each track in multiple tracks at the current moment, the positions of multiple target points to be associated collected by the millimeter-wave radar at the current moment, and the state parameters of each track at the previous moment. Prioritizing the association of target points to be associated with target tracks with high state parameters effectively improves the accuracy of track association, thereby improving the monitoring accuracy in scenarios where multiple objects are monitored.
[0133] Based on the same inventive concept, the present application also provides a track updating device for multiple objects, such as Fig.17 As shown, the track updating device for multiple objects includes:
[0134] The acquisition unit 1701 is used to obtain the position of the last target point of each track in the multiple tracks at the current moment, and the positions of multiple target points to be associated collected by the millimeter wave radar at the current moment. Each track in the multiple tracks is the track of an object in the multiple objects.
[0135] The track updating unit 1702 is used to obtain the state parameters of each track at the previous moment. For each target track whose state parameters are higher than the set threshold, each target track is updated in the order of the state parameters from high to low through the following operations: according to the position of the last target point in each target track and the positions of multiple target points to be associated, multiple target points to be associated are respectively associated with the target track; if there are target points to be associated that are successfully associated, the set value is added to the state parameters of the target track at the previous moment to obtain the state parameters of the target track at the current moment, and the successfully associated target points to be associated are added to the target track; if multiple target points to be associated fail to be associated, the set value is reduced from the state parameters of the target track at the previous moment to obtain the state parameters of the target track at the current moment, and each updated target track is output.
[0136] In a possible implementation, the track updating unit 1702 is specifically used to: obtain multiple radar data points collected by the millimeter-wave radar at the current moment, and determine whether at least two radar data points among the multiple radar data points belong to the same object based on the positions of the multiple radar data points; if so, cluster the at least two radar data points belonging to the same object into one radar data point, and use the positions of the multiple radar data points obtained after clustering as the positions of multiple target points to be associated.
[0137] In a possible implementation, the track updating unit 1702 is specifically used to: convert the distances and angles of multiple radar data points relative to the vehicle into coordinates of the multiple radar data points, and determine whether at least two radar data points among the multiple radar data points belong to the same object based on the coordinates of the multiple radar data points.
[0138] In a possible implementation, the track updating unit 1702 is specifically used to: if it is determined based on the coordinates of the multiple radar data points that the distance between at least two radar data points among the multiple radar data points is less than a set distance threshold, then it is determined that at least two radar data points among the multiple radar data points belong to the same object.
[0139] In a possible implementation, the track updating unit 1702 is specifically used to: determine the distance between each target point to be associated and each target track according to the position of the last target point in each target track and the positions of multiple target points to be associated, generate a distance matrix according to the distance between each target point to be associated and each target track, and associate the multiple target points to be associated with the target tracks respectively based on the distance matrix.
[0140] In one possible implementation, the track updating unit 1702 is specifically used to: sort multiple target points to be associated in the order of the distance between each target point to be associated and the target track in the distance matrix from near to far, use the first target point to be associated as the current target point to be associated, repeat the following operations until the current target point to be associated is successfully associated with the target track, determine the angle difference between the track angle corresponding to the target track and the angle of the current target point to be associated relative to the vehicle, if the angle difference is greater than or equal to the set angle threshold, determine that the current target point to be associated with the target track has failed to be associated, use the next target point to be associated as the new current target point to be associated, if the angle difference is less than the set angle threshold, determine that the current target point to be associated is successfully associated with the target track.
[0141] In a possible implementation, the track updating unit 1702 is specifically configured to delete the row where the successfully associated target point to be associated is located and the column where the target track is located.
[0142] In a possible implementation, the track updating unit 1702 is specifically configured to filter each updated target track and output each filtered target track.
[0143] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0144] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0145] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0147] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for updating the track of multiple objects, characterized in that: Applied to a computing device, the method comprises: Obtaining the position of the last target point of each of the multiple tracks at the current moment, and the positions of multiple target points to be associated collected by the millimeter-wave radar at the current moment; each of the multiple tracks is the track of one of the multiple objects; Get the status parameters of each track at the last moment; For each target track whose state parameter is higher than the set threshold, update each target track in the order of the state parameters from high to low by the following operations: according to the position of the last target point in each target track and the positions of the multiple target points to be associated, associate the multiple target points to be associated with the target track respectively; if there is a target point to be associated that is successfully associated, add the set value to the state parameter of the target track at the previous moment to obtain the state parameter of the target track at the current moment, and add the successfully associated target point to be associated to the target track; if the multiple target points to be associated all fail to be associated, reduce the set value from the state parameter of the target track at the previous moment to obtain the state parameter of the target track at the current moment; Output each updated target track.
2. The method according to claim 1, characterized in that The obtaining of the positions of multiple target points to be associated collected by the millimeter wave radar at the current moment includes: Get multiple radar data points collected by the millimeter-wave radar at the current moment; determining, based on the positions of the plurality of radar data points, whether at least two radar data points among the plurality of radar data points belong to the same object; If so, cluster at least two radar data points belonging to the same object into one radar data point; The positions of the multiple radar data points obtained after clustering are used as the positions of the multiple target points to be associated.
3. The method according to claim 2, characterized in that The positions of the plurality of radar data points include distances and angles of the plurality of radar data points relative to the vehicle, and determining, based on the positions of the plurality of radar data points, whether at least two of the plurality of radar data points belong to the same object includes: converting the distances and angles of the plurality of radar data points relative to the vehicle into coordinates of the plurality of radar data points; According to the coordinates of the plurality of radar data points, it is determined whether at least two radar data points among the plurality of radar data points belong to the same object.
4. The method according to claim 3, characterized in that The determining, according to the coordinates of the plurality of radar data points, whether at least two radar data points among the plurality of radar data points belong to the same object comprises: If it is determined according to the coordinates of the multiple radar data points that the distance between at least two of the multiple radar data points is less than the set distance threshold, it is determined that at least two of the multiple radar data points belong to the same object.
5. The method according to claim 1, characterized in that The step of associating the plurality of target points to be associated with the target track respectively according to the position of the last target point in each target track and the positions of the plurality of target points to be associated includes: Determine the distance between each target point to be associated and each target track according to the position of the last target point in each target track and the positions of the plurality of target points to be associated; Generate a distance matrix according to the distance between each target point to be associated and each target track; Based on the distance matrix, the multiple target points to be associated are respectively associated with the target track.
6. The method according to claim 5, characterized in that The position of the last target point in the target track includes the track angle of the last target point in the target track relative to the vehicle, the position of the target point to be associated includes the angle of the target point to be associated relative to the vehicle, and the associating the multiple target points to be associated with the target track respectively based on the distance matrix includes: Sorting the plurality of target points to be associated according to the order of the distance between each target point to be associated and the target track in the distance matrix from near to far; The first target point to be associated is used as the current target point to be associated, and the following operations are repeatedly performed until the current target point to be associated is successfully associated with the target track; Determine the angle difference between the track angle corresponding to the target track and the angle of the current target point to be associated with the vehicle; If the angle difference is greater than or equal to the set angle threshold, it is determined that the current target point to be associated with the target track fails to be associated, and the next target point to be associated is used as the new current target point to be associated; If the angle difference is less than the set angle threshold, it is determined that the current target point to be associated is successfully associated with the target track.
7. The method according to claim 5, characterized in that Each row of the distance matrix corresponds to the distance between a target point to be associated and each target track, and each column of the distance matrix corresponds to the distance between a target track and each target point to be associated. After adding the successfully associated target point to be associated to the target track, the method further includes: Delete the row where the successfully associated target point to be associated is located and the column where the target track is located.
8. The method according to claim 1, characterized in that Each target track after the output is updated includes: Each updated target track is filtered and each filtered target track is output.
9. A computing device, characterized in that The method comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the computer program is executed by the processor, the method according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
