Evaluation Algorithm of Fencing Athletes’ Strength Distribution Characteristics Based on Gait Tracking

Human motion capturing techniques are used in various fields such as surveillance, healthcare, and sports to analyze, understand, and synthesize kinematic and kinetic data. Among the mentioned application areas of motion recognition techniques, sport is an essential sector in which it is extensively used. The dynamic and kinematic performance of the three joints of the lower limbs in lunge movement is the main factor affecting the lunge speed of the fencers. Fencing is an open-skill combat sport in which complicated body movements and effective game techniques are required. The extremely nonlinear human movements, muscle dynamics, and foot-ground contact make athletic gait analysis a difficult topic in biomechanics. At present, there are no comprehensive and systematic research results on the impact of the dynamic and kinematic performance of the ankle, knee, and hip joints of lower limbs on the lunge speed. Based on the gait tracking algorithm, this study compares and analyzes the dynamic and kinematic performance of lower limbs ankle, knee, and hip joints in the lunge of fencing athletes at different levels and discusses the influence of the dynamic and kinematic performance of the three lower limbs joints of fencing athletes on the lunge speed. This study mainly focuses on, (1) exploring the dynamic and kinematic influencing factors of the peak horizontal speed of the center of gravity of fencing athletes’ lunge movement, (2) to verify whether there is a difference in the lunge speed of fencing athletes at different levels and analyzes the reasons for the differences, (3) to explore the ankle, knee, and the differences of hip joint dynamics and kinematics, the causes of the differences, and to analyze the influence of the differences on the lunge speed. In this paper, we have used a gait tracking algorithm that evaluates the fencing athletes’ strength distribution characteristics. With the help of gait recognition algorithm based on artificial intelligence (AI) technology, the movement posture and gait of fencers can be recognized automatically in real time which is helpful to realize the automatic evaluation of power distribution. The experimental results prove the significance of the proposed model.


Introduction
Fencing is a high-end competitive sport that requires high stamina, focus, and a sharp mind. Fencing, the art of using a sword to attack and defend oneself, is presently seeing a renaissance. It is a sport that needs extreme physical and mental stamina. e lunge is the fastest approach to close the gap between the two opponents in the fencing sport [1]. e lunge can start at the tip of the Foil. Because if someone has grabbed the Foil's tip and is dragging it forward, causing the Foil arm to extend quickly and the body to follow. As a result, the athletes believe the blade directs the body's movement [2]. e lunge is performed by exing and extending the elbow, knee, and hip to propel the body forward and maintain body balance in the guard position. ere are many changes in attack and defense. e ability to respond and react to the opponent's quick and unexpected movements is one of the most important characteristics of fencing. e ability of the fencer to manage the attack is greatly reliant on the fencer's agility, quickness, and ability to grasp the chance when the opponent is unprepared [3]. In the face of the opponent's changeable attack, athletes need to adjust their defensive countermeasures all the time and then grasp the opportunity to defeat the opponent. In this process, the athletes need to be highly focused, exible, and coordinated [4]. So, athletes need strong mental and physical health conditions in order to perform better in the field. In fencing, the role of core force is very important. erefore, this paper discusses the role of fencing athletes' core strength training and its scientific and reasonable training methods.
Fencers should complete a series of flexible offensive and defensive actions in fierce combat, which requires having good physical quality, professional skills, especially excellent reaction speed, and coordination [5]. In order to maintain their balance, fencers must overcome instability. In this process, the coordination of the upper and lower limbs on the opposite side plays an important role. e athlete's core muscle group plays a connecting role in fencing by maintaining the balance [6]. In addition, improving the coordination of neuro-muscles and the stability of ligaments, ankles, and knees plays an important role in improving the balance ability. e upper and lower limbs of the human body coordinate movement through the core area, which can control the posture of the human body and then affect the flexibility of the limbs. For fencers, the stability of lower limbs and trunk is very important which directly affects the performance of fencers [7]. Strengthening the strength of the core area can improve the stability of the fencers' pelvis, greatly increase the strength of the body, improve the coordination of the body, and make their fencing movements more flexible and orderly. erefore, the stability of the core area of fencers is conducive to the control of the distal and proximal ends of the body, and can also promote the stability of the lower limbs, which has a great significance to achieve excellent results.
Fencing athletes exerts their power under unbalanced conditions which requires very high physical coordination ability of athletes [8]. e actual combat posture of fencing is special which include when standing, one side of the body is forward, the knees are abducted, the arms and wrists holding the sword face outward, the joints face inward, when moving, and the forefoot moves forward. If the athletes have poor coordination, it is difficult to complete the above actions. e fencing sports is different from conventional sports and does not conform to human normal behaviors or habits. Fencing is based on a variety of technical and tactical combinations [9]. If athletes want to achieve good results, they must have good coordination, technology, and integrated sports. ey show their strongest strength only when the athletes' footwork, technique, attack, and defense reach the coordination, unity and perfect cooperation, and their fencing action meets the standard. To complete the fencing movement with high quality, athletes must have good core strength, enhance the stability and flexibility of various parts of the body, reduce the energy consumption of limbs, and coordinate the body movements to achieve perfect unity [10]. e development of machine learning (ML) and deep learning (DL) brought many different research directions in the academic field such as image processing, computer vision, forecasting, and predictions [11]. e development of these technologies allows computers to perceive human movements through cameras and other devices. e most critical technology in the process of human action recognition is human body posture estimation. A series of features obtained based on human body posture estimation are compared with some standard actions, so as to guide people's motion posture during the exercise [12]. erefore, the human motion evaluation system has been greatly developed and people's eyes are gradually shifting from professional to portable. Portable is a human motion evaluation system that is not affected by venues and environment, and can improve the quality of people's daily exercise. However, the current human motion evaluation systems do not meet the standards and there are still some shortcomings in the existing systems. One of the commonly used and existing human motion capturing equipment is Kinect [13], but it itself is a device developed for somatosensory games which is expensive and insufficiently developed. e academic community uses Kinect and other equipment as external hardware devices to have good results in the field of human posture estimation and human motion recognition, but these systems are still in the development stage and the accuracy of estimation is unable to reach a good balance [14]. Early human action recognition required the assistance of external equipment to perceive changes in the human posture.
e main contributions of this study include; (i) In this paper, we have proposed a gait tracking algorithm which evaluates the fencing athletes' strength distribution characteristics. With the help of gait recognition algorithm based on AI technology, the movement posture and gait of fencers can be recognized automatically in real time which is helpful to realize the automatic evaluation of power distribution. (ii) We summarized the dynamic and kinematic performance of the three joints of the lower limbs in the lunge movement of fencing athletics. (iii) We also compared and analyzed the dynamic and kinematic performance of lower limbs ankle, knee, and hip joints in the lunge of fencing athletes at different levels and discussed the influence of the dynamic and kinematic performance of three lower limbs joints of fencing athletes on the lunge speed. (iv) We attained promising results, which proves the significance of the proposed gait tracking algorithm.
e remaining article is organized as follows; Section 2 demonstrates the related work. e material used and the methods followed for the conduction of this study are represented in Section 3, while the experimental results are discussed in Section 4. Section 5 illustrates the overall theme and findings of this article.

Related Work
Fencing is an arduous sport in which athletes have more injuries. Due to the characteristics of the event and the particularity of competition, the injured parts of athletes are mostly ankle, knee, and waist etc. [15,16]. rough core strength training, improving the strength of fencers' muscle groups can reduce their injuries in sports or training. e improvement of core strength makes the athlete's body more and more stable, and the pressure on the spine and related soft tissues in the process of fencing is reduced, so as to reduce the occurrence of lower limb injuries [17]. e enhancement of athletes' core strength is mainly reflected in the speed and accuracy of movement.
Zhang et al. [18] proposed a gait analysis-based walking rehabilitation assessment system. In their proposed model, the accelerometer sensors are used and placed on the subject's body, and then the data generated is collected from the gait cycle. After smoothing, they used it as an input signal for gait features extraction, and then after feature extraction, they forwarded it for classification. In order to evaluate and improve walking therapy, it is necessary to categorize normal and abnormal gait. Using Long Short Term Memory (LSTM) networks and a Bio inspired Algorithm (BIA) framework, Chen et al. [19] created a model that recognizes a sportsperson's activity and motivates an individual to enhance the sports abilities. Action detection and categorization can also be utilised to automatically provide matching or practice statistics. Felipe et al. [20] provide a methodology for evaluating the accuracy of a multi-camera tracking system for tracking top football players' movements in real time. Zhang et al. [21] proposed a research to examine four female top Epee fencers' lunge technique. During a trial match versus Jiang Su Team, the motion was captured using a video camera (50 Hz). A Peak Performance System (PPS) was used to gather and analyze data. e lunge was studied in terms of attacking technique. e kinematic characteristics that were determined were lunge stride length, response time, horizontal velocity of the center of gravity, and time to reach the target. A. Suchanowski et al. [22] presented a research to assess the dynamic model of a fencing lunge performed by a professional athlete using electromyography (EMG) recordings of muscle activity in the extensor carpi radials of the right arm and the rectus femoris of the lower extremities.Żelawski and Hachaj [23] introduced and evaluated a novel motion capture (kinematic) processing and human action detection approach based on topological data analysis (TDA). ey described human behavior in terms of topological characteristics. e recognition procedure was based on topological persistence which was stable to perturbations.

Basic eoretical Knowledge of Fencing.
Fencing sport has a history of hundreds of years. People began carrying swords for the first time in the late 15th century, from which modern fencing began. In 1896, fencing became one of the official events of the first Olympic Games for the first time [24]. Since that time, it has been popularized all over the world. e development of fencing in China began in 1955. Scholars from the former Soviet Union introduced fencing into China [25]. Fencing has achieved rapid development in China and Chinese fencers have repeatedly made good achievements in recent world competitions. Luan Jujie won the first Olympic gold medal for the Chinese fencing team in 1984. Zhongman won the men's fencing championship at the Beijing Olympic Games in 2008. In 2012, Li Na, sun Yujie, Xu Anqi, and Luo Xiaojuan won the women's Epee team championship at London Olympic Games, and Lei Sheng won the men's Foil championship at London Olympic Games. Tan Xue, Wang Lei, and Li Na won the individual events at the world championships. With the emergence of world champions of Chinese fencing team, fencing has also achieved extensive development and popularity in China [26].

Gait Analysis
Normal gait refers to the position of the human body when moving from one place to another or walking. Walking is primarily powered by the muscles of the lower limbs and trunk. As a result, central nervous systemcontrolled walking is also relying on the human body [27]. A sequence of actions is done by combining the pelvis, hip, knee, ankle, and toes. Gait analysis is a way of studying walking rules that uses biomechanics and kinematics to show the essential linkages and influencing elements of gait irregularity in order to guide rehabilitation evaluation and treatments.

Parameters of Gait Analysis.
Gait analysis is a subbranch of biomechanics. Its characteristics can be categorized into the following groups: step length, step breadth, speed, stride, cadence, foot angle, and gait cycle are all timedistance factors. Its kinematics parameters include knee, walking mid-hip, ankle joint motion law, angle-angle diagram, and pelvic position change law. e most often used dynamic characteristics are ground response force measurement and a force platform that can measure the vertical, front, rear, and side force components of the ground reaction force. Walking gait can be accurately detected using a combination of biomechanics and kinematics [28]. Improving the extraction accuracy of human key point coordinates in the image as much as possible and efficient and accurate motion evaluation methods are the top priority of motion-aided evaluation system. Human posture recognition technology based on deep learning is the main method of motion-aided evaluation system in the recent years.

Sword Types of Fencing.
Fencing events are divided into three different sword types, namely, Foil, Sabre, and Epee. In Epee and Foil events only sword spikes are allowed, and splitting and chopping actions are not allowed. When the sword tip contacts the effective part of the other party and reaches a certain pressure, the spring device at the sword tip is compressed which connects the circuit between the sword body and the athlete's fencing suit, and then makes the referee light on. In terms of sword body weight, Foil has the smallest weight among the three sword types, and the effective part in the competition is the athlete's trunk. Foil has high technical content and strict technical and tactical requirements for athletes. e weight of Epee is the largest among all kinds of swords, and the effective stabbing part is also the largest in the competition [29]. It is effective for athletes to stab any part of the opponent's body in the Mobile Information Systems competition, and there are few referee factors in Epee that affect the competition. When both sides stab at the same time, if the time interval is within 1/4 second then both sides will score. If it is beyond 1/4 second, stab one side first to score, it is not necessary to judge according to the principle of priority like other sword competitions. Sabre is quite different from Foil and Epee. In Sabre competition, athletes are not only allowed to use sword spikes, but also allowed to use sword blades to chop. e effective hitting parts are athletes' trunk and upper limbs. On the whole, the Foil event has high requirements for the use of athletes' technology and tactics and the flexible use of tactics in the competition, which requires athletes to have exquisite technology and clear mind at the same time [30]. Epee has high requirements for athletes' strength and confrontation. e Sabre competition is the most flexible, requiring athletes to dare to attack, and the use of the blade increases the intensity of the competition. e visual impact of the Sabre competition is more obvious, and the frequency of wonderful confrontation and attack actions of athletes are higher in the competition.
In addition, there are differences in competition venues between different sword types. e length of Epee and Sabre competition venues is 18 meters, and the length of Foil venue is 14 meters. Before the start of the competition, the athletes of both sides hold swords at two meters outside the center line and wait for the referee to announce the start of the competition. After any player of either side scores, both sides suspend the competition, and both sides return to two meters outside the center line to prepare to restart the competition. e rules of the three kinds of swords in fencing are different, but they all require athletes to stab the opponent with the sword at the fastest speed before the opponent takes effective defense and counterattack. erefore, there are high requirements of speed to attack within the specific time of attack. When the timing of attack appears, then the bow step stab is often the first choice for athletes to attack the opponent. In Epee competition, the use frequency and scoring frequency of lunge are very high. It can be said that the level of Fencers' lunge affects their competitive level to a great extent. erefore, whether in the daily training of professional athletes or in the fencing research, lunge is an extremely important part. Basic information of different swords in fencing is shown in Table 1.

Fencing Lunge Stages.
e fencing lunge moves from the preparation position to the landing of the front leg, which is fast, coherent, and complete in one go. e fencing lunge is divided into six action phases that, respectively, represent the starting point or ending point of each stage of the lunge, and is shown in Figure 1. e phases are briefly described below.
(a) Preparation posture: in this phase, the lower limbs of the swordsman are the front legs, the opposite side is the rear legs, the body's center of gravity is between the two legs, the elbow of the swordsman is slightly bent, and the sword tip points to the opponent. (b) Posture with the sword: in this phase, the elbow joint is extended, the hind leg begins to pedal the ground, and the hip joint of the front leg is bent to lift the front foot off the ground. (c) In this phase, the hind legs continue to push on the ground, and the body's center of gravity begins to move forward. (d) In this phase, when the athlete's hind leg kicks on the ground, the rear knee joint extends to the maximum, the front leg swings forward quickly, and the body center of gravity moves forward greatly. (e) In this stage, the hind legs of the athletes are off the ground, the body is in the flying stage, the knee joint of the front leg is stretched as far as possible, and the physical center of gravity continues to move forward. (f ) In this stage, when the athlete's front foot lands then the above steps enter the landing buffer stage.
According to the change of the ground reaction force, the whole lunge is divided into three stages including ground stage, flying stage, and stable stage. e ground stage consists of the front leg and hind leg pushing and stretching. From the hind leg off the ground to the front foot landing is the flying stage. e stable stage is from the front foot landing to the center of gravity stabilization. e stage division of fencing lunge movement is helpful to understand and analyze the lunge movement more clearly because the fencing lunge movement is fast and involves many main joints of lower limbs. Schematic diagram of stage division of fencing lunge is shown in Figure 1.

Fencer's Lunge Preparation.
e preparation posture of the lunge is the same as that of fencing. e distance between the athlete's feet is close to the shoulder width. As shown in Figure 2, the toe direction of the front foot of the Fencer points to the opponent and the position of the rear foot is basically perpendicular to the direction of the front foot. e elbow joint of the sword-holding arm bends naturally and the sword tip points to the opponent. e preparation action in this posture can provide the best balance and stability for athletes. It allows athletes to quickly and exibly switch between attack and defense in the competition. In competition, when the athlete decides to launch the lunge action for the attack, the athlete starts from the preparation position, and the rear foot quickly pushes onto the ground to provide power for the lunge forward. After the front foot leaves the ground, the athlete's body center of gravity begins to move forward, and the lunge action enters the acceleration stage which ends when the rear foot leaves the ground. e acceleration stage is the most critical stage in the lunge. e peak values of power and angular velocity of the ankle, knee, and hip before and after the landing of the athlete's front foot appear in this stage. For the timing of the athlete's movement at the beginning of the fencing lunge, the traditional view is that the swordsman moves ahead of other parts of the body, and the whole lunge is pulled forward by the hand. In the lunge movement of elite athletes, the movement of the swordsman is not ahead of other parts of the body and the movement of the swordsman is synchronized with the center of gravity of the athlete's body. Schematic diagram of feet position of Fencer's lunge preparation posture is shown in Figure 2.

Arti cial Neural Network (ANN).
Neural network is a special branch of AI. ANN is a naturally inspired structure which has many similarities with the human brain. A natural neuron consists of neuronal nuclei, dendrites, and axons. Axons are divided into many branches which are connected with the dendrites of other neurons to form synapses. Both the arti cial and natural neuron has almost the same structure. It also possesses an operating unit (nucleus), input (dendrites), and output (similar to an axon). Figure 3 depicts the structure of the arti cial neuron. e input part of arti cial neuron can be text, sound, image, signal, video, and other meaningful information. e weight is a variable set to expand or compares the strength of the input information. e signal transmitted in the network is changed by changing the weight, so as to realize the e ect of modifying the output signal. Bias is an independent element which can add external signals to the activation function, and bias also has a corresponding weight. e function of activation function is to lter the signal and send the signal.

3.4.1.
Convolutional Neural Network (CNN). Convolutional neural network (CNN) is a sub eld of articial neural network, which introduce convolution operation on the basis of neural network. CNNs meet transformers (CMT) performs well in many elds especially in image related tasks such as computer vision problems, image classi cation, semantic image sharing, image restoration, and object detection. It has also been applied in natural language processing (NLP) which can classify text and spoken words in much the same way human beings can. CNN consists of the following subparts.
(i) Basic structure: Generally, CNN has multiple levels, and the content initially transmitted into the input layer can be photos in RGB format or original audio and video materials. In the process of data transmission, CNN processes it through multi-layer mode to extract features. e convolution layer performs convolution processing, the pooling layer performs   Mobile Information Systems confluence processing, the activation function layer performs feature filtering, and the full connection layer performs feature classification processing. e convolution network can output the loss value of each iteration, feed this value back to the network for repeated iteration, and this value will become smaller and smaller. (ii) Basic components: Convolution operation is the focus of CNN. In the process of network training, data sampling is completed by the convolution layer.
In CNN, discrete convolution operation is adopted, assuming that the original data 5 × 5, and the specification of the corresponding convolution kernel is 3 × 3. e moving step of convolution kernel is 1, as shown in Figure 4.
Expand the convolution operation on the upper left of the original image. e detailed convolution operation and the results are shown in Figure 5. e values in the convolution kernel matrix are not artificially specified in the actual training but obtained by the network self-learning. e shape of the convolution kernel can be designed according to the actual scene.

Results and Discussion
In the machine learning, the feature extractor is selected, and the parameters of the classifier are trained with data. In highdimensional space, decent features are not easy to be seen directly by humans in many cases. Convolutional neural network literally includes two parts, convolutional and neural network. In which convolution is the feature extractor and neural network can be regarded as a classifier. Training a CNN model is to train both the feature extractor (convolution) and the subsequent classifier (neural network). From the perspective of function, the traditional classification model can be written as follows.
y � f(x, θ classifier). (1) In equation (1) f illustrates the feature extractor, x depicts the original data, and θ represents the classifier. As a feature extractor, the classification model of convolution can be described as follows: y � f(x, θ filter, θ classifier). (2) In equation (2) θ filter illustrates the parameters in the feature extractor.

Human Joint Point Extraction and Tracking.
For the detected human foreground, this study will track the joint points and skeleton in it. e traditional joint point extraction methods are optical marking and manual annotation. Optical marking is not conducive to the movement of limbs, and manual annotation is not conducive to the automation of the system. erefore, this paper proposes an automatic joint point initialization method based on multifeature fusion that uses the fusion algorithm of vertical integral projection, horizontal line scanning, index lookup table, and length proportion constraint to extract the joint points. is method is fast and accurate, does not rely on manual annotation, and can improve the intelligence of the system. In the process of human motion, one tracking method cannot accurately obtain the motion position of joint points and tracking will be wrong and lost due to the influence of occlusion, motion speed, and other factors. erefore, in this research work, Lucas Kanade optical flow tracking algorithm is used to track the motion of joint points and then combined with Kalman filtering algorithm to  predict the change of motion, so as to correct the wrong points and improve the accuracy of tracking.

Human Skeletonization.
After obtaining the human silhouette image, it is di cult to extract human joint points directly, and the extraction algorithm has large amount of calculation and low accuracy. erefore, it is necessary to skeleton the silhouette image to nd out the position of joint points. e joint points are connected according to a certain sequence to form the human joint point model as shown in Figure 6. e labels in Figure 6 are from 0 to 15 and the corresponding relationship with each joint point of the human body is shown in Table 2.
Bone is a feature that describes the underlying information of an image, which was rst proposed by Blum. Skeletonization also known as thinning refers to the stripping of human targets layer by layer to reduce redundant information, while maintaining the basic topology of the shape unchanged and extract bone structure features. Image thinning can reduce the redundant data information in the original image and reduce the amount of calculation in the process of joint point extraction. At present, there are two commonly used skeletonization methods: distance transformation method and eight neighborhood method. e distance transformation method has a large amount of calculation, low accuracy, and cannot ensure the connectivity of the image. e eight neighborhood method is used for skeletonization in this paper to improve the accuracy of the bone model. For a pixel P1 in the image, its eight neighborhoods are shown in Figure 7.
e principle of the eight neighborhood method is when the eight neighborhoods of p1 pixel meet the following three conditions at the same time, it indicates that the point is not on the bone, so set its pixel value to 0 and delete it from the image. e three conditions are: (1) there is only one point with a value of 1 in the eight neighborhoods (i.e., p is the endpoint) and there are 7 or 8 points with a value of 1 (i.e., p is the target internal point); (2) e line segment itself is single pixel wide to prevent further skeletonization from breaking the bone; (3) p is the point on the silhouette boundary which must not be a bone point. e formula expression of the three conditions is shown in the below equations.
where N(p1) represents the number of black pixels (value 0) in the eight neighborhoods of p1 and Z(p1) represents the number of changes of pixel values from 0 to 1 in the order of p2, p3, . . . , p9. According to the conditions of equations (1)-(4), navigate each pixel in the image. If at least one condition is not met, it indicates that the pixel is a bone point. Set its value to 1, and nally get a binary bone image, as shown in Figure 8. It can be seen that the human bone image extracted by the eight-neighborhood method is more accurate. Di erent from the distance transformation method, it can ensure the connectivity of bones, single pixel width, no burr, and its extraction process is simple and fast which provides a reliable basis for the extraction of joint points.

Camera Projection Model.
e process of camera imaging is essentially a process of space-to-image-plane   projection, which can be represented as a transition between several coordinate systems such as the image frame, camera frame, and world coordinate systems. Image coordinate system refers to the coordinate system on the electrical display device. In image coordinate system (u, v), the horizontal axis is represented by u that goes from left to right and the vertical axis is represented by v that goes from top to bottom the in pixels. e center of the image coordinate system (x, y) is located (u 0 , v 0 ) in the UOV plane as shown in Figure 9. e association between the image coordinate systems (u, v) and (x, y) can be calculated via the following equation .
where the size of the pixel is K × 1, and the time calculation unit is millimeter (mm). e origin of the camera coordinate system (X C , Y C , Z C ) is the optical center of the lens, the X C axis is parallel to the X axis of the image coordinate system, the Y C axis is parallel to the Y axis of the image coordinate system, and the Z C axis is perpendicular to the image plane and parallel to the optical axis. If P(X, Y, Z) is an object point in the world coordinate system then C is the center of the camera lens, and x, y is the image plane. In order to facilitate observation, we transform point P to the side of the same lens as the image plane. Equations (8) and (9) show the relationship between image and camera coordinate systems.
where f x f sx , f y f sy , f is the actual focal length of the camera. s x 1/dx, s y 1/dy, respectively, represents the number of pixels in the unit physical size in the x and y directions of the image plane, and dx and dy are the physical size of a pixel. c x , c y are the o set of the optical axis and (f x , f y , c x , c y ) is called the internal parameter of the camera. e association between the world and the camera coordinate system can be expressed via the following formula.
In the above equation, R 3×3 is the rotation matrix and T 3×3 is the translation matrix, representing the external parameters of the camera. e perspective projection association from the world coordinate system to the image coordinate system can be calculated as follows.
where s is the scale factor. e above proportional projection formula is veri ed for the two-dimensional human bone image using the following steps.
Step 1: select human limb length. First, the human limb length is determined according to the joint length of the initial action in the image.
Step 2: solve the scale factor s. Calculate the s of each joint according to the derivation formula, and nally select the maximum value as the scale factor.
Step 3: determine the rst frame depth symbol.
Step 4: calculate the relative depth.
Step 5: reconstruct 3D point coordinates. Take    Step 7: reconstruct 3D point coordinates. According to the principle of motion coherence, the positive and negative values of the relative depth of subsequent frames select the depth of the joint point closer to the Z coordinate of the previous frame.
e length of selected human limbs is shown in Table 3. After obtaining the three-dimensional coordinates of the human body node, the angle between each node can be calculated to correct the mobilization swing. Comparison of joint angle between test action and standard action is shown in Table 4.
rough the three-dimensional modeling of human joint points, we can intuitively see the athletes' posture that helps the coach to analyze the athletes' actions and problems, so as to better guide the training athletes.

Conclusion
One of the most basic movements in fencing and other high stamina consuming sports is lungeing. e accurate and fast execution of lungeing and its succeeding movements (return to the original position or change of route) has a crucial role in athletes' success. e most critical technology in the process of human action recognition is human body posture detection. In this paper, a human motion recognition and posture analysis system based on gait technology is proposed. Several factors including foreground detection, morphological processing, human skeletonization, node extraction, motion tracking, motion prediction, similarity evaluation, and the three-dimensional motion information of human nodes are considered in this study, which provides guidance for sports movement training. According to the characteristics of fencing, choosing appropriate core strength training methods and resources not only improves athletes' professional skills and fencing strength but also reduces athletes' injury probability in fencing competition or training. According to this study, different core strength training means and methods need to be adjusted according to the training purpose. Furthermore, coaches need to formulate different training programs according to the training requirements and physical conditions of athletes, and carry out training in combination with the individual abilities of athletes. In this paper, we used a gait tracking algorithm that evaluates the fencing athletes' strength distribution characteristics. Further, using the gait recognition algorithm based on AI technology, the movement posture and gait of fencers can be recognized automatically in real time which is helpful to realize the automatic evaluation of power distribution.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.  Conflicts of Interest e authors declare that they have no conflicts of interest.