Skip to main content
. 2019 Sep 12;19(18):3945. doi: 10.3390/s19183945
Algorithm 1: Tracking with TFnet.
1: Input: Frames{Ii}i=1Nf, initial target bounding box b1
2: Augment the training samples according to the augmentation generation strategy.
3: Learn the variables in Equation (2) with the augmented training samples, where sk corresponding to the backbone network; t, the target template; ϖ, the foreground network
4: Copy the target template t to an adaptive template ta and static template ts
5: For frame i = 2:Nf
6:      Extract the search images according to the result in last frame bi1
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 ta with Equation (7)
10: End
11: Output: Tracking results {bi}i=2Nf