Self-supervised target tracking method and system based on image synthesis and domain adversarial learning

By combining image synthesis and domain adversarial learning in self-supervised target tracking, the problem of the model being unable to learn complete target information is solved, and the tracker can be trained on unlabeled videos, improving tracking accuracy and robustness, and the performance is close to that of supervised train.

CN118429390BActive Publication Date: 2024-09-13GUANGZHOU INSTITUTE OF TECHNOLOY XIDIAN UNIVERSITY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410886045.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-13
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Existing self-supervised target tracking methods cannot effectively learn complete target information, resulting in the model only framing part of the target during actual testing, and are highly susceptible to interference from similar objects and have poor robustness. Although image synthesis methods can provide accurate target location and size, but training only with synthetic images reduces the generalization performance of the tracker.

Method used

A self-supervised target tracking method based on image synthesis and domain adversarial learning is adopted. By synthesizing the target object into the video frame, image synthesis is used to obtain video frames with accurate bounding box annotations for training, and domain adversarial learning is combined to reduce the source domain. The gap between the target domain and the target domain improves the generalization performance of the tracker.

Benefits of technology

It is possible to train the tracker on unlabeled videos, which reduces the need for label data and improves tracking accuracy. In practical applications, the tracker can accurately frame the target and reduce interference from similar objects, and its performance is close to that of supervised training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118429390B
    Figure CN118429390B
Patent Text Reader

Abstract

The present invention discloses a self-supervised target tracking method and system based on image synthesis and domain adversarial learning, the method comprising: acquiring an image of a target object and performing image preprocessing to construct a synthetic video frame of the target object; training a visual target tracker based on the synthetic video frame of the target object to obtain a trained visual target tracker; tracking the target object based on the trained visual target tracker to obtain a target object tracking result. By using the present invention, the tracker can be trained on any unlabeled video, thereby reducing interference factors in the image tracking process and improving tracking accuracy. As a self-supervised target tracking method and system based on image synthesis and domain adversarial learning, the present invention can be widely used in the field of visual target tracking technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of visual target tracking, and in particular to a self-supervised target tracking method and system based on image synthesis and domain adversarial learning. Background Art

[0002] Even if the existing self-supervised target tracking methods use different strategies to collect and track targets in the initial frame, they still cannot contain the complete target, that is, they are often part of the target object as a whole. Therefore, the model cannot learn the complete target information, so that the model often only frames part of the target during actual testing, and is easily disturbed by similar objects, and has poor robustness. Image synthesis methods can synthesize a complete target into an image, and in this way, the accurate position and size of the synthesized target can be obtained, but if only synthetic images are used to train the tracker, the generalization performance of the tracker will be greatly reduced. Domain adversarial learning is a method in domain adaptation learning theory. It can narrow the gap between the source domain and the target domain through adversarial learning methods. By using domain adversarial learning, the adverse effects of synthetic images on tracker training can be alleviated. Although some self-supervised target tracking methods also use image synthesis methods, they mix synthetic images with real images for training, and do not optimize the problems caused by synthetic images. This results in the trackers trained using these methods performing well during training, but in actual testing, it is difficult to accurately frame the target and is easily disturbed by similar objects, resulting in reduced tracking accuracy. Summary of the invention

[0003] In order to solve the above technical problems, the purpose of the present invention is to provide a self-supervised target tracking method and system based on image synthesis and domain adversarial learning, which can enable the tracker to be trained on any unlabeled video, thereby reducing interference factors in the image tracking process and improving tracking accuracy.

[0004] The first technical solution adopted by the present invention is: a self-supervised target tracking method based on image synthesis and domain adversarial learning, comprising the following steps:

[0005] Acquire an image of the target object and perform image preprocessing to construct a synthetic video frame of the target object;

[0006] Training a visual target tracker based on a synthetic video frame of the target object to obtain a trained visual target tracker;

[0007] Based on the trained visual target tracker, the target object is tracked to obtain a target object tracking result, wherein the target object tracking result includes the position of the target object and the size of the target object.

[0008] Furthermore, the step of acquiring an image of the target object and performing image preprocessing to construct a synthetic video frame of the target object specifically includes:

[0009] Acquire several target objects and perform photographing processing to obtain images of the target objects, and construct a preliminary target object image database;

[0010] Screening and processing the preliminary target object image database to obtain a target object image database;

[0011] Randomly select a target object image database to obtain a target object image to be transformed;

[0012] Performing random transformation processing on the target object image to be transformed to obtain a transformed target object image;

[0013] The target object image to be transformed and the transformed target object image are subjected to video frame synthesis processing to obtain a target object synthesized video frame.

[0014] Furthermore, the target object composite video frame includes a target object initial video frame sequence and a target object subsequent video frame sequence, wherein the target object initial video frame sequence represents the target object image to be transformed, and the target object subsequent video frame sequence represents the transformed target object image.

[0015] Furthermore, the step of training the visual target tracker based on the target object synthetic video frame to obtain the trained visual target tracker specifically includes:

[0016] Constructing a visual target tracker, wherein the visual target tracker includes a tracking trainer and a domain classification trainer;

[0017] A tracking trainer based on a visual target tracker performs tracking training processing on a synthetic video frame of a target object to obtain a trained tracking trainer;

[0018] A domain classification trainer based on a visual object tracker performs classification training processing on preset input data to obtain a trained domain classification trainer, wherein the preset input data is an image of a target object or a synthetic video frame of a target object;

[0019] Combining the trained tracking trainer with the trained domain classification trainer yields a trained visual object tracker.

[0020] Furthermore, the tracking trainer includes a tracking feature extractor and a tracker, the domain classification trainer includes a domain classification feature extractor and a domain classifier, and the domain classifier includes a first fully connected layer and a second fully connected layer.

[0021] Furthermore, the tracking trainer based on the visual target tracker performs tracking training processing on the target object synthetic video frame to obtain a trained tracking trainer, which specifically includes:

[0022] Inputting a synthetic video frame of the target object into a tracking trainer of a visual object tracker;

[0023] Based on the tracking feature extractor of the tracking trainer, feature extraction processing is performed on the synthetic video frame of the target object to obtain the features of the synthetic video frame of the target object;

[0024] Based on the tracker of the tracking trainer, the tracker predicts the synthetic video frame features of the target object to obtain the predicted position of the target object and the predicted bounding box of the target object;

[0025] Based on the predicted position of the target object and the predicted bounding box of the target object, a tracking loss calculation of the tracking trainer is performed to obtain a tracking trainer loss value;

[0026] The tracking trainer is updated according to the loss value of the tracking trainer to obtain the trained tracking trainer.

[0027] Furthermore, the domain classification trainer based on the visual target tracker performs classification training processing on the preset input data to obtain a trained domain classification trainer, which specifically includes:

[0028] Inputting the preset input data into a domain classification trainer of the visual object tracker;

[0029] A domain classification feature extractor based on the domain classification trainer performs feature extraction processing on the preset input data to obtain preset input data features;

[0030] Based on the domain classifier of the domain classification trainer, domain adversarial training is performed on the preset input data features to obtain domain adversarial results;

[0031] According to the domain adversarial results, the classification loss of the domain classification trainer is calculated to obtain the loss value of the domain classification trainer;

[0032] The domain classification trainer is updated according to the loss value of the domain classification trainer to obtain a trained domain classification trainer.

[0033] Furthermore, the expression for calculating the classification loss is specifically as follows:

[0034] ;

[0035] In the above formula, represents the classification loss calculation function, represents the judgment result of the domain classifier, Represents the true category of the video frame.

[0036] The second technical solution adopted by the present invention is: a self-supervised target tracking system based on image synthesis and domain adversarial learning, comprising:

[0037] A construction module is used to obtain an image of a target object and perform image preprocessing to construct a synthetic video frame of the target object;

[0038] A training module, used for training a visual target tracker based on a synthetic video frame of a target object to obtain a trained visual target tracker;

[0039] The tracking module is used to track the target object based on the trained visual target tracker to obtain the target object tracking result, wherein the target object tracking result includes the position of the target object and the size of the target object.

[0040] The beneficial effects of the method and system of the present invention are as follows: the present invention constructs a synthetic video frame of the target object by performing image preprocessing on the image of the target object, synthesizes the target in reality into the video sequence by using the image synthesis method to obtain a video frame with an accurate bounding box annotation, and then trains the visual target tracker based on the synthetic video frame of the target object to obtain a trained visual target tracker. The tracker can be trained on any unlabeled video, which greatly reduces the demand for label data for tracker training. Finally, based on the trained visual target tracker, the target object is tracked to obtain a target object tracking result, which can reduce interference factors in the image tracking process and thus improve tracking accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a flowchart of the steps of the self-supervised target tracking method based on image synthesis and domain adversarial learning of the present invention;

[0042] Figure 2 It is a structural block diagram of the self-supervised target tracking system based on image synthesis and domain adversarial learning of the present invention;

[0043] Figure 3 It is a flowchart of the steps of self-supervised target tracking provided by a specific embodiment of the present invention. DETAILED DESCRIPTION

[0044] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0045] First of all, it should be noted that visual target tracking is an important basic task in the field of computer vision. Its main goal is to predict the position and size of a target in all subsequent frames based on the initial state of a target object in the first frame of a video sequence. Visual target tracking technology has a wide range of applications in real life, such as robot visual tracking and navigation, intelligent monitoring, human-computer interaction, and autonomous driving. Since self-supervised learning allows deep learning-based models to mine information in data as supervisory signals for self-supervised training, self-supervised learning can be used to train a deep learning model to better performance with less or even no labeled data. This is very suitable for deep learning-based target trackers, especially when more and more labeled data is needed to train target trackers.

[0046] A difficult problem in self-supervised target tracking methods is the design of auxiliary tasks. The key to evaluating whether an auxiliary task is good is whether the task can enable the model to fully learn the appearance features of the tracked target. Among the existing self-supervised target tracking methods, the unsupervised deep tracking method (UDT) randomly crops an area in the initial frame of the video sequence, and then allows the tracker to use this as the tracking target for bidirectional tracking in the video sequence. The method of learning to track targets from unlabeled videos (USOT) uses unsupervised optical flow and dynamic programming methods instead of random cropping methods to capture dynamic targets in the initial frame as tracking targets. These methods imitate the process of target tracking to design auxiliary tasks, so that the trained trackers can be directly applied to downstream tasks.

[0047] However, even if the existing self-supervised target tracking methods use different strategies to capture the tracking target in the initial frame, they still cannot contain the complete target, that is, they are often part of the target object as a whole. Therefore, the model cannot learn the complete target information, so that the model often only frames part of the target during actual testing, and is easily disturbed by similar objects, and has poor robustness. Image synthesis methods can synthesize a complete target into an image, and in this way, the accurate position and size of the synthesized target can be obtained, but if only synthetic images are used to train the tracker, the generalization performance of the tracker will be greatly reduced. Domain adversarial learning is a method in domain adaptation learning theory. It can narrow the gap between the source domain and the target domain through adversarial learning. By using domain adversarial learning, the adverse effects of synthetic images on tracker training can be alleviated. Although some self-supervised target tracking methods also use image synthesis methods, they mix synthetic images with real images for training, and do not optimize the problems caused by synthetic images. This results in the trackers trained using these methods performing well during training, but in actual testing, it is difficult to accurately frame the target and is easily disturbed by similar objects, resulting in reduced tracking accuracy.

[0048] Based on this, the embodiment of the present invention first uses an image synthesis method to synthesize the real target into the video sequence before starting training to obtain a video frame with accurate bounding box annotations. During the training process, the synthesized video frame is first input into the tracker to train the tracker, and then the features of the synthesized video frame or the real video frame are randomly selected and input into the domain classifier to train the domain classifier. Finally, it is determined whether the minimum loss of the domain classifier increases. If it increases, the above process is repeated, otherwise the training is terminated. By using the image synthesis method to synthesize training data, the tracker can be trained on any unlabeled video, which greatly reduces the demand for labeled data for tracker training. In particular, after fine-tuning with a small amount of labeled data for downstream tasks, the performance of the tracker can reach a level that is competitive with supervised training.

[0049] Reference Figure 1 and Figure 3 The present invention provides a self-supervised target tracking method based on image synthesis and domain adversarial learning, the method comprising the following steps:

[0050] S1, obtaining an image of a target object and performing image preprocessing to construct a synthetic video frame of the target object;

[0051] Specifically, a number of target objects are acquired and photographed to obtain images of the target objects, and a preliminary target object image database is constructed; the preliminary target object image database is screened to obtain a target object image database; the target object image database is randomly selected to obtain target object images to be transformed; the target object images to be transformed are randomly transformed to obtain transformed target object images; the target object images to be transformed and the transformed target object images are synthesized into video frames to obtain target object synthesized video frames.

[0052] It should be noted that the target object composite video frame includes a target object initial video frame sequence and a target object subsequent video frame sequence, wherein the target object initial video frame sequence represents the target object image to be transformed, and the target object subsequent video frame sequence represents the transformed target object image.

[0053] In an embodiment of the present invention, labels of existing target segmentation data sets are first collected, and target objects with too small areas and incomplete segmentation are filtered out, a target object database with a large number of targets and rich types is established, and a target object is randomly selected from the target object database; then a random image transformation operation is performed on the selected target object, and the target object before the transformation is synthesized onto the initial frame of the video in a pasting manner, and the target object after the transformation is synthesized onto the subsequent frames of the video in the same manner.

[0054] S2, training a visual target tracker based on a synthetic video frame of the target object to obtain a trained visual target tracker;

[0055] Specifically, a visual target tracker is constructed, wherein the visual target tracker includes a tracking trainer and a domain classification trainer; based on the tracking trainer of the visual target tracker, tracking training processing is performed on a synthetic video frame of a target object to obtain a trained tracking trainer; based on the domain classification trainer of the visual target tracker, classification training processing is performed on preset input data to obtain a trained domain classification trainer, wherein the preset input data is an image of the target object or a synthetic video frame of the target object; and the trained tracking trainer and the trained domain classification trainer are combined to obtain a trained visual target tracker.

[0056] It should be noted that the tracking trainer includes a tracking feature extractor and a tracker, the domain classification trainer includes a domain classification feature extractor and a domain classifier, and the domain classifier includes a first fully connected layer and a second fully connected layer.

[0057] Furthermore, the training process of the tracking trainer is as follows: inputting the target object synthetic video frame into the tracking trainer of the visual target tracker; based on the tracking feature extractor of the tracking trainer, performing feature extraction processing on the target object synthetic video frame to obtain the target object synthetic video frame feature; based on the tracker of the tracking trainer, performing tracking prediction on the target object synthetic video frame feature to obtain the predicted target object position and the predicted target object bounding box; based on the predicted target object position and the predicted target object bounding box, performing tracking loss calculation on the tracking trainer to obtain the tracking trainer loss value; updating the tracking trainer according to the tracking trainer loss value to obtain the trained tracking trainer.

[0058] The training process of the domain classification trainer is as follows: inputting preset input data into the domain classification trainer of the visual target tracker; based on the domain classification feature extractor of the domain classification trainer, performing feature extraction processing on the preset input data to obtain the preset input data features; based on the domain classifier of the domain classification trainer, performing domain adversarial training on the preset input data features to obtain domain adversarial results; according to the domain adversarial results, calculating the classification loss of the domain classification trainer to obtain the loss value of the domain classification trainer; updating the domain classification trainer according to the loss value of the domain classification trainer to obtain the trained domain classification trainer.

[0059] In an embodiment of the present invention, synthesized video frames, including training frames and test frames, are input; features of all input images are extracted; a tracker predicts the position and bounding box of a tracked target in a test frame based on the extracted features; the tracking loss between the predicted result and the true result on the test frame is calculated using the original loss function of the tracker; all parameters of the domain classifier are frozen, and the tracker is trained based on the calculated tracking loss.

[0060] Specifically, the synthesized video frames are input to the tracker, which are training pairs consisting of training frames and test frames. In the tracker, the feature extractor extracts the features of all input images, and then the tracker predicts the position and bounding box of the tracked target on the test frame based on the extracted features. After obtaining the prediction results on the test frame, the original loss function of the tracker is used to calculate the loss between the predicted results and the true results. Finally, all parameters of the domain classifier are frozen, and the parameters of the tracker are updated according to the calculated tracking loss.

[0061] Further, in an embodiment of the present invention, a video frame before or after synthesis is randomly selected as input, and the input contains only one image; extract features of all input images; the domain classifier determines whether the input video frame belongs to a real image or a synthetic image based on the extracted features; calculates the classification loss of the domain classifier based on the judgment result of the domain classifier and the real category of the video frame; freezes all parameters of the tracker, and trains the domain classifier based on the calculated classification loss. It is determined whether the minimum loss of the domain classifier increases. If it increases, the training step of the visual target tracker based on the synthetic video frame of the target object is repeated until the minimum loss of the domain classifier no longer increases.

[0062] Specifically, after training the tracker, the domain classifier needs to be trained. Randomly select the video frame before or after synthesis as input. The video frame here only refers to the image corresponding to the video frame. Next, use the feature extractor of the tracker to extract the features of the input image and input it into the domain classifier. Then the domain classifier determines whether the input video frame belongs to a real image or a synthetic image based on the extracted features. After obtaining the classification result, the binary classification loss function is used to calculate the classification loss between the classification result of the domain classifier and the real result. Finally, freeze all the parameters of the tracker, and update the parameters of the domain classifier according to the calculated classification loss. The calculation method of the classification loss of the domain classifier is as follows:

[0063] ;

[0064] In the above formula, represents the classification loss calculation function, represents the judgment result of the domain classifier, Represents the true category of the video frame.

[0065] In summary, through a large number of studies on tracking training processes, it is found that the integrity of the initial label of the tracking target is a very important performance influencing factor. The present invention synthesizes the complete real-life target into the video by using an image synthesis method and thereby obtains the accurate position and size of the tracking target. There is a problem in training the tracker using the synthesized video: there is a difference between the synthesized video and the real video, and the tracker trained on the synthesized video performs poorly on the real video, and it is necessary to reduce the overfitting of the tracker on the synthesized video.

[0066] To achieve this goal, the present invention adds a domain classifier behind the feature extractor of the tracker, and uses domain adversarial training to force the tracker to extract discriminative target features during tracking and use relevant features of the target for tracking.

[0067] S3. Track the target object based on the trained visual target tracker to obtain a target object tracking result, wherein the target object tracking result includes the position of the target object and the size of the target object.

[0068] Specifically, a self-supervised target tracking method is implemented by utilizing an image synthesis method and a domain adversarial training method. The present invention can be trained on the original video sequence without any labeled data, and can achieve performance that is competitive with supervised trackers when there is a small amount of labeled data fine-tuning. The present invention greatly reduces the demand for labeled data for tracker training and reduces the training cost of the tracker, and is very suitable for the research and development of deep learning-based target trackers and practical applications.

[0069] Reference Figure 2 , a self-supervised object tracking system based on image synthesis and domain adversarial learning, including:

[0070] A construction module is used to obtain an image of a target object and perform image preprocessing to construct a synthetic video frame of the target object;

[0071] A training module, used for training a visual target tracker based on a synthetic video frame of a target object to obtain a trained visual target tracker;

[0072] The tracking module is used to track the target object based on the trained visual target tracker to obtain the target object tracking result, wherein the target object tracking result includes the position of the target object and the size of the target object.

[0073] The contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0074] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. Self-supervised object tracking method based on image synthesis and domain adversarial learning, It is characterized in that The following steps are involved: Obtain segmentation labels from several target object images and build a preliminary target object image database; Screening and processing the preliminary target object image database to obtain a target object image database; Randomly select a target object image database to obtain a target object image to be transformed; Performing random transformation processing on the target object image to be transformed to obtain a transformed target object image; Performing video frame synthesis processing on the target object image to be transformed and the transformed target object image to obtain a target object synthesized video frame; The method further includes: randomly selecting a target object from a target object database; then performing a random image transformation operation on the selected target object, and pasting the target object before the transformation onto an initial frame of the video, and synthesizing the target object after the transformation onto subsequent frames of the video in the same manner; The target object composite video frame includes a target object initial video frame sequence and a target object subsequent video frame sequence, wherein the target object initial video frame sequence represents the target object image to be transformed, and the target object subsequent video frame sequence represents the target object image after the transformation; Constructing a visual target tracker, wherein the visual target tracker includes a tracking trainer and a domain classification trainer; A tracking trainer based on a visual target tracker performs tracking training processing on a synthetic video frame of a target object to obtain a trained tracking trainer; A domain classification trainer based on a visual object tracker performs classification training processing on preset input data to obtain a trained domain classification trainer, wherein the preset input data is an image of a target object or a video frame synthesized by the target object; Combining the trained tracking trainer with the trained domain classification trainer to obtain a trained visual object tracker; Based on the trained visual target tracker, the target object is tracked to obtain a target object tracking result, wherein the target object tracking result includes the position of the target object and the size of the target object.

2. According to the self-supervised target tracking method based on image synthesis and domain adversarial learning according to claim 1, It is characterized in that The tracking trainer includes a tracking feature extractor and a tracker, the domain classification trainer includes a domain classification feature extractor and a domain classifier, and the domain classifier includes a first fully connected layer and a second fully connected layer.

3. According to the self-supervised target tracking method based on image synthesis and domain adversarial learning according to claim 2, It is characterized in that The tracking trainer based on the visual target tracker performs tracking training processing on the target object synthetic video frame to obtain the trained tracking trainer, which specifically includes: Inputting a synthetic video frame of the target object into a tracking trainer of a visual object tracker; Based on the tracking feature extractor of the tracking trainer, feature extraction processing is performed on the synthetic video frame of the target object to obtain the features of the synthetic video frame of the target object; Based on the tracker of the tracking trainer, the synthetic video frame features of the target object are tracked and predicted to obtain the position of the predicted target object and the bounding box of the predicted target object; Based on the predicted position of the target object and the predicted bounding box of the target object, a tracking loss calculation of the tracking trainer is performed to obtain a tracking trainer loss value; The tracking trainer is updated according to the loss value of the tracking trainer to obtain the trained tracking trainer.

4. According to the self-supervised target tracking method based on image synthesis and domain adversarial learning as claimed in claim 3, It is characterized in that The step of performing classification training on the preset input data by the domain classification trainer based on the visual target tracker to obtain the trained domain classification trainer specifically includes: Inputting the preset input data into a domain classification trainer of the visual object tracker; A domain classification feature extractor based on the domain classification trainer performs feature extraction processing on the preset input data to obtain preset input data features; Based on the domain classifier of the domain classification trainer, domain adversarial training is performed on the preset input data features to obtain domain adversarial results; According to the domain adversarial results, the classification loss of the domain classification trainer is calculated to obtain the loss value of the domain classification trainer; The domain classification trainer is updated according to the loss value of the domain classification trainer to obtain a trained domain classification trainer.

5. According to the self-supervised target tracking method based on image synthesis and domain adversarial learning according to claim 4, It is characterized in that The expression for calculating the classification loss is specifically as follows: ; In the above formula, represents the classification loss calculation function, represents the judgment result of the domain classifier, Represents the true category of the video frame.

6. Self-supervised object tracking system based on image synthesis and domain adversarial learning, It is characterized in that Includes the following modules: A construction module is used to obtain segmentation labels in several target object pictures and build a preliminary target object image database; Screening and processing the preliminary target object image database to obtain a target object image database; Randomly select a target object image database to obtain a target object image to be transformed; Performing random transformation processing on the target object image to be transformed to obtain a transformed target object image; Performing video frame synthesis processing on the target object image to be transformed and the transformed target object image to obtain a target object synthesized video frame; The method further includes: randomly selecting a target object from a target object database; then performing a random image transformation operation on the selected target object, and pasting the target object before the transformation onto an initial frame of the video, and synthesizing the target object after the transformation onto subsequent frames of the video in the same manner; The target object composite video frame includes a target object initial video frame sequence and a target object subsequent video frame sequence, wherein the target object initial video frame sequence represents the target object image to be transformed, and the target object subsequent video frame sequence represents the target object image after the transformation; A training module, used to build a visual target tracker, wherein the visual target tracker includes a tracking trainer and a domain classification trainer; A tracking trainer based on a visual target tracker performs tracking training processing on a synthetic video frame of a target object to obtain a trained tracking trainer; A domain classification trainer based on a visual object tracker performs classification training processing on preset input data to obtain a trained domain classification trainer, wherein the preset input data is an image of a target object or a video frame synthesized by the target object; Combining the trained tracking trainer with the trained domain classification trainer to obtain a trained visual object tracker; The tracking module is used to track the target object based on the trained visual target tracker to obtain the target object tracking result, wherein the target object tracking result includes the position of the target object and the size of the target object.