# Analysis of Students' Sports Exercise Behavior and Health Education Strategy Using Visual Perception–Motion Recognition Algorithm

^{1}College of Physical Education, Chongqing University, Chongqing, China^{2}College of Physical Education and Physical Medicine, Chongqing Medical University, Chongqing, China

This study aims to explore the future development path of the college health education and health education's impact on students' sports exercise. Specifically, artificial intelligence (AI) algorithm is combined with intelligent robotics technology to acquire and analyze students' sports exercise behaviors. As a result, a new development model is formulated for college health education. First, it explores students' sports exercise and health education situation in Chinese higher institutions and uncovers the underlying problems. Then it puts forward the corresponding modification suggestions. Second, the AI algorithm and the Kinect sensor-mounted intelligent robot capture the human skeleton features to obtain smooth skeleton joint points data. At the same time, a visual perception human motion recognition (HMR) algorithm is established based on the Hidden Markov Model (HMM). Afterward, the proposed HMM-based HMR algorithm is used to recognize students' sports exercise motions by analyzing human motion skeleton images. The experimental outcomes suggest that the maximum reconstruction error of the HMR algorithm is 10 mm, and the compression ratio is between 5 and 10; the HMR rate is more than 96%. Compared with similar algorithms, the proposed visual perception HMR algorithm depends less on the number of training samples. It can achieve a high recognition rate given only a relatively few samples. Therefore, the proposed (AI + intelligent robot)-enabled HMM-based HMR algorithm can effectively identify the behavior characteristics of students in sports exercise. This study can provide a reference for exploring college students' health education development path.

## Introduction

The health education is an integral part of school teaching and plays a vital role in improving students' health quality. However, statistics imply that Chinese teenagers dedicate less time to sports exercise than their foreign peers. Also noticed is that they are not allowed enough time for medium and high-intensity training critical to the healthy development of teenagers. Such issues have increased Chinese students' overweight and obesity rates (De Steenberg, 2019). Additionally, the current school health education system centers around physical education (PE) and has demonstrated many shortcomings. For example, the school seldom provides comprehensive training for PE faculty. The PE curriculum lacks innovation, normalization, and interestingness. Thus, it discourages the students from participating in extracurricular sports activities (Huang, 2019). Undeniably, advanced scientific and technological development, such as computer technology (CT), has brought humanity a more convenient and efficient life. Nevertheless, the new technologies' impact on students' health cannot be ignored. Students nowadays spend too much time on electronic equipment out of their already limited free time. No wonder students' physical quality will decline, and the obesity rate raises. Fortunately, it is feasible to use modern technological means, such as the human motion recognition (HMR) algorithm, to analyze students' motions and recognize and perceive the significance of human motions (Wang et al., 2018). In particular, artificial intelligence (AI) technology has become a research and application hotspot by helping people solve many problems through intellectualized machines and robots. Therefore, this study uses an intelligent algorithm combined with intelligent robotics technology to analyze students' sports exercise behavior and establish a scientific health education scheme. The proposed method can improve the technical scheme of school sports equipment and sports training management mode. It can scientifically guide students' sports exercise behavior and improve school health education.

Foreign and domestic scholars have carried out extensive research on HMR. Qiu et al. (2019) proposed a visual-scale image 3D tracking algorithm based on correlation analysis to track and measure dynamic objects' distances accurately. The algorithm could accurately track anything without any prior conditions about the thing (Qiu et al., 2019). Yang et al. (2019) used Kinect motion sensors to connect with mechanical axes to simulate human visual perception behaviors. They also utilized the Kalman filter to control the three-axis motion machine to perceive automatically and visually position real-time human motions. They applied it to distance education (Yang et al., 2019). Khan et al. (2019) developed a gait recognition algorithm based on spatiotemporal motion features of human gait. This algorithm could extract local spatiotemporal descriptors from gait video sequences and use vector encoding and Gaussian mixture models to encode the descriptor. Then, they classified encoded features using support vector machine (SVM) to identify the individuals. After the experiments, they concluded that the method had an excellent performance on five databases (Khan et al., 2019). Huang and Sun (2020) applied augmented reality (AR) real-time depth image technology to 3D HMR. They established a sensor-based visual inertia initialization algorithm. The proposal offered an illumination-robust solution for 3D HMR against the changes of visual features. This algorithm was integrated with two frames of image sequences to provide accurate initial values for vision-based motion estimation, thereby improving the HMR accuracy (Huang and Sun, 2020). Sun et al. (2019) used transfer learning (TL) and neural networks (NNs) to recognize the human gait and predict the subsequent motion of the human body by capturing the behavior of the task in images or videos. Through the experiments, they found that TL improved the detection performance of the algorithm (Sun et al., 2019). Many studies have provided research on HMR through AI methods and have put forward various comprehensive research algorithms. Nevertheless, the accuracy of HMR needs to be improved at this stage, which few studies have involved, and even fewer studies apply HMR in health education.

Existing studies have proved that visual HMR algorithms can recognize and capture human motions effectively. Therefore, to study the characteristics of students' motion behaviors, this study establishes an HMR algorithm by using AI and intelligent robotics technology. The intelligent robot mounted with Kinect sensors can recognize students' exercise behavior and scientifically guide students' exercise. Based on data analysis, the intelligent robot can also give corresponding improvement suggestions against the problems in school health education. This research can provide an effective HMR algorithm and a reference for studying human motion through algorithms. Therefore, this study is breakthrough research, which provides the main technical support for the comprehensive feature analysis of human motions. Meanwhile, it provides an effective method for health education and identifying students' daily sports exercises to improve classroom efficiency. First, we discuss the current situation and existing problems of health education in colleges and universities (CAUs). Second, we discuss how an AI-based algorithm and intelligent robot application are designed for HMR. Then, the proposed algorithm is optimized to improve the recognition rate. Third, we provide the specific experimental results. The final section discusses the results and the limitations. The research results promote the comprehensive application of intelligent robots and AI algorithms, contributing to the healthy development of college students.

## Enlightenment of Applying the AI Algorithm to the Development Path of Health Education

### Health Education in CAUs

Physical education is an essential part of school health education. The school integrates sports and health promotion resources and holds sports activities to improve students' physique (Knijnik et al., 2019). Students' poor health awareness leads to short sports exercise time, relatively poor physique, and an increased obesity rate (García-Ceberino et al., 2020). Additionally, PE emphasizes students' sports skills and forms of education. Not paying attention to cultivating students' physique, exercise intensity, and exercise load deviate from school health education and is not conducive to cultivating students' individuality (García-Ceberino et al., 2019; Ilaria and Emanuela, 2019). Figure 1 shows the implementation mode of health education in domestic CAUs. The specific objectives are formulated by analyzing the needs of health education and getting corresponding feedback.

As shown in Figure 1, sports exercise is the main way students enhance their physique in CAUs. Sports exercise can promote the healthy growth of students and provide students with main learning motivation. Therefore, advanced AI algorithms are used in this work. The HMR algorithms for students during exercise needs to be studied and designed, which helps students carry out sports exercise strictly. It can also detect students' motion state and identity information in real-time to help students strictly manage their own health. This research breaks through the comprehensive application of the algorithm and provides students with more perfect management methods. Therefore, this research is a breakthrough.

### Development Path and Countermeasures of Health Education in CAUs

The following opinions are put forward to improve the teaching effect and management mode of school PE based on the understanding of the current situation of school health education:

(1) The development of school health education depends on the setting of PE lessons. Hence, the resources based on school health should be integrated to expand health education lessons. PE should be the main body in the teaching process, supplemented by extracurricular sports activities. The training of students' sports skills should be valued during the lessons to improve students' physical fitness. Meanwhile, students should be taught to protect themselves against sports injury with emergency treatment skills. The elective courses should be combined with the teaching content of the compulsory lessons and integrate the sports health concepts. The school's medical department should initiate various health lectures and health consultation activities for students to help them understand the prevention and rehabilitation of common diseases (Arikan, 2020). Students' health education should also cross multiple disciplines to constantly improve the health education curriculum system.

(2) Schools should initiate different sports activities to increase students' exercise time. For example, they can hold sports competitions, such as marathons, night running, sports meetings, and long-distance running. Sports competitions are developed to enhance students' enthusiasm to participate in sports exercise and improve their health awareness (Jeitler et al., 2020). Second, various student clubs should be launched. Students with the same hobbies should be organized to participate in different club activities. Schools should open up sports resources, such as fitness venues, physical examination centers, and swimming pools, to students more frequently.

(3) Schools should value the management of PE lessons and extracurricular activities, increase PE courses and improve students' sports skills and physical fitness. Individual differences should be valued in teaching. Importantly, schools should ensure that students have sufficient after-school time for exercise and put forward requirements on students' exercise time and exercise frequency. The long-term follow-up health evaluations should be implemented to improve their health awareness and physical fitness. Besides, the schools should create an environment for sports exercise, establish a sports evaluation mechanism, increase the propaganda of sports exercise, and enhance students' enthusiasm for participating in sports.

Combined with the goal of school health education, the HMR algorithm based on the Hidden Markov Model (HMM) is adopted. The HMM-based HMR algorithm can analyze and recognize the collected skeletal images of human motions and set the corresponding training program according to students' sports exercise needs. The purpose is to change students' living habits using science and technology. Figure 2 displays the algorithm process reported here. The process is mainly divided into the data acquisition layer, the Google algorithm processing layer, the operation recognition, and the application layer.

### Human Skeleton Feature Extraction Algorithm Using Kinect Sensor-Mounted Intelligent Robot

The emergence of intelligent robots provides many promising technologies for human life. This study analyzes the recognition of sports exercise behavior of college students through AI algorithms and intelligent robotics technology. The manner how motions are represented affect the performance of the HMR algorithm. An excellent motion representation method can filter irrelevant information, streamline the data extraction, and describe the motion more accurately and comprehensively. The standard motion representation methods include human skeleton structuring and imaging method. The human skeleton structuring method regards the human body as a combination of multiple joints. In the recognition process, the joint position reflects the changes in human motions (Zhang et al., 2020). The imaging method extracts the spatial features of motions from the two-dimensional image by establishing a correlation model (Cao et al., 2019). Here, the Kinect sensor mounted on the intelligent robot collects images, including color images, infrared images, and depth images. In particular, the imaging principle of the depth image is to realize the visual reproduction process through reflection and capture. After the depth image is collected, the human joints are classified by eigenvalues to distinguish the human body from the depth image. The segmentation process of the depth image is drawn and shown in Figure 3.

The depth image changes when a person moves across the sensor field. Due to the difference between the pixel depth of the human body recognition and the background, the threshold method can classify the foreground and the background to obtain human body information (Keyvanpour et al., 2020). The threshold can be expressed as Equation (1).

In Equation (1), *f*(*x, y*) indicates the logical judgment of the foreground pixel, 1 is the foreground pixel, and 0 is not the foreground pixel. Besides, *d*(*x, y*) represents the depth information of the pixel, λ denotes the threshold, which is related to the maximum depth *d*_{max}, and the constant *K* is equal to 0.75. The threshold is calculated according to Equation (2).

The threshold method can process the depth image, improve the accuracy of human foreground recognition, and facilitate the subsequent recognition of human skeleton information. Kinect can track and recognize the skeletons of two users simultaneously. It calculates the data of 25 human skeletal joint points, combines them to generate a skeleton diagram of the human body, and uses the skeletal joints to recognize human motions (Li et al., 2019a). Filtering algorithms can filter the collected depth images to improve the accuracy and precision of feature extraction. Thereby, they improve the accuracy of skeletal feature extraction from depth images and reduce skinny node data error (Liang et al., 2020). Selecting keyframes is the key to HMR. The keyframe technology can process the motion sequence and reduce the data dimension and the amount of data. The maximum reconstruction error and the number of keyframes are set as the optimization goals of keyframes. The frame reduction algorithm is used to obtain the final keyframe sequence to meet the reconstruction error and compression ratio requirements.

Here, the amplitude-limiting filtering algorithm is used to process the data and eliminate the jitter of skeletal node data, the algorithm flow is shown in Figure 4. When the skeletal node data jitter exceeds the jitter radius threshold, it is considered that the skeletal recognition degree is low and needs to be corrected. The range of deviation radius threshold means that the data movement of skeletal nodes exceeds the jitter radius. When less than the jitter radius threshold, the node should be moved to eliminate the impact of skeletal jitter.

After filtering, the spikes and noise interference of the data are removed, and smoother skeletal node data are obtained. Different motions, such as pull-ups and sit-ups, are analyzed and decomposed. According to the change process of the motion, skeletal nodes at various vital positions are selected as features to convert human motion into motion sequences. Therefore, the human skeleton data captured by the Kinect sensor undergo feature separation, skeletal tracking, and filtering operations to obtain feature information of skeletal joints in human motion. Then these feature data are utilized for training HMM to get HMR results for different movements.

## Design of Sports Exercise Model Under HMM

### Student Exercise Behavior-Oriented HMR Algorithm Based on HMM

Human motion is a time-varying motion sequence. A motion may contain dozens or hundreds of frame sequences; thus, recognizing human motion is very complicated (Gurbuz and Amin, 2019). Generally, HMR extracts the features of the collected human motion data and describes human motion through the features. Then, the classifier is used for learning and training to recognize the motions. Here, the method based on the human body structure expresses the human motion information. The three-dimensional coordinates of the skeletal joint points are used to represent the human motion state. The human skeleton node is established as the basis of motion recognition. The HMM is used to classify the motions (Jaouedi et al., 2020). Figure 5 shows the motion representation method based on the human body structure.

The HMM describes a Markov process with unknown parameters. It is a statistical probability model of a double random process, a dynamic Bayesian network with a simple structure. The HMM is often used in speech, pattern, and motion recognition (Shi et al., 2020). A Markov chain is a discrete random process with Markov properties. An arbitrary state sequence *X*_{n} is in the state of θ_{1}, θ_{2}, …, θ_{n} within a particular period and in the state of *m* at time *q*_{m}. The state of the next unit moment is only related to the last moment, as shown in Equation (3).

In Equation (3), *q*_{1}, *q*_{2}, …, *q*_{m+1} belongs to θ_{1}, θ_{2}, …, θ_{n}; *X*_{n} is a Markov chain.

In the process of HMR, motion sequences meet HMM's requirements (Figure 6) under a certain probability. Markov chain describes the alignment process of standard sequence and motion sequence. Multiple random methods can be characterized by conversion under a certain probability (Gao et al., 2020).

The HMM divides the human motion process into many continuous state sequences and takes each motion in the state space as a state of the motion sequence. Each state can only be linked by probability. Therefore, the probability relationship of transferring from one state to another can be used to describe human motions (Hu and Lee, 2020). The HMM regards human behavior as a real-time multi-state transformation process and observes the hidden state by sensing the feature vector generated in the event. Accordingly, it identifies the specific motion state of the human body.

In HMM, the motion state cannot be observed directly. However, the vectors can express various states under the probability density distribution, and the active state can be obtained by observing vectors. The model contains the following two stochastic processes: (1) The hidden Markov chain with a certain number of states and (2) observed values corresponding to the state in a specific state.

The HMM can be described by two state sets and three probability matrices.

(1) Hidden states refer to the states implied in the Markov model. These states have Markov properties, where θ_{1}, θ_{2}, …, θ_{n} represents the definition of these hidden states, *N* stands for the number of hidden states, and *q*_{t} refers to the state represented by the Markov chain at time *t* (Mottaghi et al., 2020).

(2) The observable state refers to the state connected to the hidden condition that can be directly observed. Here, *V*_{1}, *V*_{2}, …, *V*_{m} represents the obtained *M* observations, *M* refers to the number of observations in a particular state, and *O*_{t} represents the observations at time *t*.

(3) The initial state probability matrix refers to the probability matrix of the hidden state in the initial state *t* = 1, which is expressed by the probability vector of the initial state as follows:

(4) The implicit state transition probability matrix refers to the probability of transition between different states in HMM, which can be expressed as follows:

In Equations (6) and (7), *a*_{ij} represents the probability of state θ_{j} at time *t* + 1 under the premise of state θ_{i} at time *t*.

(5) The observation state transition probability matrix refers to the probability that the observation state is *O*_{t} when the hidden state is θ_{j} at time *t*, and the probability matrix of the observation value is represented by *B*, which can be defined as follows:

Therefore, the HMM contains two parts: the Markov process and the random process. The state sequence is output in the Markov process, and the observation value sequence and the state sequence correspond to the production in the random process. Hence, the HMM can be expressed as Equation (10).

### Algorithm Optimization of HMM

The fundamental problems of HMM include evaluation problems, decoding problems, and learning problems (Li et al., 2020a). Corresponding algorithms are proposed for these problems. Figure 7 reveals the algorithm relationship.

(1) The evaluation problem refers to calculating the maximum probability *P*(*O*|λ) of the observation sequence *O* under λ for a given HMM λ = (π, *A, B*) and observation sequence *O*. All possible hidden sequences can be obtained through the exhaustive method. The possibility of the hidden sequence generating the observed sequence is calculated. However, this method has high time complexity. Suppose the model parameters are known, and the occurrence probability of the observation sequence is given. In that case, the maximum probability of the observer sequence is found through the forward–backward algorithm to obtain the HMM (Miki et al., 2020). The forward–backward algorithm calculates the probability *P*(*O*|λ) of the observation sequence. For a given HMM λ = (π, *A, B*), the algorithm is used to obtain the probability *P*(*O*|λ) of the observation sequence *O*_{1}, *O*_{2}, …, *O*_{t}.

Forward algorithm: the forward probability is defined first. For a given model λ = (π, *A, B*), the probability is defined until time *t*, the observation sequence is *O*_{1}, *O*_{2}, …, *O*_{t}, and the state is *q*_{i}. The equation is expressed as follows:

The forward probability *a*_{t}(*i*) and the observation sequence probability *P*(*O*|*a*) can be obtained through recurrence and initialized as expressed in the following:

The forward probability defines the observation sequence so far and the current state. Therefore, the equation contains the initial state and recent observation probability (Li et al., 2019b).

Recurrence:

Termination:

The local calculation can improve the computational efficiency of the forward algorithm. Based on the state sequence combined with the path structure, the forward probability has recurred to the global, obtaining the probability.

The backward probability is defined in the backward algorithm as the probability of a given model λ = (π, *A, B*), when the state at time *t* is *q*_{i}, the partial observation sequence from *t* + 1 to *T* is *O*_{i+1}, *O*_{i+2}, …, *O*_{T}, and the equation is:

Initialization:

Recurrence:

Termination:

By calculating the transition probability of *N* states *q*_{j} at the time *t* + 1 and the observation probability of observation *O*_{t+1} in this state, the backward probability of the observation sequence after *q*_{j} is calculated (Liu et al., 2019).

(2) The learning problem is to estimate the parameter λ of the model for a given observation sequence *O* to maximize the probability *P*(*O*|λ) of the observation sequence under λ. The problem is to derive the model parameters from the observation sequence and estimate the parameters using the maximum likelihood estimation method. It can be calculated using the Baum–Welch algorithm (Li et al., 2020b). The algorithm flow of the Baum–Welch algorithm is discussed as follows: Initializing model parameters, selecting ${a}_{ij}^{0},{\beta}_{j}^{0},{\pi}_{i}^{0}$, obtaining model λ^{0} = (π^{0}, *A*^{0}, *B*^{0}), and solving the two intermediate variables γ_{t}(*i*) and ξ_{t}(*i, j*); γ_{t}(*i*) represents the model λ and the observation sequence *O*, the probability that the hidden state is *q*_{i} at time *t*. The equation is expressed as follows:

In Equation (22), ξ_{t}(*i, j*) represents the probability of model λ and observation sequence *O*, the hidden state at time *t* is *q*_{i}, and the hidden state at time *t* + 1 is *q*_{j}. The equation is expressed as follows:

According to the definitions of forwarding probability and backward probability, intermediate variables γ_{t}(*i*) and ξ_{t}(*i, j*) can be written as:

The two intermediate variables are calculated according to the following expressions:

Equation (29) indicates *I* of Equation (27).

The results obtained through the convergence process are used as the model's parameters.

(3) The decoding problem is to calculate the implicit sequence *X* that is most likely to produce the observation sequence *O* for a given model λ = (π, *A, B*) and observation sequence *O*, and maximize the probability *P*(*X*|*O*, λ) (Vu and Kim, 2018a). The Viterbi algorithm can be used to find the optimal path of probability. First, δ(*i*) is defined as the maximum probability of the observation value *O*_{1}, *O*_{2}, …, *O*_{t} obtained when the state is *q*_{1}, *q*_{2}, …, *q*_{t} at time *t* when *q*_{t} = θ_{i}. The algorithm flow is provided as follows:

Initialization:

Recurrence:

Termination:

Optimal path backtracking:

In Equations (30–36), ${Q}^{*}={q}_{1}^{*},{q}_{2}^{*},\dots ,{q}_{T}^{*}$ represents the sequence in a specific state when the probability *P*(*Q, O*|λ) is maximized by the given observation sequence *O*_{1}, *O*_{2}, …, *O*_{T} and model λ = (π, *A, B*). The optimal path can find according to the dynamic programming method. If the route passes ${q}_{t}^{*}$ at time *t*, the partial path from ${q}_{t}^{*}$ to ${q}_{T}^{*}$ of the path is optimal for all paths.

The core of using HMM for HMR is to determine the hidden state. The quality of the initial model affects the training results and the accuracy of HMR. Therefore, the motion sequence corresponding to the human body motion process is averaged into the segment *N*, corresponding to the *N* state in the model. All motion sequences in the motion recognition generate *N* state transition sequences. These state transition sequences are used to calculate the initialization parameters of each motion. In addition, ${N}_{i,j}^{m}={N}^{m}({s}_{t+1}={q}_{j}|{s}_{i}={q}_{i})$ denotes the number of states *q*_{i} in the *t*th frame and the number of states *q*_{j} in the *t* + 1-th frame in the *m*th state sequence, and ${N}_{i}^{m}={N}^{m}({s}_{1}={q}_{i})$ indicates the number of states *q*_{i} in the first frame in the *m*th state sequence. Therefore, the equation in the initial state probability ${\pi}_{i}^{0}$ is expressed as follows:

Equation (38) expresses the probability that the first frame's state of this motion is *q*_{i} and calculates the number of state transitions for all state sequences to find the adjacent frame. The transition probability *a*_{i,j} of the initial state is expressed as follows:

### Introduction to Algorithm Identification Path and Data Set

This study uses the Baum–Welch algorithm to learn the model parameters. The initialized parameter λ^{0} = (π^{0}, *A*^{0}, *B*^{0}) is input into the model for parameter learning to obtain the parameter λ^{i} = (π^{i}, *A*^{i}, *B*^{i}) of each motion. Then, the forward algorithm is performed on these motions to obtain the probability *P*(*O*|λ^{i}). The motion with the largest *P*(*O*|λ^{i}) is taken as the recognition result of the test motion (Ding et al., 2019). Figure 8 illustrates the model's training and recognition process.

ChaLearn Gesture Data 2013 (CGD2013) and Hochschule Der Medien 05 (HDM05) data sets are selected. They are used to train and test the proposed HMM-based HMR algorithm on Matlab R2014a to verify the recognition performance of motion states. The CGD2013 data set contains 11,000 color images of 20 kinds of gestures (550 pictures for each gesture). This experiment selects 400 images from each type of gesture picture, a total of 8,000 images as the training data set of static gesture recognition; the remaining 3,000 photos are used as the test data set. The HDM05 data set contains motion capture data in 3D revolution (C3d) and advanced streaming format/ad Muncher coding (ASF/AMC) data formats with more than 3 h of system and detailed records. In addition, HDM05 contains more than 70 motion categories performed by different actors.

## Results and Discussion

### Basic Situation of Motion Recognition

By applying the AI algorithm and Intelligent robotics technology, this study analyzes the characteristics of college students' sports behavior and the path of health education. Notably, the Kinect senor-mounted intelligent robot can analyze the skeleton structure of college students during sports exercises and extract the features. Also, it helps to point out the shortcomings of students' sports exercise and provides them with better sports exercise methods. Therefore, the research content can promote students' sports exercise and the effect of college PE. The various motions in the HDM05 database are used to verify the image processing performance of the frame subtraction algorithm and filtering algorithm through motion identification. The test results are shown in Figure 9.

As in Figure 9, the recognition of different motions by the algorithm presents a linear relationship. For example, the recognition rate for “high arm waves” motion is the worst, about 40% at best. The recognition rate for “draw circle” motion is the best, about 75%. The maximum reconstruction error is linearly related to the motion compression ratio. The compression ratio increases with the maximum reconstruction error increase, independent of the motion type. When the maximum reconstruction error is <10 mm, the compression ratio changes between 5 and 10. Presumably, the compression ratio of different motion sequences increases under the same maximum error and slow-motion trend. For violent motion sequences, the compression ratio needs to be reduced.

### Model Training Analysis

The different numbers of training samples are used to compare the recognition performance of HMM and SVM algorithms, thereby verifying the performance of the designed algorithm for HMR. The number of samples set is 50 and 33% of the total number of samples (number of training samples/total number of samples). The results are shown in Figure 10.

**Figure 10**. Comparison of the recognition rates of HMM and SVM algorithms when the number of training samples is 50 and 33%.

As shown in Figure 10, the number of training samples has little effect on the recognition performance of the HMM. When the number of training samples is reduced from 50 to 33%, the reduction of recognition rate is no more than 1.5%. The recognition effect of SVM is greatly affected by the number of training samples. At the same time, increasing the number of human motion features can improve the recognition rate of the algorithm, reaching 97%. With the increase of the number of features, the recognition rate of SVM decreases to 85.2%.

### Recognition Performance Analysis

A recognition test is performed on different motion types with varying numbers of samples to test the recognition performance of the motion recognition algorithm for various motions. The results are shown in Figure 11.

In Figure 11, the HMM algorithm obtains better recognition results than the SVM algorithm. The recognition rate of the HMM algorithm is more than 95%, while the recognition rate of the SVM algorithm is between 75 and 85%. The recognition rate of the algorithm designed here is high. However, there are differences in the recognition rate of different motion types. The reason may be that the motion time complexity of varying motion types leads to different recognition effects of the algorithm. Still, the recognition rate of the overall algorithm is more than 95%. The recognition rate of the SVM algorithm for different motion types is far lower than that of the algorithm reported here.

### Performance Comparison of Different Algorithms

The HMM algorithm is compared with several mainstream HMR algorithms to verify its effectiveness, including time-sensitive network (TSN) (Ding et al., 2018), 3D convolution (C3D) (Zhou et al., 2017), two-stream inflated 3D ConvNet (I3D) (Vu and Kim, 2018b), and support vector machines (SVMs). Figure 12 provides the performance comparison results.

Figure 12 shows that the HMM algorithm has a higher recognition rate than other algorithms and can achieve the same recognition effect as I3D and TSN. The overall recognition rate of HMM algorithm is more than 96%, which shows an excellent effect in HMR. On comparison, SVM presents the worst recognition effect, and the overall recognition rate is between 85 and 87%. Additionally, HMM algorithm is weakly dependent on the number of samples. In other words, HMM only needs a small number of samples to get a high recognition rate.

### Discussion

This study aims to use science and technological approaches to help students cultivate healthy living habits and establish a reasonable model for college health education. The HMR algorithm is designed based on AI and intelligent robotics technologies. Specifically, the Kinect sensor-mounted intelligent robot can identify students' sports exercise motions. The Kinect-captured data provide reliable sports performance data for teachers and help formulate strategies conducive to students' health education. Finally, the proposed (AI + intelligent robot)-enabled HMM-based HMR algorithm is tested. The experiments show that the proposed HMM-based HMR algorithm can effectively recognize motions, with an accuracy reaching over 96%. Additionally, the proposed HMM-based HMR algorithm has low sensitivity to the number of samples. It can achieve a high recognition rate given only a few samples. Moreover, compared with other literature algorithms, HMM has a better recognition effect and can meet the actual needs of motion recognition. The HMM-based HMR algorithm recognizes motions by analyzing the collected human skeleton images. According to students' sports exercise needs, the proposed algorithm can effectively formulate related training programs to identify students' behavior characteristics in sports exercise.

## Conclusion

Using the AI algorithm and intelligent robotic technology, this study analyzes the problems in school health education to identify students' exercise motions. It also suggests improved exercising strategies for students. First, the problems in school health education are discussed, and the corresponding solutions are determined. Then, HMM is used to process the collected students' movement depth images, identify students' behavior, and extract the behavior features. The experimental results show that the recognition rate of the proposed HMM-based HMR algorithm is more than 96%, so it outmatches other behavior recognition algorithms. Additionally, HMM is less dependent on the number of samples. Therefore, HMM can identify students' sports status and identity information on a large scale, provide students with more advantageous sports exercise methods, and simultaneously analyze students' sports status. The research content provides an important reference for establishing a scientific and reasonable path of health education in CAUs and contributes to improving teaching quality in CAUs.

However, there are still some deficiencies. Due to the limited accuracy of the Kinect sensor, the model has insufficient detection ability for human skeletal nodes. Therefore, it cannot accurately identify the hand's motion state and detect its standardization when the subject performs a pull-up. Besides, only data sets are used to test the algorithm, ignoring the influence of complex factors in the actual application environment. Therefore, the subsequent research will use higher precision sensors for experiments and continuously optimize the recognition ability of the algorithm through practical tests.

## Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

## Ethics Statement

The studies involving human participants were reviewed and approved by Chongqing University Ethics Committee. The patients/participants provided their written informed consent to participate in this study. Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.

## Author Contributions

Both authors listed have made a substantial, direct, and intellectual contribution to the work and approved it for publication.

## Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

## Publisher's Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

## References

Arikan, G. (2020). Examination of student resistance behaviors towards physical education and sports teachers in the teaching-learning process. *J. Educ. Issues* 6, 107–117. doi: 10.5296/jei.v6i2.17432

Cao, W., Lu, Y., and He, Z. (2019). Geometric algebra representation and ensemble action classification method for 3D skeleton orientation data. *IEEE Access* 7, 132049–132056. doi: 10.1109/ACCESS.2019.2940291

De Steenberg, V. (2019). Research on sports and health curriculum in gymnastics teaching. *Innovation* 2, 3.

Ding, C., Hong, H., Zou, Y., Chu, H., and Li, C. (2019). Continuous human motion recognition with a dynamic range-Doppler trajectory method based on FMCW radar. *IEEE Trans. Geosci. Remote Sens*. 57, 6821–6831. doi: 10.1109/TGRS.2019.2908758

Ding, C., Zhang, L., Gu, C., Bai, L., Liao, Z., Hong, H., et al. (2018). Non-contact human motion recognition based on UWB radar. *IEEE J. Emerg. Select. Topics Circuits Syst*. 8, 306–315. doi: 10.1109/JETCAS.2018.2797313

Gao, P., Zhao, D., and Chen, X. (2020). Multi-dimensional data modelling of video image action recognition and motion capture in deep learning framework. *IET Image Process*. 14, 1257–1264. doi: 10.1049/iet-ipr.2019.0588

García-Ceberino, J. M., Antúnez, A., Feu, S., and Ibáñez, S. J. (2020). Quantification of internal and external load in school football according to gender and teaching methodology. *Int. J. Environ. Res. Public Health*. 17, 344. doi: 10.3390/ijerph17010344

García-Ceberino, J. M., Feu, S., and Ibáñez, S. J. (2019). Comparative study of two intervention programmes for teaching soccer to school-age students. *Sports* 7, 74. doi: 10.3390/sports7030074

Gurbuz, S. Z., and Amin, M. G. (2019). Radar-based human-motion recognition with deep learning: promising applications for indoor monitoring. *IEEE Signal Process. Mag*. 36, 16–28. doi: 10.1109/MSP.2018.2890128

Hu, Z., and Lee, E. J. (2020). Dual attention-guided multiscale dynamic aggregate graph convolutional networks for skeleton-based human action recognition. *Symmetry* 12, 1589. doi: 10.3390/sym12101589

Huang, R., and Sun, M. (2020). Network algorithm real-time depth image 3D human recognition for augmented reality. *J. Real Time Image Process*. 12, 1–13. doi: 10.1007/s11554-020-01045-z

Huang, Y. (2019). The establishment of “sports promoting health” mode in school and “lifelong sports”. *Front. Educ. Res*. 2, 1759–1762. doi: 10.25236/FER.2019.021001

Ilaria, V., and Emanuela, R. (2019). Elements and methods of organization, design and management of extracurricular sports activities. *J. Phys. Educ. Sport* 19, 1767–1772. doi: 10.7752/jpes.2019.s5259

Jaouedi, N., Perales, F. J., Buades, J. M., Boujnah, N., and Bouhlel, M. S. (2020). Prediction of human activities based on a new structure of skeleton features and deep learning model. *Sensors* 20, 4944. doi: 10.3390/s20174944

Jeitler, M., Högl, M., Peters, A., Schumann, D., Murthy, V., Bringmann, H., et al. (2020). Qualitative study of yoga for young adults in school sports. *Complement. Ther. Med*. 55, 102584. doi: 10.1016/j.ctim.2020.102584

Keyvanpour, M. R., Vahidian, S., and Ramezani, M. (2020). HMR-vid: a comparative analytical survey on human motion recognition in video data. *Multimed. Tools Appl*. 79, 31819–31863. doi: 10.1007/s11042-020-09485-2

Khan, M. H., Farid, M. S., and Grzegorzek, M. (2019). Spatiotemporal features of human motion for gait recognition. *Signal Image Video Process*. 13, 369–377. doi: 10.1007/s11760-018-1365-y

Knijnik, J., Spaaij, R., and Jeanes, R. (2019). Reading and writing the game: creative and dialogic pedagogies in sports education. *Thinking Skills Creat*. 32, 42–50. doi: 10.1016/j.tsc.2019.03.005

Li, C., Hou, Y., Li, W., and Wang, P. (2019b). Learning attentive dynamic maps (ADMs) for understanding human actions. *J. Vis. Commun. Image Represent*. 65, 102640. doi: 10.1016/j.jvcir.2019.102640

Li, W., Liu, X., Liu, Z., Du, F., and Zou, Q. (2020a). Skeleton-based action recognition using multi-scale and multi-stream improved graph convolutional network. *IEEE Access* 8, 144529–144542. doi: 10.1109/ACCESS.2020.3014445

Li, Y., He, H., and Zhang, Z. (2020b). Human motion quality assessment toward sophisticated sports scenes based on deeply-learned 3D CNN model. *J. Vis. Commun. Image Represent*. 71, 102702. doi: 10.1016/j.jvcir.2019.102702

Li, Y., Wang, Z., Yang, X., Wang, M., Poiana, S., Chaudhry, E., et al. (2019a). Efficient convolutional hierarchical autoencoder for human motion prediction. *Vis. Comput*. 35, 1143–1156. doi: 10.1007/s00371-019-01692-9

Liang, Z., Shi, X., Zhang, Y., and Liu, B. (2020). A discriminative dual-stream model with a novel sustained attention mechanism for skeleton-based human action recognition. *IEEE Access* 8, 208395–208406. doi: 10.1109/ACCESS.2020.3035659

Liu, Z., Liu, Q., Xu, W., Liu, Z., Zhou, Z., and Chen, J. (2019). Deep learning-based human motion prediction considering context awareness for human-robot collaboration in manufacturing. *Procedia CIRP* 83, 272–278. doi: 10.1016/j.procir.2019.04.080

Miki, D., Abe, S., Chen, S., and Demachi, K. (2020). Robust human motion recognition from wide-angle images for video surveillance in nuclear power plants. *Mech. Eng. J*. 19, 533. doi: 10.1299/mej.19-00533

Mottaghi, A., Soryani, M., and Seifi, H. (2020). Action recognition in freestyle wrestling using silhouette-skeleton features. *Eng. Sci. Technol. Int. J*. 23, 921–930. doi: 10.1016/j.jestch.2019.10.008

Qiu, K., Qin, T., Gao, W., and Shen, S. (2019). Tracking 3-D motion of dynamic objects using monocular visual-inertial sensing. *IEEE Trans. Robot*. 35, 799–816. doi: 10.1109/TRO.2019.2909085

Shi, Q., Zhang, H. B., Dong, L. J., Lei, Q., and Hsiao, T. C. (2020). Vision skeleton trajectory-based motion assessment system for healthcare rehabilitation. *J. Eng*. 2020, 805–808. doi: 10.1049/joe.2019.1316

Sun, C., Wang, C., and Lai, W. (2019). Gait analysis and recognition prediction of the human skeleton based on migration learning. *Phys. A Stat. Mech. Its Appl*. 532, 121812. doi: 10.1016/j.physa.2019.121812

Vu, C., and Kim, J. (2018b). Human motion recognition using e-textile sensor and adaptive neuro-fuzzy inference system. *Fibers Polym*. 19, 2657–2666. doi: 10.1007/s12221-018-8019-0

Vu, C. C., and Kim, J. (2018a). Human motion recognition by textile sensors based on machine learning algorithms. *Sensors* 18, 3109. doi: 10.3390/s18093109

Wang, P., Li, W., Ogunbona, P., Wan, J., and Escalerac, S. (2018). RGB-D-based human motion recognition with deep learning: a survey. *Comp Vis Image Understand*. 171, 118–139. doi: 10.1016/j.cviu.2018.04.007

Yang, F., Zhang, R., and Zhao, Y. (2019). Research on a visual sensing and tracking system for distance education. *Int J Emerg Technol Learn*. 14, 181–191. doi: 10.3991/ijet.v14i08.9827

Zhang, F., Han, S., Gao, H., and Wang, T. (2020). A Gaussian mixture based hidden Markov model for motion recognition with 3D vision device. *Comput Electrical Eng*. 83, 106603. doi: 10.1016/j.compeleceng.2020.106603

Keywords: health education, vision sensing, skeleton recognition, artificial intelligence algorithm, Hidden Markov Model

Citation: Chen M and Zhou Y (2022) Analysis of Students' Sports Exercise Behavior and Health Education Strategy Using Visual Perception–Motion Recognition Algorithm. *Front. Psychol.* 13:829432. doi: 10.3389/fpsyg.2022.829432

Received: 05 December 2021; Accepted: 30 March 2022;

Published: 13 May 2022.

Edited by:

Mu-Yen Chen, National Cheng Kung University, TaiwanReviewed by:

Jing-Wei Liu, National Taiwan University of Sport, TaiwanSoraia Chung Saura, University of São Paulo, Brazil

Copyright © 2022 Chen and Zhou. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Minwei Chen, cmw@cqu.edu.cn