This paper proposes a fusion stadium positioning algorithm, which uses self-optimizing particle filter to integrate the improved athlete dead reckoning and WiFi position fingerprint algorithm for stadium positioning. In order to determine the initial absolute position of the stadium positioning, for athletes entering the stadium from the outside, a seamless switching algorithm outside the stadium is proposed, using the characteristics of high-altitude satellite GPS to find a suitable switching point as the initial absolute position. If in the stadium, WiFi static positioning determines the initial absolute position. Then, aiming at the problem that the poorly diversified particles cannot be better integrated and localized, a self-optimized particle filter algorithm is proposed. After resampling and retaining high-weight particles, the characteristics of low-weight particles are embedded in the copied high-weight particles. This can improve diversity, and we finally carry out fusion positioning. The target tracking algorithm based on Mean Shift has a fixed-scale tracking window, and the tracking effect of variable-size targets is not ideal. In this paper, an affine transformation algorithm is introduced to improve it. First, we iterate the adjacent image frames in reverse Mean Shift to determine the center position of the target and then use the corner matching method to perform template matching on the target to adjust the size of the tracking window. Through simulation verification, it is proved that the optimized particle filter hybrid tracking algorithm can achieve the ideal result when the target size changes. For the image sequence S1, the tracking window of the 20th frame and the 40th frame has a small offset, but the optimal position can be quickly found by Mean Shift iteration. For the image sequence S2, between the 40th frame and the 60th frame, the target occlusion causes the accuracy of the target template to decrease, and the Bhattacharyya coefficient is at a relatively low value. For the image sequence S3, the tracking effect of the optimized particle filter hybrid tracking algorithm meets the requirements.