Using Machine Learning Algorithms to Recognize Shuttlecock Movements

Shuttlecock is an excellent traditional national sport in China. Because of its simplicity, convenience, and fun, it is loved by the broad masses of people, especially teenagers and children. The development of shuttlecock sports into a confrontational event is not long, and it takes a period of research to master the tactics and strategies of shuttlecock sports. Based on this, this article proposes the use of machine learning algorithms to recognize the movement of shuttlecock movements, aiming to provide more theoretical and technical support for shuttlecock competitions by identifying features through actions with the assistance of technical algorithms. This paper uses literature research methods, model methods, comparative analysis methods, and other methods to deeply study the motion characteristics of shuttlecock motion, the key algorithms of machine learning algorithms, and other theories and construct the shuttlecock motion recognition based on multiview clustering algorithm. The model analyzes the robustness and accuracy of the machine learning algorithm and other algorithms, such as a variety of performance comparisons, and the results of the shuttlecock motion recognition image. For the key movements of shuttlecock movement, disk, stretch, hook, wipe, knock, and abduction, the algorithm proposed in this paper has a good movement recognition rate, which can reach 91.2%. Although several similar actions can be recognized well, the average recognition accuracy rate can exceed 75%, and even through continuous image capture, the number of occurrences of the action can be automatically analyzed, which is beneficial to athletes. And the coach can better analyze tactics and research strategies.


Introduction
Shuttlecock is developed from the ancient shuttlecock game with a history of more than 2000 years in my country. It combines scientific ability, wide publicity, excellent skills, and rich entertainment. It is a relatively new sport in modern society. The technical difficulty is medium, the exercise intensity is low, and the requirements for gender, age, location, and equipment status are low. The development of shuttlecock has played a decisive role in promoting the implementation of nationwide fitness programs. The development of shuttlecock sports provides people with good sports and entertainment methods, promotes social stability, promotes people's physical and mental health, and delays the process of social aging [1].
Computer vision and machine learning technologies are widely used in data mining, information security, remote sensing image processing, bioinformatics, intelligent transportation, intelligent security, and medical services. As one of the important branches in the field of computer vision, moving target detection technology has been widely used in real scenes. Existing moving target detection methods have problems such as long calculation time and high complexity. How to meet the real-time performance in real scene problem is becoming more and more important. With the rapid development of deep learning, the recognition accuracy of another important branch in the field of computer visiontarget recognition technology has been greatly improved. However, due to the complex network structure and high computational complexity of the deep learning, how to quickly complete the training process of deep learning networks has become an urgent problem in the field of deep learning.
It is a challenge for Lin to track players and shuttlecocks in broadcast badminton videos, especially for small-sized and fast-moving shuttlecocks. There are many situations that may cause occlusion or misjudgment. A method for tracking athletes and badminton in broadcast badminton video is proposed. They use adaptive Kalman filtering, trajectory confidence estimation, and confidence update (position similarity and relative motion relationship, RMR) to improve the accuracy of the target trajectory. Experimental results show that this method significantly improves the tracking success rate of athletes and shuttlecocks. However, this method also has a shortcoming, that is, there are too many influencing factors to be considered when the accuracy test is carried out, and there is a certain degree of difficulty in practical application [2]. Aiming at the problem of action recognition in still images, Zhichen proposed a method to arrange the features of different semantic parts in spatial order. Their method consists of three parts: (1) a semantic learning algorithm, which collects a set of partial detectors, (2) an effective detection method, which uses the same grid to divide multiple images and computes them in parallel, and (3) a topdown spatial arrangement increases the variance between classes. The proposed semantic part learning algorithm can not only capture interactive objects but also capture distinguishing gestures. Their spatial layout can be seen as a kind of adaptive pyramid, which highlights the spatial distribution of body parts in different movements and provides a more distinctive representation. Experimental results show that their method significantly outperforms existing methods on two challenging benchmarks. However, their method has limitations in that it is only for the processing of static pictures. However, in reality, more needs are the processing and application of dynamic pictures [3]. Jean et al. reviewed and commented on the past, present, and future of numerical optimization algorithms in machine learning applications. Through case studies of text classification and deep neural network training, they discussed how optimization problems in machine learning arise and what makes them challenging. A major theme of their research is that large-scale machine learning represents a unique environment in which stochastic gradient (SG) methods traditionally play a central role, while traditional gradient-based nonlinear optimization techniques usually faltering. Based on this point of view, they proposed a simple and general SG algorithm comprehensive theory, discussed its actual behavior, and emphasized the opportunity to design algorithms with improved performance. This led to the discussion of the next generation of large-scale machine learning optimization methods, including the investigation of two mainstream research directions, techniques, and methods to reduce noise in random directions. However, their algorithm cannot fundamentally solve the difficulties in the application of machine learning [4].
The innovations of this paper are (1) combine qualitative research with quantitative research and fully analyze the research data and (2) combine theoretical research with empirical research and combine shuttlecock sports on the basis of machine learning algorithm theory.  [5]. Shuttlecock's good project participation makes it rank in the forefront of all ethnic traditional sports in China, and it has been well promoted worldwide [6]. The World Shuttlecock Federation was formally established this year, and shuttlecock sports have been developed in many countries including Asia and Europe. The international development of shuttlecock has greatly promoted the improvement of the level of competition.

Using Machine
(1) The research significance of shuttlecock Shuttlecock is an excellent national traditional sport in our country. Shuttlecock has a history of more than 2,000 years. It not only inherits the national spirit of selfimprovement in traditional Chinese culture but also integrates the spirit of modern culture and sports competition [7]. Enriching people's cultural life, if it can be widely promoted, can promote the construction of socialist spiritual culture, and contribute to the construction of a harmonious society. Shuttlecock is very valuable as well as entertainment value. It has a broad collective foundation, which is not only pleasing to the eyes but also popular with the audience. Through practice, the shuttlecock can improve a great level and has a unique charm [8]. We should dig, organize, inherit, and develop. With the development of national fitness exercises, key ball sports do not require high participants, and there are not many requirements for venues, and the equipment is cheap. Therefore, many squares, parks, schools, residential areas, and other open spaces and other shuttlecock sports are everywhere.
Scientific fitness, rich entertainment, and diverse skills have a good role in promoting the physical and intellectual development of the broad masses of people. In order to promote the inheritance and development of the current shuttlecock sport in our country, the action recognition is carried out to better learn the laws of the shuttlecock sport [9]. It also provides useful enlightenment for the development of the national fitness program and provides a theoretical basis for the national traditional sports to better integrate into the mass fitness activities. Using machine learning algorithms to conduct motion recognition research on shuttlecock sports can effectively promote the development of shuttle cock sports, carefully study the characteristics of shuttlecock sports, and win impressive results on the court.
(2) The characteristics of shuttlecock At this stage, the shuttlecock sport is an emerging national sport that integrates fitness, entertainment, mass, popularity, high skill, strict collective, fierce confrontation, technical duality, and appreciation. The reason why the 2 Wireless Communications and Mobile Computing shuttlecock sport is loved by people [10] is also because the shuttlecock itself also shows the characteristics of simplicity, small size, light weight, slow speed, low difficulty, simple control, and very interesting. Shuttlecock integrates football skills, badminton courts, and volleyball rules. It is easy to learn and understand. In addition, it is not affected by various indoor and outdoor spaces, equipment, and climatic conditions and can autonomously control the amount of exercise with strong adaptability. Athletes can practice regardless of age, gender, or level [11]. Therefore, the shuttlecock can not only move the body but also has a beautiful artistic performance. It is displayed on various occasions and plays a unique role in the audience.
(3) The value and function of shuttlecock Viewing function: The viewing function of traditional national sports is a collection of natural beauty and social beauty. The main content includes physical beauty, sports beauty, spiritual beauty, and clothing beauty. National traditional sports are a kind of comprehensive overall beauty. The perfect movement skills are fascinating and indescribable. In basic sports, not only the body is exercised, but the artistic performance is also beautiful [12]. Therefore, the shuttlecock has both the beauty of the human body and the unique sports characteristics of the country. The movement of the button ball reflects the physique of the human body and can also improve the strength, speed, endurance, and flexibility of the human body [13].
Educational function: In this way, we can take advantage of the fitness function, aesthetic value, and ideological and educational significance of the shuttlecock sport itself to carry out educational activities, which can not only promote the traditional national sports culture of our country but also enrich the people's amateur life and at the same time enhance the cultivation of people's good thinking. Moral quality lays a solid foundation for lifelong sports [14]. Carrying forward traditional national sports in the process of developing mass sports will undoubtedly have certain positive significance for carrying out extensive traditional moral education.
Economic value: Shuttlecock, as a traditional cultural carrier, carries the unique cultural knowledge of the nation, can make people deeply feel the value of national sports, guide consumers to buy related sports goods, books, audio, and video products, and create the company's products. R&D, mass production, and large-scale business conditions improve the economic benefits of society [15]. Make full use of the cultural advantages of the shuttlecock project to carry out multiform cultural industry research and development to increase publicity and attract more tourists to participate in the entertainment of the shuttlecock. National aerobics attracts tourists from all over the world with its unique style, thereby driving the local economic development. Analyzed from multiple angles, the exhibition of the shuttlecock project has a positive effect on driving the development of various industries [16].

Feature Selection and Extraction of Moving Targets.
Feature extraction section selects senior stage is the body motion recognition. It is hot and difficult to study. Human feature selection and extraction refers to selecting appropriate features from related videos or images to effectively describe the human movement.
The feature extraction link is an indispensable part of a complete motion recognition system. It is not only related to the accuracy and speed of subsequent motion recognition but also affects the performance of motion classification and discrimination [17]. There are many kinds of human body features. Among the many features, only a few are effective. Therefore, how to extract features that are unique to the target itself and have low sensitivity to environmental changes is the main task of feature extraction, and it is also the focus of human action recognition research [18].
At present, the features used in human action recognition mainly include motion features, shape features, and the fusion of the two features. The extraction based on motion features is based on the information shown by the human body's motion state, such as motion displacement, motion speed, motion direction, and angle information. Motion characteristics have the advantages of relative invariance and periodicity [19]. The extraction based on the shape feature uses the static feature of the moving human body to describe the action. Commonly used shape features mainly include contour features, perimeter, area, compactness, and circumscribed rectangle features. Compared with motion features, shape features have the advantages of distance from the camera and insensitivity to the surrounding environment. Based on the extraction of contour features of human actions from multiple perspectives, excellent recognition results are obtained [20]. Extract the width feature of the circumscribed rectangle of the moving target as a feature vector to identify human gait changes.

Machine Learning.
Machine learning is a discipline dedicated to the study of how to use computational methods and use the acquired knowledge to improve the performance of the system itself. In computer systems, the so-called "experience" usually exists in the form of "data," so the content of machine learning research is to use the characteristics of the data to generate the algorithm of the model [21]. From the core perspective of machine learning, optimization and statistics are the two core supporting technologies (as shown in Figure 1).
Machine learning can not only be regarded as a method but also can be used for pattern recognition or data mining. There are four main types of problems (applications) in the field of machine learning: (1) prediction-can be solved by regression algorithm; (2) clustering-such as K-means method and hierarchical clustering algorithm; (3) classification-such as support vector machine method and decision tree algorithm; (4) dimension reduction-such as principal component analysis (PCA) [22]. At present, in many fields of computing science, including graphics and image processing, software engineering, computer vision, and natural language processing, machine learning can serve them. At the same time, machine learning is also performing well in interdisciplinary subjects, especially in the field of bioinformatics, where a large amount of data needs to be processed 3 Wireless Communications and Mobile Computing and analyzed, and machine learning just meets its requirements.

Deep Belief Network.
A deep belief network model can be regarded as the superposition of multiple RBM models, and the output of the hidden layer in each layer is used as the input of the visible layer in the next layer, so that a layered training model can be generated [23]. The training process of multiple RBM superimposed DBN. The restricted Boltzmann machine RBM is a bipartite undirected graph based on the energy model. RBM contains m visible layer nodes and n hidden layer nodes, and the connection between the visible layer and the hidden layer is obtained through the weight matrix W [24]. In addition, both the visible layer and the hidden layer contain the corresponding offset values vbias and hbias.
In a given state, the energy function of the visible layer and the hidden layer is defined as This energy function indicates that in a certain state, each node of the visible layer and each node of the hidden layer have a capability value, and then, the energy value in this state is obtained [25,26]. According to the energy function, the joint probability of the visible layer node and the hidden layer node is defined as So, we get the conditional probability of the visible layer and the hidden layer, where the conditional probability of the visible layer is The conditional probability of the hidden layer is Among them, X = ∑ b,l e −Rðb,lÞ , the maximum likelihood is used to solve the energy function, and the corresponding parameters (including the weight matrix, the visible layer offset value, and the hidden layer offset value) are obtained to   Wireless Communications and Mobile Computing make the RBM energy function value the lowest [27]. The solution formula is as follows: By solving the W in the model by maximum likelihood estimation, we can get Among them, the solution of the first term is Among them, τðxÞ = 1/ð1 + e −x Þ. The solution of the second term needs to traverse all possible values. The commonly used method is based on Monte Carlo's Gibbs sampling method.

Using Machine Learning Algorithms to Recognize the Research Model of Shuttlecock Movements
This article mainly uses multiview clustering algorithm based on multicore learning for the shuttlecock movement recognition model, which recognizes information through the state of human movement and movement. The basic movements of the shuttlecock sport include panning, turning, knocking, jumping, and step. Through experimental research, data collection, preprocessing, and feature extraction of these actions are carried out, and the key steps are continuously improved and optimized, so as to improve the accuracy of motion recognition as a whole.
(1) Multiview clustering algorithm based on multicore learning In many machine learning, computer vision, and image processing applications, because the data comes from different data sources and reflects the different characteristics of the data itself, the data can often have multiple views. For example, the same image can contain multiple feature representations: color, shape, and texture. Compared with the traditional single-view clustering algorithm, the multiview clustering algorithm can make full use of the complementary information from different views in the same sample, thereby ultimately improving the performance of the clustering algorithm.
The existing multiview algorithms can be divided into three main categories: multiview clustering algorithms based on collaborative training, multiview clustering algorithms based on subspace, and multiview clustering algorithms based on multicore learning. Among these algorithms, our work mainly focuses on the multiview clustering algorithm based on multicore learning. This algorithm has been widely researched and applied in recent years and has achieved the best results among the current multiview clustering algorithms. In more detail, the multiview clustering algorithm based on multicore learning can be divided into two methods: the combined kernel function method and the public kernel function method. The combined kernel function method learns a linear or nonlinear kernel function combination as the input of the final clustering algorithm. This method has received a lot of attention in recent years. However, in a real environment, we often introduce noise information when we collect data, because it does not have a mechanism to deal with noise, so the combined kernel function method may not get better performance. Another method is the public kernel function method, which learns a public kernel function from the basic kernel function composed of multiple views. Compared with the combined kernel function method, this method has great advantages in noise processing.
Assuming that the same input data sample has the information of n views, we use the information of n views to construct n kernel functions F1, F2, …, Fn, and we use the method of multicore learning to learn from these basic kernels from different views. The function learns an optimal common kernel function B as the input of the final clustering algorithm to classify data from different categories into their respective categories. In order to better obtain the correct structure information implicit in the data and at the same time remove the noise information that may affect the performance of the final clustering algorithm from the learned public kernel function; we consider the following aspects of the problem: (1) we that learned public kernel function has low-rank characteristics and tends to block diagonal matrix structure and has less noise information; (2) since noise may be introduced when data is obtained, we construct multiple basic kernel functions There will be a certain amount of noise information.
Based on the above considerations, we define the model of joint optimization as follows: Among them, the model or distribution of the error k⋅k l is obtained a priori for the norm on the error matrix R, which γ is a parameter to weigh the two optimization items. In actual application scenarios, it k⋅k l represents the noise associated with random elements. In order to solve the above optimization model more generally, we 5 Wireless Communications and Mobile Computing adopt k⋅k 1 the constraint of our error matrix R. Thus, the optimized model we retrieved is as follows: The optimization problem becomes difficult to solve because the problem includes the solution of the rank function. We convert the rank function into a kernel norm to solve the problem. Since the kernel norm is a good approximation of the rank function, we can turn the problem into the following form: We use the nondeterministic augmented Lagrangian method to solve the problem, so we can get the following form: Among them v, the convergence rate of the nondeterministic augmented Lagrangian method will be penalized, and Up is the Lagrangian multiplier constraint of Fp = B + Rp. h⋅i represented inner product operation, and k⋅k G represented G-norm.
(2) Optimization algorithm Fix other parameters, optimization B: When other parameters are fixed, the subproblem of optimization is The singular value threshold method can be used to solve the problem. Among them, After solving, we can get the result of B as Among them, D is a shrink operation, which is defined as (3) Fix other parameters and optimize R The subproblem obtained by optimizing R is Its solution formula is The optimization of the Lagrange multiplier can be defined as where B ðk + 1Þ and R ðk+1Þ p are the result of the k + 1 iteration above.
In feature extraction before extracting the characteristics of human motion state, data preprocessing needs to segment the data. The feature data extracted from the sensor data in a short time is called a window, which contains all the features of each human motion state. The duration of each cycle of each state determines the size of the window. Smaller windows may not accurately contain all the characteristics of each human motion state, but larger windows will bring more noise and affect the actual feature extraction. Usually, the time signal is sampled in a sliding window of 2.56 seconds with a fixed width, with an overlap rate of 50% and a sampling rate of 50 Hz, for data collection of human motion status.

Use Machine Learning Algorithms to
Recognize Shuttlecock Movements Figure 2 is the use of machine learning algorithms to identify the effect of shuttlecock movement. Figure 2(a) is a schematic diagram of the six key actions of shuttlecock (Figure 2(a), the original picture is borrowed from Baidu Gallery: https://wenku.baidu.com/view), and Figure 2(b) is binarized. After the image, Figure 2(c) is the effect image after recognition. It can be clearly seen from the picture that the red box outlines the key movements demonstrated by the shuttlecock player, namely, panning, stretching, hooking, wiping, knocking, and abduction. This shows that the research algorithm in this article is very effective, it can capture the actions of shuttlecock players very well, which is  Table 1 is the confusion matrix of the experimental classification results. The confusion matrix can be used to calculate the accuracy rate, recall rate, and the value of F. Among them, the final accuracy rate of classification is 0.866. From the specific data, the clustering algorithm has a better recognition effect on WK, WU, and WD, while the recognition effect on SI, ST, and LY is poor. The main reason is dynamic action and static state. The difference in actions and the similarity of actions have always been the difficulty of action recognition.

Comparison of Machine Learning Algorithm Performance.
It can be seen from Table 2 that the recognition efficiency is evaluated by running time. In contrast, the algorithm in this paper can effectively improve the efficiency of motion recognition, and as the time complexity increases, the feature dimension increases, and the dimensionality reduction time is extremely high. And the algorithm in this paper effectively improves the recognition efficiency of feature dimensionality reduction.
As can be seen from Figure 3, after we fine-tuned the machine learning algorithm, the GPU platform value gradually increased, but its performance speedup ratio achieved the (c) Figure 2: Using machine learning algorithm to recognize the effect of shuttlecock movement.

Experimental Results of Shuttlecock Motion Recognition
Based on Machine Learning Algorithms. Figure 4 lists the experimental results of our method and other methods on the OxfordFlower17 dataset. From the table, we can see that the results obtained by all multiview-based methods optimize the experimental results of the optimal single view, thereby verifying the effectiveness of the multiview clustering algorithm; our proposed method is significantly better than the existing multiview Clustering Algorithm. It can be seen from Figure 5 that when the proportion of damage gradually increases from 10% to 60%, the experimental results obtained by our method are better than the other two clustering performance indicators in accuracy, cross-correlation information, and purity. The multicore learning method of the public kernel function proves that our method can deal with the noise information related to randomly generated elements. When the damage ratio is greater than 60%, the performance of the three methods is severely reduced due to the damage of the key information in the data. It is worth noting that when the proportion of damage is greater than 40%, the RMKC-SC method has been significantly reduced. Figure 6 shows the classification accuracy obtained by the six algorithms of SVM, SPL, CSVM, CSPL, MV_SVM, and MV_SPL under the data set. It can be seen from the figure that under the same dictionary length and perspective, the classification effect of SPL is better than that of SVM. For the UTKinect-Action data set, the classification accuracy of SPL is about 6% higher than that of SVM on average. For the Florence3D-Action dataset, the classification accuracy of SPL is about 3% higher than that of SVM on average. Under the same dictionary length, the classification effect of MV_SPL is better than that of MV_SVM. For the

Wireless Communications and Mobile Computing
UTKinect-Action dataset, the classification accuracy of MV_SPL is about 5.7% higher than that of MV_SVM. For the Florence3D-Action dataset, the classification accuracy of MV_SPL is 5.9% higher than that of MV_SVM on average. All of the above verify the effectiveness of the algorithm in this article. Figure 7 shows the comparison of the recognition performance of the two classifiers. From the data in the table, it can be seen that in the case of the same dictionary length, the recognition performance of the shuttlecock action, taking the 500 dictionary length as an example, the recognition performance of SVM is generally worse than that of SPL, but under   Figure 6: Comparison of classifier performance on the data set. 11 Wireless Communications and Mobile Computing the fusion algorithm, the multiview fusion algorithm is more effective. Especially in the two actions of hook and kick, SPL's action recognition rate exceeds 95%. Table 3 shows the number of actions that occurred in a shuttlecock match, as well as the recall rate, precision rate and accuracy, and other indicators. For the shuttlecock game, the algorithm proposed in this paper has a good action recognition rate, up to 91.2%. Although several similar actions can be recognized well, the average recognition accuracy rate can exceed 75%, and even through continuous image capture, the number of occurrences of the action can be automatically analyzed, which is beneficial to athletes. And the coach can better analyze tactics and research strategies.

Conclusion
This paper mainly uses machine learning algorithms to recognize the shuttlecock movement. Through the multiview clustering algorithm and deep belief network algorithm, the shuttlecock movement is recognized and processed, and the shuttlecock movement recognition model is constructed, and various data sets are used. Perform performance testing. The algorithm in this paper can greatly improve the efficiency of motion recognition in shuttlecock motion and shows good performance in human motion detection, motion feature selection, and extraction. The innovation of this paper is to strengthen the accuracy and precision of action recognition through the application of machine learning algorithms and improve the application efficiency of the algorithm. The disadvantage of this article is that the research model of this article is not perfect, and it needs more experimental research data support. In the future, the algorithm in this article will be more widely used in motion recognition, but there are still more difficulties, and we need more indepth research.

Data Availability
The data underlying the results presented in the study are available within the manuscript.

Conflicts of Interest
The author declares that there are no conflicts of interest.