A road 3D vehicle tracking method and system based on Kalman filter and Hungarian algorithm
Through the combination method of Kalman filter and Hungarian algorithm, the problem of target occlusion and motion modeling of 3D vehicle tracking in complex urban environment is solved, high-precision vehicle trajectory matching and status updating are achieved, and the accuracy and efficiency of vehicle tracking are improved. .
Patent Information
- Application Number
- CN202010631250.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-03
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-07-03
AI Technical Summary
Existing 3D vehicle tracking algorithms have problems such as target occlusion, complex motion modeling, and trade-offs between computational complexity and accuracy in complex urban road environments, making it difficult to effectively track vehicles.
Using a combination of Kalman filter and Hungarian algorithm, vehicle status prediction, matching and updating are realized through the detection module, 3D Kalman filter model, data association module and trajectory management module, and the constant speed model and IOU3D correlation coefficient are used to match the vehicle trajectory. , and update the target state through the Kalman filter.
It achieves high-precision 3D vehicle tracking in complex urban road environments, quickly discovers and locates target vehicles, and improves tracking accuracy.
Smart Images

Figure CN111932580B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent automobile perception, and specifically relates to a method and system for road 3D vehicle recognition and tracking based on Kalman filtering and Hungarian algorithm. Background Art
[0002] A smart car is a complex system that includes perception, decision-making and control. Environmental perception is an important prerequisite for path planning and decision-making control. 3D vehicle tracking is one of the key contents of environmental perception and has an important impact on path planning for autonomous driving.
[0003] At present, a large number of target tracking algorithms have been proposed and widely used in intelligent transportation systems. At present, most of the target tracking and detection algorithms focus on RGB images, such as Fast RCNN, Faster RCNN, YOLO, etc. proposed by Girshick. These algorithms are relatively successful target detection algorithms based on deep learning. An online multi-target tracking method based on the Markov decision (MDP) framework proposed by Xiang et al. can only achieve good results when the road environment is not complex. However, with the rise of stereo vision, people are committed to studying the feasibility of target 3D box tracking algorithms.
[0004] Common vehicle tracking methods include: based on the regional tracking algorithm, assuming that the vehicle is a connected block formed by pixels, and the similarity between the features of the connected block and the detected connected block is calculated to determine the tracking target; based on the model tracking algorithm, the established target model library is matched with the detected moving target to achieve the purpose of tracking; based on the feature matching tracking algorithm: the features of the moving target that are unchanged or not easily disturbed by external factors are used to match the target in adjacent image frames. However, in the face of the complex traffic environment in the city, the above methods still have certain shortcomings in solving problems such as target occlusion, complex motion modeling, and balancing computational complexity and computational accuracy. Summary of the invention
[0005] In view of the above problems, an improved road 3D vehicle tracking method and system based on Kalman filtering and Hungarian algorithm are provided to realize 3D vehicle tracking in complex urban road environments.
[0006] The technical solution adopted by the present invention is: an improved road 3D vehicle tracking method based on Kalman filtering and Hungarian algorithm, the method comprising the following steps:
[0007] Step 1: Establish a detection module to perform target detection on the current frame t and obtain the target detection set of the tth frame;
[0008] Step 2: Establish a 3D Kalman filter model to predict the target state of the current frame t;
[0009] Step 3: Establish a data association module to match the detection results with the predicted tracking targets;
[0010] Step 4: Establish a 3D Kalman filter model to update the target state according to the association results.
[0011] Step 5: Establish a trajectory management module to update the trajectory;
[0012] Furthermore, the specific implementation of step 1 includes:
[0013] Based on the preset vehicle detector, perform 3D target detection processing on the video frame, obtain the target detection result, and obtain the detection set of vehicle targets in represents the nth target vehicle detected at frame time t (a total of n target vehicles),
[0014] The detection result is a 3D bounding box of the vehicle target. The information of the 3D bounding box includes: center coordinates (x, y, z), scale (h, w, l), direction angle θ, and detection confidence s.
[0015] Furthermore, the specific implementation of step 2 includes:
[0016] In order to predict the state of the vehicle target in the next frame, the constant velocity model is used to approximate the inter-frame displacement of the vehicle target, and the state variable T = {x, y, z, θ, h, w, h, v x ,v y ,v z}, where v x ,v y ,v z Indicates the moving speed of the vehicle target in three-dimensional space;
[0017] Assume that all target vehicle trajectories at t-1 are in represents the number of the mth target vehicle trajectory at time t-1 (a total of m target vehicle trajectories);
[0018] Based on the constant velocity model:
[0019]
[0020] Then the predicted trajectory state of each tracking target vehicle at time t is T t-1|t ={x t-1|t ,y t-1|t ,z t-1|t ,θ,h,w,h,v x ,v y ,vz}.
[0021] Furthermore, the specific implementation of step 3 includes:
[0022] Step 301: Determine the correlation coefficient C between the i-th detected target and the j-th predicted tracking target ij ;
[0023] By calculating the i-th detected target vehicle D t and the jth predicted tracking target T t IOU between 3D (Intersection over Union) Determine the correlation coefficient C between the two ij , C ij The larger the value, the higher the correlation between the two, that is, the i-th detected target may belong to the j-th predicted tracking target.
[0024] The correlation coefficient C ij The calculation formula is:
[0025]
[0026] Among them, V i is the volume of the 3D box of the i-th detected target, V j is the volume of the jth predicted tracking target 3D box, V ij It is the intersection volume between the detected target 3D box and the predicted target 3D box;
[0027] Step 302: Use the Hungarian algorithm to match the i-th detected target vehicle D t and the jth predicted tracking target vehicle T t ;
[0028] Define a binary coefficient X for each detection / prediction target ij :When IOU 3D When X is greater than the set threshold of 0.3, the i-th detected target is matched to the j-th predicted tracking target, then X ij =1, otherwise X ij =0, the established matching model expression is:
[0029]
[0030] By the correlation coefficient C ij The matrix C is the coefficient matrix of the matching model. The size of matrix C is n×m. Find some C in the coefficient matrix C ij Maximize the overall efficiency z, where at most one element is selected from each row / column;
[0031] Step 303: Output a set of successfully matched detection targets And the predicted tracking target that matches successfully And the detection target that failed to match And the predicted tracking target that failed to match
[0032] Furthermore, the specific implementation of step 4 includes:
[0033] Step 401: Establish a 3D Kalman filter model and update the initial target state according to the correlation result;
[0034] In the tracking process, the target state equation is assumed to be:
[0035] T t =FT t-1 +w t-1
[0036] Among them, F is the state transfer matrix, w t-1 is the process noise at time t-1, which obeys the normal distribution, has a mean of 0, and a covariance matrix of Q;
[0037] Assume the target observation equation is:
[0038] Z t =HT t +v t
[0039] Among them, H is the observation matrix, v t is the observation noise at time t, which obeys the normal distribution, has a mean of 0, and a covariance matrix of R.
[0040] According to the form of T, we can get:
[0041]
[0042]
[0043] According to the motion model, the prior state covariance matrix is:
[0044] P t|t-1 =FP t-1 F T +Q t
[0045] Among them, P t-1 The state covariance matrix after updating the prediction at time t-1.
[0046] According to the calculation rules of the Kalman filter, the target state expression of the vehicle in the update phase is: T t =T t|t-1 +K t (Zt -FT t|t-1 );
[0047] Among them, K t is the residual gain, which is calculated as follows:
[0048] K t =P t|t-1 H T (HP t|t-1 H T +R) -1
[0049] Step 402: Establish a direction calibration module to correct the initial target state;
[0050] When detecting target Tracking target trajectory The direction angle between When , the target trajectory The direction angle is added with π, and the target trajectory is tracked at this time. The direction angle can be approximated to the detection target Reach consensus.
[0051] Furthermore, the specific implementation of step 5 includes:
[0052] Step 501: New trajectory generation process
[0053] For vehicle targets that are not matched in the current frame, if they are still detected in the next frame, a new tracking track is created And initialize its state to (x,y,z,θ,h,w,h,0,0,0);
[0054] Step 502: Existing track is lost, and the process is terminated:
[0055] If the track is lost, continue to track the track for 3 frames. If it is still not matched, terminate the track.
[0056] The road 3D vehicle tracking system based on Kalman filtering and Hungarian algorithm proposed in the present invention includes a detection module, a 3D Kalman filter model, a data association module, a 3D Kalman filter model and a trajectory management module;
[0057] The detection module is used to perform target detection on the current frame t and obtain a target detection set of the tth frame;
[0058] The 3D Kalman filter model is used to predict the target state of the current frame t;
[0059] The data association module is used to match the detection result with the predicted tracking target;
[0060] The 3D Kalman filter model is also used to update the target state according to the association result;
[0061] The trajectory management module is used to update the trajectory.
[0062] Furthermore, the specific contents of the target detection performed by the detection module on the current frame t include:
[0063] Based on the preset vehicle detector, perform 3D target detection processing on the video frame, obtain the target detection result, and obtain the detection set of vehicle targets in Indicates the nth target vehicle detected at frame time t (a total of n target vehicles);
[0064] The detection result is the 3D bounding box of the vehicle target. The information of the 3D bounding box includes: the center coordinates (x 3D ,y 3D ,z 3D ), scale (h 3D ,w 3D ,l 3D ), direction angle θ 3D , detection confidence s 3D ;
[0065] The specific content of the target state prediction of the current frame t by the 3D Kalman filter model includes:
[0066] In order to predict the state of the vehicle target in the next frame, the constant velocity model is used to approximate the inter-frame displacement of the vehicle target and establish the state variable T = {x, y, z, θ, h, w, h, v x ,v y ,v z}, where v x ,v y ,v z Indicates the moving speed of the vehicle target in three-dimensional space;
[0067] Assume that all target vehicle trajectories at t-1 are in represents the number of the mth target vehicle trajectory at time t-1 (a total of m target vehicle trajectories);
[0068] Based on the constant velocity model:
[0069]
[0070] Then the predicted trajectory state of each tracking target vehicle at time t is T t-1|t ={x t-1|t ,y t-1|t ,z t-1|t,θ,h,w,h,v x ,v y ,v z};
[0071] The specific content of the data association module matching the detection result with the predicted tracking target includes:
[0072] Determine the correlation coefficient C between the i-th detected target and the j-th predicted tracking target ij ;
[0073] By calculating the i-th detected target vehicle D t and the jth predicted tracking target T t The 3D IOU between them determines the correlation coefficient C ij , C ij The larger the value, the higher the correlation between the two, that is, the i-th detected target may belong to the j-th predicted tracking target;
[0074] The correlation coefficient C ij The calculation formula is:
[0075]
[0076] Among them, V i is the volume of the 3D box of the i-th detected target, V j is the volume of the jth predicted tracking target 3D box, V ij It is the intersection volume between the detected target 3D box and the predicted target 3D box;
[0077] Use the Hungarian algorithm to match the i-th detected target vehicle D t and the jth predicted tracking target vehicle T t ;
[0078] Define a binary coefficient X for each detection / prediction target ij :When IOU 3D When X is greater than the set threshold, the i-th detected target is matched to the j-th predicted tracking target, then X ij =1, otherwise X ij =0, the matching model expression is established as:
[0079]
[0080] By the correlation coefficient C ij The matrix C is the coefficient matrix of the matching problem. The size of matrix C is n×m. Find some C in the coefficient matrix C ij Maximize the overall efficiency z, where at most one element is selected from each row / column;
[0081] The data association module outputs a set of successfully matched detection targets Matching successful prediction tracking target Detection targets that failed to match And the predicted tracking target that failed to match
[0082] The specific content of the 3D Kalman filter model updating the target state according to the association result includes:
[0083] Update the initial target state according to the association result:
[0084] In the tracking process, the state equation is assumed to be:
[0085] T t =F t T t-1 +w t-1
[0086] Among them, F is the state transfer matrix, w is the process noise, its mean is 0, and the covariance matrix is Q;
[0087] Assume the observation equation is:
[0088] Z t =H t T t +v t
[0089] Among them, H is the observation matrix, v is the observation noise, its mean is 0, and the covariance matrix is R;
[0090] According to the motion model, the state covariance matrix is:
[0091]
[0092] According to T, we can conclude that:
[0093]
[0094]
[0095] According to the calculation rules of the Kalman filter, the target state expression of the vehicle in the update phase is: T t =T t|t-1 +K t (z t -FT t|t-1 )
[0096] Among them, K is the residual gain, which is calculated as follows:
[0097]
[0098] When detecting target Tracking target trajectory The direction angle between When , the target trajectory The direction angle is added with π, and the target trajectory is tracked at this time. The direction angle can be approximated to the detection target reach consensus;
[0099] The specific contents of the trajectory management module for updating the trajectory include:
[0100] New track generation process: For vehicle targets that are not matched in the current frame, if they are still detected in the next frame, a new tracking track is created And initialize its state to (x,y,z,θ,h,w,h,0,0,0);
[0101] Existing track is lost and terminated: If the track is lost, continue to track the track for 3 frames. If it is still not matched, terminate the track.
[0102] Beneficial effects of the present invention:
[0103] The present invention proposes to apply the Kalman filter state update and the Hungarian algorithm to the 3D target tracking of the intelligent vehicle, which can quickly discover, locate and track the target vehicle with very high tracking accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0104] Figure 1 A flow chart of a road 3D vehicle tracking method based on Kalman filtering and Hungarian algorithm of the present invention;
[0105] Figure 2 This is the first road scene 3D vehicle tracking image;
[0106] Figure 3 This is the 3D vehicle tracking image of the second road scene; DETAILED DESCRIPTION
[0107] In order to make the purpose and technical solution of the present invention more clearly explained, the specific implementation methods of the present invention are further described in detail below in conjunction with the accompanying drawings.
[0108] The present invention proposes a road 3D vehicle tracking method based on Kalman filtering and Hungarian algorithm, such as Figure 1 As shown, a flowchart of a road 3D vehicle tracking provided for the implementation of this application mainly includes the following steps:
[0109] Step 1: Establish a detection module to perform target detection on the current frame t and obtain the target detection set of the tth frame;
[0110] Based on the preset vehicle detector, perform 3D target detection processing on the video frame, obtain the target detection result, and obtain the detection set of vehicle targets in Represents the nth target vehicle (a total of n target vehicles) detected at frame time t.
[0111] The detection result is a 3D bounding box of the vehicle target, and the information of the 3D bounding box includes: center coordinates (x, y, z), scale size (h, w, l), direction angle θ, and detection confidence s.
[0112] Step 2: Establish a 3D Kalman filter model to predict the target state of the current frame t;
[0113] In order to predict the state of the vehicle target in the next frame, the constant velocity model is used to approximate the inter-frame displacement of the vehicle target and establish the state variable T = {x, y, z, θ, h, w, l, v x ,v y ,v z}, where v x ,v y ,v z Indicates the speed of the vehicle target in three-dimensional space.
[0114] Assume that the trajectories of all target vehicles at time t-1 are in Represents the number of the mth target vehicle trajectory at time t-1 (a total of m target vehicle trajectories).
[0115] Based on the constant velocity model:
[0116]
[0117] Then the predicted trajectory state of each tracking target vehicle at time t is T t-1|t ={x t-1|t ,y t-1|t ,z t-1|t ,θ,h,w,h,v x ,v y ,v z}.
[0118] Step 3: Establish a data association module to match the detection results with the predicted tracking targets;
[0119] Step 301: Determine the correlation coefficient C between the i-th detected target and the j-th predicted tracking target ij ;
[0120] By calculating the i-th detected target vehicle D t and the jth predicted tracking target Tt IOU between 3D (Intersection over Union) Determine the correlation coefficient C between the two ij , C ij The larger the value, the higher the correlation between the two, that is, the i-th detected target may belong to the j-th predicted tracking target.
[0121] The correlation coefficient C ij The calculation formula is:
[0122]
[0123] Among them, V i is the volume of the 3D box of the i-th detected target, V j is the volume of the jth predicted tracking target 3D box, V ij It is the intersection volume between the detected target 3D box and the predicted target 3D box.
[0124] Step 302: Use the Hungarian algorithm to match the i-th detected target vehicle D t and the jth predicted tracking target vehicle T t ;
[0125] Define a binary coefficient X for each detection / prediction target ij :When IOU 3D When X is greater than the set threshold of 0.3, the i-th detected target is matched to the j-th predicted tracking target, then X ij =1, otherwise X ij =0,.
[0126] The matching model expression is:
[0127]
[0128] By the correlation coefficient C ij The matrix C is the coefficient matrix of the matching problem. The size of matrix C is n×m. Find some C in the coefficient matrix C ij Maximize the overall efficiency z, where at most one element is selected from each row / column.
[0129] Step 303: The final data association module outputs a set of successfully matched detection targets And the predicted tracking target that matches successfully And the detection target that failed to match And the predicted tracking target that failed to match in Indicates the cth detection target that is successfully matched at the t-frame time (a total of c detection targets that are successfully matched); represents the cth predicted tracking target that is successfully matched at the t frame time (a total of c predicted tracking targets that are successfully matched); D unmatch represents the nc-th detection target that failed to match at frame time t (a total of nc detection targets failed to match); T unmatch Indicates the mcth predicted tracking target that failed to match at frame time t (a total of mc predicted tracking targets that failed to match).
[0130] Step 4: Establish a 3D Kalman filter model to update the target state according to the correlation results;
[0131] Step 401: Establish a 3D Kalman filter model to update the initial target state according to the correlation result;
[0132] In the tracking process, according to the principle of Kalman filter, the target state equation is set as:
[0133] T t =FT t-1 +w t-1
[0134] Among them, F is the state transfer matrix, w t-1 is the process noise at time t-1, which obeys the normal distribution, has a mean of 0, and a covariance matrix of Q;
[0135] At the same time, the target observation equation is set as:
[0136] Z t =HT t +v t
[0137] Among them, H is the observation matrix, v t is the observation noise at time t, which obeys the normal distribution, has a mean of 0, and a covariance matrix of R.
[0138] According to the form of T, we can get:
[0139]
[0140]
[0141] According to the motion model, the prior state covariance matrix is:
[0142] P t|t-1 =FP t-1 F T +Q
[0143] Among them, P t-1 The state covariance matrix after updating the prediction at time t-1.
[0144] According to the calculation rules of the Kalman filter, the target state expression of the vehicle in the update phase is: T t =T t|t-1 +K t (Z t -FT t|t-1 )
[0145] Among them, K t is the residual gain, which is calculated as follows:
[0146] K t =P t|t-1 H T (HP t|t-1 H T +R) -1
[0147] Step 402: Establish a direction calibration module to correct the initial target state;
[0148] The Kalman filter model established in step 401 cannot accurately locate the 3D direction of the target, so the detection target The direction can be approximated with the target trajectory The direction is completely opposite to that of the target. Tracking target trajectory The direction angle between When , the target trajectory The direction angle is added with π, and the target trajectory is tracked at this time. The direction angle can be approximated to the detection target Achieve consistency and effectively improve the direction estimation of vehicle target 3D tracking.
[0149] Step 5: Establish a trajectory management module to update the trajectory;
[0150] Step 501: New trajectory generation process;
[0151] For vehicle targets that are not matched in the current frame, if they are still detected in the next frame, a new tracking track is created. And initialize its state to (x,y,z,θ,h,w,h,0,0,0).
[0152] Step 502: the existing track is lost and the process is terminated;
[0153] Since all existing tracks may be terminated, in order to avoid false positive tracking, if the track is lost, continue to track the track for 3 frames. If it is still not matched, terminate the track.
[0154] Figure 2 , Figure 3The result diagram of the vehicle prediction tracking of the original road scene using the method described in this example is given, which shows that the present invention realizes effective 3D vehicle tracking of the road scene with very high tracking accuracy.
[0155] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. All equivalent methods or changes that do not deviate from the technical creation of the present invention should be included in the scope of protection of the present invention.
Claims
1. A road 3D vehicle tracking method based on Kalman filtering and Hungarian algorithm, characterized in that: The steps include: Step 1: Perform target detection on the current frame t and obtain the target detection set of the tth frame; Step 2: Predict the target state of the current frame t; Step 3: Match the detection results with the predicted tracking targets; The specific implementation of step 3 includes: Step 301: Determine the correlation coefficient C between the i-th detected target and the j-th predicted tracking target ij ; By calculating the i-th detected target vehicle D t and the jth predicted tracking target T t IOU between 3D Determine the correlation coefficient C between the two ij , C ij The larger the value, the higher the correlation between the two, that is, the i-th detected target belongs to the j-th predicted tracking target; The correlation coefficient C ij The calculation formula is: Among them, V i is the volume of the 3D box of the i-th detected target, V j is the volume of the jth predicted tracking target 3D box, V ij It is the intersection volume between the detected target 3D box and the predicted target 3D box; Step 302: Use the Hungarian algorithm to match the i-th detected target vehicle D t and the jth predicted tracking target vehicle T t ; Define a binary coefficient X for each detection / prediction target ij :When IOU 3D When X is greater than the set threshold of 0.3, the i-th detected target is matched to the j-th predicted tracking target, then X ij =1, otherwise X ij =0, the established matching model expression is: By the correlation coefficient C ij The matrix C is the coefficient matrix of the matching model. The size of matrix C is n×m. Find some C in the coefficient matrix C ij Maximize the overall efficiency z, where at most one element is selected from each row / column; Step 303: Output a set of successfully matched detection targets And the predicted tracking target that matches successfully And the detection target that failed to match And the predicted tracking target that failed to match Step 4: Update the target state according to the matching results; The specific implementation of step 4 includes: Step 401: Establish a 3D Kalman filter model and update the initial target state according to the correlation result; In the tracking process, the target state equation is assumed to be: T t =FT t-1 +w t-1 Among them, F is the state transfer matrix, w t-1 is the process noise at time t-1, which obeys the normal distribution, has a mean of 0, and a covariance matrix of Q; Assume the target observation equation is: Z t =HT t +v t Among them, H is the observation matrix, v t is the observation noise at time t, which obeys normal distribution, has a mean of 0, and a covariance matrix of R; According to T, we can conclude that: According to the motion model, the prior state covariance matrix is: P t|t-1 =FP t-1 F T +Q Among them, P t-1 The state covariance matrix after updating the prediction at time t-1; According to the calculation rules of the Kalman filter, the target state expression of the vehicle in the update phase is: T t =T t|t-1 +K t (Z t -FT t|t-1 ); Among them, K t is the residual gain, which is calculated as follows: K t =P t|t-1 H T (HP t|t-1 H T +R) -1 Step 402: Establish a direction calibration module to correct the initial target state; When detecting target Tracking target trajectory The direction angle between When , the target trajectory The direction angle is added with π, and the target trajectory is tracked at this time. Direction angle and detection target reach consensus; Step 5: Update the target state trajectory.
2. The method for 3D vehicle tracking on a road based on Kalman filtering and Hungarian algorithm according to claim 1, characterized in that: The specific implementation of step 1 includes: Based on the preset vehicle detector, perform 3D target detection processing on the video frame, obtain the target detection result, and obtain the detection set of vehicle targets in represents the nth target vehicle detected at frame time t, The detection result is a 3D bounding box of the vehicle target. The information of the 3D bounding box includes: center coordinates (x, y, z), scale (h, w, l), direction angle θ, and detection confidence s.
3. The method for 3D vehicle tracking on a road based on Kalman filtering and Hungarian algorithm according to claim 1, characterized in that: The specific implementation of step 2 includes: To predict the state of the vehicle target in the next frame, establish the state variable T = {x, y, z, θ, h, w, h, v x ,v y ,v z }, where v x ,v y ,v z Indicates the moving speed of the vehicle target in three-dimensional space; Assume that all target vehicle trajectories at t-1 are in represents the number of target vehicle trajectories at time t-1; Based on the constant velocity model: Then the predicted trajectory state of each tracking target vehicle at time t is T t-1|t ={x t-1|t ,y t-1|t ,z t-1|t ,θ,h,w,h,v x ,v y ,v z }; According to the calculation rules of the Kalman filter, the target state expression of the vehicle in the update phase is: T t =T t|t-1 +K t (Z t -FT t|t-1 ); Among them, K t is the residual gain, which is calculated as follows: K t =P t|t-1 H T (HP t|t-1 H T +R) -1 Step 402: Establish a direction calibration module to correct the initial target state; When detecting target Tracking target trajectory The direction angle between When , the target trajectory The direction angle is added with π, and the target trajectory is tracked at this time. Direction angle and detection target Reach consensus.
4. The method for 3D vehicle tracking on a road based on Kalman filtering and Hungarian algorithm according to claim 1, characterized in that: The specific implementation of step 5 includes: Step 501: New trajectory generation process For vehicle targets that are not matched in the current frame, if they are still detected in the next frame, a new tracking track is created And initialize its state to (x,y,z,θ,h,w,h,0,0,0); Step 502: Existing track is lost, and the process is terminated: If the track is lost, continue to track the track for 3 frames. If it is still not matched, terminate the track.
