A target tracking method and system based on composite convolutional network
By using a compound convolutional network in target tracking technology, combined with a convolutional neural network and a graph convolutional network, to extract the characteristics of template frames and detection frames, the problems of insufficient tracking accuracy and success rate in the existing technology are solved, and the More accurate and robust target tracking effect.
Patent Information
- Application Number
- CN202210158946.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-02-21
AI Technical Summary
Existing target tracking technology has insufficient tracking accuracy and success rate when faced with changes in appearance and movement caused by factors such as illumination, deformation, occlusion, and motion, making it difficult to effectively distinguish the target from the background.
Using a target tracking method based on composite convolutional networks, by constructing twin composite convolution feature extraction sub-networks Siam-Co-CNNs, combining convolutional neural networks and graph convolutional neural networks, the features of template frames and detection frames are extracted and input Classification and regression are performed in the region proposal sub-network to enhance the feature representation and discrimination of the target.
It improves the accuracy and success rate of target tracking, especially in scenarios of occlusion, deformation and target scale changes, and enhances the model's expression ability and reasoning speed.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of video target tracking, and specifically relates to a target tracking method and system based on a composite convolutional network, which integrates advanced technologies in many fields such as image processing, feature fusion and computers. Background Art
[0002] Object tracking is one of the most important and challenging problems in computer vision, with a wide range of applications including video surveillance, self-driving cars, etc. Given annotations only in the first frame of a video, a tracking algorithm can run to locate the object in subsequent frames, which may face various appearance and motion changes caused by illumination, deformation, occlusion, and motion.
[0003] In recent years, deep learning technology has developed rapidly and plays an important role in the field of digital image processing. Deep learning can be data-driven and automatically learn features that meet task requirements. Convolutional neural networks can extract multi-scale local spatial information and fuse it to construct feature representations, but they can only be applied to conventional Euclidean data. Graph neural networks can achieve good results in non-Euclidean spaces and obtain global features. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a target tracking method and system based on a composite convolutional network to track the target more accurately and robustly, thereby improving the accuracy and success rate of target tracking.
[0005] The present invention adopts the following technical solutions:
[0006] A target tracking method based on a composite convolutional network comprises the following steps:
[0007] S1. Construct the Siam-Co-CNNs, a twin composite convolutional feature extraction sub-network, to form the template branch and detection branch of the Siamese structure.
[0008] S2, input the feature maps of the template branch and the detection branch extracted in step S1 into the region proposal subnetwork to form a target tracking network based on a composite convolutional network;
[0009] S3, using the video frame sequence in the training data set, offline pre-training the target tracking network based on the composite convolutional network constructed in step S2;
[0010] S4, converting the video into image frames and inputting them into the target tracking network based on the composite convolutional network pre-trained in step S3, performing online tracking, and obtaining and outputting the video tracking results.
[0011] Specifically, in step S1, the construction of the twin composite convolutional feature extraction sub-network Siam-Co-CNNs is as follows:
[0012] S101, build two convolutional neural network branch networks to extract CNN features of template frame and detection frame respectively;
[0013] S102, adding a graph convolutional neural network to the two convolutional neural network branch networks built in step S101 to construct a Co-CNN module;
[0014] S103. Stack the Co-CNN modules constructed in step S102 to form a twin composite convolutional feature extraction subnetwork Siam-Co-CNNs. Siam-Co-CNNs includes three groups of fused stacked Co-CNN modules. Each group of Co-CNN modules contains a fusion module of a convolutional network and a graph convolutional network.
[0015] Furthermore, in step S101, each convolutional neural network branch network is composed of a modified AlexNet network, and the first convolution block in the convolutional neural network branch network is recorded as Conv-1, the second convolution block is recorded as Conv-2, and the third, fourth, and fifth convolution blocks are recorded as Conv-3; the two convolutional neural network branch networks have the same network structure and share the same set of network parameters. A two-layer graph convolutional neural network is stacked to form a GCN module, and each layer of the Co-CNN module uses a layer of GCN module, namely GCN-1, GCN-2, and GCN-3.
[0016] Furthermore, in step S102, each layer of the graph convolutional neural network is:
[0017]
[0018] Among them, σ represents the nonlinear function ReLU, is the self-circulation matrix of the adjacency matrix A plus the identity matrix I, for The corresponding degree matrix, H (l) is the input graph feature, W (l) is the weight matrix.
[0019] Furthermore, in step S103, in the first layer Co-CNN module, the input image frame is processed by SLIC superpixel to obtain superpixel labels to form graph g0, and Conv-1 is used to extract features of the image frame to obtain pixel-level features F1; then graph g0 is input into the graph downsampling module GI-1 to obtain graph g1, and the adjacency matrix A1 and the corresponding matrix Q1 are constructed through the pixel-level features F1 and g1, and the graph features G1 are obtained and input into the GCN-1 module; the GCN-1 module outputs the graph features G2, which are then converted into pixel-level features through the corresponding matrix Q1. Finally, the fusion module conca combines the pixel-level feature F1 with Fusion, obtaining features The characteristics Input the second layer Co-CNN module with Figure g1 to obtain features and Figure g2; finally, input the third layer Co-CNN module to obtain the final pixel-level features
[0020] Specifically, in step S2, in the region proposal subnetwork, the template branch and the detection branch obtain features through the Siam-Co-CNNs module and Enter the classification branch of the RPN network to obtain the binary classification results; the template branch and the detection branch obtain the features through the Siam-Co-CNNs module and Enter the classification branch of the RPN network and obtain the coordinate correction results.
[0021] Specifically, in step S3, a random sampling method is used to extract templates and detection pixel blocks from two frames of the same video in the training data set and input them into the template branch and detection branch of Siam-Co-CNNs for training respectively; the loss function includes classification loss cls_losses and coordinate loss box_losses, the classification loss cls_losses uses the cross entropy loss function, the coordinate loss box_losses uses the smooth_L1 loss function, and the SGD algorithm is used to optimize the network weights.
[0022] Furthermore, the initial learning rate of the training is 3e -3 , the final learning rate is e -5 , batchsize is 16, and there are 150 iterations in total. The learning rate decays proportionally from the initial learning rate to the final learning rate according to the number of iterations.
[0023] Specifically, in step S4, online tracking is specifically as follows:
[0024] S401, converting the video into image frames and inputting them into the system, reading the first frame, and marking the target to be tracked on the first frame;
[0025] S402, extracting the first frame image feature f using the template branch exemplar ;
[0026] S403, read the next frame, and use the detection branch to extract the current frame image feature f instance ;
[0027] S404, feature f exemplar and f instance Input the region proposal subnetwork to obtain the binary classification results and coordinate correction results of the anchor image block;
[0028] S405, in each frame image, taking n windows around the target position of the previous frame image for multi-scale transformation and feature extraction, and using the region proposal sub-network for classification, and taking the window with the largest classification score as the tracking target;
[0029] S406, repeating steps S401 to S405 until the video sequence is processed, and obtaining and outputting the video tracking result.
[0030] Another technical solution of the present invention is a target tracking system based on a composite convolutional network, comprising:
[0031] The branch module constructs the Siam-Co-CNNs, a twin composite convolutional feature extraction sub-network, to form the template branch and detection branch of the Siamese structure;
[0032] The network module inputs the feature maps of the template branch and the detection branch extracted by the branch module into the region proposal subnetwork to form an object tracking network based on a composite convolutional network;
[0033] The training module uses the video frame sequences in the training data set to perform offline pre-training on the target tracking network based on the composite convolutional network composed of the network module;
[0034] The tracking module converts the video into image frames and inputs them into the target tracking network based on the composite convolutional network pre-trained by the training module for online tracking to obtain and output the video tracking results.
[0035] Compared with the prior art, the present invention has at least the following beneficial effects:
[0036] The present invention discloses a target tracking method based on a composite convolutional network, which uses a twin branch network as the basic structure, extracts the features of the template frame and the detection frame respectively, and then inputs them into the region proposal subnetwork to obtain classification and regression results. The algorithm combines the convolutional neural network with the graph convolutional neural network in the feature extraction network, fuses the pixel-level features extracted by the convolutional neural network with the global features extracted by the graph convolutional neural network, comprehensively considers the spatial distribution characteristics of the target itself and the spatial distribution characteristics of the features, increases the distinction between the target foreground and the background, and further improves the feature representation of the target. The design of this mode can track the target more accurately and robustly, and improve the accuracy and success rate of target tracking. According to the simulation experiment results, the algorithm has good performance in scenarios such as occlusion, deformation, and target scale change, which fully verifies the excellent performance of the algorithm in tracking accuracy, success rate, and robustness.
[0037] Furthermore, in step S1, a twin composite convolutional feature extraction subnetwork Siam-Co-CNNs is constructed. Siam-Co-CNNs consists of two networks with the same structure and shared weights, which can maximize the representation of different labels and minimize the representation of the same label, which is conducive to the subsequent use of cross-correlation operations to locate the target in the detection frame according to the template frame.
[0038] Furthermore, in step S101, each convolutional neural network branch network is composed of a modified AlexNet network, and the modified AlexNet network does not contain a padding structure, thereby satisfying translation invariance.
[0039] Furthermore, in step S102, a graph convolutional neural network is added to the convolutional neural network branch network to construct a Co-CNN module. The Co-CNN module combines the convolutional neural network with the graph convolutional neural network, fuses the pixel-level features extracted by the convolutional neural network with the global features extracted by the graph convolutional neural network, comprehensively considers the spatial distribution characteristics of the target itself and the spatial distribution characteristics of the features, increases the distinction between the target foreground and background, and further improves the feature representation of the target.
[0040] Furthermore, in step S103, three layers of Co-CNN modules are stacked to extract features of the video frames, thereby obtaining appearance features and high-dimensional semantic features of the video frames and enhancing the expression ability of the model.
[0041] Furthermore, in step S2, the RPN network inputs the features extracted from the template frame and the detection frame by Siam-Co-CNNs into the classification branch and the regression branch respectively. In the classification branch, the template features are used as the convolution kernel, and the cross-correlation operation is performed on the detection features to obtain the binary classification results of each anchor point, which can effectively distinguish the foreground and background of the target. In the regression branch, the template features are used as the convolution kernel, and the cross-correlation operation is performed on the detection features to obtain the relative position difference between the anchor point and the target, and the target position is regressed to obtain a more accurate target position.
[0042] Furthermore, in step S3, a random sampling method is used to extract templates and detection pixel blocks from two frames of the same video in the training data set and input them into the network for training. In this way, the template frame and the detection frame come from the same video sequence, with only slight changes at the target. This allows the target tracking network based on the composite convolutional network to effectively learn the characteristics of the target and more effectively distinguish the foreground and background.
[0043] Furthermore, according to the parameter tuning experiment, the initial learning rate during training is 3e -3 , the final learning rate is e -5 , batchsize is 16, and there are 150 iterations in total. The learning rate decays proportionally from the initial learning rate to the final learning rate according to the number of iterations, which can make the trained model have the best effect.
[0044] Furthermore, in step S4, the video is converted into image frames and input into a pre-trained target tracking network based on a composite convolutional network for online tracking. Combining offline training with online tracking can improve the inference speed and effectively improve the target tracking speed.
[0045] In summary, the method of the present invention improves the feature representation of the target and has good performance in scenarios such as occlusion, deformation, and target scale change.
[0046] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 The network structure diagram of the composite convolutional feature extraction network Co-CNNs;
[0048] Figure 2 This is the network structure diagram of the regional proposal sub-network RPN;
[0049] Figure 3 The overall network structure diagram of the target tracking network based on the composite convolutional network. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] In the description of the present invention, it should be understood that the terms “include” and “comprises” indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.
[0052] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0053] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects are in an "or" relationship.
[0054] It should be understood that, although the terms first, second, third, etc. may be used to describe preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
[0055] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0056] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0057] The present invention provides a target tracking method based on a composite convolutional network, constructs a twin composite convolutional feature extraction subnetwork Siam-Co-CNNs; obtains classification and regression results in the input region proposal subnetwork; trains the model using a training data set; and obtains the final result using a test data set. The method fuses the pixel-level features extracted by the convolutional neural network with the global features extracted by the graph convolutional neural network. The graph convolutional neural network module can extract the global features of the target, enhance the distinction between the foreground and background of the target, and enhance the feature representation of the target, which is of great significance in the fields of video surveillance and unmanned driving.
[0058] As shown in the figure, the target tracking method based on the composite convolutional network of the present invention includes the following steps:
[0059] S1. Construct the Siam-Co-CNNs, a twin composite convolutional feature extraction sub-network, to form the template branch and detection branch of the Siamese structure.
[0060] The specific steps of constructing the twin composite convolutional feature extraction subnetwork Siam-Co-CNNs are as follows:
[0061] S101, build two convolutional neural network branch networks to extract CNN features of template frame and detection frame respectively;
[0062] Each branch network is composed of a modified AlexNet network, which is divided into five convolution blocks. The first convolution block in the network is recorded as a group, Conv-1, which uses a strided convolution layer of 11×11 with a step size of 2, then passes through a BatchNorm layer, then passes through a 3×3 maximum pooling layer with a step size of 2, and finally passes through a nonlinear function ReLU layer; the second convolution block is recorded as a group, Conv-2, Conv-2 uses a 5×5 standard convolution layer, then passes through a BatchNorm layer, then passes through a 3×3 maximum pooling layer with a step size of 2, and finally passes through a nonlinear function ReLU layer; the third, Four or five convolution blocks are recorded as a group, Conv-3. Conv-3 uses a 3×3 standard convolution layer, then passes through a BatchNorm layer, then passes through a nonlinear function ReLU layer, then passes through a 3×3 standard convolution layer, then passes through a BatchNorm layer, then passes through a nonlinear function ReLU layer, then passes through a 3×3 standard convolution layer, then passes through a BatchNorm layer, and finally passes through a nonlinear function ReLU layer; the two branch networks have the same network structure and share the same set of network parameters.
[0063] S102, adding a graph convolutional neural network to the two convolutional neural network branch networks built in step S101 to construct a Co-CNN module;
[0064] The convolutional network and graph convolutional network that output feature images of the same size are fused to form a Co-CNN module. The Co-GCN module consists of two layers of graph convolutional neural network layers. Each layer of graph convolutional neural network is:
[0065]
[0066] Among them, σ represents the nonlinear function ReLU, is the self-circulation matrix of the adjacency matrix A plus the identity matrix I, for The corresponding degree matrix.
[0067] S103. Stack the Co-CNN modules to form a twin composite convolutional feature extraction sub-network Siam-Co-CNNs.
[0068] Siam-Co-CNNs consists of three groups of fused and stacked Co-CNN modules, each of which contains a fusion module of a convolutional network and a graph convolutional network.
[0069] See also Figure 1In the first layer of Co-CNN module, the input image frame is first processed by SLIC superpixel to obtain superpixel labels to form graph g0, and Conv-1 is used to extract features of the image frame to obtain pixel-level features F1; then g0 is input to the graph downsampling module GI-1 to obtain graph g1, and the adjacency matrix A1 and the corresponding matrix Q1 are constructed through the pixel-level features F1 and graph g1, and the graph features G1 are obtained and input into the GCN-1 module; the GCN-1 module outputs the graph features G2, which are then converted into pixel-level features through the corresponding matrix Q1 Finally, the fusion module concats the pixel-level feature F1 with Fusion, obtaining features
[0070] The characteristics Input the second layer Co-CNN module with Figure g1 to obtain features and Figure g2; finally, input the third layer Co-CNN module to obtain the final pixel-level features
[0071] S2, input the feature maps of the template branch and the detection branch extracted by Siam-Co-CNNs into the region proposal subnetwork to form a target tracking network based on a composite convolutional network;
[0072] See also Figure 2 , the RPN network consists of two parts: classification branch and regression branch. The number of anchor points of the RPN branch is k. The features obtained by the template branch and the detection branch through Siam-Co-CNNs and Enter the classification branch of the RPN network, pass through a 3×3 strided convolution with a step size of 1, and then use the template feature map as the convolution kernel to perform convolution operations on the detection feature map, output 2k channels, and obtain the binary classification results of each anchor point; the template branch and the detection branch obtain the features through Siam-Co-CNNs and Enter the classification branch of the RPN network, pass through a 3×3 strided convolution with a step size of 1, then use the template feature map as the convolution kernel, perform convolution operations on the detection feature map, and then pass a 1×1 ordinary convolution to output 4k channels to obtain the coordinate correction results of each anchor point. The overall structure diagram is as follows Figure 3 shown.
[0073] S3, using the video frame sequence in the training dataset, offline pre-training the target tracking network based on the composite convolutional network;
[0074] During training, two different frames in the same video sequence of the training data set are selected by random sampling. According to the labels provided by the data set, 127×127 template frames and 271×271 detection frames are cropped and input into the network for training.
[0075] The initial learning rate is set to 3e during model training -3 , the final learning rate is set to e -5 , batchsize is set to 16. The model training is iterated 150 times in total, and the learning rate decays proportionally from the initial learning rate to the final learning rate according to the number of iterations.
[0076] The model loss function consists of classification loss cls_losses and coordinate loss box_losses. cls_losses uses the cross entropy loss function, and box_losses uses the smooth_L1 loss function. The SGD algorithm is used to optimize the network weights.
[0077] S4. Convert the video into image frames and input them into the system. Mark the target to be tracked on the first frame, perform online tracking, and obtain and output the video tracking result.
[0078] The specific steps for online tracking are:
[0079] S401, converting the video into image frames and inputting them into the system, reading the first frame, and marking the target to be tracked on the first frame;
[0080] S402, extracting the first frame image feature f using the template branch exemplar ;
[0081] S403, read the next frame, and use the detection branch to extract the current frame image feature f instance ;
[0082] S404, feature f exemplar and f instance Input the region proposal subnetwork to obtain the binary classification results and coordinate correction results of the anchor image block;
[0083] S405, in each frame image, take n windows around the target position of the previous frame image of the frame image, perform multi-scale transformation and feature extraction, and use the region proposal subnetwork for classification, and the window with the largest classification score is the tracking target;
[0084] S406, repeating steps S401 to S405 until the video sequence is processed, and obtaining and outputting the video tracking result.
[0085] In yet another embodiment of the present invention, a target tracking system based on a composite convolutional network is provided. The system can be used to implement the above-mentioned target tracking method based on a composite convolutional network. Specifically, the target tracking system based on a composite convolutional network includes module, module, module, module and module.
[0086] Among them, the branch module constructs the twin composite convolutional feature extraction sub-network Siam-Co-CNNs, which constitutes the template branch and detection branch of the Siamese structure;
[0087] The network module inputs the feature maps of the template branch and the detection branch extracted by the branch module into the region proposal subnetwork to form an object tracking network based on a composite convolutional network;
[0088] The training module uses the video frame sequences in the training data set to perform offline pre-training on the target tracking network based on the composite convolutional network composed of the network module;
[0089] The tracking module converts the video into image frames and inputs them into the target tracking network based on the composite convolutional network pre-trained by the training module for online tracking to obtain and output the video tracking results.
[0090] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings here can usually be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0091] The effect of the present invention is further described below in combination with the simulation results.
[0092] 1. Experimental Platform
[0093] The simulation test hardware platform of the present invention is: NVIDIA RTX 2080Ti, 11G video memory.
[0094] The software platform of the present invention is: Windows 10 operating system, python 3.6, pytorch 1.2.0
[0095] 2. Experimental Dataset
[0096] The training data set used in the present invention is the GOT-10k target tracking data set released by the Chinese Academy of Sciences, which contains 9335 target video sequences and a total of 563 target categories, and the labels are manually marked by experts.
[0097] The test data set of the present invention uses the OTB100 data set, which has a total of 98 video sequences, involving grayscale images and color images, and also involves 11 attributes of target tracking, including illumination change, scale change, occlusion, deformation, motion blur, fast motion, in-plane rotation, out-of-plane rotation, out of field of view, background interference, and low pixels.
[0098] 3. Simulation experiment evaluation indicators
[0099]
[0100]
[0101]
[0102]
[0103]
[0104]
[0105] N represents the total number of frames in the entire video sequence.
[0106] Precision plot: The percentage of video frames whose Euclidean distance between the predicted position center and the center position marked in the benchmark is less than a given threshold is the distance precision (DP). The curve drawn with a distance threshold within a certain range (0 to 50) as the horizontal axis and distance precision as the vertical axis is the precision plot.
[0107] Success rate curve (succession plot): First, define the overlap score (OS), the bounding box obtained by the tracking algorithm (denoted as a), and the labeled bounding box given by the ground-truth (denoted as b), the overlap rate is defined as OS, where |·| represents the number of pixels in the area. The curve drawn with the overlap threshold within a certain range (usually 0 to 1) as the horizontal axis and the overlap precision (OP) as the vertical axis is the success rate curve.
[0108] 4. Experimental Results
[0109] Table 1
[0110] DP OP SiamRPN 0.655 0.482 Siam-Co-CNN-RPN 0.748 0.559
[0111] The SiamRPN in Table 1 is a baseline network that uses two branch networks with the same structure and shared parameters for feature extraction, which is then input into the RPN to obtain the final tracking result.
[0112] Table 1 represents the numerical indicators of the data under different methods. From the above table, we can see that Siam-Co-CNN-RPN has a better performance and is improved compared with SiamRPN in both DP and OP.
[0113] In summary, the present invention provides a target tracking method and system based on a composite convolutional network, which fuses the convolutional neural network features with the graph neural network features, and designs a target tracking algorithm based on a composite convolutional network. The pixel-level features extracted by the convolutional neural network are fused with the global features extracted by the graph convolutional neural network, and the spatial distribution characteristics of the target itself and the spatial distribution characteristics of the features are comprehensively considered to further improve the feature representation of the target and achieve more accurate and robust tracking of the target.
[0114] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0115] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0118] The above contents are only for explaining the technical idea of the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.
Claims
1. A target tracking method based on composite convolutional network, It is characterized in that The following steps are involved: S1. Construct the Siam-Co-CNNs, a twin composite convolutional feature extraction sub-network, to form the template branch and detection branch of the Siamese structure. The specific steps of constructing the Siam-Co-CNNs are as follows: S101. Build two convolutional neural network branch networks to extract CNN features of template frame and detection frame respectively. Each convolutional neural network branch network is composed of a modified AlexNet network. The first convolution block in the convolutional neural network branch network is recorded as Conv-1, the second convolution block is recorded as Conv-2, and the third, fourth and fifth convolution blocks are recorded as Conv-3. The two convolutional neural network branch networks have the same network structure and share the same set of network parameters. Two layers of graph convolutional neural networks are stacked to form a GCN module. Each layer of Co-CNN module uses a layer of GCN module, namely GCN-1, GCN-2 and GCN-3. S102, adding a graph convolutional neural network to the two convolutional neural network branch networks built in step S101 to construct a Co-CNN module; S103, stacking the Co-CNN modules constructed in step S102 to form a twin composite convolutional feature extraction subnetwork Siam-Co-CNNs, where Siam-Co-CNNs includes three groups of fused stacked Co-CNN modules, and each group of Co-CNN modules includes a fusion module of a convolutional network and a graph convolutional network; S2, input the feature maps of the template branch and the detection branch extracted in step S1 into the region proposal subnetwork to form a target tracking network based on a composite convolutional network; S3, using the video frame sequence in the training data set, offline pre-training the target tracking network based on the composite convolutional network constructed in step S2; S4, converting the video into image frames and inputting them into the target tracking network based on the composite convolutional network pre-trained in step S3, performing online tracking, and obtaining and outputting the video tracking results.
2. The target tracking method based on a composite convolutional network according to claim 1, It is characterized in that In step S102, each layer of the graph convolutional neural network is: Among them, σ represents the nonlinear function ReLU, is the self-circulation matrix of the adjacency matrix A plus the identity matrix I, for The corresponding degree matrix, H (l) is the input graph feature, W (l) is the weight matrix.
3. The target tracking method based on a composite convolutional network according to claim 1, It is characterized in that In step S103, in the first layer Co-CNN module, the input image frame is processed by SLIC superpixel to obtain the superpixel label composition graph g 0 , and use Conv-1 to extract features from the image frame to obtain pixel-level features F 1 ; Then put the graph g 0 Input graph downsampling module GI-1, get graph g 1 , through the pixel-level feature F 1 and Figure g 1 , construct the adjacency matrix A 1 and the corresponding matrix Q 1 , get the graph feature G 1 Input GCN-1 module; GCN-1 module outputs graph feature G 3 , and then through the corresponding matrix Q 1 Convert to pixel-level features Finally, the fusion module concats the pixel-level features F 1 and Fusion, obtaining features The characteristics and Figure g 1 Input the second layer Co-CNN module to obtain features and Figure g 2 ; Finally, input the third layer Co-CNN module to obtain the final pixel-level features 4. The target tracking method based on a composite convolutional network according to claim 1, It is characterized in that In step S2, in the region proposal subnetwork, the template branch and the detection branch obtain features through the Siam-Co-CNNs module and Enter the classification branch of the RPN network to obtain the binary classification results; the template branch and the detection branch obtain the features through the Siam-Co-CNNs module and Enter the classification branch of the RPN network and obtain the coordinate correction results.
5. The target tracking method based on a composite convolutional network according to claim 1, It is characterized in that In step S3, the template and detection pixel blocks are extracted from two frames of the same video in the training data set by random sampling and input into the template branch and detection branch of Siam-Co-CNNs for training respectively; the loss function includes classification loss cls_losses and coordinate loss box_losses. The classification loss cls_losses uses the cross entropy loss function, and the coordinate loss box_losses uses smooth_L 1 Loss function, using SGD algorithm to optimize network weights.
6. The target tracking method based on a composite convolutional network according to claim 5, It is characterized in that The initial learning rate for training is 3 -3 , the final learning rate is e -5 , batchsize is 16, and there are 150 iterations in total. The learning rate decays proportionally from the initial learning rate to the final learning rate according to the number of iterations.
7. The target tracking method based on a composite convolutional network according to claim 1, It is characterized in that In step S4, online tracking is specifically as follows: S401, converting the video into image frames and inputting them into the system, reading the first frame, and marking the target to be tracked on the first frame; S402, extracting the first frame image feature f using the template branch exemplar ; S403, read the next frame, and use the detection branch to extract the current frame image feature f instance ; S404, feature f exemplar and f instance Input the region proposal subnetwork to obtain the binary classification results and coordinate correction results of the anchor image block; S405, in each frame image, taking n windows around the target position of the previous frame image for multi-scale transformation and feature extraction, and using the region proposal sub-network for classification, and taking the window with the largest classification score as the tracking target; S406, repeating steps S401 to S405 until the video sequence is processed, and obtaining and outputting the video tracking result.
8. A target tracking system based on composite convolutional network, It is characterized in that include: Branch module, construct the twin composite convolution feature extraction sub-network Siam-Co-CNNs, form the template branch and detection branch of the Siamese structure, and construct the twin composite convolution feature extraction sub-network Siam-Co-CNNs specifically as follows: Two convolutional neural network branch networks are built to extract CNN features of template frames and detection frames respectively. Each convolutional neural network branch network is composed of a modified AlexNet network. The first convolution block in the convolutional neural network branch network is recorded as Conv-1, the second convolution block is recorded as Conv-2, and the third, fourth, and fifth convolution blocks are recorded as Conv-3. The two convolutional neural network branch networks have the same network structure and share the same set of network parameters. Two layers of graph convolutional neural networks are stacked to form a GCN module. Each layer of Co-CNN module uses a layer of GCN modules, namely GCN-1, GCN-2, and GCN-3. Add a graph convolutional neural network to the two convolutional neural network branches to build a Co-CNN module; The constructed Co-CNN modules are stacked to form a twin composite convolutional feature extraction sub-network Siam-Co-CNNs. Siam-Co-CNNs includes three groups of fused stacked Co-CNN modules. Each group of Co-CNN modules contains a fusion module of a convolutional network and a graph convolutional network. The network module inputs the feature maps of the template branch and the detection branch extracted by the branch module into the region proposal subnetwork to form an object tracking network based on a composite convolutional network; The training module uses the video frame sequences in the training data set to perform offline pre-training on the target tracking network based on the composite convolutional network composed of the network module; The tracking module converts the video into image frames and inputs them into the target tracking network based on the composite convolutional network pre-trained by the training module for online tracking to obtain and output the video tracking results.
