|
Algorithm 1: Tracking with TFnet. |
| |
1: |
Input: Frames, initial target bounding box
|
| |
2: |
Augment the training samples according to the augmentation generation strategy. |
| |
3: |
Learn the variables in Equation (2) with the augmented training samples, where corresponding to the backbone network; t, the target template; , the foreground network |
| |
4: |
Copy the target template t to an adaptive template and static template
|
| |
5: |
For frame i = 2:
|
| |
6: |
Extract the search images according to the result in last frame
|
| |
7: |
Forward propagate the search images and predict the object location with Equation (4) |
| |
8: |
Generate a new training sample and its corresponding label based on the predicted results |
| |
9: |
Update the adaptive target template with Equation (7) |
| |
10: |
End |
| |
11: |
Output: Tracking results
|