# Machine Vision and Big Data-Driven Sports Athletes Action Training Intervention Model

Authors: Hui Jiang; Ping wang; Lei Peng; Xiaofeng Wang
Journal: Scientific Programming
 (2021)

---

## Abstract

In recent years, athlete action recognition has become an important research field for showing and recognition of athlete actions. Generally speaking, movement recognition of athletes can be performed through a variety of modes, such as motion sensors, machine vision, and big data analysis. Among them, machine vision and big data analysis usually contain significant information which can be used for various purposes. Machine vision can be expressed as the recognition of the time sequence of a series of athlete actions captured through camera, so that it can intervene in the training of athletes by visual methods and approaches. Big data contains a large number of athletes’ historical training and competition data which need exploration. In-depth analysis and feature mining of big data will help coach teams to develop training plans and devise new suggestions. On the basis of the above observations, this paper proposes a novel spatiotemporal attention map convolutional network to identify athletes’ actions, and through the auxiliary analysis of big data, gives reasonable action intervention suggestions, and provides coaches and decision-making teams to formulate scientific training programs. Results of the study show the effectiveness of the proposed research.


---

## Body

## 1. Introduction

Estimation of sports athletes’ action pose [1–3] is an emerging frontier research direction. At present, most of them are based on traditional image processing methods. The research steps of human body posture estimation based on neural network are firstly to detect the human body on the input sports athlete images, secondly to estimate the athlete’s action posture, and finally evaluate the estimation results and compare the correct posture to give action intervention [4] suggestions. The human body detection of sports athletes is an important step in constructing a neural network for motion posture estimation. It usually uses related algorithms to determine whether there is a target research object in the input image. If there is, mark its specific location in the picture and use a border or red box subject circled. The research of motion pose estimation first needs to detect the athlete’s human body, and the input picture is used to extract the bounding box of the athlete’s portrait through a specific human body detector.Since the single-person pose estimation target has only a single object, the recognition technology is relatively mature and the recognition speed is faster. TOSHEV et al. [5] first proposed the DeepPose method based on neural networks, which proposed a cascaded DNN-like regression, which can achieve high-precision estimation. The advantage of this method is to estimate the attitude in a holistic manner and has good generalization performance; TOMPSON et al. [6] proposed a new hybrid architecture, which is composed of deep convolutional neural networks and Markov random fields. Including an additional “torso joint heat map” to merge data to select the correct feature activation in the chaotic scene, YANG et al. [7] presented a new end-to-end human pose estimation framework, combining DCNN with parts. Expressible deformations are mixed together, DCNN is used to return the heat map of each body part, and the structured output of deep learning of neural network is used to further simulate the relationship between body joints.The above work proves the powerful performance of machine vision in the recognition of athletes’ action gestures, so it is effective to use machine vision neural networks to participate in the intervention of sports athletes’ action recognition. However, the existing machine vision-based methods rarely consider the combination of sports athletes’ historical training and competition big data for analysis. Therefore, based on this shortcoming, we propose a novel combination of machine vision and big data analysis of athletes’ postures. The estimation method can accurately estimate the motion posture. In addition, we also calculate the loss of the estimation result and the correct action posture. Following is the main innovative points of this paper:This paper recommends a novel machine vision method to recognize sports athletes’ actions. Among them, the machine vision method is realized by spatiotemporal attention map convolutional network.This paper combines machine vision methods with big data technology. Because machine vision methods are used alone, even if they can accurately recognize action gestures, it is difficult to give intervention suggestions. Therefore, this paper considers athletes’ historical training and competition big data. Auxiliary analysis is helpful for the formulation of training action intervention programs.On the basis of the machine vision method, this paper proposes to use big data analysis to analyze athletes’ historical training and competition data and to recognize losses in computer actions in order to develop scientific intervention strategies.We have conducted sufficient comparative experiments and ablation studies. The athlete’s movement intervention method based on machine data and big data analysis can provide a scientific basis for sports coaches to develop a reasonable training plan.The organization of the paper is given as follows: Section2 of the paper represents the related research in the area. Section 3 describes the methodology of the paper with the details of the research done. Section 4 shows the experiments and results of the study conducted for the proposed study. The paper is concluded in Section 5.


## 2. Related Research

Song et al. [8] proposed a deeply structured model to predict human pose sequences in unconstrained videos. The model can be effectively trained in an end-to-end manner and can simultaneously represent the appearance of body joints and their temporal and spatial relationships. Hossain et al. [9] used the time information on the 2D joint position sequence to estimate the 3D pose sequence. A sequence-to-sequence network composed of layered standardized LSTM units is also designed. The network has shortcut connections to connect the input to the output on the decoder side and imposes time smoothing constraints during the training process. Pavllo et al. [10] proved that a complete convolution model based on temporal convolution on 2D key points can effectively estimate the 3D pose in the video. It also introduces back projection, which can start from the 2D key point prediction of the unmarked video, then estimate the 3D pose, and finally back-project it to the input 2D key point.CAO et al. [11] proposed an effective method for detecting multiperson poses in images. This method has high accuracy on multiple public benchmarks and greatly exceeds the multiperson detection level of MPII dataset in performance and efficiency. This method expresses bottom-up association scores through partial affinity fields (PAF). PAF is a set of two-dimensional vector fields that can encode the position and direction of limbs in the image domain, allowing bottom-up analysis, and can maintain high precision in real time at the same time and is not affected by the number of people in the image. Chen et al. [12] used a top-down approach to propose a new neural network structure called cascaded pyramid network (CPN), which includes two stages: GlobalNet and RefineNet. GlobalNet is a functional pyramid network that can accurately locate “simple” joint points (such as eyes and hands) but cannot accurately identify occluded or invisible joint points; RefineNet integrates all the feature representations of GlobalNet and mines the loss of online joint points and explicitly handles hard joint points.In view of the above-mentioned research, the literature proves that machine vision has excellent performance in human body posture, which is superior to traditional image processing algorithms. Therefore, this also proves the rationality of the machine vision method proposed in this paper.


## 3. Methodology

Estimation of sports athletes’ action pose [1–3] is an emerging frontier research direction. At present, most of them are based on traditional image processing methods. As shown in Figure 1, the general procedure is to first obtain the front and side images of the person and then extract the outline of the human body through image processing. Identify the key size points, then establish a function model of the human body dimension curve through statistical analysis and curve fitting, and import the complete athlete action data record table into the large sports action database after measurement by related auxiliary tools. With the fast development of computer vision technology [13–18], human body posture estimation has begun to be researched with neural network models [19–23], which has significantly improved the accuracy and robustness of human body posture estimation, has expanded the scope of application, and has been deeply integrated into sports competition and sports training.Figure 1
Example of human pose estimation.Figure2 is a flowchart of the overall architecture of our MVBD-Net algorithm. First, we extract the human pose from the motion images of sports players. Secondly, the adjacency matrix of the graph is constructed to feed the graph convolutional neural network to obtain the posture feature, and then it is input into the fully connected layer and the Softmax function to obtain the output of the action posture estimation. Secondly, this article also uses big data analysis technology to obtain the weight of the pose estimation and perform feature fusion with the output of the graph convolution network and finally calculate the loss with the label.Figure 2
The flowchart of the overall architecture of our MVBD-Net algorithm.


### 3.1. Human Detection

For football player training image data, this article first conducts human body detection. Human body detection is an important step in constructing a neural network for human posture estimation. It usually uses related algorithms to determine whether there is a target research object in the input image. If there is, mark its specific location in the picture, and circle the target object with a frame or red box stand up. Human body pose estimation research first needs human body detection. The input picture is used to extract the bounding box of the person through a specific human body detector. Common human body detectors include Yolo and R–CNN.Since multiperson pose estimation cannot determine the specific location and total number of people in the image, it is much more difficult to implement than single-person pose estimation. There are usually two methods to achieve multiperson pose estimation: (1) first provide a human detector, then estimate each component separately, and finally get the pose of each person. This method is a top-down method; detect all the parts in the image, and then associate and group different parts. This method is a bottom-up method. Therefore, this article uses the YOLO algorithm for human detection (as shown in Figure3).Figure 3
The flowchart of the overall architecture of Yolo.YOLO loss calculation during training is shown in the following equation:(1)λcoord∑i=0S2∑j=0BΠijobjxi−x^i2+yi−y^i2+λcoord∑i=0S2∑j=0BΠijobjwi−w^i+hi−h^i2+∑i=0S2∑j=0BΠijobjCi−C^i2+λcoord∑i=0S2∑j=0BΠijnoobjCi−C^i2+∑i=0S2Πijobj∑c∈classespic−p^ic2,where x,y,w,C,p is the network predicted value, x^,y^,w^,C^,p^ is the labeled value, Πiobj indicates that the object falls into the grid i, and Πijobj and Πijnoobj, respectively, indicate that the object falls and does not fall into the jth bounding box of the grid i.


### 3.2. Spatiotemporal Attention Graph Convolutional Network

#### 3.2.1. Graph Convolutional Network

The human body motion posture is in the form of graphics, rather than two-dimensional or three-dimensional grids, which makes it difficult to simply use convolutional networks. GCN (as shown in Figure4) is a general and effective framework for learning to represent graph structure data. Various GCN variants have achieved the most advanced results on many tasks. For skeleton-based human behavior recognition, skeleton-based data can be obtained from motion capture devices or pose estimation algorithms in videos. Usually the data is a frame sequence, and each frame will have a set of joint coordinates. On the basis of a given sequence of human joints in the form of two-dimensional or three-dimensional coordinates, a spatiotemporal graph with joints as graph nodes and the natural connectivity of human body structure and time as graph edges is constructed. Graph convolution can be defined as follows:(2)foutvti=∑vti∈N1ztivtifinvtiWltivti,where fin is the feature vector input of node vti and W is a weight function and is mapped from the graph label lti: Vt from K, which can be used to assign a label to each graph node vti.Figure 4
Graph convolutional neural network process.


#### 3.2.2. Spatiotemporal Attention

In the algorithm model of this paper, a new spatiotemporal attention mechanism is proposed, which captures the dynamic spatiotemporal correlation on the athlete’s action network. This mechanism contains two kinds of attention, namely, spatial attention and temporal attention.Space Attention. In the spatial dimension, the conditions of nodes at different locations influence each other, and the mutual influence is very dynamic.(3)S=Vs×σxhr−1w1w2w3xhr−1T+bs,(4)Sij′=expSij∑j=1NexpSij,where xhr−1 represents the input of the r th space-time block and Cr−1 is the number of channels of input data in the r th layer. The attention matrix S is dynamically calculated based on the current input of this layer. Tr−1 represents the length of the time dimension in the r th layer, Vs, bs,w1,andw2, and w3 represent the learning parameters, and σ represents the activation function.Time Attention. In the time dimension, there is a correlation between the conditions of human joints in different time periods, and the correlation is also different in different situations. Similarly, this paper uses the attention mechanism to adaptively give different attention to the data.(5)E=Ve×σxhr−1Tu1u2u3xhr−1+be,(6)Eij′=expEij∑j=1Tr−1expEij,where Ve,be,u1,u2,u3 is the learning parameter and the time correlation matrix E is determined by the changing input. The value of an element Eijj in E semantically represents the strength of dependence between time i and time j, and finally E is normalized by the Softmax function.


#### 3.2.3. Spatiotemporal Attention Fusion

The spatial attention network generates the spatial attention heat map to guide the action classification network of football players to extract effective spatiotemporal features from the spatial region of interest. The time attention mechanism automatically mines discriminative time-domain video clips from the original training or competition videos and uses these video clips for network training, while eliminating the interference of other video clips on the classifier. The proposed spatiotemporal attention model separately trains two network models in RGB video frames and optical flow sequences, namely, spatial subnetwork (SN) and temporal subnetwork (Temporal Network, TN). Then, the weighted fusion of the Softmax prediction scores of the two networks is used as the basis for behavior classification, which can effectively improve the classification robustness of the network. It should be noted that when training on RGB video frame data, the parameters of the spatial attention network need to be pretrained on the optical flow prediction database in advance, and when training on optical flow sequence data, the spatial attention network and the behavior classification network share weights.


## 3.1. Human Detection

For football player training image data, this article first conducts human body detection. Human body detection is an important step in constructing a neural network for human posture estimation. It usually uses related algorithms to determine whether there is a target research object in the input image. If there is, mark its specific location in the picture, and circle the target object with a frame or red box stand up. Human body pose estimation research first needs human body detection. The input picture is used to extract the bounding box of the person through a specific human body detector. Common human body detectors include Yolo and R–CNN.Since multiperson pose estimation cannot determine the specific location and total number of people in the image, it is much more difficult to implement than single-person pose estimation. There are usually two methods to achieve multiperson pose estimation: (1) first provide a human detector, then estimate each component separately, and finally get the pose of each person. This method is a top-down method; detect all the parts in the image, and then associate and group different parts. This method is a bottom-up method. Therefore, this article uses the YOLO algorithm for human detection (as shown in Figure3).Figure 3
The flowchart of the overall architecture of Yolo.YOLO loss calculation during training is shown in the following equation:(1)λcoord∑i=0S2∑j=0BΠijobjxi−x^i2+yi−y^i2+λcoord∑i=0S2∑j=0BΠijobjwi−w^i+hi−h^i2+∑i=0S2∑j=0BΠijobjCi−C^i2+λcoord∑i=0S2∑j=0BΠijnoobjCi−C^i2+∑i=0S2Πijobj∑c∈classespic−p^ic2,where x,y,w,C,p is the network predicted value, x^,y^,w^,C^,p^ is the labeled value, Πiobj indicates that the object falls into the grid i, and Πijobj and Πijnoobj, respectively, indicate that the object falls and does not fall into the jth bounding box of the grid i.


## 3.2. Spatiotemporal Attention Graph Convolutional Network

### 3.2.1. Graph Convolutional Network

The human body motion posture is in the form of graphics, rather than two-dimensional or three-dimensional grids, which makes it difficult to simply use convolutional networks. GCN (as shown in Figure4) is a general and effective framework for learning to represent graph structure data. Various GCN variants have achieved the most advanced results on many tasks. For skeleton-based human behavior recognition, skeleton-based data can be obtained from motion capture devices or pose estimation algorithms in videos. Usually the data is a frame sequence, and each frame will have a set of joint coordinates. On the basis of a given sequence of human joints in the form of two-dimensional or three-dimensional coordinates, a spatiotemporal graph with joints as graph nodes and the natural connectivity of human body structure and time as graph edges is constructed. Graph convolution can be defined as follows:(2)foutvti=∑vti∈N1ztivtifinvtiWltivti,where fin is the feature vector input of node vti and W is a weight function and is mapped from the graph label lti: Vt from K, which can be used to assign a label to each graph node vti.Figure 4
Graph convolutional neural network process.


### 3.2.2. Spatiotemporal Attention

In the algorithm model of this paper, a new spatiotemporal attention mechanism is proposed, which captures the dynamic spatiotemporal correlation on the athlete’s action network. This mechanism contains two kinds of attention, namely, spatial attention and temporal attention.Space Attention. In the spatial dimension, the conditions of nodes at different locations influence each other, and the mutual influence is very dynamic.(3)S=Vs×σxhr−1w1w2w3xhr−1T+bs,(4)Sij′=expSij∑j=1NexpSij,where xhr−1 represents the input of the r th space-time block and Cr−1 is the number of channels of input data in the r th layer. The attention matrix S is dynamically calculated based on the current input of this layer. Tr−1 represents the length of the time dimension in the r th layer, Vs, bs,w1,andw2, and w3 represent the learning parameters, and σ represents the activation function.Time Attention. In the time dimension, there is a correlation between the conditions of human joints in different time periods, and the correlation is also different in different situations. Similarly, this paper uses the attention mechanism to adaptively give different attention to the data.(5)E=Ve×σxhr−1Tu1u2u3xhr−1+be,(6)Eij′=expEij∑j=1Tr−1expEij,where Ve,be,u1,u2,u3 is the learning parameter and the time correlation matrix E is determined by the changing input. The value of an element Eijj in E semantically represents the strength of dependence between time i and time j, and finally E is normalized by the Softmax function.


### 3.2.3. Spatiotemporal Attention Fusion

The spatial attention network generates the spatial attention heat map to guide the action classification network of football players to extract effective spatiotemporal features from the spatial region of interest. The time attention mechanism automatically mines discriminative time-domain video clips from the original training or competition videos and uses these video clips for network training, while eliminating the interference of other video clips on the classifier. The proposed spatiotemporal attention model separately trains two network models in RGB video frames and optical flow sequences, namely, spatial subnetwork (SN) and temporal subnetwork (Temporal Network, TN). Then, the weighted fusion of the Softmax prediction scores of the two networks is used as the basis for behavior classification, which can effectively improve the classification robustness of the network. It should be noted that when training on RGB video frame data, the parameters of the spatial attention network need to be pretrained on the optical flow prediction database in advance, and when training on optical flow sequence data, the spatial attention network and the behavior classification network share weights.


## 3.2.1. Graph Convolutional Network

The human body motion posture is in the form of graphics, rather than two-dimensional or three-dimensional grids, which makes it difficult to simply use convolutional networks. GCN (as shown in Figure4) is a general and effective framework for learning to represent graph structure data. Various GCN variants have achieved the most advanced results on many tasks. For skeleton-based human behavior recognition, skeleton-based data can be obtained from motion capture devices or pose estimation algorithms in videos. Usually the data is a frame sequence, and each frame will have a set of joint coordinates. On the basis of a given sequence of human joints in the form of two-dimensional or three-dimensional coordinates, a spatiotemporal graph with joints as graph nodes and the natural connectivity of human body structure and time as graph edges is constructed. Graph convolution can be defined as follows:(2)foutvti=∑vti∈N1ztivtifinvtiWltivti,where fin is the feature vector input of node vti and W is a weight function and is mapped from the graph label lti: Vt from K, which can be used to assign a label to each graph node vti.Figure 4
Graph convolutional neural network process.


## 3.2.2. Spatiotemporal Attention

In the algorithm model of this paper, a new spatiotemporal attention mechanism is proposed, which captures the dynamic spatiotemporal correlation on the athlete’s action network. This mechanism contains two kinds of attention, namely, spatial attention and temporal attention.Space Attention. In the spatial dimension, the conditions of nodes at different locations influence each other, and the mutual influence is very dynamic.(3)S=Vs×σxhr−1w1w2w3xhr−1T+bs,(4)Sij′=expSij∑j=1NexpSij,where xhr−1 represents the input of the r th space-time block and Cr−1 is the number of channels of input data in the r th layer. The attention matrix S is dynamically calculated based on the current input of this layer. Tr−1 represents the length of the time dimension in the r th layer, Vs, bs,w1,andw2, and w3 represent the learning parameters, and σ represents the activation function.Time Attention. In the time dimension, there is a correlation between the conditions of human joints in different time periods, and the correlation is also different in different situations. Similarly, this paper uses the attention mechanism to adaptively give different attention to the data.(5)E=Ve×σxhr−1Tu1u2u3xhr−1+be,(6)Eij′=expEij∑j=1Tr−1expEij,where Ve,be,u1,u2,u3 is the learning parameter and the time correlation matrix E is determined by the changing input. The value of an element Eijj in E semantically represents the strength of dependence between time i and time j, and finally E is normalized by the Softmax function.


## 3.2.3. Spatiotemporal Attention Fusion

The spatial attention network generates the spatial attention heat map to guide the action classification network of football players to extract effective spatiotemporal features from the spatial region of interest. The time attention mechanism automatically mines discriminative time-domain video clips from the original training or competition videos and uses these video clips for network training, while eliminating the interference of other video clips on the classifier. The proposed spatiotemporal attention model separately trains two network models in RGB video frames and optical flow sequences, namely, spatial subnetwork (SN) and temporal subnetwork (Temporal Network, TN). Then, the weighted fusion of the Softmax prediction scores of the two networks is used as the basis for behavior classification, which can effectively improve the classification robustness of the network. It should be noted that when training on RGB video frame data, the parameters of the spatial attention network need to be pretrained on the optical flow prediction database in advance, and when training on optical flow sequence data, the spatial attention network and the behavior classification network share weights.


## 4. Experiments and Results

In this article, we collected 1000 training images of sports figures from the Leeds Sports Pose dataset and annotated 14 joints. Those images are challenging due to the different appearance and strong sharpness. The images in the Leeds Sports Pose dataset have been scaled so that the most prominent figures are approximately 150 pixels tall. Although each image in Leeds Sports Pose may contain multiple people, standard preprocessing for human detection has been performed to extract a single person. As in previous works, we use the subimages of these detected individuals as training and testing samples. In this way, the training and testing data contains only one person, and as mentioned earlier, in the testing phase, we only use the entire image (for the Leeds Sports Pose dataset, this means the entire subimage of a person) as a body patch.


### 4.1. Evaluation Methods

oks (object key point similarity) is the evaluation index of the commonly used human bone key point detection algorithm. This index is inspired by the IoU index in target detection. The purpose is to calculate the truth value and predict the similarity of the key points of the human body. The formula is as follows:(7)Op=KS=eθ^iP−θiP222s2ki2,OKS=∑iexp−dpi2/2Sp2σi2δvpi>0∑iδvpi>0,where p represents the person with id p among all ground truth pedestrians in the current picture, p∈0,M, and M represents the number of pedestrians in the current picture. Since the training and test data contains only one person, M here is set to 1. i represents the key point with id i. dpi represents the Euclidean distance between the key point with id i in the set of key points currently detected and the key point with id p in the ground truth pedestrian.(8)dpi=xi∼−xpiyi∼−ypi,where xi∼,yi∼ is the current key point detection result and xi,yi is the ground truth.Sp represents the scale factor of the person with id p in the ground truth pedestrian, and its value is the square root of the area of the pedestrian detection frame:(9)Sp=wh,where w and h are the width and height of the detection frame.σi represents the key point normalization factor of type i. This factor is the standard deviation between the ground truth key points in all the sample sets and the true value manually marked. vpi represents the visibility of the i key points of the pedestrian with id p in the ground truth.δ∗ means if the condition ∗ holds, then δ∗=1; otherwise, δ∗=0.AP (average precision) is used to calculate the accuracy percentage of the test set. In single-person pose estimation, only one pedestrian is estimated at a time, that is,M=1 in the oks indicator, so the ground truth in a picture is a pedestrian (GT), and a set of key points will be obtained after the key point detection of this pedestrian (DT), and finally calculate the similarity oks between GT and DT as a scalar, and then artificially give a threshold T, and then AP can be calculated from the oks of all pictures:(10)AP=∑pδoksp>T∑p1.PCP is the Percentage of Correct Parts. If the key distance between the positions of the two joint points and the real limb reaches at most half the length of the real limb, the joint point is considered to be correctly predicted.


### 4.2. Experimental Results of Different Methods

In order to verify the competitiveness of MVBD-NET in the task of human skeleton action recognition, the model trained on the graph convolutional network based on the spatiotemporal attention mechanism is compared with the current state of the art (SOA). The methods were compared experimentally. Compare the proposed MVBD-Net model with Dantone [24], Tian [25], Johnson [26], Wang [27], and Pishchulin [28]. The results of the different datasets are shown in the following Table 1 and Figure 5.Table 1
PCP comparison on Leeds Sports Pose dataset using oks evaluation method.
MethodsArmLegTorsoHeadUpperLowerUpperLowerDantone0.530.350.740.710.820.78Tian0.450.380.520.690.810.65Johnson0.520.310.640.520.710.74Wang0.540.450.740.650.760.80Pishchulin0.430.550.680.710.890.81Ours0.860.700.890.860.920.88Figure 5
PCP comparison on LSP.The experiment is mainly to verify the effectiveness of the time attention mechanism on the action recognition data set. This set of experiments designed two different convolution models based on time attention mechanism. The models are all based on the ST-GCN benchmark model with time attention mechanism. The temporal attention mechanism convolution model uses different video time-domain segmentation and selection methods to verify the influence of different time-domain segmentation methods and different segmentation parameters on the accuracy of behavior recognition. The training process of the benchmark model in this set of experiments is the same as the previous set of experiments. The experimental results are shown in Table1. Among them, the average fusion mode (AFM) is to directly average the prediction results of each time-domain segment as the prediction result of the entire video; and the discrimination weighted (Discriminative Confidence Weighted, DCW) represents a time-domain fusion method based on weighted prediction credibility; that is, the most reliable video segment is selected according to the prediction credibility of each input segment, and the prediction results of these segments are weighted as the prediction result of the entire action.


### 4.3. Experimental Results of Ablation Studies on Spatiotemporal Attention Graph Convolutional Network

In this section, five sets of experiments are designed to verify in detail the effectiveness of the graph convolutional neural network based on the spatiotemporal attention mechanism in the task of skeletal action recognition. The first set of experiments shows the visualization results of the attention heat map of the corresponding frame learned by the attention model network [29, 30]. The second and third sets of experiments are slice experiments, which are used to independently verify the effectiveness of the spatial attention mechanism and the temporal attention mechanism. The fourth set of experiments is to integrate spatial attention mechanism and temporal attention mechanism into a graph convolutional neural network to achieve end-to-end training and apply it to action recognition tasks. This experiment is to verify the effect of introducing spatiotemporal attention mechanism into the graph convolutional neural network on the task of action recognition.The experimental results are shown in Table2. MVBD is a spatiotemporal attention network model established on the basis of a recurrent neural network with long- and short-term memory. It can selectively focus on the joint differences of input frames and give different degrees of attention to the output of different frames, so it can extract distinguishable. The spatiotemporal features help action recognition. ST-GCN [21] breaks through the limitations of previous bone modeling methods and applies graph convolution to human skeleton action recognition, and the proposed model has strong generalization ability. AS-GCN [22] combines A-links and S-links into a generalized pose graph, further establishes a behavior structure graph convolutional network model, learns spatial and temporal characteristics, and can capture different action patterns more accurately and in detail.Table 2
Average precision of joint detection on LSP.
LSPAnkleKneeHipWristElbowShoulderNeckHeadmAPPTF0.250.340.230.230.430.320.210.340.31PHSV0.370.310.360.410.430.330.320.760.36MVBD-net0.470.490.390.380510.520.610.880.69


### 4.4. Experimental Results of Ablation Studies on Different Parameters

Considering that there are a large number of parameters that can be optimized in the network structure designed in this paper, the use of different parameter settings will have different effects on the accuracy and operating efficiency of the model, so this paper conducts ablation experiment analysis on different parameter configurations. Since the three-dimensional pose estimation in this paper is implemented using a fully connected network, and the number of neurons in the fully connected layer is different, the number of model parameters and the prediction effect are also different. So in Figure6, a different number of neurons (that is, Linear_size, representing fully connected layers) are analyzed. By comparing the loss function (loss) curve of the number of neurons, it is found that the loss value shows a gradually decreasing trend as the number of neurons increases from 256 to 4,096, which indicates the accuracy of the number of neurons. There was a positive correlation between model training and the number of neurons. The positive correlation indicates that the convergence of the model training will be higher with the increase of the number of neurons. As shown in Figure 7, this paper randomly selects 50 batch test data sets from the test set of the data set Human3.6 M to verify the prediction effect of the model. The batch-size is 64, and a total of 3 200 test data sets are used in this experiment. The abscissa in the figure represents the number of neurons in each layer, the parameters are set to 512, 1024, 2 048, and 4 096, and the ordinate represents the average value (mm) of node errors in the calculation of the batch of test data. By comparing the number of neurons with different numbers, the prediction result found that the error value of the number of neurons of 4 096 is significantly lower than that of the number of neurons of 2 048. Therefore, this article sets the number of neurons in the fully connected layer to 4096. The convergence curves of different parameters are shown in Figure 6.Figure 6
Convergence curves of different parameters.Figure 7
The visualization results of athlete training action recognition on the LSP dataset.


### 4.5. Experimental Results of Ablation Studies on Different Submodule

Since the MVBD-NET algorithm uses the Yolo algorithm to extract the LSP human body pose and uses big data technology to do auxiliary analysis; in this section, we will analyze the impact of these strategies on the experiment. The results are shown in Table3.Table 3
Average precision of different submodule on LSP.
LSPAnkleKneeHipWristElbowShoulderNeckHeadmAPYolo-submodule0.260.390.220.270.410.330.280.360.33BigData-Submodule0.410.480.390.320.490.460.470.720.56MVBD-net0.470.490.390.380510.520.610.880.69


### 4.6. Visualization of Results

This section shows the visualization results of the MVBD-NET algorithm on the LSP data set. Due to the introduction of an effective spatiotemporal attention model and training strategy, which can extract discriminative spatiotemporal features, the MVBD-Net proposed in this paper has obtained the best classification accuracy among current similar methods on this data set. Figure7 visually shows the results of the algorithm.


## 4.1. Evaluation Methods

oks (object key point similarity) is the evaluation index of the commonly used human bone key point detection algorithm. This index is inspired by the IoU index in target detection. The purpose is to calculate the truth value and predict the similarity of the key points of the human body. The formula is as follows:(7)Op=KS=eθ^iP−θiP222s2ki2,OKS=∑iexp−dpi2/2Sp2σi2δvpi>0∑iδvpi>0,where p represents the person with id p among all ground truth pedestrians in the current picture, p∈0,M, and M represents the number of pedestrians in the current picture. Since the training and test data contains only one person, M here is set to 1. i represents the key point with id i. dpi represents the Euclidean distance between the key point with id i in the set of key points currently detected and the key point with id p in the ground truth pedestrian.(8)dpi=xi∼−xpiyi∼−ypi,where xi∼,yi∼ is the current key point detection result and xi,yi is the ground truth.Sp represents the scale factor of the person with id p in the ground truth pedestrian, and its value is the square root of the area of the pedestrian detection frame:(9)Sp=wh,where w and h are the width and height of the detection frame.σi represents the key point normalization factor of type i. This factor is the standard deviation between the ground truth key points in all the sample sets and the true value manually marked. vpi represents the visibility of the i key points of the pedestrian with id p in the ground truth.δ∗ means if the condition ∗ holds, then δ∗=1; otherwise, δ∗=0.AP (average precision) is used to calculate the accuracy percentage of the test set. In single-person pose estimation, only one pedestrian is estimated at a time, that is,M=1 in the oks indicator, so the ground truth in a picture is a pedestrian (GT), and a set of key points will be obtained after the key point detection of this pedestrian (DT), and finally calculate the similarity oks between GT and DT as a scalar, and then artificially give a threshold T, and then AP can be calculated from the oks of all pictures:(10)AP=∑pδoksp>T∑p1.PCP is the Percentage of Correct Parts. If the key distance between the positions of the two joint points and the real limb reaches at most half the length of the real limb, the joint point is considered to be correctly predicted.


## 4.2. Experimental Results of Different Methods

In order to verify the competitiveness of MVBD-NET in the task of human skeleton action recognition, the model trained on the graph convolutional network based on the spatiotemporal attention mechanism is compared with the current state of the art (SOA). The methods were compared experimentally. Compare the proposed MVBD-Net model with Dantone [24], Tian [25], Johnson [26], Wang [27], and Pishchulin [28]. The results of the different datasets are shown in the following Table 1 and Figure 5.Table 1
PCP comparison on Leeds Sports Pose dataset using oks evaluation method.
MethodsArmLegTorsoHeadUpperLowerUpperLowerDantone0.530.350.740.710.820.78Tian0.450.380.520.690.810.65Johnson0.520.310.640.520.710.74Wang0.540.450.740.650.760.80Pishchulin0.430.550.680.710.890.81Ours0.860.700.890.860.920.88Figure 5
PCP comparison on LSP.The experiment is mainly to verify the effectiveness of the time attention mechanism on the action recognition data set. This set of experiments designed two different convolution models based on time attention mechanism. The models are all based on the ST-GCN benchmark model with time attention mechanism. The temporal attention mechanism convolution model uses different video time-domain segmentation and selection methods to verify the influence of different time-domain segmentation methods and different segmentation parameters on the accuracy of behavior recognition. The training process of the benchmark model in this set of experiments is the same as the previous set of experiments. The experimental results are shown in Table1. Among them, the average fusion mode (AFM) is to directly average the prediction results of each time-domain segment as the prediction result of the entire video; and the discrimination weighted (Discriminative Confidence Weighted, DCW) represents a time-domain fusion method based on weighted prediction credibility; that is, the most reliable video segment is selected according to the prediction credibility of each input segment, and the prediction results of these segments are weighted as the prediction result of the entire action.


## 4.3. Experimental Results of Ablation Studies on Spatiotemporal Attention Graph Convolutional Network

In this section, five sets of experiments are designed to verify in detail the effectiveness of the graph convolutional neural network based on the spatiotemporal attention mechanism in the task of skeletal action recognition. The first set of experiments shows the visualization results of the attention heat map of the corresponding frame learned by the attention model network [29, 30]. The second and third sets of experiments are slice experiments, which are used to independently verify the effectiveness of the spatial attention mechanism and the temporal attention mechanism. The fourth set of experiments is to integrate spatial attention mechanism and temporal attention mechanism into a graph convolutional neural network to achieve end-to-end training and apply it to action recognition tasks. This experiment is to verify the effect of introducing spatiotemporal attention mechanism into the graph convolutional neural network on the task of action recognition.The experimental results are shown in Table2. MVBD is a spatiotemporal attention network model established on the basis of a recurrent neural network with long- and short-term memory. It can selectively focus on the joint differences of input frames and give different degrees of attention to the output of different frames, so it can extract distinguishable. The spatiotemporal features help action recognition. ST-GCN [21] breaks through the limitations of previous bone modeling methods and applies graph convolution to human skeleton action recognition, and the proposed model has strong generalization ability. AS-GCN [22] combines A-links and S-links into a generalized pose graph, further establishes a behavior structure graph convolutional network model, learns spatial and temporal characteristics, and can capture different action patterns more accurately and in detail.Table 2
Average precision of joint detection on LSP.
LSPAnkleKneeHipWristElbowShoulderNeckHeadmAPPTF0.250.340.230.230.430.320.210.340.31PHSV0.370.310.360.410.430.330.320.760.36MVBD-net0.470.490.390.380510.520.610.880.69


## 4.4. Experimental Results of Ablation Studies on Different Parameters

Considering that there are a large number of parameters that can be optimized in the network structure designed in this paper, the use of different parameter settings will have different effects on the accuracy and operating efficiency of the model, so this paper conducts ablation experiment analysis on different parameter configurations. Since the three-dimensional pose estimation in this paper is implemented using a fully connected network, and the number of neurons in the fully connected layer is different, the number of model parameters and the prediction effect are also different. So in Figure6, a different number of neurons (that is, Linear_size, representing fully connected layers) are analyzed. By comparing the loss function (loss) curve of the number of neurons, it is found that the loss value shows a gradually decreasing trend as the number of neurons increases from 256 to 4,096, which indicates the accuracy of the number of neurons. There was a positive correlation between model training and the number of neurons. The positive correlation indicates that the convergence of the model training will be higher with the increase of the number of neurons. As shown in Figure 7, this paper randomly selects 50 batch test data sets from the test set of the data set Human3.6 M to verify the prediction effect of the model. The batch-size is 64, and a total of 3 200 test data sets are used in this experiment. The abscissa in the figure represents the number of neurons in each layer, the parameters are set to 512, 1024, 2 048, and 4 096, and the ordinate represents the average value (mm) of node errors in the calculation of the batch of test data. By comparing the number of neurons with different numbers, the prediction result found that the error value of the number of neurons of 4 096 is significantly lower than that of the number of neurons of 2 048. Therefore, this article sets the number of neurons in the fully connected layer to 4096. The convergence curves of different parameters are shown in Figure 6.Figure 6
Convergence curves of different parameters.Figure 7
The visualization results of athlete training action recognition on the LSP dataset.


## 4.5. Experimental Results of Ablation Studies on Different Submodule

Since the MVBD-NET algorithm uses the Yolo algorithm to extract the LSP human body pose and uses big data technology to do auxiliary analysis; in this section, we will analyze the impact of these strategies on the experiment. The results are shown in Table3.Table 3
Average precision of different submodule on LSP.
LSPAnkleKneeHipWristElbowShoulderNeckHeadmAPYolo-submodule0.260.390.220.270.410.330.280.360.33BigData-Submodule0.410.480.390.320.490.460.470.720.56MVBD-net0.470.490.390.380510.520.610.880.69


## 4.6. Visualization of Results

This section shows the visualization results of the MVBD-NET algorithm on the LSP data set. Due to the introduction of an effective spatiotemporal attention model and training strategy, which can extract discriminative spatiotemporal features, the MVBD-Net proposed in this paper has obtained the best classification accuracy among current similar methods on this data set. Figure7 visually shows the results of the algorithm.


## 5. Conclusion

Nowadays, the athlete action recognition has become a significant research area for showing and recognition of athlete actions. Movement recognition of athletes can be accomplished through a variety of modes, such as motion sensors, big data analysis, and machine vision. This paper proposes a graph convolutional neural athlete motion recognition algorithm based on big data analysis and machine vision, which is used for athlete’s motion gesture recognition and intervention. Among them, this article first uses the Yolo model to extract the athlete’s action posture features and uses the spatiotemporal attention map convolutional neural network to estimate the posture. Secondly, we analyzed the historical training and competition data through big data analysis technology, obtained the posture weight, and performed feature fusion with the output of the graph convolutional neural network. Experimental results show that our MVBD-Net algorithm is effective. It can formulate reasonable training plans for coaches and athletes of sports teams, provide scientific basis, and improve training efficiency and training effects. The results achieved from the proposed study show the effectiveness of the study.



---

*Source: 9956710-2021-05-17.xml*