Prediction method and device based on target tracking algorithm, vehicle and medium
Through the prediction method based on the target tracking algorithm, video data processing is used to output confidence targets and tracking trace sets, which solves the problem of inaccurate target information in ghost probe scenes, improves the vehicle's perception of ghost probe scenes, and reduces false associations. and abnormal speed.
Patent Information
- Application Number
- CN202410821090.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-17
AI Technical Summary
In the ghost probe scenario, the target information detected by the sensor is not accurate enough, resulting in a short response time of the planning and control module. The existing technology has problems such as large target position errors and poor detection capabilities.
The prediction method based on the target tracking algorithm is adopted, and the confidence target set and the tracking trace set are output through video data processing. The target status is determined based on the correlation results and the tracking trace life, and the perception ability of the ghost probe scene is improved without the need to install additional sensors.
It improves the vehicle's perception of ghost probe scenes and reduces the probability of vertical mis-association and speed anomalies of the detected target in the direction of movement.
Smart Images

Figure CN118658142A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent driving technology, and in particular to a prediction method based on target tracking, a prediction device based on target tracking, a computer-readable storage medium and a vehicle. Background Art
[0002] Ghost peeking scenarios are common and difficult to overcome in the field of autonomous driving. The reason is that in ghost peeking scenarios, the target appears suddenly. When each sensor detects the target, the target is already close to the vehicle. The time for each sensor to detect the target is short, and the motion state of the target has not yet converged to a stable value, resulting in a short time for the planning and control modules to respond, and the target information provided by each sensor to the planning and control modules is not accurate enough. Therefore, if each sensor can output the detected target information as early as possible and accurately, it will be beneficial for the downstream planning and control modules to respond to the ghost peeking scenario in a timely and correct manner.
[0003] In the related art, the patent document entitled "Device for Preventing Ghost Crossing" with application number CN202121690255.7 is disclosed. The sensor part of the device is composed of a camera and a radar. The sensor collects the image, position and distance information of people around the large vehicle in real time and transmits it to the central processor. The central processor analyzes the perception information in real time and displays the perception results on the display screen behind the large vehicle. The early warning device prompts whether the small vehicle behind the large vehicle can drive. However, this method requires the installation of a huge display behind the large vehicle, and it is necessary to ensure that the rear vehicle is reminded to prevent ghost crossing. The patent document entitled "Non-line-of-sight detection ghost crossing early warning method based on vehicle-mounted millimeter-wave radar and visual sensor" with application number CN202211197562.0 is disclosed. The surrounding information is obtained by millimeter-wave radar and visual sensor, and the target output by the sensor is tracked to obtain the stable position information of the target, so as to realize the early warning and positioning of the ghost crossing target. This method is limited in many aspects: First, since the ghost probe targets are mostly partially or fully blocked, for partial blockage, due to the lack of grounding points, the position of the target output by visual detection is generally different from the actual position. Second, the detection ability of millimeter wave radar for pedestrians is poor, and when the ghost probe is blocked, the detection ability of millimeter wave will be even worse. Third, since the position error of the ghost probe target output by visual detection is large, it is likely that it will not be associated with the target detected by millimeter wave. Even if it is associated, the target position obtained after the final fusion is also very different from the actual one. The patent document with application number CN202310760857.2 and titled "A Driving Ghost Probe Intelligent Detection System and Method" discloses a wireless transmission module for multi-vehicle interconnection, which can send the ghost probe target detected by the ultrasonic sensor of another vehicle to the vehicle, and transmit it to the alarm module for safety judgment. However, this method uses a communication module for multi-vehicle interconnection to realize the sharing of detection information, and does not belong to single-vehicle intelligence. Summary of the invention
[0004] One of the purposes of the present invention is to provide a prediction method based on a target tracking algorithm, which does not require the installation of additional sensors. By tracking and utilizing the information of partially obscured detection targets with low confidence, the information is immediately released when the confidence of the partially obscured targets reaches a threshold, so as to advance the timing of target output and improve the vehicle's perception ability of ghost-peek scenes; the second purpose is to provide a prediction device based on a target tracking algorithm; the third purpose is to provide a computer-readable storage medium; and the fourth purpose is to provide a vehicle.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] A prediction method based on a target tracking algorithm, the method comprising: collecting video data of the driving direction of a target vehicle; processing the video data based on preset target tracking, and outputting a first confidence target set and a first tracking track set; associating the first confidence target set with the first tracking track set to obtain an association result; determining a target tracking track set according to the association result; determining a state of a tracking track according to the life span of each tracking track in the target tracking track set, so as to control the target vehicle according to the state of each tracking track in the target tracking track set.
[0007] According to one embodiment of the present invention, the state of the tracking trace is determined based on the lifespan of each tracking trace in the target tracking trace set, including: obtaining the lifespan of each tracking trace; determining the state of the tracking trace whose lifespan is greater than or equal to a first preset lifespan threshold as an activated state; and determining the state of the tracking trace whose lifespan is less than the first preset lifespan threshold as an inactivated state.
[0008] According to one embodiment of the present invention, the first confidence target set is associated with the first tracking trace set, including: respectively obtaining the first Mahalanobis distance, the first Euclidean distance and the first angle between each first confidence target in the first confidence target set and each tracking trace in the first tracking trace set; and determining the association result of each first confidence target in the first confidence target set according to the first Mahalanobis distance, the first Euclidean distance and the first angle.
[0009] According to one embodiment of the present invention, the association result of each first confidence target in the first confidence target set is determined according to the first Mahalanobis distance, the first Euclidean distance and the first angle, including: when the first Mahalanobis distance is less than or equal to the first preset distance, and the product of the first Euclidean distance and the cosine value of the first angle is less than or equal to the second preset distance, and the product of the first Euclidean distance and the sine value of the first angle is less than or equal to the third preset distance, determining that the first confidence target is associated with the tracking trace to obtain a target tracking trace set; wherein the target tracking trace set includes all tracking traces in the first tracking trace set that are associated with any first confidence target in the first confidence target set.
[0010] According to one embodiment of the present invention, the association result of each first confidence target in the first confidence target set is determined according to the first Mahalanobis distance, the first Euclidean distance and the first angle, including: when the first Mahalanobis distance is greater than the first preset distance, or the product of the first Euclidean distance and the cosine value of the first angle is greater than the second preset distance, or the product of the first Euclidean distance and the sine value of the first angle is greater than the third preset distance, determining that the first confidence target is not associated with the tracking trace, and obtaining a second tracking trace set; wherein the second tracking trace set includes all tracking traces in the first tracking trace set that are not associated with any first confidence target in the first confidence target set.
[0011] According to one embodiment of the present invention, the above-mentioned prediction method also includes: processing the video data based on a preset target tracking algorithm, and outputting a second confidence target set, wherein the preset target tracking algorithm is configured to output a first confidence target set and a second confidence target set; if the second tracking trace set is not empty, then associating the second confidence target with each tracking trace in the second tracking trace set.
[0012] According to one embodiment of the present invention, the second confidence target is associated with each tracking trace in the second tracking trace set, including: respectively obtaining the second Mahalanobis distance, the second Euclidean distance and the second angle between each second confidence target in the second confidence target set and each tracking trace in the second tracking trace set; and determining the association result of each second confidence target in the second confidence target set according to the second Mahalanobis distance, the second Euclidean distance and the second angle.
[0013] According to one embodiment of the present invention, the association result of each second confidence target in the second confidence target set is determined according to the second Mahalanobis distance, the second Euclidean distance and the second angle, including: when the second Mahalanobis distance is less than or equal to the fourth preset distance, and the product of the cosine value of the second Euclidean distance and the second angle is less than or equal to the fifth preset distance, and the product of the second Euclidean distance and the sine value of the second angle is less than or equal to the sixth preset distance, determining that the second confidence target is associated with the tracking track to obtain a third tracking track set; when the second Mahalanobis distance is greater than the fourth preset distance, and When the product of the second Euclidean distance and the cosine value of the second angle is greater than the fifth preset distance, and the product of the second Euclidean distance and the sine value of the second angle is greater than the sixth preset distance, it is determined that the second confidence target is not associated with the tracking trace, and a fourth tracking trace set is obtained; wherein the third tracking trace set includes tracking traces in the second tracking trace set that are associated with any second confidence target in the second confidence target set, and the fourth tracking trace set includes tracking traces in the second tracking trace set that are not associated with any second confidence target in the second confidence target set.
[0014] According to one embodiment of the present invention, the above-mentioned prediction method also includes: if there are first confidence targets and / or second confidence targets in the first confidence target set and the second confidence target set that are not associated with any tracking trace in the first tracking trace set, then tracking traces are generated based on the unassociated first confidence target and / or second confidence target and incorporated into the fourth tracking trace set.
[0015] According to one embodiment of the present invention, the above-mentioned prediction method also includes: determining the state of each tracking trace in the third tracking trace set as an inactivated state; determining the state of each tracking trace in the fourth tracking trace set as a predicted state; determining the state of each tracking trace in the target tracking trace set and the third tracking trace set as a stable state, and obtaining the lifespan of each tracking trace in the stable state.
[0016] According to an embodiment of the present invention, the above prediction method further includes: obtaining the life span of each tracking trace in the fourth tracking trace set, and deleting the tracking traces whose life span is greater than a second preset life span threshold.
[0017] According to an embodiment of the present invention, the above prediction method further includes: determining that a first confidence target in a first confidence target set output by a preset target tracking algorithm is not a first frame of the video data.
[0018] According to one embodiment of the present invention, the above prediction method further includes: filtering the target tracking track set and the third tracking track set to update the position information, size and heading information of each target tracking track in the target tracking track set.
[0019] A prediction device based on a target tracking algorithm comprises: a data acquisition module for collecting video data of the driving direction of a target vehicle; an output module for processing the video data based on the target tracking algorithm and outputting a first confidence target set and a first tracking track set; an acquisition module for associating the first confidence target set with the first tracking track set to obtain an association result; a first determination module for determining the target tracking track set according to the association result; and a second determination module for determining the state of the tracking track according to the life span of each tracking track in the target tracking track set, so as to control the target vehicle according to the state of each tracking track in the target tracking track set.
[0020] A computer-readable storage medium stores a prediction program based on a target tracking algorithm, and the prediction program based on the target tracking algorithm implements the aforementioned prediction method based on the target tracking algorithm when executed by a processor.
[0021] A vehicle includes a memory, a processor, and a prediction program based on a target tracking algorithm stored in the memory and executable on the processor. When the processor executes the prediction program based on the target tracking algorithm, the aforementioned prediction method based on the target tracking algorithm is implemented.
[0022] Beneficial effects of the present invention:
[0023] (1) The prediction method of the present invention does not require the installation of additional sensors. By tracking and utilizing the information of the partially obscured detection target with low confidence, the information is immediately released when the confidence of the partially obscured target reaches a threshold, so as to advance the timing of target output and improve the vehicle's perception ability of ghost peeking scenes;
[0024] (2) By setting the association conditions, it is possible to reduce the mis-association of the detected target in the direction perpendicular to the direction of travel of the track, and reduce the probability of abnormal speed in the direction perpendicular to the direction of travel of the track. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a flowchart of a prediction method based on a target tracking algorithm according to some embodiments of the present invention;
[0026] Figure 2 A flowchart of a prediction method based on a target tracking algorithm according to some other embodiments of the present invention;
[0027] Figure 3 Schematic diagram of the effect of the prediction method based on the target tracking algorithm according to some other embodiments of the present invention;
[0028] Figure 4 A block diagram of a prediction device based on a target tracking algorithm according to some embodiments of the present invention;
[0029] Figure 5 is a block diagram of a vehicle according to some embodiments of the present invention. DETAILED DESCRIPTION
[0030] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0031] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0032] The prediction method, device, vehicle and medium based on the target tracking algorithm according to the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0033] Figure 1 FIG. 1 is a flowchart of a prediction method based on a target tracking algorithm according to some embodiments of the present invention. Figure 1 The prediction method based on the target tracking algorithm of the embodiment of the present application may include the following steps:
[0034] S110, collecting video data of the target vehicle's driving direction.
[0035] Specifically, in order to perceive the ghost-peek scene, a vehicle-mounted camera or a vehicle-mounted radar is usually used to collect video data or radar data in the direction of the target vehicle's travel, and the target in the scene is detected and tracked based on the video data or radar data.
[0036] S120, processing the video data based on a preset target tracking algorithm, and outputting a first confidence target set and a first tracking track set. The preset target tracking algorithm is a target tracking algorithm that can output a high confidence target set (first confidence target set) and a low confidence target set (second confidence target set), for example, a ByteTrack algorithm.
[0037] In an embodiment of the present invention, detection and tracking of targets in a scene based on radar data is used as an example for illustration, but this is not intended to limit the present invention. A radar device is provided in front of the target vehicle, such as a laser radar, and a target detection module and a target tracking module are built in the laser radar, wherein the target detection module is used for target detection, and the target tracking module is used to access the target output by the target detection module, and to process the radar data based on a preset target tracking algorithm. For example, the target output by the target detection module is tracked, and a first tracking track set is formed. At the same time, the target output by the target detection module is divided according to the first confidence threshold and the second confidence threshold to form a first confidence target set and a second confidence target set.
[0038] Exemplarily, if the confidence of the target output by the target detection module is above the first confidence threshold, the target is determined to be a high-confidence target (first confidence target), and the set of high-confidence targets output by the target detection module is the first confidence target set; if the confidence of the target output by the target detection module is between the first confidence threshold and the second confidence threshold, the target is determined to be a low-confidence target (second confidence target), and the set of low-confidence targets output by the target detection module is the second confidence target set.
[0039] The first confidence threshold and the second confidence threshold are determined according to actual conditions and are not specifically limited here.
[0040] S130, associating the first confidence target set with the first tracking trace set to obtain an association result.
[0041] Specifically, the high confidence targets (first confidence targets) in the first confidence target set are respectively associated with all tracking traces in the first tracking trace set, and an association result, such as associated or not associated, is output.
[0042] S140, determining a target tracking track set according to the association result.
[0043] Specifically, all tracking traces in the first tracking trace set that are associated with high-confidence targets in the first confidence target set are obtained, and a set of all tracking traces associated with any high-confidence target in the first confidence target set is taken as the target tracking trace set.
[0044] S150, determining the state of the tracking track according to the life span of each tracking track in the target tracking track set, so as to control the target vehicle according to the state of each tracking track in the target tracking track set.
[0045] Specifically, the state of the tracking track can be determined according to the life span of each tracking track in the target tracking track set, for example, determining whether the state of the tracking track is activated or inactivated. If the state of the tracking track is activated, it is considered that a ghost may appear in front, and emergency braking control can be performed on the target vehicle; if the state of the tracking track is inactivated, it is considered that no ghost appears in front, and the target vehicle can drive normally.
[0046] Exemplarily, if the life span of the tracking trace in the target tracking trace set is relatively long, the state of the tracking trace is determined to be an activated state; if the life span of the tracking trace in the target tracking trace set is relatively short, the state of the tracking trace is determined to be an inactivated state.
[0047] It should be noted that the number of active tracking traces may be 0, 1, or more.
[0048] The prediction method of the present invention does not require the installation of additional sensors. It tracks and utilizes the information of partially obscured detection targets with low confidence, and releases it immediately when the confidence of the partially obscured targets reaches a threshold, so as to advance the timing of target output and improve the vehicle's perception ability of ghost-peek scenes.
[0049] In some embodiments, determining the state of a tracking trace according to the life span of each tracking trace in the target tracking trace set includes: obtaining the life span of each tracking trace; determining the state of a tracking trace whose life span is greater than or equal to a first preset life span threshold as an activated state; and determining the state of a tracking trace whose life span is less than the first preset life span threshold as an inactivated state. The first preset life span threshold is determined according to actual conditions and is not specifically limited here.
[0050] Specifically, the life span of each tracking trace can be obtained by setting the preset target tracking algorithm, and the life span of each tracking trace in the target tracking trace set can be compared with the first preset life span threshold to determine the state of the tracking trace. Exemplarily, if the life span of the tracking trace is greater than or equal to the first preset life span threshold, the state of the tracking trace is determined to be an activated state, and if the life span of the tracking trace is less than the first preset life span threshold, the state of the tracking trace is determined to be an inactivated state.
[0051] In some embodiments, associating the first confidence target set with the first tracking trajectory set includes: respectively obtaining the first Mahalanobis distance, the first Euclidean distance and the first angle between each first confidence target in the first confidence target set and each tracking trajectory in the first tracking trajectory set; determining the association result of each first confidence target in the first confidence target set based on the first Mahalanobis distance, the first Euclidean distance and the first angle.
[0052] Specifically, feature extraction is performed on each first confidence target in the first confidence target set and each tracking trace in the first tracking trace set, such as extracting appearance features and motion features. The covariance matrix of each first confidence target in the first confidence target set and each tracking trace in the first tracking trace set is calculated using the extracted features, and the first Mahalanobis distance between each first confidence target in the first confidence target set and each tracking trace in the first tracking trace set is calculated using the covariance matrix.
[0053] Feature extraction is performed on each first confidence target in the first confidence target set and each tracking trace in the first tracking trace set, such as extracting appearance features and motion features, and then the extracted features are converted into vector form. The Euclidean distance of each feature vector is calculated respectively to obtain the first Euclidean distance between each first confidence target in the first confidence target set and each tracking trace in the first tracking trace set.
[0054] The first angle refers to the angle between the line connecting the first confidence target in the first confidence target set and the tracking trace in the first tracking trace set and the trace.
[0055] The association result of each first confidence target in the first confidence target set is determined by judging whether the first Mahalanobis distance, the product of the first Euclidean distance and the cosine value of the first angle, and the product of the first Euclidean distance and the sine value of the first angle meet preset conditions.
[0056] Exemplarily, if the first Mahalanobis distance, the product of the first Euclidean distance and the cosine value of the first angle, and the product of the first Euclidean distance and the sine value of the first angle all meet preset conditions, then it is determined that the first confidence target is associated with the tracking trace in the first tracking trace set; if one or more of the first Mahalanobis distance, the product of the first Euclidean distance and the cosine value of the first angle, and the product of the first Euclidean distance and the sine value of the first angle do not meet the preset conditions, then it is determined that the first confidence target is not associated with the tracking trace in the first tracking trace set.
[0057] In some embodiments, the association result of each first confidence target in the first confidence target set is determined according to the first Mahalanobis distance, the first Euclidean distance and the first angle, including: when the first Mahalanobis distance is less than or equal to the first preset distance, and the product of the first Euclidean distance and the cosine value of the first angle is less than or equal to the second preset distance, and the product of the first Euclidean distance and the sine value of the first angle is less than or equal to the third preset distance, the first confidence target is determined to be associated with the tracking trace, and a target tracking trace set is obtained; wherein the target tracking trace set includes all tracking traces in the first tracking trace set that are associated with any first confidence target in the first confidence target set. The first preset distance, the second preset distance and the third preset distance are all determined according to actual conditions, and no specific restrictions are made here.
[0058] Specifically, if the first Mahalanobis distance, the product of the first Euclidean distance and the cosine value of the first angle, and the product of the first Euclidean distance and the sine value of the first angle all satisfy the following formula, it is determined that the first confidence target is associated with the tracking trajectory.
[0059]
[0060] in, represents the first Mahalanobis distance, mah_threshold_1 represents the first preset distance, represents the first Euclidean distance, lon_threshold_1 represents the second preset distance, lat_threshold_1 represents the third preset distance, α1 represents the first angle, cos(α1) represents the cosine value of the first angle, sin(α1) represents the sine value of the first angle, represents the i-th first confidence target in the first confidence target set, represents the kth tracking trace in the first tracking trace set.
[0061] It should be noted that the second preset distance is the distance threshold between the line connecting the first confidence target in the first confidence target set and the tracking trajectory in the first tracking trajectory set and the projection in the direction of trajectory travel, and the third preset distance is the distance threshold between the line connecting the first confidence target in the first confidence target set and the tracking trajectory in the first tracking trajectory set and the projection in the direction perpendicular to the direction of trajectory travel.
[0062] According to the above association conditions, the misassociation of the detected target in the direction perpendicular to the traveling direction of the track can be reduced, and the probability of abnormal speed in the direction perpendicular to the traveling direction of the track can be reduced.
[0063] In some embodiments, the association result of each first confidence target in the first confidence target set is determined based on the first Mahalanobis distance, the first Euclidean distance and the first angle, including: when the first Mahalanobis distance is greater than the first preset distance, or the product of the first Euclidean distance and the cosine value of the first angle is greater than the second preset distance, or the product of the first Euclidean distance and the sine value of the first angle is greater than the third preset distance, determining that the first confidence target is not associated with the tracking trace, and obtaining a second tracking trace set; wherein the second tracking trace set includes all tracking traces in the first tracking trace set that are not associated with any first confidence target in the first confidence target set.
[0064] Specifically, the second tracking trace set can be formed by acquiring all tracking traces in the first tracking trace set that are not successfully associated with the first confidence target in the first confidence target set.
[0065] Exemplarily, if one or more of the first Mahalanobis distance, the product of the first Euclidean distance and the cosine value of the first angle, and the product of the first Euclidean distance and the sine value of the first angle satisfies the following formula, it is determined that the first confidence target is not associated with the tracking trajectory.
[0066]
[0067] In some embodiments, the above-mentioned prediction method also includes: processing the video data based on a preset target tracking algorithm, and outputting a second confidence target set; if the second tracking trace set is not empty, associating the second confidence target with each tracking trace in the second tracking trace set.
[0068] Specifically, it can be seen from the above embodiment that when the confidence of the target output by the target detection module is between the first confidence threshold and the second confidence threshold, the target is determined to be a low-confidence target, and the set of low-confidence targets output by the target detection module is the second confidence target set. Then, it is determined whether the second tracking trace set is empty. If the second tracking trace set is not empty, the second confidence target is associated with each tracking trace in the second tracking trace set. If the second tracking trace set is empty, no association is required.
[0069] Exemplarily, if all tracking traces in the first tracking trace set are associated with the first confidence target in the first confidence target set, then the second tracking trace set is determined to be empty; if there is at least one tracking trace in the first tracking trace set that is not related to the first confidence target in the first confidence target set, then the second tracking trace set is determined to be not empty.
[0070] In some embodiments, the second confidence target is associated with each tracking trace in the second tracking trace set, including: respectively obtaining the second Mahalanobis distance, second Euclidean distance and second angle between each second confidence target in the second confidence target set and each tracking trace in the second tracking trace set; determining the association result of each second confidence target in the second confidence target set based on the second Mahalanobis distance, second Euclidean distance and second angle.
[0071] Specifically, the second Mahalanobis distance, the second Euclidean distance and the second angle are obtained in the same manner as the first Mahalanobis distance, the first Euclidean distance and the first angle, and no further details are given here. The association result of each second confidence target in the second confidence target set is determined by judging whether the second Mahalanobis distance, the product of the cosine value of the second Euclidean distance and the second angle, and the product of the sine value of the second Euclidean distance and the second angle meet the preset conditions.
[0072] Exemplarily, if the second Mahalanobis distance, the product of the second Euclidean distance and the cosine value of the second angle, and the product of the second Euclidean distance and the sine value of the second angle all meet preset conditions, then it is determined that the second confidence target in the second confidence target set is associated with the tracking traces in the second tracking trace set; if one or more of the second Mahalanobis distance, the product of the second Euclidean distance and the cosine value of the second angle, and the product of the second Euclidean distance and the sine value of the second angle do not meet the preset conditions, then it is determined that the second confidence target is not associated with the tracking traces in the second tracking trace set.
[0073] In some embodiments, the association result of each second confidence target in the second confidence target set is determined according to the second Mahalanobis distance, the second Euclidean distance and the second angle, including: when the second Mahalanobis distance is less than or equal to the fourth preset distance, and the product of the second Euclidean distance and the cosine value of the second angle is less than or equal to the fifth preset distance, and the product of the second Euclidean distance and the sine value of the second angle is less than or equal to the sixth preset distance, it is determined that the second confidence target is associated with the tracking trace to obtain a third tracking trace set; when the second Mahalanobis distance is greater than the fourth preset distance, and the product of the second Euclidean distance and the cosine value of the second angle is greater than the fifth preset distance, and the product of the second Euclidean distance and the sine value of the second angle is greater than the sixth preset distance, it is determined that the second confidence target is not associated with the tracking trace to obtain a fourth tracking trace set; wherein the third tracking trace set includes the tracking traces in the second tracking trace set that are associated with any second confidence target in the second confidence target set, and the fourth tracking trace set includes the tracking traces in the second tracking trace set that are not associated with any second confidence target in the second confidence target set.
[0074] Specifically, all tracking traces in the second tracking trace set that are associated with the second confidence target in the second confidence target set are obtained to form a third tracking trace set. All tracking traces in the second tracking trace set that are not associated with the second confidence target in the second confidence target set are obtained to form a fourth tracking trace set.
[0075] Exemplarily, if the second Mahalanobis distance, the product of the second Euclidean distance and the cosine value of the second angle, and the product of the second Euclidean distance and the sine value of the second angle all satisfy the following formula, it is determined that the second confidence target is associated with the tracking trajectory.
[0076]
[0077] in, represents the second Mahalanobis distance, mah_threshold_2 represents the fourth preset distance, represents the second Euclidean distance, lon_threshold_2 represents the fifth preset distance, lat_threshold_2 represents the sixth preset distance, α2 represents the second angle, cos(α2) represents the cosine value of the second angle, sin(α2) represents the sine value of the second angle, represents the i-th second confidence target in the second confidence target set, represents the kth tracking trace in the second tracking trace set.
[0078] If one or more of the second Mahalanobis distance, the product of the second Euclidean distance and the cosine of the second angle, and the product of the second Euclidean distance and the sine of the second angle satisfy the following formula, it is determined that the second confidence target is not associated with the tracking trajectory.
[0079]
[0080] It should be noted that the fifth preset distance is the distance threshold between the line connecting the second confidence target in the second confidence target set and the tracking trace in the second tracking trace set and the projection in the direction of trace travel, and the sixth preset distance is the distance threshold between the line connecting the second confidence target in the second confidence target set and the tracking trace in the second tracking trace set and the projection in the direction perpendicular to the direction of trace travel.
[0081] In some embodiments, the above-mentioned prediction method also includes: if there are first confidence targets and / or second confidence targets in the first confidence target set and the second confidence target set that are not associated with any tracking trace in the first tracking trace set, then a tracking trace is generated based on the unassociated first confidence target and / or second confidence target and incorporated into the fourth tracking trace set.
[0082] Specifically, if there is a first confidence target in the first confidence target set that is not associated with any tracking trace in the first tracking trace set, a tracking trace is generated based on the unassociated first confidence target, marked as a high confidence trace, and incorporated into the fourth tracking trace set. If there is a second confidence target in the second confidence target set that is not associated with any tracking trace in the first tracking trace set, a tracking trace is generated based on the unassociated second confidence target, marked as a low confidence trace, and incorporated into the fourth tracking trace set.
[0083] In some embodiments, the above-mentioned prediction method also includes: determining the state of each tracking trace in the third tracking trace set as an inactivated state; determining the state of each tracking trace in the fourth tracking trace set as a predicted state; determining the state of each tracking trace in the target tracking trace set and the third tracking trace set as a stable state, and obtaining the lifespan of each tracking trace in the stable state.
[0084] Specifically, the states of the tracking traces include activation state, inactivation state, prediction state and stable state.
[0085] Among them, the activation state means that the tracking algorithm has a high confidence that the track represents the movement of the real target. When the tracking track in the first tracking track set is associated with the first confidence target in multiple consecutive frames, that is, it is in the target tracking track set in multiple consecutive frames, and the life of the tracking track is greater than or equal to the first preset life threshold, then the tracking track is usually set to the activation state. This state indicates that the tracking algorithm believes that the tracking track is stable and is likely to represent the actual moving target, that is, it believes that there may be a ghost head in front, and the target vehicle can be emergency braked.
[0086] The inactive state means that the tracking algorithm doubts the continuity or authenticity of the track. When the tracking track in the first tracking track set is not associated with the first confidence target in multiple consecutive frames, or the life of the tracking track in the target tracking track set is less than the first preset life threshold, or the tracking track in the first tracking track set is only associated with the second confidence target (the tracking track is in the third tracking track set), then the tracking track is usually set to the inactive state. This state indicates that the tracking algorithm believes that the track may no longer represent the actual moving target, or there may be uncertainty, that is, it believes that there will be no ghost head in front and the target vehicle can drive normally.
[0087] The stable state means that the tracking algorithm has passed the test, no serious defects or problems are found, and the tracking trace can be used normally. The state of each tracking trace in the target tracking trace set and the third tracking trace set is determined to be a stable state, and the life of each tracking trace in the stable state needs to be obtained. According to the tracking life, the tracking trace in the stable state can be immediately released to the activated state after the conditions are met. For example, if the life of the tracking trace in the target tracking trace set is less than the first preset life threshold, then when its life is greater than or equal to the first preset life threshold, the tracking trace will be released to the activated state. For another example, the life of the tracking trace in the third tracking trace set is greater than or equal to the first preset life threshold, but because the tracking trace is only associated with the second confidence target (low confidence target), it can only be in an inactivated state. Once the tracking trace is associated with the first confidence target (high confidence target), it will be immediately released to the activated state.
[0088] The prediction state refers to the state in which the tracking algorithm predicts the future position or state of the target. The tracking traces in the fourth tracking trace set include traces in the first tracking trace set that have not been associated with the first confidence target or the second confidence target, and traces generated by the first confidence target and the second confidence target that have not been associated with the tracking traces in the first tracking trace set. If such traces have not been associated with any target before reaching the second preset life threshold, they will be considered as false detections or false targets.
[0089] In some embodiments, the above prediction method further includes: obtaining the life span of each tracking trace in the fourth tracking trace set, and deleting the tracking traces whose life span is greater than a second preset life span threshold.
[0090] Specifically, if the lifetime of the tracking traces in the fourth tracking trace set is greater than the second preset lifetime threshold, such tracking traces will be considered as false detections or false targets, and such tracking traces need to be deleted.
[0091] In some embodiments, the above prediction method further includes: determining that a first confidence target in a first confidence target set output by a preset target tracking algorithm is not a first frame of the video data.
[0092] Specifically, if the target output by the detection module is the target detected in the first frame, it means that the target is not blocked and is not a target that may be a ghost. In this case, the track is directly generated based on the detected target, and the target is not considered as the first confidence target.
[0093] In some embodiments, the above prediction method further includes: filtering the target tracking track set and the third tracking track set to update the position information, size and heading information of each target tracking track in the target tracking track set.
[0094] Specifically, the target tracking track set and the third tracking track set are filtered, such as Kalman filtering, to update the position information of all tracks, and the size and heading information of the tracks are updated by a low-pass filtering method. When the first confidence target set is associated with each tracking track in the first tracking track set, and when the second confidence target is associated with each tracking track in the second tracking track set, the direction of travel (heading information) of the track is used, so the update of the heading information is more important, and the update method is as follows:
[0095] According to the historical information of the track, a sliding window of length N is formulated, and the heading of each frame of the track in the sliding window is synchronized to the current frame. According to the speed direction of the track in the current frame, the heading of each frame of the track in the sliding window is corrected to ensure that the heading of each frame of the track in the sliding window is in the same direction as the speed of the current frame, and the error between the heading of the track and the direction of the current frame speed is allowed to be no more than 90 degrees. According to the heading of the track in the sliding window, the mean head is calculated. mea and mean square error head Var , filter out the track heading in the sliding window at [head mea -head Var ,head mea +head Var ] The track outside the interval. Recalculate the mean of the heading within the updated sliding window If the heading of the current frame in the sliding window is filtered out, the heading of the current frame is updated to Otherwise update to Among them, head curr It indicates the currently detected heading angle, and coef indicates the update coefficient, which is determined according to the actual situation and is not specifically restricted here.
[0096] In this way, the position information, size and heading information of each target tracking track in the target tracking track set are filtered and updated to improve the accuracy of track tracking, thereby improving the vehicle's ability to perceive ghost-peek scenes.
[0097] As a specific example, see Figure 2 The prediction method based on the preset target tracking algorithm of the embodiment of the present application may also include the following steps:
[0098] S201, obtaining a first confidence target and obtaining a second confidence target.
[0099] S202, determine whether there is a trace. If yes, execute S203; otherwise, execute S205.
[0100] S203: Associating a first confidence target with the traces in the first tracking trace set.
[0101] S204: Associating a second confidence target with the traces in the second tracking trace set.
[0102] S205: Generate a tracking trace according to the unassociated first confidence target and mark it as a high confidence trace; generate a tracking trace according to the unassociated second confidence target and mark it as a low confidence trace.
[0103] S206, updating the confidence and activation status of the track.
[0104] S207, performing life cycle management on the traces.
[0105] S208, output activation status.
[0106] So, refer to Figure 3 Compared with the traditional method, the present invention tracks and utilizes the information of the partially obscured detection target with low confidence, and releases it immediately when the confidence of the partially obscured target reaches a threshold, so as to advance the timing of target output and improve the vehicle's perception ability of ghost-peek scenes.
[0107] To sum up, the prediction method of the present invention does not require the installation of additional sensors. It tracks and utilizes the information of partially obscured detection targets with low confidence, and releases it immediately when the confidence of the partially obscured target reaches a threshold, so as to advance the timing of target output and improve the vehicle's perception ability of ghost-peek scenes. At the same time, by setting association conditions, it is possible to reduce the misassociation of the detection target in the vertical direction of the travel direction of the track, and reduce the probability of speed abnormalities in the vertical direction of the travel direction of the track.
[0108] Corresponding to the above embodiments, the present application also proposes a prediction device based on a target tracking algorithm.
[0109] Reference Figure 4 The prediction device 200 based on the target tracking algorithm includes: a data acquisition module 210, an output module 220, an acquisition module 230, a first determination module 240 and a second determination module 250.
[0110] Among them, the data acquisition module 210 is used to collect video data of the target vehicle's driving direction. The output module 220 is used to process the video data based on a preset target tracking algorithm, and output a first confidence target set and a first tracking track set. The acquisition module 230 is used to associate the first confidence target set with the first tracking track set to obtain an association result. The first determination module 240 is used to determine the target tracking track set based on the association result. The second determination module 250 is used to determine the state of the tracking track based on the life of each tracking track in the target tracking track set, so as to control the target vehicle according to the state of each tracking track in the target tracking track set.
[0111] According to one embodiment of the present invention, the second determination module 250 is specifically used to obtain the lifespan of each tracking trace; determine the state of the tracking trace whose lifespan is greater than or equal to a first preset lifespan threshold as an activated state; and determine the state of the tracking trace whose lifespan is less than the first preset lifespan threshold as an inactivated state.
[0112] According to one embodiment of the present invention, the acquisition module 230 is specifically used to respectively obtain the first Mahalanobis distance, the first Euclidean distance and the first angle between each first confidence target in the first confidence target set and each tracking trace in the first tracking trace set; and determine the association result of each first confidence target in the first confidence target set according to the first Mahalanobis distance, the first Euclidean distance and the first angle.
[0113] According to one embodiment of the present invention, the first determination module 240 is specifically used to determine that the first confidence target is associated with the tracking trace when the first Mahalanobis distance is less than or equal to the first preset distance, the product of the first Euclidean distance and the cosine value of the first angle is less than or equal to the second preset distance, and the product of the first Euclidean distance and the sine value of the first angle is less than or equal to the third preset distance, to obtain a target tracking trace set; wherein the target tracking trace set includes all tracking traces in the first tracking trace set that are associated with any first confidence target in the first confidence target set.
[0114] According to one embodiment of the present invention, the first determination module 240 is specifically used to determine that the first confidence target is not associated with the tracking trace when the first Mahalanobis distance is greater than the first preset distance, or the product of the first Euclidean distance and the cosine value of the first angle is greater than the second preset distance, or the product of the first Euclidean distance and the sine value of the first angle is greater than the third preset distance, to obtain a second tracking trace set; wherein the second tracking trace set includes all tracking traces in the first tracking trace set that are not associated with any first confidence target in the first confidence target set.
[0115] According to one embodiment of the present invention, the output module 220 is also used to process the video data based on a preset target tracking algorithm and output a second confidence target set, wherein the preset target tracking algorithm is configured to output a first confidence target set and a second confidence target set; if the second tracking trace set is not empty, the second confidence target is associated with each tracking trace in the second tracking trace set.
[0116] According to one embodiment of the present invention, the acquisition module 230 is also used to respectively obtain the second Mahalanobis distance, the second Euclidean distance and the second angle between each second confidence target in the second confidence target set and each tracking trace in the second tracking trace set; and determine the association result of each second confidence target in the second confidence target set based on the second Mahalanobis distance, the second Euclidean distance and the second angle.
[0117] According to one embodiment of the present invention, the first determination module 240 is also used to determine that the second confidence target is associated with the tracking trace when the second Mahalanobis distance is less than or equal to the fourth preset distance, the product of the second Euclidean distance and the cosine value of the second angle is less than or equal to the fifth preset distance, and the product of the second Euclidean distance and the sine value of the second angle is less than or equal to the sixth preset distance, so as to obtain a third tracking trace set; and to determine that the second confidence target is not associated with the tracking trace when the second Mahalanobis distance is greater than the fourth preset distance, the product of the second Euclidean distance and the cosine value of the second angle is greater than the fifth preset distance, and the product of the second Euclidean distance and the sine value of the second angle is greater than the sixth preset distance, so as to obtain a fourth tracking trace set; wherein the third tracking trace set includes tracking traces in the second tracking trace set that are associated with any second confidence target in the second confidence target set, and the fourth tracking trace set includes tracking traces in the second tracking trace set that are not associated with any second confidence target in the second confidence target set.
[0118] According to one embodiment of the present invention, the first determination module 240 is also used to generate tracking traces based on the unassociated first confidence target and / or second confidence target and incorporate them into the fourth tracking trace set if there are first confidence targets and / or second confidence targets in the first confidence target set and the second confidence target set that are not associated with any tracking trace in the first tracking trace set.
[0119] According to one embodiment of the present invention, the second determination module 250 is specifically used to determine the state of each tracking trace in the third tracking trace set as an inactivated state and the state of each tracking trace in the fourth tracking trace set as a predicted state; determine the state of each tracking trace in the target tracking trace set and the third tracking trace set as a stable state, and obtain the lifespan of each tracking trace in the stable state.
[0120] According to an embodiment of the present invention, the second determining module 250 is further configured to obtain the lifetime of each tracking trace in the fourth tracking trace set, and delete the tracking traces whose lifetime is greater than a second preset lifetime threshold.
[0121] According to an embodiment of the present invention, the output module 220 is further used to determine that the first confidence target in the first confidence target set output by the preset target tracking algorithm is not the first frame of the video data.
[0122] According to one embodiment of the present invention, the above-mentioned prediction device based on the target tracking algorithm also includes a filtering module for filtering the target tracking track set and the third tracking track set to update the position information, size and heading information of each target tracking track in the target tracking track set.
[0123] It should be pointed out that the above explanation of the embodiment and beneficial effects of the prediction method based on the target tracking algorithm is also applicable to the prediction device based on the target tracking algorithm in the embodiment of the present invention. To avoid redundancy, it will not be elaborated here.
[0124] Corresponding to the above embodiments, the present application also proposes a computer-readable storage medium.
[0125] The computer-readable storage medium of the present application stores a prediction program based on a target tracking algorithm, and when the prediction program based on the target tracking algorithm is executed by a processor, the aforementioned prediction method based on the target tracking algorithm is implemented.
[0126] It should be pointed out that the above explanation of the embodiments and beneficial effects of the prediction method based on the target tracking algorithm is also applicable to the computer-readable storage medium of the embodiment of the present invention, and will not be elaborated here in order to avoid redundancy.
[0127] Corresponding to the above embodiments, the present application also proposes a vehicle.
[0128] Reference Figure 5 The vehicle 300 of the present application includes a memory 310, a processor 320, and a prediction program based on a target tracking algorithm stored in the memory 310 and executable on the processor 320. When the processor 320 executes the prediction program based on the target tracking algorithm, the aforementioned prediction method based on the target tracking algorithm is implemented.
[0129] It should be pointed out that the above-mentioned explanation of the embodiment and beneficial effects of the prediction method based on the target tracking algorithm is also applicable to the vehicle of the embodiment of the present invention. In order to avoid redundancy, it will not be expanded in detail here.
[0130] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0131] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0132] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0133] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0134] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0135] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
[0136] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.
Claims
1. A prediction method based on a target tracking algorithm, characterized in that: The method comprises: Collect video data of the target vehicle's driving direction; Processing the video data based on a preset target tracking algorithm, and outputting a first confidence target set and a first tracking track set; Associating the first confidence target set with the first tracking trace set to obtain an association result; Determine a target tracking track set according to the association result; The state of the tracking trace is determined according to the life span of each tracking trace in the target tracking trace set, so as to control the target vehicle according to the state of each tracking trace in the target tracking trace set.
2. The prediction method based on the target tracking algorithm according to claim 1, characterized in that: The determining the state of the tracking trace according to the life span of each tracking trace in the target tracking trace set includes: Get the lifetime of each trace; Determine the state of the tracking trace whose life span is greater than or equal to a first preset life span threshold as an activated state; The state of the tracking trace whose life span is less than the first preset life span threshold is determined as an inactive state.
3. The prediction method based on target tracking algorithm according to claim 1, characterized in that: The associating the first confidence target set with the first tracking trace set includes: Respectively obtaining a first Mahalanobis distance, a first Euclidean distance, and a first angle between each of the first confidence targets in the first confidence target set and each tracking trace in the first tracking trace set; An association result of each first confidence target in the first confidence target set is determined according to the first Mahalanobis distance, the first Euclidean distance and the first angle.
4. The prediction method based on target tracking algorithm according to claim 3 is characterized in that: The determining, according to the first Mahalanobis distance, the first Euclidean distance and the first angle, an association result of each first confidence target in the first confidence target set includes: In the case where the first Mahalanobis distance is less than or equal to a first preset distance, the product of the first Euclidean distance and the cosine value of the first angle is less than or equal to a second preset distance, and the product of the first Euclidean distance and the sine value of the first angle is less than or equal to a third preset distance, determining that the first confidence target is associated with the tracking track, and obtaining the target tracking track set; The target tracking trace set includes all tracking traces in the first tracking trace set that are associated with any first confidence target in the first confidence target set.
5. The prediction method based on target tracking algorithm according to claim 4 is characterized in that: The determining, according to the first Mahalanobis distance, the first Euclidean distance and the first angle, an association result of each first confidence target in the first confidence target set includes: In the case where the first Mahalanobis distance is greater than the first preset distance, or the product of the first Euclidean distance and the cosine value of the first angle is greater than the second preset distance, or the product of the first Euclidean distance and the sine value of the first angle is greater than the third preset distance, determining that the first confidence target is not associated with the tracking trace, and obtaining a second tracking trace set; The second tracking trace set includes all tracking traces in the first tracking trace set that are not associated with any first confidence target in the first confidence target set.
6. The prediction method based on target tracking algorithm according to claim 5, characterized in that: The method further comprises: Processing the video data based on the preset target tracking algorithm, and further outputting a second confidence target set, wherein the preset target tracking algorithm is configured to output the first confidence target set and the second confidence target set; If the second tracking trace set is not empty, the second confidence target is associated with each tracking trace in the second tracking trace set.
7. The prediction method based on target tracking algorithm according to claim 6, characterized in that: Associating the second confidence target with each tracking trace in the second tracking trace set includes: Respectively obtaining a second Mahalanobis distance, a second Euclidean distance, and a second angle between each second confidence target in the second confidence target set and each tracking trace in the second tracking trace set; An association result of each second confidence target in the second confidence target set is determined according to the second Mahalanobis distance, the second Euclidean distance and the second angle.
8. The prediction method based on target tracking algorithm according to claim 7, characterized in that: The determining, according to the second Mahalanobis distance, the second Euclidean distance and the second angle, an association result of each second confidence target in the second confidence target set includes: When the second Mahalanobis distance is less than or equal to a fourth preset distance, the product of the second Euclidean distance and the cosine value of the second angle is less than or equal to a fifth preset distance, and the product of the second Euclidean distance and the sine value of the second angle is less than or equal to a sixth preset distance, determining that the second confidence target is associated with the tracking trace, and obtaining a third tracking trace set; When the second Mahalanobis distance is greater than a fourth preset distance, the product of the second Euclidean distance and the cosine value of the second angle is greater than a fifth preset distance, and the product of the second Euclidean distance and the sine value of the second angle is greater than a sixth preset distance, it is determined that the second confidence target is not associated with the tracking trace, and a fourth tracking trace set is obtained; Among them, the third tracking trace set includes tracking traces in the second tracking trace set that are associated with any second confidence target in the second confidence target set, and the fourth tracking trace set includes tracking traces in the second tracking trace set that are not associated with any second confidence target in the second confidence target set.
9. The prediction method based on target tracking algorithm according to claim 8, characterized in that: The method further comprises: If there are first confidence targets and / or second confidence targets in the first confidence target set and the second confidence target set that are not associated with any tracking trace in the first tracking trace set, a tracking trace is generated based on the unassociated first confidence target and / or second confidence target and incorporated into the fourth tracking trace set.
10. The prediction method based on target tracking algorithm according to claim 9, characterized in that: The method further comprises: Determine the state of each tracking trace in the third tracking trace set as an inactive state; Determining the state of each tracking trace in the fourth tracking trace set as a predicted state; The state of each tracking trace in the target tracking trace set and the third tracking trace set is determined to be a stable state, and the life span of each tracking trace in the stable state is obtained.
11. The prediction method based on target tracking algorithm according to claim 10, characterized in that: The method further comprises: The lifetime of each tracking trace in the fourth tracking trace set is obtained, and the tracking traces whose lifetime is greater than a second preset lifetime threshold are deleted.
12. The prediction method based on target tracking algorithm according to any one of claims 1 to 11, characterized in that: The method further comprises: Determine that a first confidence target in the first confidence target set output by the preset target tracking algorithm is not a first frame of the video data.
13. The prediction method based on target tracking algorithm according to claim 11, characterized in that: The method further comprises: The target tracking track set and the third tracking track set are filtered to update the position information, size and heading information of each target tracking track in the target tracking track set.
14. A prediction device based on a target tracking algorithm, characterized in that: include: A data acquisition module, used to collect video data of the target vehicle's driving direction; An output module, used to process the video data based on a preset target tracking algorithm, and output a first confidence target set and a first tracking track set; An acquisition module, used for associating the first confidence target set with the first tracking trace set to obtain an association result; A first determination module, configured to determine a target tracking track set according to the association result; The second determination module is used to determine the state of the tracking track according to the life span of each tracking track in the target tracking track set, so as to control the target vehicle according to the state of each tracking track in the target tracking track set.
15. A computer-readable storage medium, characterized in that: A prediction program based on a target tracking algorithm is stored thereon, and when the prediction program based on the target tracking algorithm is executed by a processor, a prediction method based on a target tracking algorithm according to any one of claims 1-13 is implemented.
16. A vehicle, characterized in that: It includes a memory, a processor, and a prediction program based on a target tracking algorithm stored in the memory and executable on the processor. When the processor executes the prediction program based on the target tracking algorithm, the prediction method based on the target tracking algorithm according to any one of claims 1 to 13 is implemented.
Citation Information
Patent Citations
Obstacle identification method and device, equipment and storage medium
CN114624702A
Vehicle multi-target tracking method suitable for highway tunnel monitoring scene
CN117173218A
Multiple target tracking method and apparatus, calculating device and storage medium
EP4125037A1
