Twin network tracking method based on attention regularization and fuzzy pooling

By increasing the depth of the convolutional layer and introducing the maximum fuzzy pooling downsampling layer in the Siamese network, and using the attention regularization layer to extract significant features, the problem that shallow networks cannot effectively extract target features is solved, and the performance of the target tracking algorithm is improved. Accuracy and robustness, ability to adapt to complex scenarios.

CN118537367APending Publication Date: 2024-08-23ZHENGZHOU XINDA ADVANCED TECH RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410590917.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing target tracking algorithms based on deep learning have a balance problem between real-time performance and accuracy. Shallow networks cannot effectively extract target features, and the aliasing effect introduced during the max pooling downsampling process destroys the translation invariance of convolution. , resulting in reduced tracking accuracy.

Method used

The twin network tracking method based on attention regularization and fuzzy pooling is adopted to increase the depth of the convolution layer and introduce the maximum fuzzy pooling downsampling layer. The attention regularization layer is used to extract significant features, reduce aliasing effects, and improve tracking accuracy and robustness.

Benefits of technology

It improves the discrimination ability and tracking success rate of the target tracking algorithm, enhances the adaptability and robustness to complex scenes, reduces the amount of calculation, and improves tracking accuracy and real-time performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537367A
    Figure CN118537367A
Patent Text Reader

Abstract

The invention provides a twin network tracking method based on attention regularization and fuzzy pooling, and the method comprises the following steps: 1, constructing a twin network, a backbone network of the twin network comprising eight convolution layers and three maximum fuzzy pooling down-sampling layers, the three maximum fuzzy pooling down-sampling layers are located behind the second convolutional layer, the fourth convolutional layer and the seventh convolutional layer respectively; an attention regularization layer is arranged behind each of the fifth convolutional layer and the eighth convolutional layer; 2, extracting features of a template image and a search image by using the backbone network, and respectively obtaining a target image feature and a search image feature; and step 3, performing similarity measurement on the target image features and the search image features, and determining a target position based on an obtained similarity measurement value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a target tracking method, and specifically, to a twin network tracking method based on attention regularization and fuzzy pooling. Background Art

[0002] In the field of pattern recognition and computer vision, video-based target tracking technology is one of the important research directions of domestic scholars. Target tracking is a technology that can stably and accurately predict the position of the target in the subsequent video frames under the interference of external or internal factors, given the position coordinate information of the target in the initial frame of the video. At present, target tracking technology is widely used in many fields such as smart transportation, unmanned driving, human-computer interaction, precision guidance, etc., and has extremely high research significance and practical value.

[0003] In recent years, with the application of deep learning, target tracking algorithms based on deep learning have also developed rapidly. Nam et al. proposed a multi-domain network structure (Multi-Domain Network, MDNet), which uses VGG-M in image classification tasks as a shared layer of the multi-domain network to learn the general feature representation of the target, retains the fixed shared layer weights during tracking, and updates the fully connected layer online to give full play to the end-to-end learning advantages. Wang et al. proposed a tracking algorithm based on a fully convolutional network (Fully Convolutional Network Based Tracking, FCNT), which fuses deep features and shallow features to effectively complement the lack of position information in deep features. Chi et al. proposed a dual network-based tracking algorithm (Dual Deep Network for Visual Tracking, DNT), which designed a dual network structure to fuse the cascade features extracted by the convolutional neural network and the edge features obtained by the Laplacian Gaussian filter, and finally used the independent component analysis algorithm to obtain an accurate feature map, making the foreground and background more distinguishable. Fan and Ling proposed the Structure-Aware Network (SANet) tracking algorithm, which extracts the object's own structural information by introducing multiple recurrent neural networks to model the target structure, and combines convolutional neural networks to enhance the model's anti-interference ability for similar objects.

[0004] At present, many deep learning-based target tracking algorithms have good tracking accuracy and robustness, but due to the complexity of convolutional neural networks, they often require a large amount of calculation, resulting in poor real-time performance of deep learning-based target tracking algorithms. To address this problem, Bertinetto et al. introduced the idea of ​​similarity learning into the field of target tracking and proposed a fully convolutional Siamese tracker (SiamFC). Based on the Siamese neural network, the algorithm extracts the deep feature maps of the previous frame and the current frame respectively, and then calculates the position correspondence map through similarity calculation to determine the target position of the current frame; by cleverly converting the tracking problem into a similarity measurement problem, the tracking speed is greatly improved to meet the needs of practical applications.

[0005] The introduction of the target tracking algorithm based on the twin network has effectively solved the problem of imbalance between accuracy and speed when applying deep learning to the field of target tracking. With the development of deep neural networks, deeper networks can better describe image features. However, when using deeper convolutional networks to extract features in tracking tasks, the model effect becomes worse. This is because the use of deep networks will destroy the translation invariance of convolution, resulting in poor tracking effects, and will increase the amount of calculation and reduce the tracking speed.

[0006] Therefore, many subsequent target tracking algorithms based on the twin network framework still use the shallow AlexNet as the backbone network. However, the shallow AlexNet has the defects of poor feature extraction ability and difficulty in effectively extracting target features. It cannot adapt to complex tracking scenarios and has poor tracking accuracy. At the same time, in the process of feature extraction of target images and search images, a maximum pooling operation (Max Pooling) is required for downsampling. In the process of maximum pooling downsampling, high-frequency signals will be introduced, resulting in the presence of a part of the signal component greater than the Nyquist frequency, resulting in an aliasing effect, thereby destroying the translation invariance of the convolution, causing the target position to shift during the feature extraction process, thereby reducing the tracking accuracy.

[0007] In order to solve the above problems, people have been seeking an ideal technical solution. Summary of the invention

[0008] The purpose of the present invention is to address the deficiencies of the prior art and thereby provide a twin network tracking method based on attention regularization and fuzzy pooling.

[0009] In order to achieve the above object, the technical solution adopted by the present invention is: The first aspect provides a twin network tracking method based on attention regularization and fuzzy pooling, comprising the following steps: Step 1, constructing a twin network, the backbone network of which includes 8 convolutional layers and 3 maximum fuzzy pooling downsampling layers, wherein the 3 maximum fuzzy pooling downsampling layers are respectively located after the 2nd convolutional layer, the 4th convolutional layer and the 7th convolutional layer; an attention regularization layer is respectively set after the 5th convolutional layer and the 8th convolutional layer; Step 2, using the backbone network to extract features from the template image and the search image, to obtain target image features and search image features respectively; Step 3: perform similarity measurement on the target image features and the search image features, and determine the target position based on the obtained similarity measurement value.

[0010] The second aspect provides a twin network tracking device based on attention regularization and fuzzy pooling, comprising: A feature extraction module is used to extract features from the template image and the search image to obtain target image features and search image features respectively; the feature extraction module includes 8 convolutional layers and 3 maximum fuzzy pooling downsampling layers, wherein the 3 maximum fuzzy pooling downsampling layers are respectively located after the 2nd convolutional layer, the 4th convolutional layer and the 7th convolutional layer; an attention regularization layer is respectively set after the 5th convolutional layer and the 8th convolutional layer; The target position acquisition module is used to measure the similarity between the target image features and the search image features, and determine the target position based on the obtained similarity measurement value.

[0011] A third aspect provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the aforementioned tracking method when executing the computer program.

[0012] A fourth aspect provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the aforementioned tracking method when executed by a processor.

[0013] A fifth aspect provides a computer program product, comprising a computer program, which implements the steps of the aforementioned tracking method when executed by a processor.

[0014] The present invention has outstanding substantive features and significant progress compared to the prior art. Specifically, the present invention constructs a feature extraction network including 8 convolutional layers and 3 downsampling layers, and improves the feature extraction capability by increasing the depth of the convolutional layers; and adds an attention regularization layer to the feature extraction network to allow the network to learn the salient features of the target in an adversarial learning manner, thereby solving the problem that the shallow network cannot effectively extract the salient features of the target, and improving the discrimination capability and tracking success rate of the tracking algorithm; The present invention further sets the downsampling layer as a maximum fuzzy pooling downsampling layer to reduce the aliasing effect in the downsampling process, thereby reducing the damage to the translation invariance of the convolution and improving the tracking accuracy of the tracking algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of the overall structure of the ADB-SiamFC algorithm of the present invention.

[0016] Figure 2 It is a structural schematic diagram of the ADL attention mechanism described in the present invention.

[0017] Figure 3 It is a structural schematic diagram of the maximum fuzzy pooling downsampling of the present invention.

[0018] Figure 4 (a) is a comparison of the tracking results under the Bird1 test sequence and the Basketball test sequence.

[0019] Figure 4 (b) is a comparison of the tracking results under the Jump test sequence and the MotorRolling test sequence.

[0020] Figure 4 (c) is a comparison of the tracking results under the Surfer test sequence and the Skiing test sequence.

[0021] Figure 5 It is the success rate curve and precision curve of scale-varying attributes.

[0022] Figure 6 It is the success rate curve and accuracy curve of the illumination change attribute.

[0023] Figure 7 It is the occlusion attribute success rate curve and accuracy curve.

[0024] Figure 8 It is the success rate curve and accuracy curve of motion blur attribute.

[0025] Fig. 9 It is the success rate curve and accuracy curve of deformation attribute.

[0026] Fig.10 It is the success rate curve and accuracy curve of fast movement attributes.

[0027] Fig.11 It is the success rate curve and accuracy curve of the out-of-field attribute.

[0028] Fig.12 These are the success rate curve and precision curve of background complexity attributes.

[0029] Fig.13 It is the success rate curve and precision curve of low-resolution attributes.

[0030] Fig.14 It is the success rate curve and accuracy curve of out-of-plane rotation attribute.

[0031] Fig.15 These are the success rate curve and accuracy curve of the in-plane rotation attribute.

[0032] Fig.16 It is the comprehensive success rate curve and accuracy curve of OTB100.

[0033] Fig.17 It is a schematic diagram of the structure of a network tracking device. DETAILED DESCRIPTION

[0034] The technical solution of the present invention is further described in detail below through specific implementation methods.

[0035] Example 1 This embodiment provides a twin network tracking method based on attention regularization and fuzzy pooling. Figure 1 As shown, the following steps are included: Step 1: Construct a twin network. The backbone network of the twin network includes 8 convolutional layers and 3 downsampling layers MaxPooling (MP for short). The 3 downsampling layers are located after the 2nd, 4th and 7th convolutional layers respectively. The parameters are shown in Table 1.

[0036] Table 1 ADBNet network parameters

[0037] The backbone network of the traditional twin network, that is, the feature extraction network, uses the AlexNet network. The structure of the AlexNet network is the first convolutional layer, the first maximum pooling layer, the second convolutional layer, the second maximum pooling layer, the third convolutional layer, the fourth convolutional layer, the fifth convolutional layer, the third maximum pooling layer and three fully connected layers. Since there are only 5 convolutional layers, the feature extraction capability is poor.

[0038] The backbone network of this embodiment removes the last three fully connected layers, and adds a convolution layer between the first convolution layer and the first maximum pooling layer, between the second convolution layer and the second maximum pooling layer, and after the third maximum pooling layer, thereby increasing the number of convolution layers to 8 layers. By increasing the number of convolution layers, the depth of the feature extraction network is improved, and the level of abstraction of the input features is deeper, thereby improving the feature extraction capability; at the same time, the increase in convolution layers also reduces the number of network parameters and improves the feature extraction efficiency; further, since search images of different scales need to be input during online tracking in order to select a suitable scale as a new prediction box, the backbone network adopted in this application is a fully convolutional network structure, which can meet the input of search images of different scales.

[0039] In addition, with the increase of convolutional layers, the position of the maximum pooling layer is adjusted from after the first convolutional layer, the second convolutional layer, and the last convolutional layer to after the second convolutional layer, the fourth convolutional layer, and the seventh convolutional layer, which is also conducive to extracting target features.

[0040] Furthermore, an attention regularization layer is set after the fifth convolutional layer and the eighth convolutional layer. Attention regularization ADL is a plug-and-play attention mechanism that can be inserted after any layer of the backbone network. The tracking method proposed in this embodiment inserts two layers of ADL attention mechanisms after the fifth convolutional layer Conv5 and the eighth convolutional layer Conv8, respectively, to perform attention weighting on the features obtained by downsampling, and then extract the salient features of the target. Figure 2 Shown is the ADL structure diagram.

[0041] Specifically, the attention regularization layer performs the following steps: The feature map output by the previous convolutional layer Perform channel average pooling to obtain the self-attention map ; Since the network is trained, the intensity of each pixel in the self-attention map is proportional to the discriminative ability, so the spatial distribution of the most discriminative part can be effectively estimated based on the pixel intensity.

[0042] Soft attention feature map Perform a regularization operation with a threshold of , and generate a regularized mask (Dorpmask) , where, according to the soft attention feature map (Self-attention Map) The ratio setting of the maximum intensity ; The soft attention feature map (Self-attention Map) Generate importance feature map through simgoid function ; At each iteration during training, a regularization mask (Dorp mask) is randomly selected with a probability of 0.5. And the importance feature map , and then output it after spatial product operation with the input convolution feature map.

[0043] It should be noted that the attention regularization layer in the backbone network is only used to optimize network parameters during offline training and is not used during online tracking. This is because during the training process, the regularized mask penalty is used to induce the network to cover the most discriminative part of the entire range of the object, and the importance feature map rewards the most discriminative part to improve the classification ability of the network. The two learn against each other in each iteration and are continuously optimized, thereby continuously improving the network's discrimination ability. In addition, during tracking, the convolutional features do not pass through the ADL layer, so it does not increase additional inference time and reduce tracking speed.

[0044] Since the backbone network in this embodiment is deeper than the AlexNet network structure, the translation invariance of the convolution will be destroyed to a certain extent, resulting in poor tracking effect, and the amount of calculation will be increased and the tracking speed will be reduced; in order to solve the problem of target position offset during the downsampling process, the downsampling layer is a maximum fuzzy pooling downsampling layer, which constitutes a translation invariant salient feature extraction network (Attention-based Dropout Layer&Max Blur Pooling Network, ADBNet), and finally the ADB-SiamFC network is constructed.

[0045] At this time, the parameters of the ADBNet network are shown in Table 2.

[0046] Table 2 ADBNet network parameters

[0047] like Figure 3 Shown is a schematic diagram of the structure of the maximum blur pooling downsampling layer Max Blur Pooling.

[0048] The Max Blur Pooling downsampling process is divided into three steps: 1) dense maximum selection (Max (denseevaluation)), 2) anti-aliasing filter (Anti-aliasing filter), 3) secondary subsampling (Subsamping).

[0049] Max Blur Pooling is shown in the following formula.

[0050] In the formula The output feature map of Max Blur Pooling after the input feature map is sampled by the maximum blur pooling. s is the pooling step size, set to 2, k is the pooling kernel size, set to 2; Step length s is the second subsampling; for Normalized Gaussian blur kernel of size, m Set to 3; The size of the nuclear window k The maximum dense selection; * is the convolution calculation.

[0051] Compared with Max Pooling, Max Blur Pooling uses a Gaussian blur kernel of size 1 to perform convolution calculation on the feature map after the maximum dense selection operation before the secondary subsampling operation, so as to achieve the purpose of anti-aliasing filtering and reduce the influence of the aliasing effect.

[0052] Step 2, using the backbone network ADBNet of the twin network to perform translation invariant convolution operations and significant feature extraction on the template image and the search image, and obtain target image features of 9×9×512 size and search image features of 25×25×512 size respectively; Step 3: perform similarity measurement on the target image features and the search image features, and determine the target position based on the obtained similarity measurement value.

[0053] In one embodiment, the step of determining the target location based on the obtained similarity measurement value includes: A score map of size 17×17 is obtained by measuring the similarity between the target image features of size 9×9×512 and the search image features of size 25×25×512; The score map is upsampled by 16 times bicubic interpolation to obtain an upsampled score map of size 272×272, and a kernel window penalty is applied to it to find the area with the highest score in the upsampled score map; The area is first mapped to the search image and then to the original video frame to obtain the new target position.

[0054] This embodiment sets 8 convolutional layers and 3 downsampling layers, and introduces the attention regularization mechanism to construct a new backbone network ADBNet, which effectively solves the problem that the shallow AlexNet backbone network cannot accurately extract the salient features of the target.

[0055] In order to evaluate the performance of the tracking algorithm proposed in this embodiment, this embodiment uses the visual tracking benchmark dataset OTB100 as the evaluation dataset, and uses a combination of qualitative and quantitative analysis to verify the robustness and accuracy of the tracking algorithm proposed in this embodiment. The experimental software environment is Ubuntu16.04, TensorFlow1.8. The hardware configuration is Inter corei5-8700k 3.2HZ, GPU RTX 1070 8G.

[0056] (1) Qualitative analysis In order to comprehensively evaluate the tracking performance of the algorithm proposed in this embodiment under various interference conditions, this embodiment selects tracking effect diagrams and thermal maps of multiple test sequences from OTB100 for objective analysis. The experimental test sequence contains many realistic challenges such as target deformation, fast motion, low resolution, illumination changes, and small targets. The comparison of tracking results under different interference conditions is shown in Figure 4 (a)-(c).

[0057] The test sequences in Figure 4 (a) are the Bird1 test sequence and the Basketball test sequence. At this time, the tracked target changes in scale and is blocked by a large area. At this time, the overlap between the red tracking box and the green marking box of the ADB-SiamFC tracking algorithm proposed in this embodiment is significantly better than that of the SiamFC tracking algorithm, and through the comparison of the heat map, it can be seen that the ADB-SiamFC tracking algorithm also pays more attention to the target than the SiamFC tracking algorithm.

[0058] The test sequences in FIG4 (b) are the Jump test sequence and the MotorRolling test sequence. At this time, the background of the target to be tracked is complex and the illumination intensity at different angles is also different. At this time, the ADB-SiamFC tracking algorithm proposed in this embodiment can cope with the changes in background and illumination well and can effectively track the target. However, when the SiamFC tracking algorithm is affected by illumination changes and background interference, the tracking frame drifts away from the target, or even loses the target and fails to track.

[0059] The test sequence in Figure 4 (c) is a Surfer test sequence and a Skiing test sequence. At this time, the tracking target is a small target with low resolution and fast movement, and motion blur is generated, and the tracking scene is more complicated. At this time, the ADB-SiamFC tracking algorithm proposed in this embodiment still has a good performance and can track the target robustly. However, the SiamFC tracking algorithm cannot adapt well to this scene, resulting in loss of the target and tracking failure.

[0060] In summary, the ADB-SiamFC tracking algorithm proposed in this embodiment can adapt to a variety of complex scenarios, and at the same time, greatly improves the tracking capability of fast-moving small targets, and has good robustness and accuracy.

[0061] (2) Quantitative analysis This embodiment selects 8 currently representative correlation tracking algorithms, namely the CSK algorithm based on correlation filtering, the VTD algorithm based on a hybrid model, the L1APG algorithm and the MTT algorithm based on sparse representation, the STRUCK algorithm and the TLD algorithm based on dense sampling, and the ABLA and SCM algorithms based on the affine motion model, and compares them with the ADB-SiamFC algorithm and the SiamFC algorithm proposed in this embodiment, and uses four indicators: center position error, overlap rate, success rate, and accuracy rate for quantitative analysis.

[0062] Table 3 is the comparison results of the comprehensive center position error and overlap rate of the 10 tracking algorithms under various attributes of the tracking benchmark OTB100 dataset. The best result is highlighted in black, and the suboptimal result is underlined. The center position error refers to the Euclidean distance between the tracking result and the center position of the true target. The smaller the error, the higher the tracking accuracy of the algorithm. The overlap rate refers to the overlap ratio between the tracking result and the true target. The larger the value, the better the adaptability of the algorithm.

[0063] Table 3 Overlap rate and center position error

[0064] It can be seen from Table 3 that the ADB-SiamFC algorithm proposed in this embodiment achieves the best overlap rate index and center position error index. Compared with the original SiamFC algorithm, the overlap rate is increased by 1.4% and the center position error is reduced by 0.6%. This shows that the twin network tracking algorithm using ADBNet as the backbone network has better adaptability and robustness.

[0065] In order to comprehensively evaluate the performance of the tracking algorithm, this embodiment uses the One Pass Evaluation (OPE) strategy to draw the success curve and the accuracy curve for comparative evaluation with other tracking algorithms. Figure 5 The scale variation (SV) success rate curve and precision rate curve are shown in Figure 6 The success rate curve and accuracy curve of the illumination variation (IV) attribute are shown in Figure 1. Figure 7 The occlusion attribute (OCC) success rate curve and accuracy curve are shown in Figure 8 The motion blur attribute (motion blur, MB) success rate curve and accuracy curve are shown in Fig. 9 The deformation attribute (deformation, DEF) success rate curve and accuracy curve are shown in Fig.10The success rate curve and accuracy curve of the fast motion attribute (FM) are shown in Fig.11 The out-of-view (OV) success rate curve and precision rate curve are shown in Figure 2. Fig.12 The success rate curve and precision curve of the background clutter (BC) attribute are shown in Figure 2. Fig.13 The success rate curve and precision curve of the low resolution attribute (LR) are shown in Fig.14 The out-plane rotation attribute (OPR) success rate curve and accuracy curve are shown in FIG. Fig.15 The success rate curve and accuracy curve of the in-plane rotation (IPR) property are shown in Figure 1. Fig.16 The OTB100 comprehensive success rate curve and accuracy curve are shown.

[0066] By analyzing the success rate curve and precision curve of each difficult attribute, it can be seen that the ADB-SiamFC tracking method proposed in this embodiment ranks first in the tracking success rate and precision in 10 attributes: scale change, illumination change, occlusion, fast motion, out of field of view, complex background, low resolution, out of plane rotation, and in-plane rotation. Compared with the original SiamFC algorithm, the success rate is increased by 4%, 4%, 3%, 5%, 5%, 6%, 3%, 10%, 5%, and 5%, respectively. The precision is increased by 3%, 4%, 1%, 1%, 6%, 4%, 5%, 11%, 4%, and 3%, respectively. Although the tracking performance of ADB-SiamFC is lower than that of SiamFC algorithm in deformation attributes, the comprehensive success rate and precision on OTB100 exceed those of SiamFC algorithm by 4% and 3%, respectively. The tracking speed of SiamFC under GTX1060 GPU is 56FPS, and the tracking speed of the ADB-SiamFC tracking method proposed in this embodiment is 53FPS. This shows that the ADB-SiamFC tracking method proposed in this embodiment enhances the dynamic adjustment capability and robustness of the tracking algorithm by constructing a new backbone network without significantly increasing the tracking speed, and can cope with various interferences in complex scenarios and achieve robust real-time tracking of the target.

[0067] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indications of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in the present embodiment, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0068] Example 2 Based on the same inventive concept, this embodiment also provides a device. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more network tracking device embodiments provided below can refer to the limitations on the network tracking method above, and will not be repeated here.

[0069] In one embodiment, Fig.17 Schematic diagram of the structure of a network tracking device in one embodiment of the present application. The network tracking device provided in the embodiment of the present application can be applied to electronic devices. Fig.17 As shown, the network tracking device of the embodiment of the present application includes a feature extraction module, which is used to extract features from the template image and the search image to obtain target image features and search image features respectively; the feature extraction module includes 8 convolutional layers and 3 maximum fuzzy pooling downsampling layers, wherein the 3 maximum fuzzy pooling downsampling layers are respectively located after the 2nd convolutional layer, the 4th convolutional layer and the 7th convolutional layer; an attention regularization layer is respectively set after the 5th convolutional layer and the 8th convolutional layer; The target position acquisition module is used to measure the similarity between the target image features and the search image features, and determine the target position based on the obtained similarity measurement value.

[0070] Furthermore, the step of the target location acquisition module determining the target location based on the acquired similarity measurement value includes: A score map is obtained by measuring the similarity between the target image features and the search image features; The score map is upsampled by 16 times bicubic interpolation to obtain an upsampled score map, and a kernel window penalty is applied to it to find the area with the highest score in the upsampled score map; The area is first mapped to the search image and then to the original video frame to obtain the new target position.

[0071] The network tracking device provided in this embodiment can be used to execute the technical solution in the above-mentioned network tracking method embodiment of this application. Its implementation principle and technical effects are similar and will not be repeated here.

[0072] Example 3 The present embodiment provides an electronic device, which includes a processor, a memory and a network interface connected through a system bus. The processor of the electronic device is used to provide processing capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store feature maps obtained during network tracking. The network interface of the electronic device is used to communicate with an external endpoint through a network connection. When the computer program is executed by the processor, a network tracking method is implemented.

[0073] In one embodiment, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the aforementioned tracking method when executing the computer program.

[0074] Those skilled in the art will understand that the structure given in this embodiment is merely a structure of a portion related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than those in this embodiment, or combine certain components, or have a different arrangement of components.

[0075] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the aforementioned tracking method are implemented.

[0076] This embodiment provides a computer program product, including a computer program, which implements the steps of the aforementioned tracking method when executed by a processor.

[0077] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0078] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.

Claims

1. A twin network tracking method based on attention regularization and fuzzy pooling, characterized in that: The following steps are involved: Step 1, constructing a twin network, the backbone network of which includes 8 convolutional layers and 3 maximum fuzzy pooling downsampling layers, wherein the 3 maximum fuzzy pooling downsampling layers are respectively located after the 2nd convolutional layer, the 4th convolutional layer and the 7th convolutional layer; an attention regularization layer is respectively set after the 5th convolutional layer and the 8th convolutional layer; Step 2, using the backbone network to extract features from the template image and the search image, to obtain target image features and search image features respectively; Step 3: perform similarity measurement on the target image features and the search image features, and determine the target position based on the obtained similarity measurement value.

2. According to claim 1, a twin network tracking method based on attention regularization and fuzzy pooling is characterized in that: The steps of determining the target location based on the obtained similarity measurement value include: A score map is obtained by measuring the similarity between the target image features and the search image features; The score map is upsampled by 16 times bicubic interpolation to obtain an upsampled score map, and a kernel window penalty is applied to it to find the area with the highest score in the upsampled score map; The area is first mapped to the search image and then to the original video frame to obtain the new target position.

3. A twin network tracking device based on attention regularization and fuzzy pooling, characterized in that: include: A feature extraction module is used to extract features from the template image and the search image to obtain target image features and search image features respectively; The feature extraction module includes 8 convolutional layers and 3 downsampling layers, wherein the 3 downsampling layers are respectively located after the 2nd convolutional layer, the 4th convolutional layer and the 7th convolutional layer; an attention regularization layer is respectively set after the 5th convolutional layer and the 8th convolutional layer; The target position acquisition module is used to measure the similarity between the target image features and the search image features, and determine the target position based on the obtained similarity measurement value.

4. According to claim 3, a twin network tracking device based on attention regularization and fuzzy pooling is characterized in that: The step of determining the target location based on the obtained similarity measurement value by the target location acquisition module includes: A score map is obtained by measuring the similarity between the target image features and the search image features; The score map is upsampled by 16 times bicubic interpolation to obtain an upsampled score map, and a kernel window penalty is applied to it to find the area with the highest score in the upsampled score map; The area is first mapped to the search image and then to the original video frame to obtain the new target position.

5. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.

7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.