A GM-PHD video multi-target tracking method based on correlation filtering

By fusing the correlation filtering and GM-PHD methods, combined with the intersection and comparison judgment of image information, the problem of reduced tracking effect of the multi-target tracking method when the target is occluded is solved, and the accuracy and MOTA index of multi-target tracking are improved.

CN112541441BActive Publication Date: 2024-08-27夏芮智能科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011486143.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-16
Publication Date
2024-08-27
Estimated Expiration
2040-12-16

AI Technical Summary

Technical Problem

The tracking effect of existing multi-target tracking methods decreases when targets are occluded, resulting in missing and lost tracking phenomena, and the GM-PHD method fails to effectively incorporate image information, resulting in inaccurate tracking.

Method used

The GM-PHD video multi-target tracking method using fusion correlation filtering is adopted. Gaussian mixture probability hypothesis density filtering is combined with the intersection and comparison judgment of image information to avoid target template contamination, and when the target is occluded, the position prediction is updated and the target label is re-associated.

Benefits of technology

It improves the accuracy of multi-target tracking, reduces missing and incorrect tracking, improves the MOTA index from 49.9 to 50.3, enhances the tracking ability of occluded targets, and reduces fragmented trajectories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112541441B
    Figure CN112541441B
Patent Text Reader

Abstract

The present invention discloses a GM‑PHD video multi-target tracking method integrating correlation filtering, and belongs to the technical fields of computer vision, pattern recognition and information processing. The method adopts the idea of ​​correlation filtering to track the target, and adds the intersection ratio judgment of image information to perform non-updating target template and parameter processing on the occluded target, thereby reducing the pollution of the target template and reducing the false following frame. For the occluded target, it will be put into Gaussian mixed probability hypothesis density filtering for position prediction and update operation. If the target reappears in the later stage, the target label will be re-associated, thereby reducing the fragmented trajectory and compensating for the shortcoming of missed detection by the detector. Finally, the results on the MOT17 data set prove that compared with the best GM‑PHD tracking algorithm GMPHDOGM17, the multi-target tracking accuracy MOTA index is improved from the original 49.9 to 50.3.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a GM-PHD video multi-target tracking method integrating correlation filtering, and belongs to the technical fields of computer vision, pattern recognition and information processing. Background Art

[0002] Video multi-target tracking is an important research field in the field of computer vision, with many applications such as intelligent surveillance, human-computer interaction, behavior recognition, robot navigation and autonomous driving. Multi-target tracking can assign consistent labels to the tracked targets in each video frame to generate the trajectory of each target. At present, multi-target tracking is mainly divided into two methods: online tracking and batch tracking. Online tracking refers to real-time tracking using only the past and present information of the video, which is more in line with people's scene needs and is suitable for applications with strong real-time requirements such as intelligent surveillance and autonomous driving. Batch tracking uses the past, present and future information of the video to track the target, which can make the tracking result more accurate and can be used in scenes with low real-time requirements.

[0003] The classic multi-target tracking algorithm converts the multi-target tracking problem into a parallel single-target tracking problem based on detection and tracking, that is, a single-target tracker is used to track each target separately to achieve multi-target tracking. This method can achieve short-term accurate target tracking, but the long-term tracking effect is not good. For example, the current mainstream single-target tracking algorithm - correlation filtering and twin neural network methods can achieve continuous and accurate tracking for unobstructed targets, but when the target is occluded for a long time, the tracking effect decreases due to the contamination of the target template, the target tracking is inaccurate, and missed tracking and lost tracking occur. Therefore, it is not enough to solve the problem of multi-target tracking with only parallel single-target trackers. A method that can estimate the target motion trajectory is needed to track multiple targets.

[0004] In addition, in the detection and tracking task of multiple targets, the trajectory matching and continuous tracking of the target frame are the key to the research. In this regard, a multi-target tracking theory based on random finite set theory has been widely concerned. The PHD (Probability Hypothesis Density) filter based on this theory has been used in the video multi-target tracking task, which can simultaneously handle the detection and tracking problems of surviving targets, new targets and clutter. GM-PHD (Gaussian Mixture PHD) as an approximate solution of PHD filtering has a smaller amount of calculation than particle filtering (SMC-PHD, Sequential Monte Carlo PHD), and is suitable for real target motion state extraction and trajectory estimation. At present, the existing video multi-target tracking method based on GM-PHD, such as the video tracking method of integrating identity re-identification network to realize multi-target or the multi-target tracking method integrating different detection results, is not ideal for tracking occluded targets and missed targets. For this reason, the present invention proposes a GM-PHD video multi-target tracking method fused with correlation filtering. Summary of the invention

[0005] In order to solve the problem that the tracking progress of the existing multi-target tracking method decreases when the target is blocked, the present invention provides a GM-PHD video multi-target tracking method integrating correlation filtering, the method comprising:

[0006] S1: Initialization parameters; at the initial frame, the target detection frame set of the current frame is Detection box is the state vector of the i-th detection box, where They represent the horizontal and vertical coordinates of the upper left corner of the detection box, the detection box width, the detection box height and the confidence level, respectively. The number of target detection frames in the current frame;

[0007] Select The detection box is used as the measurement of this frame Carry out calculations for subsequent steps; c th is the confidence threshold, N k represents the number of measurement targets at time k, Indicates the center position and width and height information of the i-th measurement target;

[0008] Each target is represented by a rectangular box with six-dimensional vectors: in represents the position of the target center point, Indicates the speed information of the target. Indicates the width and height of the target; when When , the corresponding detection box is used as the new target of the first frame and the target state set of the first frame. Initialized to zero and put into the trace result set Among them, M k To meet the conditions The number of detection boxes, the target result state is expressed as Respectively represent the upper left corner horizontal coordinate, vertical coordinate, target frame width, target frame height and corresponding assigned target label of the target result state;

[0009] Will It is expressed as a posterior intensity in the form of a Gaussian mixture Indicates the target The expected number of is initially set to 1; Initialized to diag([1 1 1 1 1 1]);

[0010] S2: When k>1, perform the GM-PHD prediction step for each target to obtain the Gaussian component And compared with the detection set of this frame Perform association matching and divide the targets into the survival target set V S , the new target set R and clutter K, the missed target set V L and the target set V to end tracking C , where J k represents the number of Gaussian components, The number of detection frames for this frame;

[0011] S3: When tracking a target, for target a, GM-PHD generates a series of Gaussian components based on the measurement set, calculates the similarity between the Gaussian components and a, and uses the similarity as the weight of the corresponding Gaussian components;

[0012] All Gaussian components of the current frame are used for tracking operations in the next frame, where w is selected k For targets with a value greater than 0.2, extract their target location information, box size information, and label information and put them into the tracking result set In the tracking box, it is used as the tracking box result of the current frame and is displayed and recorded.

[0013] Optionally, in S2, the targets are divided into a set of surviving targets V S , the new target set R and clutter K, the missed target set V L and the target set V to end tracking C ,include:

[0014] Calculate the intersection and union ratio a of the i-th detection box and the j-th Gaussian component in the current frame ij :

[0015]

[0016] Each Gaussian component x j With each detection box Perform an intersection-and-union calculation to obtain the association matrix A:

[0017]

[0018] If a ij >T iou , then they are judged as the same target and recorded as the survival target V S , otherwise it is a different target; T iou is a preset intersection-over-union ratio threshold;

[0019] If there are two or more Gaussian components for the same detection box that are greater than the intersection-and-union ratio threshold T iou , then the maximum intersection-and-union ratio is taken as the final association result; if two values ​​are the same, the component is similarly calculated; if there is no value greater than the intersection-and-union ratio threshold T in the i-th row iou , then it is believed that For new targets or clutter, if no value in the jth column is greater than the intersection-and-union ratio threshold T iou , then we think x j It is the target for which tracking should be ended or the target that has been missed.

[0020] Optionally, when judging the surviving target, select the value with the largest intersection-union ratio in the jth column of the association matrix A. And record its position i, if a ij >T iou , select the value with the largest intersection-union ratio in the i-th row And record its position p;

[0021] If p = j, then x j is the survival target of the association, x j →V S , and From the detection set Remove; otherwise calculate x separately j 、x p and The feature similarity of j Closer Then repeat the step of p=j, otherwise change x j →Vlc , V lc = {V L ,V C}, indicating an undifferentiated leak followed by a target V L and end tracking target set V C .

[0022] Optionally, after determining the surviving target, if there are still unmatched detection sets in the current frame If it is not empty, All are added to the GM-PHD membership as new targets containing clutter.

[0023] Optionally, follow the target V L and end tracking target set V C When judging, the similarity of two adjacent frames of the same target is calculated, and the similarity value is greater than the threshold T w , it is considered that the target has not been occluded or deformed, and the target template and model parameters of the target are updated at the same time; otherwise, the target may be occluded and deformed, and the target template and model parameters of the target are not updated;

[0024] Calculate the maximum value of the updated target template and model parameter response heat map. If the maximum value is less than T cf , it is considered that there is no target in this frame, the tracking is ended, and it is added to the end tracking target set V C Otherwise, it is considered as a missed target and should be tracked continuously and added to V L middle.

[0025] Optionally, in S3, the calculation process of the weight of the Gaussian component includes:

[0026] Feature extraction: The target a and Gaussian component b are passed through the same VGG16 deep network, and the feature results of pool1, pool2, and pool3 are selected. Then, PCA dimension reduction is performed to reduce unnecessary redundant parameters. The feature results of D channels are selected in each layer to obtain the feature set. and Represents the feature map of the dth channel on the nth pooling layer of target a;

[0027] Feature information fusion: fuse the feature information of each layer of the feature set obtained; and To do the following:

[0028] F={F 1 ,...,F d ,...,F D}

[0029] Weight calculation: The feature information of each layer of the obtained feature set is integrated and then weighted, including:

[0030] Convert F to a one-dimensional vector, take the threshold T, take out the part of F that is greater than T, calculate their number num, which represents the part with similar information between the two target images, and then calculate the proportion weight of the entire feature layer If the value w k,ab Greater than the similarity threshold T w , it means that the Gaussian component b is similar to the target a. Otherwise, it is considered that the Gaussian component b is not similar to the target a and has a smaller weight.

[0031] Optionally, the fusion operation is performed using a feature pyramid method:

[0032]

[0033] Where × is the interpolation operation of the feature layer, through interpolation The scale is doubled, and two feature layers of the same scale are added together to achieve the fusion of the two feature layers. and The calculation steps are the same.

[0034] Optionally, in the feature extraction process, a VGG16 network is used to simultaneously extract shallow features and deep features of the target, wherein the shallow features include the surface features of the target, and the deep features of the target include the deep information of the target.

[0035] Optionally, during the target tracking process, the method does not update the target template and parameter processing for the occluded target. The occluded target will be placed in a Gaussian mixture probability hypothesis density filter for position prediction update operation. If the target reappears later, the target label will be re-associated.

[0036] The present application also provides applications of the above method in intelligent monitoring, human-computer interaction, behavior recognition, robot navigation and autonomous driving.

[0037] The beneficial effects of the present invention are:

[0038] The present invention aims at the problem of inaccurate target tracking, lost tracking and false tracking caused by the lack of image information in the video multi-target tracking of Gaussian mixture probability hypothesis density filtering, and proposes a Gaussian mixture PHD correlation filtering multi-target tracking method. This method adopts the idea of ​​correlation filtering to track the target, and adds the intersection ratio judgment of image information to perform non-updated target template and parameter processing on the occluded target, thereby reducing the pollution of the target template and reducing the false tracking frame. For the occluded target, it will be placed in the Gaussian mixture probability hypothesis density filtering for position prediction and update operation. If the target reappears later, the target label will be re-associated, thereby reducing the fragmented trajectory and making up for the shortcomings of the detector's missed detection. Finally, the results on the MOT17 data set prove that compared with the current best GM-PHD tracking algorithm GMPHDOGM17, the multi-target tracking accuracy MOTA index is improved from the original 49.9 to 50.3. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 It is a correlation filtering multi-target tracking framework diagram of Gaussian mixture PHD in one embodiment of the present invention.

[0041] Figure 2 It is a schematic diagram of the 09 sequence feature similarity calculation process in one embodiment of the present invention.

[0042] Figure 3 This is an example diagram of feature similarity calculation of the 09 sequence in one embodiment of the present invention.

[0043] Figure 4 Simulation results of occluded targets on the MOT17-04 sequence.

[0044] Figure 5 Simulation results of missed targets on the MOT17-11 sequence.

[0045] Figure 6 Simulation results of mis-following the target on the MOT17-09 sequence.

[0046] Figure 7 Simulation results of large displacement targets on the MOT17-13 sequence.

[0047] Figure 8 Simulation results of fuzzy targets on the MOT17-10 sequence.

[0048] Fig. 9 Simulation results of new targets on the MOT17-09 sequence. DETAILED DESCRIPTION

[0049] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0050] First, the relevant technical terms involved in this application are introduced as follows:

[0051] 1.GM-PHD

[0052] In the random finite set framework, the target state and target measurement information at time k are represented by two finite sets respectively: and GM-PHD is a closed-form solution of the proposed PHD regression, which is used to describe the motion state of multiple targets over a period of time. The main operation steps are as follows:

[0053] 1.1 Prediction

[0054] Assume that the posterior strength v k-1 If it satisfies Gaussian distribution at time k-1, then its state at time k-1 will be given by the following formula:

[0055]

[0056] Among them, J k-1 represents the number of Gaussian components at time k-1, Represented as the peak value of the target intensity in the Gaussian function, is the covariance matrix, indicating that the target The degree of dispersion near Indicates that at time k-1 The expected number of x, where each x has a label

[0057] The prediction step of GM-PHD is given by the following formula:

[0058] v k|k-1 (x) = v s,k|k-1 (x)+γ k (x)

[0059]

[0060]

[0061] where v s,k|k-1 (x) represents the survival strength of the predicted target, γ k (x) represents the prediction strength of the new target, ek|k-1 represents the survival probability of the target. F is the state transfer matrix, and Q is the process noise covariance matrix.

[0062] 1.2 Measurement Update

[0063] The measurement at time k can be obtained from the detection results of the detector, but the results of the detector are not always the best, and false detection and missed detection may occur. Therefore, the measurement is divided into survival measurement Z k,s , new measurement Z k,b , and background clutter Γ k .

[0064] First, each detection box will have a confidence score Select a confidence threshold c th , extract the confidence score The detection box is used as the measurement Z of the kth frame k,r =Z k,b ∪Z k,s , removing the background clutter Γ k Once valid measurement information is obtained, the GM-PHD update operation for the kth frame is as follows:

[0065]

[0066] in

[0067]

[0068]

[0069] H is the observation matrix, R is the observation noise covariance matrix, p M is the probability of missing the detection box, K k (z) is the clutter density, and each Gaussian update target is assigned an identity label that is the same as the predicted one.

[0070] 1.3 Merging and Pruning

[0071] After the GM-PHD update, in order to maintain the executableness of the trajectory and delete the wrong trajectory, the threshold w is selected th , merge targets with the same label and delete smaller targets

[0072] 2.ECO

[0073] From the initial minimum output square error (MOSSE) to the kernel correlation filter (KCF), and then to the continuous convolution algorithm (C-COT) and the effective convolution algorithm (ECO), the accuracy and efficiency have been improved. Unlike KCF, KCF assumes that each feature channel has the same spatial resolution and uses shallow feature information of the image, such as HOG features. C-COT achieves sub-pixel precision positioning by naturally fusing multi-channel or multi-resolution features in the continuous domain. It can also achieve the scale change of the target tracking frame at the same time, without the need to train a scale discriminator separately like DSST, and can fuse feature information from different channels, making the image features more complete and comprehensive. ECO reduces the dimension of the model features based on C-COT, and uses the Gaussian mixture model to reduce the sample model, thereby reducing redundant features and improving the operation speed and accuracy. The principle of ECO will be explained in detail below.

[0074] 2.1 Factorized Convolution Operation

[0075] After deep convolution feature extraction, the feature map is discrete and discontinuous. To solve this problem, C-COT uses cubic interpolation to obtain the feature map of the continuous spatial domain. For each feature channel x d , the interpolation operation is defined as follows:

[0076]

[0077] Final interpolation sample J d {x d}(t) is represented by an interpolation function b d The translation form is superimposed and constructed. Next, among the given M samples, put them into the minimum generalization function to train the filter f = (f 1 ,…,f d ), d is the number of channels, the specific formula is as follows:

[0078]

[0079] α j represents the sample weight, y j is the design output of the jth target sample, a 2D matrix with the highest output at the center point position, and ω is the penalty matrix. The farther from the target center position, the greater the penalty coefficient.

[0080] Since there will be a large number of redundant features during feature extraction, which increases the amount of calculation and may also cause problems such as overfitting, ECO proposed a dimensionality reduction operation to simplify the feature size based on C-COT. The original D filters are reduced to C dimensions and transferred to the Fourier domain for calculation. The new minimum generalization function is:

[0081]

[0082] P is the coefficient matrix, and then the Gauss-Newton and conjugate gradient methods are used to solve the solution of the above function.

[0083] 2.2 Simplifying the sample space

[0084] In C-COT, M samples are used as a group for training filters. However, there will be many similar samples, which will cause a lot of redundant calculations. Therefore, a Gaussian mixture model is used in ECO to calculate the probability distribution of each model, reducing the original M samples to L. For a new sample x j , initialize π m =γ,μ m =x j , if the number in the group is greater than L and less than M, then discard the weight π l Samples that are smaller than a certain threshold, otherwise two adjacent samples x k and x l The merger of

[0085] 2.3 Model Update Strategy

[0086] In KCF tracking, the model and filter are updated every frame. In ECO, this means that after adding each new sample, it must be put into the original equation for iterative optimization, which will cause a lot of computational cost. Therefore, here we use interval update filters, and the target template is still updated frame by frame. In the end, the tracking results can be improved, mainly due to the overfitting of the training samples and the improvement of the update loss.

[0087] Embodiment 1:

[0088] This embodiment provides a GM-PHD video multi-target tracking method integrating correlation filtering. Figure 1 , the method comprising:

[0089] S1: Initialization parameters; at the initial frame, the target detection frame set of the current frame is Detection box is the state vector of the i-th detection box, where They represent the horizontal and vertical coordinates of the upper left corner of the detection box, the detection box width, the detection box height and the confidence level, respectively. The number of target detection frames in the current frame;

[0090] Select The detection box is used as the measurement of this frame Carry out calculations in subsequent steps, c this the confidence threshold, N k represents the number of measurement targets at time k, Indicates the center position and width and height information of the i-th measurement target;

[0091] Each target is represented by a rectangular box with six-dimensional vectors: in represents the position of the target center point, Indicates the speed information of the target. Indicates the width and height of the target; when When , the corresponding detection box is used as the new target of the first frame and the target state set of the first frame. Initialized to zero and put into the trace result set Among them, M k To meet the conditions The number of detection boxes, the target result state is expressed as Respectively represent the upper left corner horizontal coordinate, vertical coordinate, target frame width, target frame height and corresponding assigned target label of the target result state;

[0092] Will It is expressed as a posterior intensity in the form of a Gaussian mixture Indicates the target The expected number of is initially set to 1; Initialized to diag([1 1 1 1 1 1]);

[0093] S2: When k>1, perform the GM-PHD prediction step for each target to obtain the Gaussian component And compared with the detection set of this frame Perform association matching and divide the targets into the survival target set V S , the new target set R and clutter K, the missed target set V L and the target set V to end tracking C , where J k represents the number of Gaussian components, The number of detection frames for this frame;

[0094] S3: When tracking a target, for target a, GM-PHD generates a series of Gaussian components based on the measurement set, calculates the similarity between the Gaussian components and a, and uses the similarity as the weight of the corresponding Gaussian components;

[0095] All Gaussian components of the current frame are used for tracking operations in the next frame, where w is selected kFor targets with a value greater than 0.2, extract their target location information, box size information, and label information and put them into the tracking result set In the tracking box, it is used as the tracking box result of the current frame and is displayed and recorded.

[0096] Embodiment 2

[0097] This embodiment provides a GM-PHD video multi-target tracking method integrating correlation filtering, the method comprising:

[0098] Step 1: Initialize parameters, which include: In the initial frame (i.e., k=1), the target detection frame set of the current frame is Detection box is the state vector of the i-th detection box, where They represent the horizontal and vertical coordinates of the upper left corner of the detection box, the detection box width, the detection box height and the confidence level, respectively. The number of target detection frames in the current frame; select The detection box is used as the measurement of this frame Carry out calculations in subsequent steps, c th is the confidence threshold, N k represents the number of measurement targets at time k, Represents the center position, width and height information of the i-th measurement target.

[0099] In a multi-target tracking system, each target is represented by a rectangular box of a six-dimensional vector: in represents the position of the target center point, Indicates the speed information of the target. Indicates the width and height of the target.

[0100] when When , the corresponding detection box is used as the new target of the first frame and the target state set of the first frame. Initialized to zero and put into the trace result set Among them, M k To meet the conditions The number of detection boxes, the target result state is expressed as They respectively represent the upper left corner horizontal and vertical coordinates of the target result state, the target box width, target box height and the corresponding assigned target label.

[0101] Will It is expressed as a posterior intensity in the form of a Gaussian mixture Indicates the target The expected number of , which is initially set to 1. Initialized to diag([1 1 1 1 1 1]). The subsequent framework of the GM-PHD-based correlation filter video multi-target tracking method is as follows Figure 1 shown.

[0102] Step 2: When k>1, first perform the GM-PHD prediction step for each target to obtain the Gaussian component At this time, we need to compare the detection set of this frame Perform association matching and divide the targets into the survival target set V S , new target R and clutter K, missed target V L and end tracking target V C , where J k represents the number of Gaussian components, The number of detection boxes for this frame.

[0103]

[0104]

[0105] a ij Represents the intersection and union of the i-th detection box and the j-th Gaussian component. j With each detection box Perform an intersection-over-union (IOU) calculation to obtain an association matrix. If the calculated value is greater than the threshold T iou , then they are judged as the same target and recorded as the survival target V S , otherwise they are different targets.

[0106] If there are two or more Gaussian components for the same detection box that are greater than the intersection-and-union ratio threshold T iou , then the one with the largest intersection-and-union ratio is taken as the final association result; if two values ​​are the same, the component is similarly calculated. If there is no value greater than the intersection-and-union ratio threshold T in the i-th row iou , then it is believed that For new targets or clutter, if no value in the jth column is greater than the intersection-and-union ratio threshold T iou , then we think x j It is the target for which tracking should be ended or the target that has been missed.

[0107] Step 3: Determine the surviving target. The surviving target is determined as follows: According to the association matrix A obtained by calculating the IOU for each Gaussian component and each detection box, select the value with the largest intersection-union ratio in the jth column of A. And record its position i, if a ij >T iou, select the value with the largest intersection-union ratio in the i-th row And record its position p. If p = j, then x is considered j is the survival target of the association, x j →V S , and From the detection set Otherwise, feature similarity is needed to further judge With x j 、x p Which is closer if x j If it is closer, repeat the step of p=j, otherwise change x j →V lc , V lc = {V L ,V C}, indicating an undifferentiated leak followed by a target V L and end tracking target set V C .

[0108] Step 4: Judgment of new targets: After judging the surviving targets, if there are unmatched detection sets in the current frame, If it is not empty, All of them are added as new targets to the GM-PHD members and enter the subsequent GM-PHD update steps together.

[0109] Step 5: Missing the target V L and end tracking target set V C The original ECO tracking updates the target template and model parameters separately, updating the target template frame by frame and updating the model parameters every few frames to reduce overfitting. However, in multi-target tracking in complex scenes, target occlusion and other operations are prone to occur. If the target template is updated frame by frame at this time, it will cause the target template contamination problem, resulting in the offset of the target tracking frame and a large number of missed tracking and false tracking.

[0110] Here, the feature similarity calculation part is used to calculate the similarity of two adjacent frames of the same target. The similarity value is larger (i.e., greater than the threshold T w ), it is considered that the target is not occluded or deformed, and the target template and model parameters of the target are updated. Otherwise, the target may be occluded and deformed, and the target template and model parameters of the target are not updated.

[0111] If the maximum value of the response heat map obtained by the improved ECO is less than T cf , it is considered that there is no target in this frame, tracking should be ended, and it is added to the end tracking target set V COtherwise, it is considered as a missed target and should be tracked continuously and added to V L middle.

[0112] Step 6: Calculate the feature similarity to perform the GM-PHD update step. In the weight calculation of the GM-PHD update, due to the instability of the detector's detection effect on small targets, there is a lot of background clutter interference, some of which is close to the target. The traditional GM-PHD update weight calculation only uses the target's location information, without image information, which causes frequent label jumps, so the weight calculation here will use a new method.

[0113] In terms of feature extraction, this application uses the VGG16 network to extract the shallow features and deep features of the target at the same time. The shallow features contain the apparent features of the target, which are clearer; while the deep features of the target contain the deep information of the target. The weight calculation of the Gaussian component will be divided into three parts: feature extraction, feature fusion and weight calculation. Figure 2 The feature similarity calculation process is described in .

[0114] In the update step of GM-PHD, for target a, GM-PHD will generate a series of Gaussian components based on the measurement set, and calculate the similarity between these Gaussian components and a as the weights of these Gaussian components. The following will take target a and a Gaussian component b as an example to illustrate the weight calculation.

[0115] Step 7: Feature extraction implementation of feature similarity calculation.

[0116] The feature extraction operation is as follows: for the target a and Gaussian component b, they will pass through the same VGG16 deep network, select the feature results of pool1 layer, pool2 layer, and pool3 layer, and then perform PCA dimensionality reduction to reduce unnecessary redundant parameters. Each layer will select the feature results of D channels to obtain the feature set and Represents the feature map of the dth channel on the nth pooling layer of target a.

[0117] Step 8: Implementation of feature information fusion for feature similarity calculation.

[0118] The operation of feature information fusion is: fuse the feature information of each layer of the feature set and then calculate the weight, so that the semantic information of the deep features of the target and the information obtained by the shallow features can be taken into account at the same time. The specific fusion operation will be performed using the feature pyramid method.

[0119]

[0120] Where × is the interpolation operation of the feature layer, through interpolation The scale is doubled, and two feature layers of the same scale are added together to achieve the fusion of the two feature layers. and The calculation steps are the same.

[0121] Step 9: Weight calculation for feature similarity calculation. and To do the following:

[0122] F={F 1 ,...,F d ,...,F D}

[0123] Convert F to a one-dimensional vector, take the threshold T, take out the part of F that is greater than T, calculate their number num, which represents the part with similar information between the two target images, and then calculate the proportion weight of the entire feature layer If the value w k,ab Greater than the similarity threshold T w , it means that the Gaussian component b is similar to the target a. Otherwise, it is considered that the Gaussian component b is not similar to the target a and has a smaller weight.

[0124] The calculation results of feature similarity are as follows: Figure 2 (b) shows that Figure 2 In the right part of (b), the k-th frame GM-PHD generates a series of Gaussian components based on the measurement information of the k-th frame. Figure 2 The left part of (b) is the k-1th frame, the template of the target, and then the feature similarity between each Gaussian component and the target is calculated respectively.

[0125] Step 10: Extract the target state.

[0126] The operation of extracting the target state is: all Gaussian components of this frame will continue to be used for the tracking operation of the next frame, where w is selected k For targets with a value greater than 0.2, extract their target location information, box size information, and label information and put them into the tracking result set In the image, the tracking box result of this frame is recorded and displayed.

[0127] To verify the effect of the correlation filtering video multi-target tracking method based on GM-PHD (Gaussian mixture probability hypothesis density) described in Example 1, the experiment is as follows:

[0128] 1. Implementation conditions and parameters

[0129] This application conducts experiments on the MOTChallenge Benchmark, which is a very general video multi-target tracking dataset in complex scenes, mainly for pedestrian tracking. It includes a series of complex multi-person scenes in real life, such as: shopping mall monitoring, mobile phone recording, bus recorder, etc. It also includes motion videos of small and large targets, pedestrian motion in bright and dim scenes, etc.

[0130] MOT17 consists of 7 training sequences and 7 test sequences. Each video sequence provides 3 common detection results (DPM, FRCNN, SDP). The 7 training sequences provide real tracking results, while the test sequences are used to compare the results of multi-target tracking algorithms.

[0131] This application uses the evaluation algorithm provided by MOTChallenge Benchmark. The evaluation criteria include multi-target tracking precision (MOTP), multi-target tracking correctness (MOTA), total false tracking number (FP), total missed tracking number (FN), label jump number (IDS), tracking trajectory number (MT), and lost target number (ML).

[0132] 2. Software, hardware and related parameter settings during the experiment

[0133] The application method is performed on a machine with an Intel Core i7-8700 processor, 3.2GHz, 12 cores, 16GB of memory, and a graphics card of NVIDIA Geforce GTX 1080Ti, and is written in Matlab R2019b software.

[0134] Migrate Model F k =[I2,I2,02;02,I2,02;02,02,I2], the process noise covariance matrix is ​​set to Q k-1 =diag([64,64,16,16,36,36]), I2 and 02 are 2×2 identity matrix and zero matrix respectively, and the observation model is H k =[I2,02,02; 02,02,I2], the observation noise covariance is R k =diag([64,64]).

[0135] In the process of implementing GM-PHD filtering, the target loss probability p M =0.5, the clutter parameter is set to κ=10 -4 , w th =1×10 -5 , select the threshold c of the measurement set in the detection information thAccording to different detectors, this is mainly based on the IOU17 method. th =0.2, c in FRCNN th =0, c in SDP th =0.4, T in the correlation matrix iou =0.4, T cf =0.5, T in feature similarity calculation = 50, T in improved ECO w =0.7.

[0136] 3. Qualitative analysis of experimental results

[0137] The specific experiments mainly evaluate the performance in six aspects: occluded targets, detection loss, mis-tracked targets, large displacement targets, blurred targets, and new targets. The experimental results are as follows:

[0138] Experiment 1: Occluding the target

[0139] When facing an occluded target, the detection frame will disappear for a long time due to the occlusion. This application first uses GM-PHD to predict the target position and uses the improved ECO filter for tracking. When the target is completely occluded, the relevant filter will not be able to continuously track the target based on the image information. At this time, GM-PHD will predict the motion trajectory of the occluded target based on the motion speed information obtained from the previous frame, thereby achieving continuous tracking of some targets and reducing fragmented trajectories, label jumps, and missed tracking. Figure 4 As shown, Figure 4 As shown in (a), the elliptical frame circles the occluded target. According to the results, the method proposed in this application can continue to track the target even if occlusion occurs, while IOU17, Deep Sort and Sort methods cannot keep up with the occluded target due to the lack of detection frames in the case of occlusion.

[0140] IOU17 can refer to ERIK B, VOLKER E, THONMAS S. High-speed tracking-by-detection without using image information [C] / / Proceedings of the 14th International Conference on Advanced Video and Signal Based Surveillance. Lecce, Italy, 29Aug.-1Sept.2017. New York: IEEE, 2017:1-6.;

[0141] Deep Sort can refer to NICOLAI W, ALEX B, DIETRICH P, et al. Simple online and real-time tracking with a deep association metric[C] / / Proceedings of the 2017IEEE International Conference on Image Processing.Beijing, China, 17-20September 2017. New York: IEEE, 2017: 3645-3649.;

[0142] Sort can refer to ALEX B, ZONGYUAN G, LIONEL O, et al.Simple online and real-time tracking[C] / / Proceedings of the 2016IEEE International Conference onImage Pro-cessing.Phoenix,AZ,USA.25-28September 2016.New York: IEEE,2016:3464-3468.

[0143] Experiment 2: Missed Targets

[0144] Due to the instability of the detector, it is often the case that a very clear target suddenly has no corresponding detection frame at a certain moment. In tracking methods that rely heavily on detection frames, such as IOU17, there will be a lack of tracking frames due to the lack of corresponding detection frames. The method proposed in this application will establish a target template based on the previous detection frame information, and use the improved version of ECO to continuously track the target. If the target is not occluded in a large area, the improved version of ECO can perform continuous and stable tracking, such as Figure 5 As shown, the elliptical frame circles the missed targets. According to the experimental results, compared with other methods, the present invention can better cope with the tracking of missed targets.

[0145] Experiment 3: Following the target by mistake

[0146] After the detector detects pedestrians in an image, some false positives will inevitably be generated. If these false positives are not filtered, a series of false positives will be generated, increasing the number of label jumps. Some tracking algorithms will also cause tracking frame offsets, resulting in false positives. Figure 6It can be seen in (b) that before the improved ECO tracking method is used, although the target circled by the ellipse can be followed to a certain extent, the tracking frame will gradually deviate due to the pollution of the target template information, which will lead to a large number of mistracked frames in the later stage. In the method proposed in this application, not only can the occluded target be followed, but it can also be followed accurately without deviation. Figure 6 In (c), (d), (e) and (f), we can see that methods such as Deep Sort, Sort and IOU17 directly missed the target.

[0147] Experiment 4: Large displacement target

[0148] For targets with large displacement, it is not enough to use only the intersection of detection frames and union of detection frames. It is difficult to associate the historical trajectories of the same target. The method proposed in this application first predicts the position of the target in this frame through the prediction step of GM-PHD, and then uses the improved ECO* on this basis. This can combine the historical trajectory information and image information of the target at the same time to finally achieve continuous tracking of targets with large displacement. Figure 7 The tracking of the elliptical target in FIG. 1 shows that the present invention can continuously track the target with large displacement, while SST has frequent label jumps and IOU17 directly loses the target.

[0149] For SST, please refer to SUN SJ, AKHTAR N, SONG HS, et al. Deep affinity network fornultiple object tracking[J]. IEEE trans-actions on pattern analysis and machine intelli-gence, 2019.

[0150] Experiment 5: Ambiguous Target

[0151] In complex multi-target tracking scenarios, the target is often blurred due to severe shaking of the camera, which poses a considerable challenge to the detector and the prediction of the target trajectory. Due to the loss of the detection frame, the target lacks the measurement information of this frame and the target trajectory cannot be associated. The method we proposed extracts the surface features and depth features of the target through ECO*, locates the position of the target in the next frame, and can stably track even blurred targets. Figure 8 The tracking results of the elliptical target show that, compared with other tracking methods, the present invention can continuously track the blurred target and reduce missed tracking.

[0152] Experiment 6: New Goals

[0153] The information of the new target in this application is obtained by the detection results of the detector. The detection results of the detector and the effect of the tracking algorithm determine the ability to obtain the new target. The more accurate the detection results of the detector, the more accurate the new target obtained by the algorithm, so that real-time tracking can be achieved, and the algorithm's judgment on whether the detection box is a new target affects the ability to obtain the new target. This application judges the new target through the intersection and union ratio and the detection box confidence score. Compared with the two new targets omitted in the SST method, the method of this application can well extract the new target information and continue to track. The specific tracking effect is as follows Fig. 9 As shown in the figure, for the new target circled by the ellipse, the method of the present invention can obtain and perform subsequent tracking, while other methods directly abandon the target, resulting in a large number of missed tracking in the later stage.

[0154] 4. Quantitative Analysis of Experimental Results

[0155] Comparative analysis experiment of different tracking methods. First, the experiment was conducted on the MOT17 training set, and the specific results are shown in Table 1, where GMPHD-FPN-ECO* represents the tracking results of GM-PHD and the modified ECO method with fused feature similarity calculation proposed in this application, GMPHD-FPN-ECO is the tracking result of GM-PHD with fused feature similarity calculation and the unmodified ECO method, GMPHD-FRN-KCF uses the result of GM-PHD with fused feature similarity calculation of KCF, GMPHD-FRN is the GM-PHD tracking method that only uses fused feature similarity calculation, and GMPHD-HOG is a tracking method that replaces the feature similarity calculation with a simple HOG feature calculation based on the GMPHD-FPN-ECO* method, and is compared with other tracking methods.

[0156] As can be seen from Table 1, GMPHD-FPN-ECO* has the best FN and IDS indicators, because the method provided by this application uses the feature information of the fusion of deep image information and shallow image information, and improves the update problem of the target template in ECO, so that the method of this application can better deal with the problem of missed tracking due to target blur, loss of detection frame and target occlusion, thereby reducing the number of missed tracking and label jumps of the target. Compared with the unimproved ECO tracking method, the original ECO is also updating the target template in a superimposed manner when it is occluded, which will pollute the target template, so that when the target is reproduced, it cannot accurately keep up with the target, so a large number of missed tracking and label jumps will be generated.

[0157] Compared with other tracking methods, the method proposed in this application can better track the target based on the original detection frame information, greatly reducing the missed frame (FN). The IOU17 tracking method relies entirely on the detection results and cannot track the missed targets in a timely manner; the Deep Sort method will perform a certain degree of selection after obtaining the detection results, thereby reducing false targets, but at the same time it also deletes many real targets, resulting in missed targets; the Sort method also has the same problem as the Deep Sort method, and also generates a large number of false frames; SST will generate a large number of false frames when tracking missed targets, resulting in a low MOTA index.

[0158] Table 1 Experimental results of MOT17 training set

[0159]

[0160] The experimental data on the MOT17 training set alone is not enough. According to the latest results submitted on the MOT17 dataset at MOTChallenge, the algorithm proposed in this application has the best MOTA index among the related algorithms of GM-PHD. The specific experimental results are shown in Table 2.

[0161] Table 2 MOT17 experimental results

[0162]

[0163] It can be seen from Table 2 that the method proposed in the present application can continuously track the target while minimizing the false tracking frame (FP), thereby reducing the missed tracking frame (FN) and improving the MOTA accuracy. This is mainly because the method provided in the present application adopts a feature similarity calculation method that integrates shallow and deep image information, and uses the modified ECO to continuously track the target, so that the tracking effect achieves a balance between the false tracking index and the missed tracking index.

[0164] Some steps in the embodiments of the present invention may be implemented using software, and the corresponding software program may be stored in a readable storage medium, such as a CD or a hard disk.

[0165] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A GM-PHD video multi-target tracking method integrating correlation filtering, characterized in that: The method comprises: S1: Initialization parameters; at the initial frame, the target detection frame set of the current frame is Detection box is the state vector of the i-th detection box, where They represent the horizontal and vertical coordinates of the upper left corner of the detection box, the detection box width, the detection box height and the confidence level, respectively. The number of target detection frames in the current frame; Select The detection box is used as the measurement of this frame Carry out calculations for subsequent steps; c th is the confidence threshold, N k represents the number of measurement targets at time k, Indicates the center position and width and height information of the i-th measurement target; Each target is represented by a rectangular box with six-dimensional vectors: in represents the position of the target center point, Indicates the speed information of the target. Indicates the width and height of the target; when When , the corresponding detection box is used as the new target of the first frame and the target state set of the first frame. Initialized to zero and placed in the trace result set Among them, M k To meet the conditions The number of detection boxes, the target result state is expressed as Respectively represent the upper left corner horizontal coordinate, vertical coordinate, target frame width, target frame height and corresponding assigned target label of the target result state; Will It is expressed as a posterior intensity in the form of a Gaussian mixture Indicates the target The expected number of is initially set to 1; Initialized to diag([1 1 1 1 1 1]); S2: When k>1, perform the GM-PHD prediction step for each target to obtain the Gaussian component And compared with the detection set of this frame Perform association matching and divide the targets into the survival target set V S , the new target set R and clutter K, the missed target set V L and the target set V to end tracking C , where J k represents the number of Gaussian components, The number of detection frames for this frame; S3: When tracking a target, for target a, GM-PHD generates a series of Gaussian components based on the measurement set, calculates the similarity between the Gaussian components and a, and uses the similarity as the weight of the corresponding Gaussian components; All Gaussian components of the current frame are used for tracking operations in the next frame, where w is selected k For targets with a value greater than 0.2, extract their target location information, box size information, and label information and put them into the tracking result set In the tracking box, it is used as the tracking box result of the current frame and is displayed and recorded.

2. The method according to claim 1, characterized in that In S2, the targets are divided into a set of surviving targets V S , the new target set R and clutter K, the missed target set V L and the target set V to end tracking C ,include: Calculate the intersection and union ratio a of the i-th detection box and the j-th Gaussian component in the current frame ij : Each Gaussian component x j With each detection box Perform an intersection-and-union calculation to obtain the association matrix A: If a ij >T iou , then they are judged as the same target and recorded as the survival target V S , otherwise it is a different target; T iou is a preset intersection-over-union ratio threshold; If there are two or more Gaussian components for the same detection box that are greater than the intersection-and-union ratio threshold T iou , then the maximum intersection-and-union ratio is taken as the final association result; if two values ​​are the same, the component is similarly calculated; if there is no value greater than the intersection-and-union ratio threshold T in the i-th row iou , then it is believed that For new targets or clutter, if no value in the jth column is greater than the intersection-and-union ratio threshold T iou , then we think x j It is the target for which tracking should be ended or the target that has been missed.

3. The method according to claim 2, characterized in that When judging the surviving target, select the value with the largest intersection-combination ratio in the jth column of the association matrix A. And record its position i, if a ij >T iou , select the value with the largest intersection-union ratio in the i-th row And record its position p; If p = j, then x j is the survival target of the association, x j →V S , and From the detection set Remove; otherwise calculate x separately j 、x p and The feature similarity of j Closer Then repeat the step of p=j, otherwise change x j →V lc , V lc = {V L , V C }, indicating an undifferentiated leak and target V L and end tracking target set V C .

4. The method according to claim 3, characterized in that After determining the surviving target, if there are still unmatched detection sets in the current frame If it is not empty, All are added as new targets to GM-PHD members.

5. The method according to claim 4, characterized in that In the leaky follow target V L and end tracking target set V C When judging, the similarity of two adjacent frames of the same target is calculated, and the similarity value is greater than the threshold T w , it is considered that the target has not been occluded or deformed, and the target template and model parameters of the target are updated at the same time; otherwise, the target may be occluded and deformed, and the target template and model parameters of the target are not updated; Calculate the maximum value of the updated target template and model parameter response heat map. If the maximum value is less than T cf , it is considered that there is no target in this frame, the tracking is ended, and it is added to the end tracking target set V C Otherwise, it is considered as a missed target and should be tracked continuously and added to V L middle.

6. The method according to claim 5, characterized in that In S3, the calculation process of the weight of the Gaussian component includes: Feature extraction: The target a and Gaussian component b are passed through the same VGG16 deep network, and the feature results of pool1, pool2, and pool3 are selected. Then, PCA dimension reduction is performed to reduce unnecessary redundant parameters. The feature results of D channels are selected in each layer to obtain the feature set. and Represents the feature map of the dth channel on the nth pooling layer of target a; Feature information fusion: fuse the feature information of each layer of the feature set obtained; and To do the following: F={F 1 ,...,F d ,...,F D } Weight calculation: The feature information of each layer of the obtained feature set is integrated and then weighted, including: Convert F to a one-dimensional vector, take the threshold T, take out the part of F that is greater than T, calculate their number num, which represents the part with similar information between the two target images, and then calculate the proportion weight of the entire feature layer If the value w k,ab Greater than the similarity threshold T w , it means that the Gaussian component b is similar to the target a. Otherwise, it is considered that the Gaussian component b is not similar to the target a and has a smaller weight.

7. The method according to claim 6, characterized in that The fusion operation will be performed using the feature pyramid method: Where × is the interpolation operation of the feature layer, through interpolation The scale is doubled, and two feature layers of the same scale are added together to achieve the fusion of the two feature layers. and The calculation steps are the same.

8. The method according to claim 7, characterized in that In the feature extraction process, the VGG16 network is used to simultaneously extract shallow features and deep features of the target, wherein the shallow features include the surface features of the target, and the deep features of the target include the deep information of the target.

9. The method according to claim 8, characterized in that In the target tracking process, the method does not update the target template and parameter processing for the occluded target. The occluded target will be placed in the Gaussian mixture probability hypothesis density filter for position prediction update operation. If the target reappears later, the target label will be re-associated.

10. The application method of any one of the methods of claims 1-9 in intelligent monitoring, human-computer interaction, behavior recognition, robot navigation and autonomous driving.