Human Sports Action and Ideological and Political Evaluation by Lightweight Deep Learning Model

. The purpose is to automatically and quickly analyze whether the rope skipping actions conform to the standards and give correct guidance and training plans. Firstly, aiming at the problem of motion analysis, a deep learning (DL) framework is proposed to obtain the coordinates of key points in rope skipping. The framework is based on the OpenPose method and uses the lightweight MobileNetV2 instead of the Visual Geometry Group (VGG) 19. Secondly, a multi-label classification model is proposed: attention long short-term memory-long short-term memory (ALSTM-LSTM), according to the algorithm adaptive method in the multi-label learning method. Finally, the validity of the model is verified. Through the analysis and comparison of simulation results, the results show that the average accuracy of the improved OpenPose method is 77.8%, an increase of 3.3%. The proposed ALSTM-LSTM model achieves 96.1% accuracy and 96.5% precision. After the feature extraction model VGG19 in the initial stage of OpenPose is replaced by the lightweight MobileNetV2, the pose estimation accuracy is improved, and the number of model parameters is reduced. Additionally, compared with other models, the performance of the ALSTM-LSTM model is improved in all aspects. This work effectively solves the problems of real-time and accurate analysis in human pose estimation (HPE). The simulation results show that the proposed DL model can effectively improve students’ high school entrance examination performance.


Introduction
e extracurricular physical exercise of primary and secondary school students after school and holidays is gradually reduced.e rise of online teaching and online tutoring has squeezed the time for students to exercise after school.Arti cial intelligence (AI), big data, cloud computing, and other technologies not only break through the limitations of traditional physical education (PE) classrooms due to factors such as space, time, and region but also provide a guarantee for the teaching feedback link in extracurricular PE teaching in schools.By changing the traditional interaction between teachers and students, teachers have redesigned PE teaching and adopted new learning evaluation methods so that PE teaching presents a new learning space and learning environment [1].In recent years, vision-based human motion analysis technology has received extensive attention with the continuous development and application of computer technology and AI technology.At present, vision-based human motion analysis is still a major challenge in the eld of computer vision, mainly involving pattern recognition, image processing, virtual reality (VR), and other disciplines.It has broad application prospects in the elds of humancomputer interaction (HCI), rehabilitation therapy, and sports training [2,3].
Computer vision has been widely used in sports training and other related elds, including motion type recognition and activity recognition, athlete tracking, and human pose estimation (HPE).e core problem of motion analysis is HPE. is is an important topic in the eld of computer vision.
e task of HPE is to identify the human body through computer image processing algorithms and determine the joint positions of the human body (such as eyes, nose, shoulders, wrists, and so on) [4][5][6].e application of HPE involves human behavior understanding, HCI, health monitoring, motion capture, and other fields.Nadeem et al. [7] proposed a new method for automatic HPE. e method intelligently recognizes human behavior by utilizing salient contour detection, robust body part models and multi-dimensional cues from full-body contours, and the maximum entropy Markov model (MEMM).Firstly, the image is preprocessed and noise is removed to obtain robust contours.
en, the body part model is used to extract 12 key body parts.ese key body parts are further optimized to help generate multi-dimensional cues.Finally, MEMM is used to process these optimization modes further, using a cross-validation scheme that omits one term.Better body part detection and higher identification accuracy are achieved on four benchmark datasets, with results superior to existing well-known statistical latest methods.Cui and Dahnoun [8] proposed an HPE system based on millimeter-wave radar.e system detects persons with arbitrary poses at close range (within two meters) in indoor environments and estimates poses by locating key joints.Two-millimeter wave radars were used to capture the scene, and a neural network model was used to estimate the pose.
e neural network model consists of a part detector that estimates the position of the subject's joints and a spatial model that learns the correlations between the joints.A time-dependent step is introduced in real-time operation to refine the estimation further.e system is able to provide accurate HPE in real-time at 20 frames per second, with an average localization error of 12.2 cm and an average accuracy of 71.3%.Wu et al. [9] proposed a model in which multiple subnets are connected in parallel on the high-resolution main net.It maintains the network structure of high-resolution heat maps throughout the operation.e structure is applied to the human body key point vector field network, which improves the accuracy and operation speed of human body gesture recognition.Experimental results show that the proposed network outperforms existing mainstream research by 3%-4%.To sum up, the deep learning (DL) model is widely used in the field of computer science.Applying it to fields such as safety monitoring, health assessment, and HCI search can help recognize human actions according to human joints using sensors.For example, convolutional neural network (CNN) can be used for feature extraction, and multi-layer perceptron can be used as the standard for subsequent classification.ese findings show that CNN-based supervised learning is very effective.
e key to improving the performance of the rope skipping test is to automatically and quickly analyze whether the rope skipping action meets the standards and give correct guidance and training plans.e existing HPE algorithms based on computer vision have high complexity, poor robustness, and complex computation.Additionally, due to the lack of professional human action analysts, the research on human action analysis and sports quality evaluation needs to be further explored.e innovation of this work is that the coordinates of the key points in the rope skipping process are obtained through the two-dimensional (2D) HPE algorithm.e coordinates are preprocessed to obtain a robust data sequence.A multi-label classification model is proposed: attention long short-term memory-long short-term memory (ALSTM-LSTM).e proposed model can effectively solve the problems of real-time analysis and accurate analysis.e results show that the ALSTM-LSTM model can improve students' high school entrance examination scores.

Smart Sports.
e basic task of smart sports is to obtain the pose changes of the human body through the equipment and analyze and guide the attitude [10,11].In recent years, measurement technologies such as accelerometers, gyroscopes, and magnetometers have emerged.However, these technologies rely heavily on specialized equipment, which is very expensive.Professional competitive sports training mostly adopts traditional methods, and the training requirements are very high.It needs to invest extensive human and financial resources to make professional sports training smart [12].Emerging technologies such as AI and big data have been widely used in sports evaluation and guidance.
e sports data acquisition and analysis system utilizes wearable devices to capture and record students' actions during physical exercise and further evaluates their actions against specific standards.Based on virtual reality (VR) technology, a more in-depth experimental study on the PE teaching platform simulates human action scenes.With the in-depth development of deep neural networks and hardware technology, AI technology based on DL has shown relatively good results in HPE [13,14].e HPE method based on DL can predict the data information of human skeleton points from each video frame and finally regenerate the human skeleton.

2D Human Pose Estimation Based on OpenPose.
e OpenPose Estimation Project is an open-source library based on convolutional neural network (CNN) and supervised learning.It is regarded as a skeleton point and skeleton detector, which can predict human facial key points, limb skeleton points, hand joint points, and other parts.It shows good robustness in the pose estimation of one or more people.e input of OpenPose can realize pictures, videos, or real-time cameras as input and output the position and coordinate information of the joint points of the human body through OpenPose estimation [15].e basic principle of OpenPose is to build a CNN in stages and then output the prediction confidence heat map of the skeleton points after predicting the human skeleton points in the image.Additionally, it also predicts the affinity field between bones.e affinity field is the basis for connecting the skeleton and participates in the next stage of skeleton point prediction, improving the speed and accuracy of the model [16,17].e OpenPose processing flow is shown in Figure 1.It learns using nonparametric representations through partial affinity fields, associating body parts with individuals in images, giving a bottom-up representation of the distribution of limb associations.

Computational Intelligence and Neuroscience
In Figure 1, in order to obtain the key point coordinate information of the human body in the human body pose estimation based on OpenPose, it is necessary to use the Gaussian modeling method to obtain the confidence map of the key point position.A confidence map represents key points.
e values in the confidence map represent the probability of a certain key point location [18,19].Confidence maps of key point locations are shown in equations ( 1) and (2): where S j,k represents the confidence map of the individual produced by each individual k; k represents the k-th individual in the image; j represents the j-th joint point of the individual; p represents the coordinates of the predicted individual in the image; δ represents a minimum value, which can ensure certain feasibility in the training process of the model; and x j,k represents the real coordinate position of the j-th joint point of the k-th individual.

Multi-Label Classification Method.
In practical applications, a person's body movements need to be analyzed in many aspects, and there are often multiple labels in one frame of the image.In the multi-label classification problem, there is a certain dependency or mutual exclusion between labels.In multi-label classification tasks, the relationship between categories is very complex due to the large number of labels.erefore, multi-label classification is more complex than single-label classification [20,21].According to the source of algorithm design ideas, there are two types of methods for multi-label classification problems: problem transformation methods and algorithm adaptation methods, as shown in Figure 2. Problem conversion-based methods usually transform multi-label classification problems into other learning scenarios.As shown in Figure 2, the multilabel learning method can be divided into two categories: problem conversion method and algorithm adaptation method.ey are represented by the left block diagram and the right frame diagram, respectively.e problem conversion-based method adapts the current popular algorithm in the classification process to process multi-label data, such as the adaptive DL algorithm and recurrent neural network (RNN), to apply them to many label classification tasks [22].

Action Analysis Algorithm in Rope Skipping
e lightweight network model is to make the model run in a shorter time and consume fewer resources while maintaining accuracy.When acquiring the human pose, the OpenPose network model first sends the image frame to the Visual Geometry Group (VGG) 19 to obtain a collection of image feature maps.However, VGG19 is computationally expensive.Also, it produces a lot of parameters during training.erefore, the occupied memory is also large [23].However, the model trained by the MobileNetV2 network is small, fast in speed, and has high accuracy.erefore, when extracting image feature maps, the original OpenPose method is changed to MobileNetV2.e MobileNetV2 network is improved based on MobileNet.An inverted residual structure is added to MobileNetV2.
e inverted residual structure first maps low-dimensional features to high-dimensional features, then uses depth-wise separable convolution to perform convolution operations, and then uses a linear convolution to map them to low-dimensional features.In order to make the model have better expressiveness in the calculation process, the nonlinear transformation in MobileNet is removed in the MobileNetV2 network.Meanwhile, a linear bottleneck is also introduced in MobileNetV2 [24].In MobileNetV2, it is believed that the nonlinear activation function of each layer in the neural network will bring two problems to the network: the first is that after the ReLU activation function, the input data and output data are linearly transformed, and the obtained output result is nonzero.e other is that if the integrity of the interest manifold in the activation space is high, the problem of space collapse will occur after the ReLU activation function.en, the architecture of MobileNetV2 is analyzed by referring to relevant literature [25].e structure of MobileNetV2 is unfolded in Table  ere are many nodes in the hidden layer that emphasize feature learning of the data.DL is to transform the feature representation of samples in the original space into a new feature space, simplify the classification and prediction of data, learn in fewer samples, and express complex functions with fewer parameters.
is reduces the difficulty of setting and adjusting model parameters, contains more hidden layers than traditional shallow neural networks, and can learn more rich sample features.Additionally, its simulation performance is also better [26].e long short-term memory network (LSTM) is essentially derived from the RNN.LSTM is a state unit added to the RNN.Its function is to save the previously input information, and a gating mechanism with three gates is also designed, and the activation function and excitation function are set in the structure of each gate.In general, the tanh function is chosen as the activation function for the input and output of the memory cell.e sigmoid function is used as the activation function of the gate structure [27].
e human pose analysis problem during jumping is transformed into a multi-label classification problem with a temporal relationship.LSTM can play a role in global processing and storage units so that LSTM can maintain relatively good performance in time series.Attention is a global processing method.erefore, attention is applied to LSTM and combined with a single LSTM for multi-label classification, which is the ALSTM-LSTM method.e specific network framework is shown in Figure 3.
In Figure 3, the ALSTM-LSTM network includes five layers: input, batch normalization, ALSTM-LSTM, connection, and sigmoid layer.Additionally, a batch normalization layer is added before the LSTM and ALSTM layers.
e study is a multi-label classification problem.According to the multi-label algorithm transformation method, the activation function of the last layer of the ALSTM-LSTM model is set to the sigmoid function, and the loss function selects the binary cross-entropy.
In the two branches of OpenPose, one branch is used to predict the confidence of key points, and the other branch is used to predict the affinity field between two key points.e overall loss is the sum of each stage, as shown in the following equation: where S represents the confidence of the key point; L represents the affinity field between two key points; f t S represents the loss in the confidence stage of predicting key points; and f t L represents the loss in this stage of predicting the affinity field between two key points.

Dataset.
e dataset used in the experiment is the Max Planck Institute for Informatics (MPII) dataset.e MPII human pose dataset is a benchmark for estimation.e dataset includes 25,000 annotated images of more than 40,000 people and contains 410 regularly performed human activities with corresponding labels.ese images are pulled from YouTube. e test set includes annotations for body part occlusion, 3D torso, and head orientation.e MPII dataset is used to train the network model and detect key point coordinates of the head, shoulders, wrists, hips, knees, and ankles.
In addition, many countries and regions include oneminute hopping in the middle school entrance examination.
e rope skipping dataset used is from an experimental high  4.
In Figure 4, professionals get data labels by analyzing videos and labeling them by time segments.e labels of the data are set to six labels, namely, the body is kept upright, the left wrist is rocked, the left arm is tightened with the body, the right wrist is shaken, the right arm is tightened with the body, and the left and right arms are kept horizontal, as shown in Figure 5.
e selection of these labels is based on the skipping skills of the mid-admission exam.
In Figure 5, because the captured images are the same, the dataset needs to be preprocessed.Preprocessing of video frames includes setting video frames of different sizes to the size.e video height and width are set to 530 pix and 460 pix, respectively.e basic information of each skipping object, including name, age, gender, height, and weight, is recorded and saved.
e key point detection method is used to obtain the nose, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, and left knee-the coordinate positions of the 14 joint points of the left ankle.
e obtained 14 key point coordinates define a Cartesian coordinate system with the center of gravity of the triangle formed by the three points of the left hip, right hip, and neck as the origin.e coordinate matrix obtained in each frame is accumulated to obtain the cumulative coordinate matrix of each video.

Setting of the Experimental Environment.
In the process of pose estimation and skipping action analysis, the code is written in PyCharm and Jupyter Notebook.Intel Core i7-8700K, 3.70 GHz, is used.Memory is 32G; GPU is GTX 1080Ti.In LSTM, units are set to 64 and batch size is set to 100.In order to choose an appropriate sliding window length, the sliding window length is set to 10 frames and 15 frames, the cumulative coordinates are set to 20 frames, and the step size is set to 30% data overlap.
e evaluation indicators of human key point detection are object key point similarity (OKS), average precision (AP), and mean average precision (MAP).Among them, OKS is to calculate the similarity between the real value and the predicted human key points, as shown in the following equation: where p represents the id of a person in the ground truth; pi represents the key point id of a person; vp i � 0 means that key points are not labeled; vp i � 1 means that the key points are occluded but marked; vp i � 2 means that the key points are unobstructed and marked; S p is the square root of the size of the area occupied by the person; σ i represents the normalization factor of the i-th bone point; and δ(.) is 1 when the condition holds; it is 0 otherwise.Common evaluation indicators for multi-label classification are accuracy, F1-score, precision, and recall.e calculation of each indicator is shown in equations ( 5)-( 8): Computational Intelligence and Neuroscience precision � where true positives (TP) are positive samples that are correctly identified as positive samples; true negatives (TN) are negative samples that are correctly identified as negative samples; false positives (FP) are negative samples that are incorrectly identified as positive samples; and false negatives (FN) are positive samples that are misidentified as negative samples.

Analysis of the Experimental Results of Attitude
Estimation.In order to improve the accuracy and efficiency of pose estimation, the feature extraction model VGG19 in the initial stage of OpenPose is replaced by a lightweight network model MobileNetV2.Weights and penalties are introduced into the final loss function.e experimental results on the MPII dataset are shown in Figure 6.
In Figure 6, the MAP of OpenPose is 74.5%.e MAP of the improved OpenPose method is 77.8%, and the MAP is improved by 3.3%.After replacing the feature extraction model VGG19 in the initial stage of OpenPose with the lightweight network model MobileNetV2, the pose estimation accuracy has been improved, and the total number of parameters of the model has been reduced.erefore, the improved OpenPose model structure can meet the experimental requirements.

Analysis of the Experimental Results of Multi-Label
Classification of Rope Skipping.Since the rope skipping process is a long-term sequence analysis process, it is necessary to segment the data through a sliding window.In this experiment, three groups of 10-frame cumulative coordinates, 15-frame cumulative coordinates, and 20-frame cumulative coordinates are set up for analysis to find the appropriate sliding window length.e step size is set to 30% data overlap.
e specific experimental results are shown in Figure 7.
In Figure 7, when the sliding window length is 10, the accuracy of ALSTM-LSTM is 85.36%, and the F1 value is 83.13%.When the sliding window length is 15, the accuracy of ALSTM-LSTM is 89.55%, and the F1 value is 88.75%.When the sliding window length is 20, the accuracy of ALSTM-LSTM is 87.77%, and the F1 value is 86.43%.erefore, ALSTM-LSTM performs best when the sliding window length is 15.Computational Intelligence and Neuroscience Support vector machine (SVM) is a linear classifier model defined in feature space. is algorithm can effectively help optimize quadratic programming.e performance of the proposed ALSTM-LSTM model and SVM model is compared to further verify and optimize the proposed model.e results are given in Figure 8.
In Figure 8, in the multi-label classification problem of skipping action analysis, the proposed ALSTM-LSTM model achieved an accuracy of 96.1%, precision of 96.5%, recall of 95%, and F1 value of 95.7%.DL models outperform traditional machine learning algorithms.In the rope skipping action analysis, the ALSTM-LSTM architecture provides the best performance on all metrics, and the SVM has the worst performance.
To sum up, this work studies the recognition and evaluation of 2D human poses based on OpenPose and designs.It analyzes the ALSTM-LSTM network framework by combining the multi-label classification method.e results show that the MAP of the OpenPose method before and after optimization is 74.5% and 77.8%, respectively, improved by 3.3%.After replacing the feature extraction model VGG19 in the initial stage of OpenPose with the lightweight network model MobileNetV2, the pose estimation accuracy is improved, and the model parameters are reduced.Some other scholars' research results are cited below.Ding et al. [28] researched HPE based on multifeature and rule learning and proposed a new algorithm based on multi-feature and rule learning.e research results showed that feature fusion at the granularity level could reduce the dimension and sparsity of feature sets.Zhang and Callaghan [29] conducted real-time HPE based on an adaptive hybrid classifier.
e pose-based adaptive signal segmentation algorithm was combined with a multi-layer perceptron classifier, and various voting methods were combined.A sensor calibration algorithm based on software was designed.e results showed that the adaptive hybrid classifier could improve the accuracy of real-time HPE.To sum up, the proposed improved HPE algorithm can improve the recognition accuracy of the system for human actions.

Conclusion
e HPE task is to recognize human body through computer image processing algorithm.
e application of HPE involves human behavior understanding, HCI, health monitoring, motion capture, and other fields.Following a review of smart sports, the research is based on the lightweight DL model.OpenPose is used to design and evaluate human poses.
e multi-label classification algorithm is used to design the architecture of MobileNetV2.
e research content is based on the pose analysis in the scene of shaking feet and skipping rope in the high school entrance examination.Combined with the characteristics of the research scene, the HPE model based on OpenPose network and the multilabel classification network structure are introduced.In order to improve the efficiency and accuracy of pose analysis, OpenPose is improved based on the lightweight network MobileNetV2.en, the ALSTM-LSTM model is proposed to analyze whether the body actions are standardized during rope skipping.e results show that MAP of the OpenPose method based on MobileNetV2 is improved by 3.3% compared to the standard OpenPose method.In the multi-label classification problem of skipping action analysis, the ALSTM-LSTM model achieves 96.1% accuracy, 96.5% precision, 95% recall, and 95.7% F1 value.
e ALSTM-LSTM architecture provides the best performance on all metrics for skipping action analysis.e disadvantage is that in the physics test of the middle school entrance examination, rope skipping is the research object, but the research method is not limited to this scenario.In the future work, ALSTM-LSTM architecture will collect more rope skipping videos from different scenes to provide stronger data support for subsequent action analysis.e

Figure 8 :
Figure 8: Comparison of the ALSTM-LSTM model with other models.
. Here, -indicates that the structure parameter value of this network layer does not exist.enetwork first uses full Computational Intelligence and Neuroscience convolution as 32 convolution kernels and then uses 19 inverse residual structures with linear bottlenecks.Such low precision computation has stronger robustness.Further, t represents the "spread" factor: the channel spread factor of the inverse residual network.c stands for the number of output channels.n refers to the number of repetitions.n denotes the step length.