An Empirical Study on Sports Combination Training Action Recognition Based on SMO Algorithm Optimization Model and Artificial Intelligence

In order to improve the accuracy of sports combination training action recognition, a sports combination training action recognition model based on SMO algorithm optimization model and artiﬁcial intelligence is proposed. In this paper, by expanding the standard action data, the standard database of score comparison is established, and the system architecture and the key acquisition module design based on 3D data are given. In this paper, the background subtraction method is used to process the sports video image to obtain the sports action contour and realize the sports action segmentation and feature extraction, and the artiﬁcial intelligence neural network is used to train the feature vector to establish the sports action recognition classiﬁer. This paper mainly uses a three-stream CNN artiﬁcial intelligence deep learning framework based on convolutional neural network and uses a soft Vlad representation algorithm based on data decoding to learn the action features. Through the data enhancement of the existing action database, it uses support vector machine to achieve high-precision action classiﬁcation. The test results show that the model improves the recognition rate of sports action and reduces the error recognition rate, which can meet the online recognition requirements of sports action.


Introduction
Sports action recognition is a process of recording human movement by tracking the movement of some key points in the time domain, and converting it into a mathematical way to express the movement, which is of great significance for competitive training and national fitness [1]. Traditional motion recognition technologies include mechanical, acoustic, electromagnetic, and optical. Mechanical technology uses external sensors and rigid supports, which will affect limb movement. However, acoustic and electromagnetic technologies are vulnerable to external environment interference, large time delay, and low test accuracy [2,3]. e traditional optical technology is more accurate, but it also has the disadvantages of high price and long timeconsuming data processing. In recent years, inertial measurement technology based on accelerometer, gyroscope, and magnetometer and wearable technology based on EMG have developed rapidly, but there are also some limitations; that is, equipment may affect sports performance and cannot be used in the competition environment [4].
Computer vision uses camera and computer to capture, track, and measure the target and realizes automatic action recognition through artificial intelligence algorithm, which breaks through many limitations of traditional action recognition technology [5,6]. In 2019, Australian scholar Cust and others summarized the application of machine learning in action recognition and systematically summarized the application of support vector machine (SVM), convolutional neural network (CNN), and other algorithms in computer vision. It is noteworthy that some new attitude estimation algorithms are emerging. Openpose is one of the most commonly used multiperson pose estimation algorithms [7]. It uses the bottom-up method to detect the key points of all people in the image and then assign the detected key points to each corresponding person. RMPE is a top-down attitude estimation algorithm, which extracts high-quality single person regions from inaccurate candidate frames by using SSTN [8,9]. As a popular semantic and instance segmentation architecture, mask RCNN can simultaneously predict the position of candidate frames of multiple objects in the image and segment the mask of their semantic information, so as to determine the position of each person, and then recognize the human motion posture through the position information and feature point set [10].
In order to solve the shortcomings of current sports action recognition methods and obtain better sports action recognition effect, a sports action recognition method based on feature reduction and Gaussian mixture model is proposed. Firstly, the feature vector of sports action is extracted, and then the dimension of the feature vector is reduced by using the random projection algorithm. Finally, the Gaussian mixture model is used to learn the reduced training samples, and the sports action recognition model is constructed. Based on SMO algorithm optimization model and artificial intelligence, this paper proposes a three-stream CNN deep learning framework based on convolutional neural network and uses a soft Vlad representation algorithm based on data decoding to represent the learned action features. rough the data enhancement of the existing action database, the support vector machine is used to achieve high-precision action classification. e test results show that this method speeds up the training speed of the classifier and improves the recognition accuracy of sports actions.

Action Recognition System of Sports
Combination Training 2.1. System Architecture. e system architecture is mainly divided into application layer, data processing layer, communication layer, data acquisition layer, and hardware layer, as shown in Figure 1. e hardware layer includes physical power supply, sensor, and depth camera for 3D data acquisition. e data acquisition layer is mainly to classify, integrate, and analyze the data collected in the physical layer. e communication layer uses the protocol to upload the data at the bottom layer, while the data processing layer at the top layer mainly guarantees the order and preservation of the data and carries out some preprocessing to filter out the useless data. e application layer is the core of the system, which mainly calculates and processes the data, uses the database for action recognition, and assists in action scoring. Among them, responsible for data acquisition and action recognition, these two layers are the focus of this paper; the next two layers are introduced.

Collection of Action Data.
In order to meet the needs of action recognition, people put forward many methods and collect data based on different kinds of sensor systems: marker based system, laser range finder, structured light, Microsoft Kinect sensor, multicamera system, and so on [11]. In order to better capture human bone and joint data, this paper uses Microsoft Kinect sensor for motion data acquisition. e acquisition process can be divided into three parts: depth image, human body part, and 3D joint modeling.
With the launch of Kinect, depth imaging technology has made significant progress. In this paper, the Kinect camera is used to capture 640 × 480 images at 30 frames per second, and the depth resolution is only a few centimeters. Compared with traditional intensity sensors, depth cameras work at low light levels, providing calibrated scale estimation (color and texture invariance) and resolving contour blur in position pose. e most important thing is that it can directly synthesize the real human depth image, so as to build a large training data set cheaply [12,13].
In this paper, several local body part tags are defined, which are densely covered on the body. Among them, some parts are defined as directly locating the specific bone joints of interest. e other parts are used to fill in the blank or combine to predict other joints. In this experiment, 31 body parts were used: Lu/Ru/LW/RW head, neck, L/R shoulder, Lu/Ru/ LW/RW arm, L/R elbow, L/R wrist, L/r hand, Lu/Ru/ LW/RW trunk, Lu/Ru/LW/RW leg, L/R knee, L/R ankle, and L/R foot (left and right, up and down).
A simple operation in 3D modeling is to use the known calibration depth for modeling. However, edge pixels seriously degrade the quality of estimation. erefore, this paper adopts a local pattern finding method based on weighted Gaussian kernel. e density estimates for each body part are defined as where y represents the three-dimensional coordinates, and s is the pixel. y k is the projection of the pixel, BC is the learning bandwidth, and w k is the pixel weight, which is expressed as the product of the square of the given depth and the posterior probability. e final confidence estimation is the sum of the pixel weights of each mode, which is more reliable than the modal density estimation. e detected modes are located on the surface of the object, resulting in a 3D joint model.

Feature Extraction of Action Data.
is section will introduce an aerobics action recognition method based on bone joint and depth features. Among them, the feature of bone and joint is extremely important to distinguish aerobics action, and it requires the robustness of perspective. erefore, the position feature is selected as the bone joint feature, and the specific calculation formula is as follows: where P k j represents the coordinates of the ith joint in the tth stream data, and JTK is the same.

Mathematical Problems in Engineering
For local pattern feature extraction, the depth image is mapped to 4D space. If there is data in the space, it is 1; otherwise, it is 0. Generally, the number of 1 is much less than that of 0, so the local pattern features can be considered as sparse. e specific operation is to segment the depth image at each joint into a unit cube and calculate the number of pixels falling into each cube. en, the characteristics of the joint region are calculated by using a standardized function (for example, sigmoid function) where λ is the local pattern eigenvalue, δ is a constant, and UI indicates whether the ith pixel has data in 4D space. It exists as 1; otherwise, it is 0.
Because the data collected based on Kinect will be more or less interfered into by external factors, in order to more accurately identify Aerobics movements, this paper uses three-layer Fourier space-time pyramid technology to eliminate these interferences. e first layer performs fast Fourier transform on the data frame to obtain the lowfrequency coefficients of the data frame. In the middle layer, the half frame is transformed by fast Fourier transform to get the low-frequency coefficients. In the top layer, half of the half frame is transformed by fast Fourier transform to get the low-frequency coefficients of smaller data segments, and these coefficients are connected to get the final feature vector for feature fusion.
In this paper, canonical correlation analysis is used to fuse joint features and local pattern features, so as to reduce the number of unknown variables and retain the required information. Let u � ax be the feature matrix of bone joint position, and let V � by be the feature matrix of depth local pattern corr(x, y) � cov (ax, by) erefore, we need to get a set of x, y to maximize the correlation coefficient, so as to get the optimal coefficients a, b.
e covariance matrix of the combination vector of X and Y is defined as Π. en, it is expressed as Among them Θ 11 , Θ 22 are the auto covariance matrix, and Θ 12 , Θ 21 are the covariance matrix. e feature matrix is used for feature fusion:  Finally, this paper uses support vector machine to classify and compare the fused motion features. Let the samples provided to SVM be represented as D i � (x i , y i ), where x and y represent feature vectors and action tags, respectively. en, the distance between the sample and the hyperplane is expressed as In order to minimize the number of misclassification, it is necessary to maximize the geometric interval, so it can be minimized to maximize the geometric interval. In order to solve the influence of a small amount of noise on the performance of support vector machine, a relaxation variable is introduced to minimize the ‖w i ‖ 2 ensure the accuracy. e final optimization problem is expressed as where I is the number of samples, and μ is the penalty factor, which is used to characterize the importance of outliers. e larger the value is, the greater the loss is. For relaxation variables, only outliers are set here. e larger the outlier, the farther the outlier. After feature classification and recognition by using support vector machine, the difficulty and completion degree of Aerobics corresponding actions are scored by comparing with the corresponding database. erefore, the development of classifiers more suitable for complex signal classification is an important research direction in the field of action recognition and artificial intelligence in the future.

Optimization Model of SMO Algorithm.
Suppose that there is a training set X with L samples in total. In this way, to solve a binary classification problem is to find a function that can make all points on X be divided into two parts. Today's classification problems can be divided into three categories: linear hard separable, linear soft separable, and nonlinear soft separable. As the name suggests, linear hard separability is to accurately find a classification hyperplane, which can completely separate data sets. e linear soft separability is a little more complex than the linear hard separability, which refers to the following situation: a given set of data sets to be classified originally corresponds to the linear hard separable data model, but because, in the process of talent cultivation, the data samples may be affected by some inevitable noise or other interference factors [14,15]. erefore, there is no way to find a classification hyperplane that can make the empirical risk zero, or even if it is found, the real classification hyperplane corresponding to the inherent mechanism of the data model deviates seriously. However, because the data model corresponding to the data set can be linearly separable in essence, we should be able to find some kind of machine learning mechanism in theory and get some approximation of the real classification hyperplane [16]. e most common classification problem is "Nonlinear Soft separable problem"; that is, the data cannot be classified in low dimensional space. We need to use some method to transform it into a high-dimensional space, which is transformed into a linear soft separable problem in highdimensional space. en, according to the machine learning mechanism to solve the linear soft separable problem, we can get some approximation of a real classification hyperplane. Figure 2 shows a schematic of a nonlinear soft separable dataset.
Since the emergence of support vector machine, its solving problem has been a hot topic of the majority of scholars, and many solving methods have emerged, among which SMO algorithm is one of the best solving methods. It decomposes the quadratic programming problem in the process of SVM solution into a series of small quadratic programming problems with only two variables [17][18][19][20][21][22][23].
ese problems can be solved analytically, thus avoiding the solution of quadratic programming and the accuracy of numerical value.
SMO algorithm is mainly divided into two parts: the first step is to solve the quadratic optimization problem with only two variables analytically. e second step is to select two Lagrange multipliers to be solved. If we want to improve the efficiency of the whole SVM, we need to improve in these two aspects. SMO algorithm can determine the best threshold and connection weight of BPNN, obtain higher recognition rate than other sports action recognition types, shorten the execution time, and accelerate the speed of sports action recognition.
Wss-k is used to select two Lagrange multipliers to be optimized.
e quadratic optimization problem with two variables is as follows: Using the relationship between α and β and mathematical knowledge, we can get the optimized α and β and then use the constraint conditions to constrain them to complete the whole optimization process. Every iteration in the training process will make the objective function value decrease until the objective function no longer decreases and stop the whole training process.

Construction of Classifier for Sports Action.
With the improvement of computer computing ability, deep learning framework has been widely used in the field of machine vision in recent years. Among the existing deep learning frameworks, convolutional neural networks (CNNs) are extremely suitable for feature extraction and classification of images and videos because of its convolution and pooling operation on each layer of neurons. Its application in the field of action recognition has been paid more and more attention by researchers at home and abroad (see Figure 3).
In this paper, a convolutional neural network (threestream CNN) algorithm including three channels of space, local time domain, and global time domain is proposed to deeply characterize and recognize human actions. e flow chart is shown in Figure 3. Firstly, the feature map of action  Mathematical Problems in Engineering image sequence is constructed as the input of three-stream CNN framework. e three-stream CNN framework consists of five convolution layers (conv1-5) as shown in Figure 3. e two convolution layers are normalized (norm1 and norm2) and connected to three pooling layers (pool-ing1, pooling2, and pooling5), and the last pooling layer (pooling5) is connected to two fully connected layers (full6 and full7). ree channels (spatial channel, local time-domain channel, and global time-domain channel) are used to obtain depth features after deep learning. Among them, the spatial channel CNN performs deep learning on the motion image, the local time-domain channel CNN performs deep learning on the optical flow features, and the global timedomain channel CNN performs deep learning on the motion differential image product (MSDI) proposed in this paper.
Most of the methods based on CNN directly segment the action video into independent images, then construct the spatial CNN framework of the image, and complete the classification of the whole video by fusing the classification results of the action image. However, action is a three-dimensional space-time quantity, and ignoring the time-domain of action is simple and convenient, but it cannot achieve good results in theory and practical application. Another action recognition strategy based on CNN is to use 3D convolution operator to convolute and pool the action video, but the accuracy still can not achieve the expected results. In order to overcome the shortcomings of traditional two-stream CNN in the representation of temporal and spatial relationship of actions, this paper proposes a global feature extraction method of action depth: three-stream CNN. At the same time, in order to reduce the over fitting error caused by small data samples, this paper proposes a data enhancement algorithm based on human action database.
Based on the action decomposition hypothesis of twostream CNN, three-stream CNNs further decompose the action into three channels: spatial, local, and global. e input of space channel adopts action static image. e local time-domain channel adopts the optical flow characteristics. e difference is that the optical flow of three-stream CNNs adopts the optical flow algorithm and calculates the optical flow in RGB color space. e global time-domain channel input uses a motion stacked difference image (MSDI) based on the action history image. e frame structure of three-stream CNN is shown in Figure 4 below, in which the input layers are motion image frame, optical flow feature map, and MSDI feature map, respectively. e input layer signal is first connected to a convolution layer, and the convolution kernel size is set to 7 × 7, the step size is set to 2, and convolution is performed on 96 channels. e first convolution layer is connected with a pooling layer, the pooling core window size is set to 3 × 3, and the step size is set to 2. After that, four convolutions and two pooling processes are repeated, and the corresponding parameters are given in Figure 4. Finally, the last pooling layer is connected to two fully connected layers with 4096 and 2048 neurons (see Figure 3).
Given a video sequence V, the image frame is fully sampled and adjusted to 224 × 224 as the input of space channel CNN. After that, the adjusted image matrix signal is transmitted to the convolution layer. When convoluting an image, if the feature (brightness or optical flow) of an image is expressed as g(x, y), when the kernel operator is h(s, t), the convolution result is as follows: In three-stream CNNs, the convolution kernel operator is chosen as 7 × 7, 5 × 5 and 3 × 3. e step size of the first and second convolution layers is set to 2, and the step size of other convolution layers is set to 1. When convoluting different image feature matrices, the step size and convolution kernel size have a direct impact on the convolution results: when the step size is 1, the convolution kernel is 3 × 3 size matrix. Assuming that the image is a two-dimensional matrix shown on the upper part in Figure 5 and the kernel convolution is a two-dimensional matrix shown on the right, the convolution process and results are shown in Figure 5. e image convolution operation process is the product and accumulation process of the convolution kernel and the corresponding module of the image, and the result of the convolution operator is determined by the image quality, the step size, and the size of the convolution kernel operator, so the execution efficiency is high.
When the pooling layer is operated, the pooling operator is defined as 3 × 3, the first two pooling layers' step size is set to 2, and that of the rest is set to 1. e maximum pooling operation is selected for the three-stream CNN pooling operation; that is, the maximum value is selected within the size range of the pooling operator, as shown in Figure 5. It can be seen that the size of pooling operator directly determines the result of pooling process, and its selection plays an important role in the whole deep learning process. In addition, mean pooling is also widely used in deep learning framework.
In the local time domain channel, the optical flow characteristic diagram is used as the input, and the deep learning is carried out according to the deep learning framework. When constructing the optical flow feature map, for the adjacent frames I1 and I2 in the given image sequence, all the imaging values of the image in RGB space are reserved; that is, D is taken as 3. At the same time, x is used to represent the imaging value of a pixel in the image space, and w is used to represent its optical flow. By constraining in color, gradient, and velocity space, the following constraint equation can be constructed: When calculating the input characteristic (MSDI) of the global time-domain channel, φ(x, y, t) is used to represent the brightness value of (x, y) pixels in the time t image. First, the difference is made between the images, and its absolute value ϕ(x, y, t) is taken: en, the global feature E(x, y, k) is characterized as 6 Mathematical Problems in Engineering After the action depth features are obtained by threestream CNN framework, the traditional action recognition methods based on CNNs often output them to a classification layer, that is, directly using softmax regression to classify each feature, and finally calculate the mean value to get the action type. e classification layer is ignored, and the action depth feature is regarded as the extracted feature. A soft Vlad algorithm based on Vlad is used to characterize it, and the final action classification is realized by SVM. Based on the three-channel convolutional neural network, the expansibility of its framework is explored. In this framework, the learned action features are represented by a soft Vlad algorithm based on data decoding. rough the data enhancement of the existing action database, the support vector machine is used to achieve high-precision action classification.
Vlad is a hard coding algorithm based on the distance between feature vectors and their nearest cluster centers, while soft coding is more suitable for the representation of action features, because it considers the relationship between    Mathematical Problems in Engineering feature vectors and multiple potential decoding points. In addition, the K-means clustering algorithm in Vlad is also a hard allocation strategy. It only estimates the nearest center and ignores the relative position of the original data relative to other centers, which is easily affected by random errors. In this paper, the Vlad is improved. e output of full connection layer is regarded as the characterization feature of action depth, and a soft Vlad is proposed to characterize it. Firstly, PCA whiting technique is used to denoise the depth feature operator.
Step 1: discrete Fourier transform (DFT) is used to extract sports action features and normalize them Step 2: KPCA is used to process the original features of sports actions and select the features that have important contributions to the recognition results Step 3: simplify the training set and test samples according to the selection features Step 4: input the simplified training sample set into BP neural network for learning, and determine the threshold and connection weight of BP neural network through particle swarm optimization algorithm Step 5: according to the optimal threshold and connection weight, the BP neural network sports action recognition classifier is established Step 6: input the simplified test sample set into the established sports action recognition classifier for testing, and output the recognition results

Analysis on the Correct Rate of Sports Training Action
Recognition. UCF50 data set is selected as the experimental object, which includes 50 sports movements, mainly including playing basketball, diving, weightlifting, horizontal bar, and horse riding. e background is complex, and the visual angle is extremely different. ere are 6618 samples in total. 4000 samples are selected as the training set, and other samples as the test set. e average recognition rate is used as the measurement standard of sports action recognition results, and the random projection dimension reduction feature algorithm is used as the comparison experiment. e results of this method and the comparison method are shown in Table 1. From the experimental results in Table 1 and Figure 6, it can be seen that the method in this paper comprehensively utilizes the advantages of spatial aggregation, and the recognition accuracy of sports action is significantly better than that of the comparison method. Due to the fact that the stochastic projection algorithm reduces the dimension of sports action features according to the maximum contribution, it needs a large number of training samples (see Figure 6). Moreover, it is necessary to reduce the dimension of all the training feature samples of sports movements, which is easy to destroy the internal relationship of important features of sports movements and has high redundancy of feature information. In this paper, the motion features are randomly projected into a low dimensional subspace by using random projection algorithm, which can effectively ensure the reliability of motion recognition.
At the same time, it can be seen from the experimental results that, for all sports movements, the recognition results of the two methods are not ideal; that is, the recognition accuracy of playing basketball is relatively low. e main reason for this problem is that the background of sports action is complex. In the process of moving the target, the camera is disturbed to some extent, which affects the feature extraction of sports action and reduces the recognition accuracy of sports action.

Analysis on the Efficiency of Sports Training Action
Recognition. On the platform of MATLAB r2014b, the recognition efficiency of the two methods is tested. e running time is used to evaluate the recognition efficiency, and the calculation time of dimension reduction of different features (unit: s). e statistics of the experimental results are shown in Table 2 and Figure 7. As can be seen from Table 2, compared with the comparison method, this method significantly improves the efficiency of sports action recognition.
is is mainly because the contrast method uses random projection algorithm to reduce dimension, and the matrix feature decomposition is needed, which makes the time complexity high. With the increase of feature dimension, the dimension reduction time increases rapidly, and the random projection algorithm only needs simple matrix operation, which greatly improves the efficiency of feature dimension reduction (see Figure 7).

Performance Analysis of Sports Training Action
Recognition. Select 10 athletes, they demonstrate a variety of simple sports movements, get a total of 600 data, randomly select 400 data to build a training set, the rest of the data is to build a test set, and the basic movements are shown in Tables 3 and 4 and Figure 8. Compared with the sports action recognition model, KPCA select features, BPNN initial threshold and connection value are randomly determined (KPCA•BPNN). e initial threshold and connection value (BPNN) of BPNN are optimized by particle swarm optimization algorithm. e recognition rate of sports action and the average recognition time (s) of an action are used as performance evaluation indexes (see Figure 8).
Using training samples to build sports action recognition model, and then using test samples to test, their recognition rate is shown in Figure 9. We can get the following conclusions: (1) Compared with KPCA-BPNN, PSO-BPNN has higher recognition rate of sports action, which effectively reduces the error recognition rate of sports action. is shows that KPCA-BPNN determines the initial threshold and connection value of BPNN in a random way. e BP neural network with optimal structure cannot be constructed, so the sports action classifier does not reach the optimal, and it is difficult to obtain the ideal sports action recognition results, It is often necessary to carry out online recognition of sports video actions, so test experiments are used to analyze the recognition speed of sports actions. e average recognition time of PSO-BPNN and other models is shown in    Table 4. According to the average recognition time of sports action in Table 4, the average recognition time of PSO-BPNN is less than KPCA-BPNN and BPNN. is is because PSO-BPNN uses KPCA to select important features, reduces the input dimension of sports action classifier, and speeds up the modeling speed of sports action recognition. At the same time, the PSO algorithm is used to determine the threshold and connection weight of BP neural network, which speeds up the convergence speed of BP neural network, improves the recognition efficiency of sports action, and better meets the requirements of practical application. By using GMM model, the Vlad algorithm, which accords with the principle of hard allocation, is improved to the mechanism of soft allocation, which improves the accuracy of action representation.

Conclusion
e realization of action recognition system provides a scientific and intelligent training system for athletes and students, so that users are not limited by time and space control. It is also more strict with the movement standard. Action recognition system is a high-precision training system, which can make training plan according to the user's own training situation and help them better complete the standardization of action. With the rapid development of modern information technology, the emergence of action recognition system updates the traditional concept of sports teaching and training, brings better services for participants and teachers, and also makes contributions to the cultivation and selection     of professional priority talents in the field of national sports. Sports action recognition is a multiclassification pattern recognition problem, including two key issues: sports action characteristics and sports action classification. ere are two types of sports action features: silhouette and contour. e high dimension of silhouette makes the number of input vectors of sports action classifier too large, and the computational complexity is too long, which cannot meet the requirements of online sports action recognition. e classifier of sports action recognition mainly adopts neural network design; especially, the artificial intelligence neural network has the best classification performance and is widely used. In the process of sports action classification, the initial threshold and connection weight of artificial intelligence neural network affect the recognition rate. At present, the initial threshold and connection are mainly set according to experience, so it is difficult to obtain the optimal structure of artificial intelligence neural network. In order to obtain more ideal results of sports action recognition, this paper proposes a sports combination training action recognition method based on SMO algorithm optimization model and artificial intelligence and tests the advantages and disadvantages of sports action recognition results through specific experiments. Although this paper has achieved some research results in the above aspects, the research of motion recognition based on vision is an extremely challenging topic, which needs further research and exploration in the future.

Data Availability
All the information is within the paper.

Conflicts of Interest
No competing interests exist concerning this study.