# Gymnastics Action Recognition and Training Posture Analysis Based on Artificial Intelligence Sensor

Authors: Yuanxiang Chen; Qiao Chen
Journal: Journal of Sensors
 (2022)

---

## Abstract

In order to solve the problems that the gymnastics action recognition system cannot select gymnastics training items and difficulty modes, the calculation matching degree and its threshold angle are inaccurate, the effect and efficiency of action learning are low, and this research proposes a gymnastics action recognition and training pose analysis methods based on artificial intelligence sensors. This method completes the performance improvement of the traditional human action recognition algorithm and uses the skeletal features of the Kinect sensor to discriminate sports actions. Clustering based on staticK-means algorithm increases the accuracy of pose selection, and each pose is recognized by human action using artificial neural network (ANN) and hidden Markov model (HMM). The obtained results are as follows: comparison of nonstatic and proposed static K-means algorithm on the training set and the overall accuracy of the proposed method is much better than the previous method. Among the four movements, the accuracy rate of “sitting” and “standing” movements is significantly higher, reaching 100%. In the gymnastics action recognition experiment, the average recognition rate of the system in this research is 93.6%, the false rejection rate is 5%, and the false acceptance rate is only 1.4%. It is proved that the system interface designed in this research can prompt the part that needs to be corrected, display the error on the output device, more efficiently assist the user to perform targeted training on the action to be learned, and improve the effect and efficiency of action learning.


---

## Body

## 1. Introduction

With the successful commercial use of somatosensory games by Microsoft in recent years, it has brought a brand new gaming experience to players, and with the rapid popularization and application of computer technology, many researchers and businesses have completely subversive and innovative ways of somatosensory games based on connection. Into the equipment has seen a very broad application and promotion prospects in the field of rehabilitation training [1, 2]. The main problem obtained on the basis of applied research is how to use it for human action recognition and processing equipment. Kinect, as a data scanning device based on somatosensory technology under Microsoft, has been widely used in human motion detection. Its constantly improved motion capture technology and speech recognition technology make it easy for people to talk to machines with only body movements or sounds [3, 4].The somatosensory data scanning equipment based on virtual reality also provides a new training guidance idea for gymnastics training: sports data collection is used in many professional gymnastics training and national training to assist researchers to observe coaches’ movements from multiple perspectives, obtain training data of multiple movement parameters and physiological indicators, and provide a reliable data source for scientific training [5, 6]. The coach can customize a scientific training plan for each trainer through various training data, guide the training in a targeted manner, and accurately grasp the trainer’s body contour and body position. The user’s body movements are wrong, thereby reducing the difficulty of the students’ movement and improving the training efficiency [7].


## 2. Literature Review

Kinect devices were born at the stage of booming virtual reality technology, more and more consumers favor its immersive experience, and the consumer market is also expanding, not only for games, education, and rehabilitation services [8]. Therefore, the application of virtual reality technology in virtual training has attracted widespread attention [9]. In order to reduce training costs and improve training effects, various industries such as military and fire protection are trying to develop virtual training simulators [10]. In order to provide an interactive, immersive environment for the trainee, the virtual training simulator must be able to recognize the movements performed by the trainee [11]. For this reason, the human action recognition method was introduced into the virtual training simulation based on the Kinect-based somatosensory device [12]. So far, most of the research on virtual training simulators is based on human motion recognition of wearable motion capture suits to obtain precise information of human motions, thereby synchronizing the training content according to the motions.Recognition of palm bones through Kinect, Wang et al. have designed a set of dynamic gesture recognition based on Kinect. Through the Kinect device connected to the Internet of Things, Liu et al. have developed a smart home that can simplify life style system. Zhang et al. developed a learning assistance system to assist users in learning Tai chi movements and moves: auxiliary exercises. Zhao et al. applied Kinect to medical treatment and designed an auxiliary system for diagnosis and recovery of movement disorders based on gait analysis. Xu and others follow the trend of the times and combine the preferences of contemporary people to design and research somatosensory educational games. Zhang and Jia and Li have used Kinect in swimming, which has been well used to guide athletes to contact swimming styles [13, 14].A major feature of the Kinect device is to capture the data of moving objects or moving human bodies when they make actions, record the motion trajectory data of moving objects, process these data with machine learning algorithms, and then convert them into digital motion data. Taking advantage of this feature of Kinect, it is widely used in somatosensory games, medical human detection, and even in the film industry. For the research of Kinect, many research institutes and universities, including the Institute of Artificial Intelligence, have used the feature of Kinect data capture [15, 16]. The artificial intelligence research institute of a university manually marked the feature points of the human body in the first frame and used monocular vision to capture and track the movement of the unobstructed parts of the human body without retaining the lost depth data stream. The data acquisition of the position information of the occluded parts becomes difficult to achieve.From the above, the system in this research combines the static initial centroid of the first estimate ofK-means and an artificial neural network, which is effectively evaluated on the public data-set UTKinect. In this system, a human action recognition system in Kinect skeletal joints is proposed.


## 3. Research Methods

### 3.1. Skeletal Skinning Animation for Gymnastics Movements

The algorithm principle of skinned mesh technology is to divide the character’s body structure into animations of multiple skeletal joints and add a layer of skin to the outside of the skeletal model. The essence of the skin is a mesh model animation. A mesh point set is commonly used in modeling software. The principle is bone skinning and bone joints are bound and paired one by one. According to the reason why a vertex is affected by multiple surrounding joint points, the position of the bone nodes of the human model is formed into a whole, and the bone and skin vertices determine its weight, to calculate the position of the bones, only need to weight the bones with different weights and their corresponding skin vertices. Through the interpolation of two adjacent key frames, through linear calculation, the vector data of the key frame, including the position and direction, can be determined, and its weight can be obtained through grid model calculation, and then the changed position can be calculated. The characteristic of skeletal skinning animation is to make the animation look more complete and more delicate in expression on the basis of skinning. The feature of the skeleton skinning algorithm is that by putting a “coat” on the bones, it drives the movement of the entire human body structure, making the whole look smoother. Skeletal skinning animation saves production costs and cycles because it reduces computational storage while representing skeletal motion. Since the mesh structure of the skeletal model is mostly composed of adjacent quadrilaterals or polygons, it is necessary to add a set of bones to the human body mesh model and their positions in order to connect the skin vertices of the bones to cooperate with the action and better reflect the smooth changes of the human body model [17].The principle of the skinning algorithm is that since the parent vertices of the skin at the skeleton node are affected by multiple surrounding child skeletons, there is no need to predefine the position of the skin vertices. It is only necessary to use the interpolation of the joint positions of the skin mesh to calculate the skin through the linear calculation method. Vertex and bone weights, then get the updated positions of skin vertices to quickly update the skin joint positions during the movement, and finally deduce the positions of all skin mesh vertices. The specific algorithm formula is as follows:(1)v′=∑i=1nwiMiDi−1v∑i=1nwi=1.The algorithm can effectively update the position information.wi indicates the weights of its skin vertices, v indicates the position coordinates of the bone joints before the skin update, v′ indicates the updated position coordinates, and Mi and Di−1v indicate the v segment of the bone of global coordinate system and the local coordinate system.The principle of the dual quaternion linear blending (DLB) algorithm is to maintain the skin volume of the animation model before and after the transformation, that is, a rigid body transformation, which is formed based on the invariance of the coordinate system. It can avoid the unnatural phenomenon of skin knotting, which not only avoids the shortcomings of the rotation center offset in the spherical hybrid skinning algorithm but also sets the interpolation of the shortest path in the transformation, so that the skin behaves better nature.The formula form of the dual quaternion linear blending (DLB) algorithm representing the spatial rotation transformation is as follows:(2)q=cosθ2,nsinθ2,nysinθ2,nzsinθ2.nx,ny,nz and θ represent the rotation axis and angle through the origin. The formula is in the form of z=r−dε, where ε2=0, the dual quaternion is the real part, r and the dual part d are the dual numbers of the quaternion, and e represents the dual operator. Through this formula, the positional relationship of rotation and translation in the space can be expressed. The dual quaternion formula is as follows:
(3)q=qr+qdε.The dual quaternion linear blending (DLB) algorithm has the characteristics of rigid transformation between it and the matrix. In addition, due to the invariance of the coordinate system of the algorithm, the position of the bones before and after the update of the human body model can be kept inconvenient, avoiding the shortcoming of the rotation center offset in the spherical hybrid skinning algorithm.BVH data is a motion manipulation data format, which is converted after the Kinect device collects real-time motion data. This data can be driven in real time under the user’s operation, and the model can change in real time according to the user’s actions. The sequence of BVH data is also in accordance with the sequence of motion data collected in real time, matching with the three-dimensional character model, and is widely used.The production steps in skeletal animation are shown in Figure1.Figure 1
Steps for creating 3D character animation with bone skinning.


### 3.2. Introduction to Algorithm Model

Hidden Markov model (HMM, hidden Markov model) is a statistical model that randomly generates observation sequences. Hidden Markov models have strong dynamic modeling capabilities in the fields of natural language and biological information processing, as well as action recognition. For input human model samples, new training can be constructed without resetting model parameters. For input human model samples, a new training template library can be constructed without resetting model parameters. The emergence of HMM has played a huge role in the expansion of the field of somatosensory recognition [18].The structure of ANN artificial neural network (artificial neuron network) is similar to the neuron structure of the human brain. Its operation and processing methods are parallel and distributed, and it has the ability of classification, comparison, and machine learning in pattern recognition, which vividly imitates the neurons of the brain. It is widely used in processing network information. ANN is composed of neurons with input and output functions and has strong classification ability, which is embodied in the parallel connection between each processing neural unit, and information processing and calculation are performed through the connection of neurons or skeletal joints. ANN has a pattern response to the input information for the weights between different joints in the system [19].The main purpose of the system designed in this research focuses on the development of efficient skeletal joint feature representations to recognize gymnastic movements. The structure of the human action recognition system is shown in Figure2.Figure 2
Flowchart of gymnastics action recognition system.In this system, 3D skeletal joint data is used as the input of the Kinect sensor, and joint distance features are used for feature extraction. Clustering of such features is developed based on staticK-means starting from a static initial centroid at the first estimate of the K-centroid to improve performance in pose selection for ergonomic gymnastics, and in contrast to nonstatic initial K-means starting from the static initial K-means, the static K-means difference is always a random centroid of K centroids. The class label for each gymnastics pose is determined by using an artificial neural network (ANN), which makes the system more intelligent. Finally, gymnastics action recognition is performed using a hidden Markov model (HMM) based on a set of known gymnastic action poses to improve performance and accuracy.


### 3.3. Design of Gymnastics Action Recognition Method

The system architecture of this system includes data processing, motion capture, mannequin driving, motion analysis and feedback, and system scoring. The system architecture of this system includes data processing, motion capture, mannequin driving, motion analysis and feedback, and system scoring. Each module is linked together, and the most primitive Ren Xi motion data is finally presented on the screen in the form of mannequin animation.The system architecture is shown in Table1.Table 1
Architecture of each system.
Module nameInput streamOutput streamData processingRaw data streamFrame data sequenceMotion data captureFrame data sequenceThe real-time position of the user’s skeletal jointsMannequin drivenJoint real-time position information sequenceReal-time 3D character animationAction analysis and feedbackUser motion data and standard motionMisplacement reminder messageSystem scoreUser motion data and standard motionReal-time comparison results (scores)Data processing process of each module:(1)
Data Processing. Convert the raw data captured by Kinect. Including color data and depth data, plus time vector programming ordered frame data sequence, easy to input into the next module(2)
Motion Data Capture. Through the data stream after data processing, the machine learning algorithm is used to analyze the 20 bone positions of the human body and their joint points, and then the improved human motion recognition algorithm is used for optimization processing, and the updated bone joint positions are output(3)
Human Body Model Drive. The real-time position information of the joints output by the motion capture module is bound to the joints of the human body model of the modeling software in a one-to-one correspondence, so as to achieve the effect of synchronous movement between the model and the user, and then input it into the Unity platform for rendering(4)
Action Analysis and Feedback. The collected exercise data of the trainer is combined with the real-time data of data processing, motion capture, and human body model drive module, and the standard sports action is compared with the exercise data of the trainer, and the wrong action information is displayed on the screen(5)
System Scoring Module. The comparison between the user’s motion data and the standard motion data, and the user’s real-time score when learning the action is calculated according to the harshness of the action (i.e., the threshold angle) set before the user enters the system(6)
Compare the angle data of the trainer’s human skeleton model with the angle of the standard gymnastics training items, determine the threshold range, and evaluate the degree of movement standard in the form of scores [20]The relationship between the modules is shown in Figure3.Figure 3
The relationship between the information processing modules in the system.


## 3.1. Skeletal Skinning Animation for Gymnastics Movements

The algorithm principle of skinned mesh technology is to divide the character’s body structure into animations of multiple skeletal joints and add a layer of skin to the outside of the skeletal model. The essence of the skin is a mesh model animation. A mesh point set is commonly used in modeling software. The principle is bone skinning and bone joints are bound and paired one by one. According to the reason why a vertex is affected by multiple surrounding joint points, the position of the bone nodes of the human model is formed into a whole, and the bone and skin vertices determine its weight, to calculate the position of the bones, only need to weight the bones with different weights and their corresponding skin vertices. Through the interpolation of two adjacent key frames, through linear calculation, the vector data of the key frame, including the position and direction, can be determined, and its weight can be obtained through grid model calculation, and then the changed position can be calculated. The characteristic of skeletal skinning animation is to make the animation look more complete and more delicate in expression on the basis of skinning. The feature of the skeleton skinning algorithm is that by putting a “coat” on the bones, it drives the movement of the entire human body structure, making the whole look smoother. Skeletal skinning animation saves production costs and cycles because it reduces computational storage while representing skeletal motion. Since the mesh structure of the skeletal model is mostly composed of adjacent quadrilaterals or polygons, it is necessary to add a set of bones to the human body mesh model and their positions in order to connect the skin vertices of the bones to cooperate with the action and better reflect the smooth changes of the human body model [17].The principle of the skinning algorithm is that since the parent vertices of the skin at the skeleton node are affected by multiple surrounding child skeletons, there is no need to predefine the position of the skin vertices. It is only necessary to use the interpolation of the joint positions of the skin mesh to calculate the skin through the linear calculation method. Vertex and bone weights, then get the updated positions of skin vertices to quickly update the skin joint positions during the movement, and finally deduce the positions of all skin mesh vertices. The specific algorithm formula is as follows:(1)v′=∑i=1nwiMiDi−1v∑i=1nwi=1.The algorithm can effectively update the position information.wi indicates the weights of its skin vertices, v indicates the position coordinates of the bone joints before the skin update, v′ indicates the updated position coordinates, and Mi and Di−1v indicate the v segment of the bone of global coordinate system and the local coordinate system.The principle of the dual quaternion linear blending (DLB) algorithm is to maintain the skin volume of the animation model before and after the transformation, that is, a rigid body transformation, which is formed based on the invariance of the coordinate system. It can avoid the unnatural phenomenon of skin knotting, which not only avoids the shortcomings of the rotation center offset in the spherical hybrid skinning algorithm but also sets the interpolation of the shortest path in the transformation, so that the skin behaves better nature.The formula form of the dual quaternion linear blending (DLB) algorithm representing the spatial rotation transformation is as follows:(2)q=cosθ2,nsinθ2,nysinθ2,nzsinθ2.nx,ny,nz and θ represent the rotation axis and angle through the origin. The formula is in the form of z=r−dε, where ε2=0, the dual quaternion is the real part, r and the dual part d are the dual numbers of the quaternion, and e represents the dual operator. Through this formula, the positional relationship of rotation and translation in the space can be expressed. The dual quaternion formula is as follows:
(3)q=qr+qdε.The dual quaternion linear blending (DLB) algorithm has the characteristics of rigid transformation between it and the matrix. In addition, due to the invariance of the coordinate system of the algorithm, the position of the bones before and after the update of the human body model can be kept inconvenient, avoiding the shortcoming of the rotation center offset in the spherical hybrid skinning algorithm.BVH data is a motion manipulation data format, which is converted after the Kinect device collects real-time motion data. This data can be driven in real time under the user’s operation, and the model can change in real time according to the user’s actions. The sequence of BVH data is also in accordance with the sequence of motion data collected in real time, matching with the three-dimensional character model, and is widely used.The production steps in skeletal animation are shown in Figure1.Figure 1
Steps for creating 3D character animation with bone skinning.


## 3.2. Introduction to Algorithm Model

Hidden Markov model (HMM, hidden Markov model) is a statistical model that randomly generates observation sequences. Hidden Markov models have strong dynamic modeling capabilities in the fields of natural language and biological information processing, as well as action recognition. For input human model samples, new training can be constructed without resetting model parameters. For input human model samples, a new training template library can be constructed without resetting model parameters. The emergence of HMM has played a huge role in the expansion of the field of somatosensory recognition [18].The structure of ANN artificial neural network (artificial neuron network) is similar to the neuron structure of the human brain. Its operation and processing methods are parallel and distributed, and it has the ability of classification, comparison, and machine learning in pattern recognition, which vividly imitates the neurons of the brain. It is widely used in processing network information. ANN is composed of neurons with input and output functions and has strong classification ability, which is embodied in the parallel connection between each processing neural unit, and information processing and calculation are performed through the connection of neurons or skeletal joints. ANN has a pattern response to the input information for the weights between different joints in the system [19].The main purpose of the system designed in this research focuses on the development of efficient skeletal joint feature representations to recognize gymnastic movements. The structure of the human action recognition system is shown in Figure2.Figure 2
Flowchart of gymnastics action recognition system.In this system, 3D skeletal joint data is used as the input of the Kinect sensor, and joint distance features are used for feature extraction. Clustering of such features is developed based on staticK-means starting from a static initial centroid at the first estimate of the K-centroid to improve performance in pose selection for ergonomic gymnastics, and in contrast to nonstatic initial K-means starting from the static initial K-means, the static K-means difference is always a random centroid of K centroids. The class label for each gymnastics pose is determined by using an artificial neural network (ANN), which makes the system more intelligent. Finally, gymnastics action recognition is performed using a hidden Markov model (HMM) based on a set of known gymnastic action poses to improve performance and accuracy.


## 3.3. Design of Gymnastics Action Recognition Method

The system architecture of this system includes data processing, motion capture, mannequin driving, motion analysis and feedback, and system scoring. The system architecture of this system includes data processing, motion capture, mannequin driving, motion analysis and feedback, and system scoring. Each module is linked together, and the most primitive Ren Xi motion data is finally presented on the screen in the form of mannequin animation.The system architecture is shown in Table1.Table 1
Architecture of each system.
Module nameInput streamOutput streamData processingRaw data streamFrame data sequenceMotion data captureFrame data sequenceThe real-time position of the user’s skeletal jointsMannequin drivenJoint real-time position information sequenceReal-time 3D character animationAction analysis and feedbackUser motion data and standard motionMisplacement reminder messageSystem scoreUser motion data and standard motionReal-time comparison results (scores)Data processing process of each module:(1)
Data Processing. Convert the raw data captured by Kinect. Including color data and depth data, plus time vector programming ordered frame data sequence, easy to input into the next module(2)
Motion Data Capture. Through the data stream after data processing, the machine learning algorithm is used to analyze the 20 bone positions of the human body and their joint points, and then the improved human motion recognition algorithm is used for optimization processing, and the updated bone joint positions are output(3)
Human Body Model Drive. The real-time position information of the joints output by the motion capture module is bound to the joints of the human body model of the modeling software in a one-to-one correspondence, so as to achieve the effect of synchronous movement between the model and the user, and then input it into the Unity platform for rendering(4)
Action Analysis and Feedback. The collected exercise data of the trainer is combined with the real-time data of data processing, motion capture, and human body model drive module, and the standard sports action is compared with the exercise data of the trainer, and the wrong action information is displayed on the screen(5)
System Scoring Module. The comparison between the user’s motion data and the standard motion data, and the user’s real-time score when learning the action is calculated according to the harshness of the action (i.e., the threshold angle) set before the user enters the system(6)
Compare the angle data of the trainer’s human skeleton model with the angle of the standard gymnastics training items, determine the threshold range, and evaluate the degree of movement standard in the form of scores [20]The relationship between the modules is shown in Figure3.Figure 3
The relationship between the information processing modules in the system.


## 4. Analysis of Results

### 4.1. UTKinect Public Dataset Test

Experiments on the dataset are in this research. The proposed method is tested on the public dataset UTKinect-Action3D recorded by the Kinect sensor.There are three channels in this dataset, which are bone joint position, color, and depth channels [21]. This dataset contains ten movements (stretching, chest expansion, body rotation, jumping, walking, sitting, standing, picking up, throwing, pushing, pulling, waving, and clapping) for ten objects, where it contains two instances, each object performs each action twice, using some of the activities corresponding to the system (stretching, chest expansion, body rotation, and jumping). The joint distance features of these movements are extracted and grouped together by similar gymnastic movement poses based on k-means (nonstatic and static) with five cluster identifiers. The labels of each gymnastic action pose are determined by ANN, and a corresponding HMM is built to recognize the sequence of gymnastics action poses [22].The method proposed in this research is staticK-means, which statically adopts the initially defined centroid mass when estimating the K-shaped centroid for the first time, in order to improve the accuracy and correctly classify human gymnastics action poses. Experiments using this method are tested on the training set and compared with the nonstatic K-means method [23]. Table 2 also shows a comparison of the nonstatic and static K-means algorithms on the training set. The overall accuracy of the proposed method is much better than previous methods.Table 2
Comparison of nonstatic and staticK-means on UTKinect dataset.
Action typeAccuracy (%)NonstaticK-meansStaticK-meansStretching exercises92100Chest expansion54100Body rotation3795Jumping motion8295The experimental results show that the accuracy of these four actions is relatively high, especially the accuracy of “sitting” and “standing” actions is significantly higher and can reach 100%.


### 4.2. Gymnastics Action Recognition Experiment and Analysis

The daily gymnastics movements are complex and changeable. In order to refine this identification process, the system should set several gymnastics movements and name them according to the actual situation and then identify them [24].This research defines 6 simple gymnastics movements for the purpose of interaction, including stretching, chest expansion, body rotation, jumping, whole-body movement, and finishing. Human-computer interaction with the computer can be performed by recognizing these kinds of gymnastics action commands.In the experiment, the person to be tested first recorded each gymnastics movement through Kinect and then saved the recorded gymnastics movements into the reference template. Each gymnastics movement was recorded 20 times, divided into 6 times, and a total of 120 pieces of sample data were recorded. A total of 720 experimental data were obtained by 6 experimenters. Record the recognition results of each gymnastics action and calculate the recognition rate, as shown in Figure4.Figure 4
Identification results (%).It can be seen from the figure that the test recognition rate is high, the average recognition rate is 93.6%, the rejection rate is 5%, and the misrecognition rate is only 1.4%. Before the experiment, because the subjects to be tested received the guidance of pictures and texts of gymnastics movements, the similarity between gymnastics movements and postures was not large, and the difficulty of distinguishing them was small, so the recognition rate was high [25].Therefore, the recognition ability of the system in this research is good and meets the requirements of daily training, but the recognition complexity should be considered when selecting gymnastics action features, and the gymnastics action recognition system is designed for the purpose of practical application.


## 4.1. UTKinect Public Dataset Test

Experiments on the dataset are in this research. The proposed method is tested on the public dataset UTKinect-Action3D recorded by the Kinect sensor.There are three channels in this dataset, which are bone joint position, color, and depth channels [21]. This dataset contains ten movements (stretching, chest expansion, body rotation, jumping, walking, sitting, standing, picking up, throwing, pushing, pulling, waving, and clapping) for ten objects, where it contains two instances, each object performs each action twice, using some of the activities corresponding to the system (stretching, chest expansion, body rotation, and jumping). The joint distance features of these movements are extracted and grouped together by similar gymnastic movement poses based on k-means (nonstatic and static) with five cluster identifiers. The labels of each gymnastic action pose are determined by ANN, and a corresponding HMM is built to recognize the sequence of gymnastics action poses [22].The method proposed in this research is staticK-means, which statically adopts the initially defined centroid mass when estimating the K-shaped centroid for the first time, in order to improve the accuracy and correctly classify human gymnastics action poses. Experiments using this method are tested on the training set and compared with the nonstatic K-means method [23]. Table 2 also shows a comparison of the nonstatic and static K-means algorithms on the training set. The overall accuracy of the proposed method is much better than previous methods.Table 2
Comparison of nonstatic and staticK-means on UTKinect dataset.
Action typeAccuracy (%)NonstaticK-meansStaticK-meansStretching exercises92100Chest expansion54100Body rotation3795Jumping motion8295The experimental results show that the accuracy of these four actions is relatively high, especially the accuracy of “sitting” and “standing” actions is significantly higher and can reach 100%.


## 4.2. Gymnastics Action Recognition Experiment and Analysis

The daily gymnastics movements are complex and changeable. In order to refine this identification process, the system should set several gymnastics movements and name them according to the actual situation and then identify them [24].This research defines 6 simple gymnastics movements for the purpose of interaction, including stretching, chest expansion, body rotation, jumping, whole-body movement, and finishing. Human-computer interaction with the computer can be performed by recognizing these kinds of gymnastics action commands.In the experiment, the person to be tested first recorded each gymnastics movement through Kinect and then saved the recorded gymnastics movements into the reference template. Each gymnastics movement was recorded 20 times, divided into 6 times, and a total of 120 pieces of sample data were recorded. A total of 720 experimental data were obtained by 6 experimenters. Record the recognition results of each gymnastics action and calculate the recognition rate, as shown in Figure4.Figure 4
Identification results (%).It can be seen from the figure that the test recognition rate is high, the average recognition rate is 93.6%, the rejection rate is 5%, and the misrecognition rate is only 1.4%. Before the experiment, because the subjects to be tested received the guidance of pictures and texts of gymnastics movements, the similarity between gymnastics movements and postures was not large, and the difficulty of distinguishing them was small, so the recognition rate was high [25].Therefore, the recognition ability of the system in this research is good and meets the requirements of daily training, but the recognition complexity should be considered when selecting gymnastics action features, and the gymnastics action recognition system is designed for the purpose of practical application.


## 5. Conclusion

With the increasingly vigorous development of somatosensory technology, more and more somatosensory technology platforms and recognition systems are widely used in our daily life, while traditional gymnastics training will always have unsatisfactory conditions, including relatively high costs and risks. Relatively existing problems, nowadays, relying on somatosensory technology, you can train the gymnastics items you want to learn, such as stretching, chest expansion, and jumping. This allows many ordinary people to experience another world through the somatosensory system, and the practicality and convenience brought by somatosensory technology are more and more popular among people. Therefore, this system aims to simplify the gymnastics training process, so as to research and implement a gymnastics action recognition system based on Kinect, so that trainers can efficiently learn various gymnastics items at home and understand their own deficiencies.The performance improvement of the traditional human action recognition algorithm is completed. Sports action is discriminated by utilizing the skeletal features of the Kinect sensor. Clustering based on the staticK-means algorithm increases the accuracy of pose selection. Each pose is recognized by human action using artificial neural network (ANN) and hidden Markov model (HMM), which makes the system more intelligent and improves system performance and accuracy. Finally, it is evaluated on the public dataset UTKinectAction3D.The developed gymnastics action recognition system can relatively meet the needs of users’ gymnastics training. Users can choose gymnastics training items and difficulty modes according to their needs, calculate the matching degree and its threshold angle, prompt the part that needs to be corrected in the interface, and display the error. On the output device, it can more efficiently assist users to perform targeted training on the actions to be learned and improve the effect and efficiency of action learning.



---

*Source: 1605529-2022-07-01.xml*