I.INTRODUCTION
As society develops and people’s awareness of health increases, physical education curriculum (PEC) plays an important role in school education [1]. PEC not only helps students’ physical health development but also cultivates their teamwork spirit and confidence. However, traditional physical education teaching models often rely on teachers’ subjective judgments and students’ self-awareness, which have a certain degree of subjectivity and inaccuracy [2]. To better guide students’ physical training and improve teaching effectiveness, it is of great significance to find an excellent motion capture algorithm (MCA) [3,4]. Convolutional neural network (CNN) is a deep learning algorithm commonly used in artificial neural networks to process data with grid structures [5]. CNN is successfully used in image recognition, object detection, and speech recognition [6,7]. Compared with traditional machine learning methods, CNN can automatically learn more abstract and advanced feature representation from the original data, thus improving the accuracy and robustness of classification and recognition [8–10]. To better recognize the physical interaction of students in PEC, this study combines CNN and long short-term memory (LSTM) and applies them to an action recognition model. It is expected that this model can accurately identify and analyze students’ physical activities, thereby monitoring students’ movement status, posture, and action effects in real time and improving PEC effectiveness. The purpose of this study is to develop an MCA for physical activity of students in physical education courses. Compared with traditional MCAs, this algorithm has higher accuracy and precision and can identify the physical activity of students more accurately. In addition, this research has innovation and contributions in the aspects of algorithm innovation, educational application, student personalized guidance, and data analysis research, etc., which is expected to bring important progress and improvement to the field of physical education and sports training. This paper is divided into the following sections. Section II discusses the related works. Section III.A analyzes the MCA and the PEC evaluation model. Section III.B describes the process of constructing the MCA model of PE students with CNN-LSTM algorithm. Section IV compares and analyzes the performance of CNN-LSTM MCA and PE students’ motion capture model. Section V summarizes the full text.
II.RELATED WORKS
Physical education is not only an important part of quality education but also an important basis for comprehensive education. With the development of AI technology, MCAs have been extensively studied in various fields. To better identify human movement, Kanko et al. applied a new spatio-temporal parameter and compared the measured results by Bland–Altman method, mean difference, Pearson correlation coefficient, and intra-group correlation coefficient. Through experimental detection, the unmarked motion capture can fully measure the spatiotemporal gait parameters of healthy young people during exercise [11]. In order to improve the accuracy of human motion recognition in small- and medium-sized video ranges and the computational efficiency of large-scale datasets, Gao et al. established multidimensional data models of motion recognition and motion capture based on video images with deep learning framework. After large-scale simulation data experiments, the results showed that the accuracy rate of human behavior classification was 89.79% [12]. To avoid ghost and parallax effects in image recognition, Laaroussi et al. replaced noise function with fractional Brownian motion of predetermined similarity function to detect dynamic object actions in public areas. After experimental analysis, this method could quickly and effectively find the best seam and avoid the occurrence of pseudo-ghost [13]. In order to evaluate the accuracy and processing time of CT-3DUS registration algorithm, Chan’s team adopted the motion capture 3D ultrasound (3DUS) system to 3D print and scan human vertebrae to guide posterior spinal surgery. After 191 tests of image registration, the system achieved the accuracy threshold required for surgery [14]. To effectively prevent chronic pain and disability, Onks et al. used micro-Doppler signals generated by micro-Doppler radar to identify movement differences in military environments. Experimental results showed that compared with human eyes, micro-Doppler signals could effectively identify more subtle movement patterns [15].
In physical exercise, personal exercise can not only effectively strengthen the physique but also provide a material basis for a healthy personality. The evaluation of students’ physical behavior and movement can effectively evaluate the quality results of physical education courses. To effectively classify physical activities, Manuel et al. divided the acceleration signals into overlapping windows and detected the execution activities of each window based on CNN. After experimental detection, the significant performance of human activity recognition increased from 89.83% to 96.62% [16]. Wanting et al. used multiple logistic regression to analyze the correlation between physical activity and physical achievement in PE class in order to examine the relationship between physical activity and physical achievement of students. From the sample testing, the physical activity status of students significantly affected physical achievement [17]. To improve the accuracy of students’ classroom behavior recognition algorithm, Chonggao et al. adopted cluster analysis algorithm and random forest algorithm to improve the traditional algorithm and build a network topology model. After data detection, they found that the proposed network topology model was superior to the network structure of a single feature extraction algorithm [18]. In order to identify normal activity and brute force attack activity, Randhawa’s team used decision tree, k-NN classifier, support vector machine, and wearable inertial fabric sensor to conduct various experiments on machine learning (supervised) classification technology. The experimental results showed that the vector algorithm provided 97.6% accuracy and 0.85 seconds of computation time for activity classification [19]. To give feedback on the performance of body movements in physical activities, Ferreira et al. proposed a validation system based on 2D human pose estimation networks and deep semantic features. Through fitting exercises, the model was correct more than 92% in 4 out of 5 exercises [20].
To sum up, the motion capture technology has become an important research topic in the field of computer vision and has been widely applied in behavior recognition and video surveillance by experts and scholars. The recognition of students’ movements in physical education is related to students’ participation in class and sensitivity of body function and affects teachers’ recognition and training of students’ physical quality. At present, there are few studies on motion capture technology for motion recognition of students in physical education. Therefore, this paper attempts to construct a motion capture system based on CNN-LSTM algorithm and carries out related experimental research.
III.MCA FOR STUDENT PHYSICAL ACTIVITY RECOGNITION IN PEC
In the PEC, the accurate identification of students’ physical activity is important for teachers and students’ physical education and training. However, the traditional MCA has some limitations in sports scenes, which cannot meet the needs of accurate recognition and real-time monitoring of students’ movements. Therefore, this study aims to develop an MCA for physical activity recognition of students in physical education courses. The algorithm will realize the high-precision recognition and real-time monitoring of students’ movements by using CNN algorithm and LSTM algorithm. Through personalized instruction and feedback, the algorithm will help students improve movement skills and improve sports performance, providing strong support for the development of physical education and sports training.
A.MCA CONSTRUCTION BASED ON CNN-LSTM ALGORITHM FUSION
CNN is a deep learning model, which is successfully used in different fields and has become one of the most important models in deep learning [21,22]. The advantage of CNN lies in its ability to automatically learn features in images, as well as its translation invariance and local connectivity, making it excellent in processing images and other two-dimensional data [23,24]. Figure 1 shows the structure and parameters of CNN.
In Fig. 1, the input image is added to the CNN input layer. After each convolution layer, the features are extracted to obtain the feature images C1, C2, C3, C4, and C5. After multiple convolution and pooling, these images are classified or returned through the fully connected layer. The fully connected layer means that every input neuron is connected to an output neuron. In this layer, each feature of the input data is computed with all the output neurons. It is usually used to connect the feature extraction results of the previous layer with the output layer to make the final prediction. CNN can gradually extract higher-level features by stacking multiple convolutional and pooling layers, and equation (1) is the calculation of its convolutional layers.
In equation (1), and are the output and activation function of th layer, respectively. is the output of layer . and are the th convolution kernels and offset terms. is the selected input feature set. Equation (2) is the calculation of pooling layer.
Finally, these features are mapped to different categories or regression targets through a fully connected layer. In addition, the research improves it based on activation function, regularization method, random gradient descent method, and batch normalization method to increase MCA reliability. Among them, RELU is chosen as the activation function, which can reduce the linear results of CNN output. Compared with other activation functions, this function can also reduce the frequency of saturation and increase convergence rate. The regularization method used in the study is dropout, which can effectively reduce over-fitting problems and increase the robustness of CNN [25,26] in equation (3).
In equation (3), stands for the target distribution. refers to the predicted distribution. The random gradient descent can optimize neural network training. It takes the gradient as the expectation, and samples the total data with small samples, thus reducing the total amount of extracted data and the gradient update time [27,28]. The batch normalization method is applied to convolution layer to reduce features correlation obtained from training and then accelerate its convergence rate. The motion capture object proposed in this study is the video data of students’ physical activities. To conduct time series related recognition research on videos, this study combines CNN and LSTM to construct an MCA based on CNN-LSTM. LSTM is a special recurrent neural network, which can be used to deal with gradient disappearance and gradient explosion encountered by traditional RNN when processing long sequences [29]. LSTM can realize long-term memory and control information flow by introducing memory unit and gating mechanism [30]. Equation (4) is the calculation of forgetting gates.
represents the previous hidden layer’s output in equation (4). is a sigmoid function. represents the current input. and represent the weight matrix and bias. Figure 2 shows the proposed CNN-LSTM MCA structure.
In Fig. 2, the CNN-LSTM MCA proposed in this study includes a CNN-based spatial flow network module and an LSTM-based temporal flow module. This study trained the spatial flow module and temporal flow module separately. In the spatial flow module, research will extract RBG data from action data as input to the spatial flow network for spatial training. After inputting RBG data into the spatial flow module, the data are feature extracted using CNN and iteratively calculated based on the sum of time series features using LSTM. The operation process of time flow module is similar to the space flow module. However, its input is the optical flow field form data extracted from the action data. Finally, this study weighted and fused the spatial flow network module and the time flow network module through category scores to achieve the recognition and capture of student actions.
B.INTEGRATING IMPROVED MCA INTO A PEC STUDENT BODY ACTION RECOGNITION MODEL
The study of student body movement recognition in PEC refers to using computer vision and machine learning techniques to automatically recognize and analyze the body movements performed by students on PEC [31,32]. The development of this research has made certain progress and has broad application prospects in education. In this study, CNN-LSTM MCA is constructed and applied to PEC, and a PEC student action recognition model based on fusion algorithm is constructed. It is expected to improve the effectiveness and accuracy of students’ body movement recognition. Figure 3 shows the overall framework of this model.
In Fig. 3, this study inputs student action recognition data into a student action recognition model, which extracts data features in both optical flow and RBG frame formats, and divides the data into training and testing sets. Subsequently, the training set data are preprocessed. The optical flow dataset RBG data from the training set are input into spatial and time flow network modules for training. Further spatial flow network optimization during the model construction process is studied, and residual networks, concat layers, and local corresponding normalization layers are introduced into the spatial flow network. Among them, the introduction of residual network is used to solve the problem of vanishing gradient problem of spatial flow network, and the introduction of concat layer is to reduce over fitting. Finally, the local corresponding normalization layer can distinguish them based on the strength of neuron feedback response, thus enhancing the generalization of spatial flow network. Equation (5) is a normalized calculation.
In equation (5), represents the normalized data. is the th data in dataset. and are the minimum and maximum values in dataset, respectively. Finally, these two modules are weighted and fused to construct an action recognition model. Finally, the test set data are input into the recognition model and the action recognition results are obtained. Figure 4 shows a weighted fused student action recognition model.
In Fig. 4, the optical flow data include horizontal and vertical optical flows in a plane coordinate system. In the study, the optical flow data extraction method is used to reduce the scale of horizontal and vertical optical flow data to [128, +128]. Subsequently, this study combines vertical and horizontal optical flow data into three channels of optical flow and combines them with RGB frame data extracted from action video data. The extracted long video images are preprocessed and randomly edited into multiple frame sequences. Then, these two edited data streams are inputted into their respective CNNs through three channels, and the obtained vector features are input into LSTM at both levels. Then, feature fusion is performed on the output data of CNN and LSTM through full connectivity, and a softmax classifier is used to perform probability averaging on the predicted labels in each frame to obtain video segment classification results for RGB frames and optical flow data. Finally, this study weights and merges two classification results obtained by training two data streams separately in a certain proportion to achieve human motion recognition.
IV.PERFORMANCE COMPARISON AND EMPIRICAL ANALYSIS OF CNN-LSTM ALGORITHM
To analyze the practical application effect of the CNN-LSTM algorithm proposed in the study and the student action recognition model based on the CNN-LSTM algorithm, the superiority of the CNN-LSTM algorithm is demonstrated through comparative analysis in this chapter, and the diagnostic accuracy of the fault diagnosis model is verified.
A.PERFORMANCE COMPARISON AND ANALYSIS OF CNN-LSTM MCA
To better recognize students’ physical movements in PEC, CNN, and LSTM algorithms are fused to obtain CNN-LSTM MCA. To analyze the actual performance of CNN-LSTM MCA, the research compares it with LSTM algorithm, RCNN and CNN, and takes loss curve, accuracy rate, receiver operating characteristic (ROC), and accuracy rate as comparison indicators. The dataset used in this comparison experiment is KTH dataset, which is a classic motion recognition dataset and is often used in the research of MCAs. It contains 2,391 sets of data covering six different actions, each performed by 25 people in four different scenarios. Thus, the KTH dataset has a total of 600 video sequences, and each can be further segmented into 4 subsequences. The motion of this dataset is standardized and the fixed lens is used, which is relatively rich for the motion recognition task. The performance of these four algorithms is compared by comparing each index on the KTH dataset. The experimental environment for this comparative experiment is as follows. The graphics card model used in this study is NVIDIA Ge Force GTX 1070, with a graphics memory capacity of 8GB. The computer CPU model is Intel i3-7100, with a main frequency of 3.9GHz and a memory of 8GB. Windows 7 is used as the computer system, and simulation is conducted using Matlab2017 software. Figure 5 shows the loss curve results and accuracy results of four algorithms.
In Fig. 5(a), as iteration increases, the maximum loss values of all four algorithms show a decreasing trend, and the minimum loss value of CNN-LSTM algorithm is 0.045. It is lower than LSTM algorithm’s 0.088, RCNN’s 0.124, and CNN’s 0.193. In Fig. 5(b), as iteration increases, the accuracy of all four algorithms shows an upward trend, and CNN-LSTM algorithm has the highest accuracy after stabilization, at 0.921. It is higher than the LSTM algorithm’s 0.863, RCNN’s 0.815, and CNN’s 0.796. In the dimensions of loss curve and accuracy, the combined CNN-LSTM algorithm’s performance is superior to that of other comparison algorithms. Figure 6 shows the accuracy and ROC of four algorithms.
In Fig. 6(a), among four algorithms, the accuracy of CNN-LSTM algorithm is significantly better than other three comparative algorithms. The average accuracy of CNN LSTM algorithm is 94.3%. It is 89.6% higher than LSTM algorithm, 80.3% higher than CRNN algorithm, and 75.8% higher than CNN algorithm. In Fig. 6(b), among four algorithms, the ROC area of CNN-LSTM algorithm is larger than other three comparative methods. The ROC area of CNN-LSTM algorithm is 0.82, which is higher than 0.76 of LSTM algorithm, 0.64 of CRNN algorithm, and 0.61 of CNN algorithm. In terms of accuracy and ROC dimensions, the combined CNN-LSTM algorithm’s performance is superior to that of other comparison algorithms. Then, the Precision-Recall (PR) curve and Area Under Curve (AUC) area of the four algorithms are carried out. The results of the PR curve and AUC curve of the four algorithms are shown in Fig. 7.
Figure 7(a) shows the PR curve of the four algorithms, and the PR curve represents the relationship between the accuracy rate and the recall rate. From Fig. 7(a), CNN-LSTM completely covers the other three algorithms, with the maximum area of 0.91. It can be seen that the learning performance of CNN-LSTM algorithm is better than the other three algorithms, and the area of CNN algorithm, Region-based Convolutional Neural Networks (RCNN) algorithm, and Long Short-Term Memory Network (LSTM) algorithm are 0.52, 0.62, and 0.76 in order. Figure 7(b) shows the AUC curve. AUC is an evaluation index to measure the quality of the binary classification model, and the probability that the positive cases are in front of the negative cases is predicted. From Fig. 7(b), the area of CNN-LSTM is 0.82, which is the maximum value. The area of CNN algorithm is 0.49, the area of RCNN algorithm is 0.9, and the area of LSTM algorithm is 0.62. The CNN-LSTM algorithm has better classification accuracy and learning ability, followed by LSTM algorithm and CNN algorithm. Based on the comparison of these above dimensions, the combined CNN-LSTM algorithm’s performance is far superior to LSTM algorithm, RCNN, and CNN. Therefore, applying it to PEC student action recognition can improve the accuracy of action recognition.
B.PERFORMANCE TESTING OF IMPROVED MCA
The above content provides a comparative analysis of the performance of CNN-LSTM MCA proposed in this study. To further analyze the practical application effect of this MCA, five classes of students from a certain junior high school are selected as the research subjects. In the experiment, five classes of students are selected as recognition objects for their walking, jogging, running, boxing, waving, clapping, and other postures in PEC. CNN-LSTM MCA, the traditional motion capture method, and image-based motion capture method are used to recognize students’ motion posture in PEC, respectively. Figure 8 shows the accuracy results of three different methods for students’ motion capture.
In Fig. 8, among these three methods, CNN-LSTM MCA has a higher recognition accuracy for students’ various motion postures in PEC than other two motion recognition algorithms. And its recognition accuracy for walking posture is 91.5%. The recognition accuracy for jogging posture is 89.8%. The recognition accuracy for running posture is 90.4%. The recognition accuracy of boxing posture is 88.8%. The recognition accuracy for waving posture is 90.1%. The CNN-LSTM MCA proposed in this study has high recognition accuracy for various postures of PEC students and is superior to the comparative action recognition method. In addition, the research uses the confusion matrix to represent the proposed CNN-LSTM MCA’s recognition results in the above dataset in Fig. 9.
From Fig. 9, the algorithm has a low confusion rate for students’ gestures. The CNN-LSTM MCA has good performance in terms of the dataset selected in the study. Therefore, the practical application of CNN-LSTM MCA is good, and its application in the movement recognition of students in physical education courses can effectively identify students’ movements and promote the good development of physical education courses. Then in order to test the superiority of CNN-LSTM model, we start from four indexes: AUC curve, precision rate, recall rate, and accuracy rate. CNN-LSTM is compared with single algorithm of CNN and LSTM and mixed algorithm of Video-STM and DC-LSTM. The result is shown in Fig. 10.
The bar chart in the left half of Fig. 10 shows the comparative analysis between CNN-LSTM and other single algorithm models. As can be seen from the figure. Compared with single CNN algorithm and LSTM algorithm, DC-LSTM is superior in terms of accuracy, accuracy, AUC, and recall rate. Among them, in terms of recall rate and accuracy, DC-LSTM is outstanding, with a recall rate of 0.94 and an accuracy rate of 0.92. The right half of Fig. 10 shows the performance analysis of DC-LSTM compared with other hybrid models. It can be intuitively seen from the figure that the DC-LSTM algorithm exceeds the other two hybrid models in the four indexes of AUC curve, precision rate, recall rate, and accuracy rate. The DC-LSTM algorithm has excellent performance in recall rate and accuracy rate. The recall rate of DC-LSTM is 0.95, and the accuracy rate is 0.93. The AUC curve, precision, recall, and accuracy of Video-STM were 0.71, 0.83, 0.61, and 0.73, respectively. The AUC curve, precision, recall, and accuracy of DC-LSTM are 0.72, 0.69, 0.68, and 0.80, respectively. Compared with other algorithms, DC-LSTM is more stable. To sum up, DC-LSTM has more advantages than single CNN and LSTM algorithms, and DC-LSTM also has more advantages than Video-STM and DC-LSTM mixed model. Therefore, DC-LSTM can help identify and analyze students’ motion capture in physical education classroom, in order to assist physical education and to improve students’ physical quality.
V.CONCLUSION
In response to the low curriculum quality in middle school PEC, this study aimed to integrate CNN with long-term and short-term networks to obtain the CNN-LSTM algorithm. Based on this algorithm, a model was proposed to capture the physical activities of students in PEC. The performance comparison analysis of the proposed CNN-LSTM algorithm showed this algorithm’s loss value was 0.045. It was lower than LSTM algorithm’s 0.088, RCNN’s 0.124, and CNN’s 0.193. Its accuracy was 0.921, which was higher than LSTM algorithm’s 0.863, RCNN’s 0.815, and CNN’s 0.796. Subsequently, in the practical verification of MCA, the proposed algorithm achieved recognition accuracy of 91.5%, 89.8%, 90.4%, 88.8%, and 90.1% for walking posture, jogging posture, running posture, boxing posture, and waving posture, respectively. In the analysis and comparison between DC-LSTM and the single algorithm, DC-LSTM had a higher recall rate than CNN and LSTM algorithms’ 0.23 and 0.18, respectively, and a higher accuracy than CNN and LSTM algorithms’ 0.31 and 0.04, respectively. In the comparison between DC-LSTM and hybrid model, the recall rate of DC-LSTM and DC-LSTM hybrid algorithm was about 0.34 and 0.25, respectively, and the accuracy was about 0.26 and 0.25, respectively, higher than these of the Video-STM and DC-LSTM hybrid algorithm. The above results showed that the MCA based on CNN-LSTM algorithm had a high accuracy and could promote the reform and development of middle school PEC. However, this research still had the problem of insufficient generality of the proposed algorithm. The subsequent research direction is to improve the generality of the algorithm, so as to improve the application field of the algorithm.