# Target Tracking Algorithm of Basketball Video Based on Improved Grey Neural Network

Authors: You Jun Wang; Guo Huang
Journal: Scientific Programming
 (2021)

---

## Abstract

Considering the limitation of tracking range on sports video target tracking in basketball games, there are some problems, such as poor tracking effect, low accuracy, low anti-interference ability, and being time-consuming. Therefore, this study proposes a target tracking algorithm of basketball video based on improved grey neural network. According to the pixel grey difference of the target image in basketball video, this study applies the adaptive threshold algorithm in order to segment the target image of basketball video and obtain the target area of basketball video. This algorithm can normalize the grey level of the target area, build the generating sequence of the target area, and collect the target data of the basketball video. It obtains the feature output matrix of basketball video target based on the geometric dispersion of the target image and extracts the key feature points of basketball video target by single frame visual difference analysis. In addition, it makes use of the improved grey neural network to track and locate the feature points of basketball video target and reconstruct the basketball video target image with superresolution to realize basketball video target tracking. The experimental results show that the proposed algorithm has good target tracking effect of basketball video, can effectively improve the target tracking accuracy and anti-interference ability, and can shorten the target tracking time.


---

## Body

## 1. Introduction

As it is known, the development of computer network technology promotes the update of image processing technology, and the video processing technology is also applied in people's daily lives [1, 2]. At present, the image accuracy of basketball video is high, but due to the variable target trajectory of basketball video, the similar moving target, and complex background, it is more difficult to track the target of basketball video. In addition, in the actual basketball game, it is difficult for the target tracking effect to achieve the ideal state due to the influence of various factors such as illumination, occlusion, and the definition of image acquisition equipment [3]. Therefore, the research on target tracking algorithm of basketball video has become a hot issue.Yang and Wang [4] proposed a target tracking algorithm of basketball video based on DSP and FPGA. This study constructed a target index of the basketball video on the basis of collecting the basketball video, initialized the video, and determined the basic color map of the target index. Then according to the input basketball image, it used FPGA technology to obtain a new target index image and processed the new target image and the original image to get a new target position, so as to realize the target tracking of basketball video. The algorithm in this study can effectively track moving targets in basketball game video, but the tracking accuracy of moving targets is low. Wang and Hou [5] proposed a target tracking algorithm of sports video based on optimized particle filter. This study firstly detects the sports video, removes the background color histogram, then tracks the color target by using the particle filter technology, combines it with the color distribution, and finally realizes the target tracking of sports video by optimizing the tracked target model. The algorithm has high efficiency, but poor performance in target tracking of moving video. Aiming at solving the above problems, this study proposes a target tracking algorithm of basketball video based on improved grey neural network, which provides a certain reference for accurately tracking basketball video target.


## 2. Design of Target Tracking Algorithm in Basketball Video

### 2.1. Obtaining the Target Area of Basketball Video

In order to obtain the target area of basketball video, this study assumes that the pixel point of basketball video image isx,y and sets the grey neural network as Ix,y,t, and the time is t. At time t+1, Ix,y,t+1 is used to represent the grey neural network. The pixel grey difference at time t and time t+1 is calculated by the following formula, which is expressed as(1)ΔIx,y=Ix,y,t+1−Ix,y,t.By iterative processing of formula (1), it can obtain the segmentation threshold T of basketball video that is processed by improved grey neural network and play the advantages of visual technology [6–8] to obtain the possible areas of the moving target in the basketball video:(2)Ix,y=1,ΔIx,y>T,0,ΔIx,y≤T.Particle filter is used to detect the target of the processed basketball video [9–11]. In order to increase the accuracy, it is assumed that when the basketball video is at time t, the pixel point x,y of the image is represented by grey neural network Ix,y,t. After simulation of the motion of basketball video, if this pixel point remains unchanged, when dI/dt=0, it can obtain the following formula:(3)uIx+vIy+It=0.In formula (3), u=dx/dt, v=dy/dt, and the differentiation of the target area images x, y, and t in the basketball video can be represented by Ix, Iy, and It.It can obtain the solution ofu,v by using the iterative algorithm:(4)ux,yk+1=ux,y−k−IxIxux,y−k+Iyvx,y−k+ItΔIx,y2+Ix2+Iy2,(5)vx,yk+1=vx,y−k−IyIxux,y−k+Iyvx,y−k+Ita2+Ix2+Iy2.Here,a represents the iterative coefficient.Referring to formulas (4) and (5), it can segment the basketball video image by using the threshold after iterative processing:(6)EnergydIi,Cj=u2+v21/2.Here,Ii represents the area where the target may appear and Cj represents the area where the target actually appears.Taking clustering analysis of the segmented image by the image processing technology [12–14], it can obtain the target area of the basketball video, which can be shown in the following formula:(7)j=minj/dIi,Cj≤θ1.In formula (7), the distance between the two areas is dIi,Cj, the maximum distance threshold of the two target areas of basketball video is θ1, and the nonzero pixel in the basketball video is Ii.


### 2.2. Acquisition of Target Data in Basketball Video

The algorithm in this study fuses the feature vectors by matching technology, monitors three-dimensional fusion target in the target area of basketball video, reconstructs the video that is not in the target area [15–17], and takes resolution reconstruction and spatial exchange matching of target data in the target area of basketball video. The calculation formula is as follows:(8)Sω=1K∑k=0K−1Skω.In formula (8), K represents the reconstruction coefficient and Skω represents the target data.Assuming that the tracking targets in the target area of the basketball video are distributed linearly, the linear tracking target model in the public area of the basketball video is as follows:(9)xn=1NA∑k=0N−1Xkexpj2πknN,n=0,1,…,N−1.Here,j represents the number of image pixel node, k represents the image pixel node, A represents the amplitude of image reconstruction in basketball video, N represents the sensor node in the collected basketball video, and Xk represents the target image pixel of the basketball video. Assuming that A=ai,j,0<i,j<N, the basketball video image can be decomposed into multimodule color map. Through the feature classification processing of the target data in the video, it can form the target pixel matrix M×N of basketball video.Suppose the feature vector of thei-th pixel in the basketball video is B=bjk; then when 0<j<N,0<k<M, and the initial pixel of the target data distribution in the basketball motion video is π, the probability distribution is π=πi,i=1,2,…,n at this point. Using the grey normalization processing of grey neural network [18–20] and combining with the basketball video after template matching, it can obtain the single frame pixel feature set of the basketball video, which is as follows:(10)sk=s1k,s2k,…,smkT.In the target area of basketball video, this algorithm matches the target image template of the block area and constructs the generation sequence of the target area in basketball video, which is as follows:(11)DifC1,C2=Nminwvi,vj.In formula (11), N=1,2,…,T represents the feature collection sample of the target area in basketball video, wvi,vj represents the pixel width of the basketball video, and the feature vector is composed of the eigenvalue of the target image in the target area of basketball video, thus achieving the acquisition of the target data of basketball video.


### 2.3. Extraction of Key Feature Points of Basketball Video Target

The following research is mainly to collect the target data of basketball video and extract the key feature points of the basketball video target [21]. Firstly, it is necessary to use the image degradation model to detect the feature of the target in the basketball video, combined with the improved grey neural network to optimally match the target image in the basketball video. If the threshold of the main feature sequence hj of the target image in the basketball video is set as hj, the acquisition model of the target data in basketball video can be obtained. The formula is as follows:(12)xn=∑j=0∞hjwn−j.Secondly, according to the motion curve of basketball video target image in three-dimensional space [22, 23], it can obtain the combined dispersion of target image in basketball video. The formula is as follows:(13)ψa,bt=Ua,bψt=1aψt−ba.Here,Ua,b represents the similarity of pixels, and ψt represents the discrete features of the image.The characteristic output matrix of basketball video target is as follows:(14)X′=x11x12⋯x1nx21x22⋯x2n⋮⋮⋯⋮xn−11xn−12⋯xn−1n.Thirdly, after obtaining the feature vector of the basketball video, it can detect the moving image in the target area of the basketball video by template matching method [24] and get the fusion image, which is as follows:(15)Xt=AXt−1+t.In formula (15), A represents the matching amplitude, t represents the image frame, the coordinate point of the key feature point of the target in the basketball video is X=xt,ytT. Assuming that the two most boundary target feature points in the target area of basketball video are PE1 and PE2, it can obtain the average matching pixel of the feature points.(16)A=scosθ−sinθsinθcosθ,t=txty.Finally, it also needs to match each feature point obtained above and geometrically describe the sparse items of the image based on the improved grey neural network and extract the motion feature of the target image in the basketball video by using the single frame visual difference analysis method.(17)∂ux,y;t∂t=MΔsux,y;t+NΔtux,y;d,t.Here,M and N, respectively, represent the common sparse item set of the image, and Δt represents the image area. Through the above operations, the key feature points of the basketball video target can be extracted.


### 2.4. Design of Target Tracking Algorithm of Basketball Video

Based on the improved grey neural network, it can reconstruct the target data of the target area in the basketball video, extract the key points of the motion video in the target area, and obtain the feature vectors of the basketball video. According to the improved grey neural network, the image feature points of the basketball video can be tracked and positioned; the tracking and positioning information can also be obtained, which is as follows:(18)θt=−2πKln1−tat0+θ0.Here, it can obtainθ0=−2πKln1+T/2t0 after the amplitude segmentation of image in the target area of the basketball video, in which K represents the reconstruction coefficient. Then it is necessary to fuse the target image of basketball video through the fusion technology [25] and get the fused n subimage blocks, so as to obtain the permutation matrix of the dynamic feature points of the basketball motion image. The permutation matrix is as follows:(19)emkij=−pklogpk,pk≠0,0,pk=0.In formula (19), the probability value of dynamic characteristic distribution of basketball video is pk, and then m=1,2,…,N.After extracting the implicit features of the target image in the target area of the basketball video and reconstructing the image superresolution of basketball video, it can obtain the output:(20)pi,jA=wi,jwi,ifi≠jandei,j∈A,0,ifi≠jandei,j∉A,1−∑j:ei,ε∈wi,jwi,ifi=j.Here,wi,j represents the weight of basketball video target image, wi represents the weight of pixel i, and ei,j represents the matching value of pixel.The 3D feature reconstruction model of target area in basketball video is as follows:(21)NLMgi=∑j∈Ωwi,jgj.In formula (21), wi,j represents the weight of image pixels i and j, and gj represents the sequence of pixel j. Assuming that the three-dimensional features of the target image of basketball video achieve uniform distribution [26], it can calculate the features of the target tracking image of basketball video.(22)μpq=∑m=1M∑n=1Nx−x˙py−y˙qfx,y.Here,fx,y represents the scale information of target features, x−x˙ represents the feature quantity of tracking target x, and y−y˙ represents the feature quantity of tracking target y. According to the result of pixel reconstruction of basketball video, it can realize the reconstruction of dynamic feature in the target area of basketball video and achieve the design effect of target tracking algorithm of basketball video.


## 2.1. Obtaining the Target Area of Basketball Video

In order to obtain the target area of basketball video, this study assumes that the pixel point of basketball video image isx,y and sets the grey neural network as Ix,y,t, and the time is t. At time t+1, Ix,y,t+1 is used to represent the grey neural network. The pixel grey difference at time t and time t+1 is calculated by the following formula, which is expressed as(1)ΔIx,y=Ix,y,t+1−Ix,y,t.By iterative processing of formula (1), it can obtain the segmentation threshold T of basketball video that is processed by improved grey neural network and play the advantages of visual technology [6–8] to obtain the possible areas of the moving target in the basketball video:(2)Ix,y=1,ΔIx,y>T,0,ΔIx,y≤T.Particle filter is used to detect the target of the processed basketball video [9–11]. In order to increase the accuracy, it is assumed that when the basketball video is at time t, the pixel point x,y of the image is represented by grey neural network Ix,y,t. After simulation of the motion of basketball video, if this pixel point remains unchanged, when dI/dt=0, it can obtain the following formula:(3)uIx+vIy+It=0.In formula (3), u=dx/dt, v=dy/dt, and the differentiation of the target area images x, y, and t in the basketball video can be represented by Ix, Iy, and It.It can obtain the solution ofu,v by using the iterative algorithm:(4)ux,yk+1=ux,y−k−IxIxux,y−k+Iyvx,y−k+ItΔIx,y2+Ix2+Iy2,(5)vx,yk+1=vx,y−k−IyIxux,y−k+Iyvx,y−k+Ita2+Ix2+Iy2.Here,a represents the iterative coefficient.Referring to formulas (4) and (5), it can segment the basketball video image by using the threshold after iterative processing:(6)EnergydIi,Cj=u2+v21/2.Here,Ii represents the area where the target may appear and Cj represents the area where the target actually appears.Taking clustering analysis of the segmented image by the image processing technology [12–14], it can obtain the target area of the basketball video, which can be shown in the following formula:(7)j=minj/dIi,Cj≤θ1.In formula (7), the distance between the two areas is dIi,Cj, the maximum distance threshold of the two target areas of basketball video is θ1, and the nonzero pixel in the basketball video is Ii.


## 2.2. Acquisition of Target Data in Basketball Video

The algorithm in this study fuses the feature vectors by matching technology, monitors three-dimensional fusion target in the target area of basketball video, reconstructs the video that is not in the target area [15–17], and takes resolution reconstruction and spatial exchange matching of target data in the target area of basketball video. The calculation formula is as follows:(8)Sω=1K∑k=0K−1Skω.In formula (8), K represents the reconstruction coefficient and Skω represents the target data.Assuming that the tracking targets in the target area of the basketball video are distributed linearly, the linear tracking target model in the public area of the basketball video is as follows:(9)xn=1NA∑k=0N−1Xkexpj2πknN,n=0,1,…,N−1.Here,j represents the number of image pixel node, k represents the image pixel node, A represents the amplitude of image reconstruction in basketball video, N represents the sensor node in the collected basketball video, and Xk represents the target image pixel of the basketball video. Assuming that A=ai,j,0<i,j<N, the basketball video image can be decomposed into multimodule color map. Through the feature classification processing of the target data in the video, it can form the target pixel matrix M×N of basketball video.Suppose the feature vector of thei-th pixel in the basketball video is B=bjk; then when 0<j<N,0<k<M, and the initial pixel of the target data distribution in the basketball motion video is π, the probability distribution is π=πi,i=1,2,…,n at this point. Using the grey normalization processing of grey neural network [18–20] and combining with the basketball video after template matching, it can obtain the single frame pixel feature set of the basketball video, which is as follows:(10)sk=s1k,s2k,…,smkT.In the target area of basketball video, this algorithm matches the target image template of the block area and constructs the generation sequence of the target area in basketball video, which is as follows:(11)DifC1,C2=Nminwvi,vj.In formula (11), N=1,2,…,T represents the feature collection sample of the target area in basketball video, wvi,vj represents the pixel width of the basketball video, and the feature vector is composed of the eigenvalue of the target image in the target area of basketball video, thus achieving the acquisition of the target data of basketball video.


## 2.3. Extraction of Key Feature Points of Basketball Video Target

The following research is mainly to collect the target data of basketball video and extract the key feature points of the basketball video target [21]. Firstly, it is necessary to use the image degradation model to detect the feature of the target in the basketball video, combined with the improved grey neural network to optimally match the target image in the basketball video. If the threshold of the main feature sequence hj of the target image in the basketball video is set as hj, the acquisition model of the target data in basketball video can be obtained. The formula is as follows:(12)xn=∑j=0∞hjwn−j.Secondly, according to the motion curve of basketball video target image in three-dimensional space [22, 23], it can obtain the combined dispersion of target image in basketball video. The formula is as follows:(13)ψa,bt=Ua,bψt=1aψt−ba.Here,Ua,b represents the similarity of pixels, and ψt represents the discrete features of the image.The characteristic output matrix of basketball video target is as follows:(14)X′=x11x12⋯x1nx21x22⋯x2n⋮⋮⋯⋮xn−11xn−12⋯xn−1n.Thirdly, after obtaining the feature vector of the basketball video, it can detect the moving image in the target area of the basketball video by template matching method [24] and get the fusion image, which is as follows:(15)Xt=AXt−1+t.In formula (15), A represents the matching amplitude, t represents the image frame, the coordinate point of the key feature point of the target in the basketball video is X=xt,ytT. Assuming that the two most boundary target feature points in the target area of basketball video are PE1 and PE2, it can obtain the average matching pixel of the feature points.(16)A=scosθ−sinθsinθcosθ,t=txty.Finally, it also needs to match each feature point obtained above and geometrically describe the sparse items of the image based on the improved grey neural network and extract the motion feature of the target image in the basketball video by using the single frame visual difference analysis method.(17)∂ux,y;t∂t=MΔsux,y;t+NΔtux,y;d,t.Here,M and N, respectively, represent the common sparse item set of the image, and Δt represents the image area. Through the above operations, the key feature points of the basketball video target can be extracted.


## 2.4. Design of Target Tracking Algorithm of Basketball Video

Based on the improved grey neural network, it can reconstruct the target data of the target area in the basketball video, extract the key points of the motion video in the target area, and obtain the feature vectors of the basketball video. According to the improved grey neural network, the image feature points of the basketball video can be tracked and positioned; the tracking and positioning information can also be obtained, which is as follows:(18)θt=−2πKln1−tat0+θ0.Here, it can obtainθ0=−2πKln1+T/2t0 after the amplitude segmentation of image in the target area of the basketball video, in which K represents the reconstruction coefficient. Then it is necessary to fuse the target image of basketball video through the fusion technology [25] and get the fused n subimage blocks, so as to obtain the permutation matrix of the dynamic feature points of the basketball motion image. The permutation matrix is as follows:(19)emkij=−pklogpk,pk≠0,0,pk=0.In formula (19), the probability value of dynamic characteristic distribution of basketball video is pk, and then m=1,2,…,N.After extracting the implicit features of the target image in the target area of the basketball video and reconstructing the image superresolution of basketball video, it can obtain the output:(20)pi,jA=wi,jwi,ifi≠jandei,j∈A,0,ifi≠jandei,j∉A,1−∑j:ei,ε∈wi,jwi,ifi=j.Here,wi,j represents the weight of basketball video target image, wi represents the weight of pixel i, and ei,j represents the matching value of pixel.The 3D feature reconstruction model of target area in basketball video is as follows:(21)NLMgi=∑j∈Ωwi,jgj.In formula (21), wi,j represents the weight of image pixels i and j, and gj represents the sequence of pixel j. Assuming that the three-dimensional features of the target image of basketball video achieve uniform distribution [26], it can calculate the features of the target tracking image of basketball video.(22)μpq=∑m=1M∑n=1Nx−x˙py−y˙qfx,y.Here,fx,y represents the scale information of target features, x−x˙ represents the feature quantity of tracking target x, and y−y˙ represents the feature quantity of tracking target y. According to the result of pixel reconstruction of basketball video, it can realize the reconstruction of dynamic feature in the target area of basketball video and achieve the design effect of target tracking algorithm of basketball video.


## 3. Experimental Analysis

In order to verify the effectiveness of the target tracking algorithm of basketball video based on the improved grey neural network in target tracking, this experiment tracks two video sequences with different video frame number and tracking area size. In the VS platform under Windows environment, the experiment uses C++ language for programming, sets the experimental error threshold as 0.55, and chooses three algorithms for comparison experiment, namely, the target tracking algorithm designed in this paper and the algorithm in [4] and in [5]. Three groups of basketball video sequences are selected for the test. And the image sequences of frames 23, 38, and 56 of the three groups of basketball video in a group of videos are collected as the sample sequences of the experimental test. This experiment mainly tests the basketball video target tracking effect of different algorithms under different basketball video frames, as shown in Figure 1.Figure 1
Target tracking effect of the algorithm under different basketball video frames.According to Figure1, when tracking the 23rd frame image of basketball video, the proposed algorithm, the algorithm in [4], and that in [5] can accurately track the basketball video target. When tracking the 38th frame image of basketball video, both the proposed algorithm and the algorithm in [4] can accurately track the basketball video target, while the algorithm in [5] has lost the basketball video target. When tracking the 56th frame image of the basketball video, both the proposed algorithm and the algorithm in [5] can accurately track the basketball video target, while the algorithm in [4] has errors in tracking the basketball motion video target. It can be seen that the proposed algorithm has a good effect on basketball video target tracking.According to the image sequence of the basketball video, when tracking the image sequence of the 23rd, 38th, and 56th frames, this experiment tests the accuracy of the target tracking algorithm of basketball video based on the improved grey neural network. The results are shown in Figure2.Figure 2
Test results of target tracking accuracy of basketball video with different frames.As can be seen from the results in Figure2, in the test of the target tracking algorithm of basketball video based on the improved grey neural network, when tracking the 23rd frame image of basketball video, the tracking accuracy is 80%∼85%. When tracking the 38th frame of the basketball video, the tracking accuracy is between 84% and 91%. When tracking the 56th frame of the basketball video, the tracking accuracy is between 85% and 98%. Therefore, the target tracking algorithm designed in this paper has high accuracy in tracking the basketball video target. The target tracking algorithm designed in this paper can determine the actual position of the basketball video target by obtaining the target area of the basketball video, which can improve the tracking accuracy of the basketball video target.In order to further verify the performance of the target tracking algorithm designed in this paper in the target tracking, this experiment collects three target images with different tracking areas of 600∗400, 480∗320, and 420∗280 and tests the target tracking effects of different algorithms in different tracking areas. The experimental results are shown in Figure 3.Figure 3
Target tracking effect of the algorithm in different tracking areas.According to Figure3, it is known that when the tracking area of the target image is 600∗400, the proposed algorithm, the algorithm in [4], and that in [5] can accurately track the basketball video target. When the tracking area of the target image is 480∗320, the proposed algorithm can accurately track the basketball video target, while the algorithm in [4] has lost the basketball video target, and the algorithm in [5] has errors in tracking the basketball video target. When the tracking area of the target image is 420∗280, the proposed algorithm can still accurately track the basketball video target, while the algorithm in [4] and that in [5] have errors in tracking the basketball video target. Therefore, the target tracking effect of the proposed algorithm is good.Under the condition of tracking target image sample sequences with different tracking area sizes, this experiment takes three target images with different tracking area sizes collected in basketball video as sample data and tests the tracking accuracy of the target tracking algorithm of basketball video based on improved grey neural network. The results are shown in Figure4.Figure 4
Test results of target tracking accuracy of basketball video in different areas.As can be seen from the results in Figure4, with the expansion of the error threshold range, the tracking accuracy of target image in different tracking areas gradually increases. When the tracking area of the target image is 600∗400, the target tracking accuracy of basketball video is between 86% and 98%; when the tracking area of the target image is 480∗320, the target tracking accuracy of basketball video is between 83% and 95%; when the tracking area of the target image is 420∗280, the target tracking accuracy of basketball video is between 80% and 90%. Therefore, the target tracking algorithm designed in this paper has high accuracy in tracking the basketball video target. Among the three tracking areas with different sizes, this algorithm with the tracking area of 600∗400 has a higher target tracking accuracy of basketball video, which ensures the performance of the basketball video target tracking.In order to further verify the anti-interference ability of the target tracking algorithm designed in this paper, the basketball video can be simulated by using 5.3dmax 3D simulation software in simulation environment, and the noise size of the image is set to −0.003∼0.003 m, as shown in Figure5.Figure 5
Simulation video of basketball.In order to further verify the anti-interference ability of the target tracking algorithm designed in this paper, this experiment sets the noise with the size of 0.003∼0.003 m in the simulation environment, compares the target tracking algorithm designed in this paper with the algorithm in [4] and that in [5], and obtains the target recognition rates of basketball video with different algorithms under noise interference, as shown in Table 1.Table 1
Target recognition rate of basketball video with different algorithms under noise interference.
Data size of basketball video (MB)The designed algorithm (%)The algorithm in [4] (%)The algorithm in [5] (%)100897869200927265300957563400877967500907062According to the data in Table1, in the case of noise interference, when the amount of basketball video data is 500 MB, the average recognition rate of basketball video target of the algorithm in [4] is 74.8%, and that of the algorithm in [5] is 65.2%, while the average target recognition rate of basketball video target of the algorithm designed in this paper is as high as 90.6%. Therefore, in the case of noise interference, the algorithm designed in this paper has a high target recognition rate and strong anti-interference ability. Because the algorithm designed in this paper processes the target area through grey level normalization, establishes the target area generation sequence, and collects the target data of the basketball video, it can effectively remove the image noise and redundant data, thus effectively improving the anti-interference ability of the algorithm designed in this paper.On this basis, in order to verify the basketball video target tracking time of the target tracking algorithm designed in this paper, this experiment selects 500 MB basketball video data and compares the basketball video target tracking time of the target tracking algorithm designed in this paper with that of the algorithm in [4] and that of the algorithm in [5]. The test results of basketball video target tracking time of different algorithms are shown in Table 2.Table 2
Test results of target tracking time of basketball video with different methods.
Data size of basketball video (MB)The designed algorithm (s)The algorithm in [4] (s)The algorithm in [5] (s)100581420091720300142326400192931500223439According to the data in Table2, as the amount of basketball video data increases, the target tracking time of basketball video with different algorithms increases. When the amount of basketball video data is 500 MB, the basketball video target tracking time of the algorithm in [4] is 34 s, and the basketball video target tracking time of the algorithm in [5] is 39 s, while the basketball video target tracking time of the algorithm designed in this paper is only 22 s. Therefore, the basketball video target tracking time of the algorithm designed in this paper is relatively short. The algorithm designed in this paper uses single frame visual difference analysis to extract the key feature points of the basketball video target and combines it with the improved grey neural network to track and locate the feature points of the basketball video target, thus effectively shortening the tracking time of the basketball video target.This paper extracts the key feature points of basketball video target and tracks and locates the feature points of basketball video target combined with the improved grey neural network, thus effectively shortening the tracking time of basketball video target.


## 4. Conclusion

(1)
For the target tracking of video images of basketball, different frames of video images are selected to complete the target tracking test. The results show that the proposed method can achieve high-precision target tracking of different images, and the tracking accuracy can be maintained between 80% and 98%, which has application advantages compared with the literature algorithm.(2)
When the tracking region of the target image is different, the target tracking results of different algorithms are quite different. When the target image tracking area is large, the target tracking is not difficult, and both the literature algorithm and the proposed algorithm can complete the experimental task.When the tracking area of the target image keeps shrinking, the recognition of target feature becomes more difficult, and the target tracking error of the literature algorithm appears obviously. But the proposed algorithm can still achieve the target tracking with high precision, and the accuracy can be maintained between 80% and 98%.(3)
In the case of noise interference, the target recognition rate of basketball video designed in this paper is high.When the amount of basketball video data is large, the target tracking time of basketball video designed in this paper is only 22 s. It can be seen that the target tracking time of basketball video with the algorithm designed in this paper is short.Based on improved grey neural network proposed in this paper, the target tracking algorithm of basketball video takes advantage of improved grey neural network. It reconstructs the basketball video target image by obtaining the basketball video target area, collecting the basketball video target data, and extracting the key feature points of the basketball video target, and it finally realizes the basketball video target tracking. Therefore, the target tracking algorithm designed in this paper has good tracking effect, which can effectively improve the tracking accuracy and ensure the performance of the algorithm.



---

*Source: 7808456-2021-10-27.xml*