# Automatic Recognition and Correction of Volleyball Players’ Release Angle Based on Feature Statistics

Authors: Rui Fang
Journal: Journal of Sensors
 (2021)

---

## Abstract

The constant reform of the competition rules has promoted the innovation of volleyball techniques and tactics. In order to improve the training efficiency and competitive level of volleyball players, this study designed a volleyball player shooting angle automatic recognition and correction method based on the process of feature statistics. Firstly, the basic structure of the information acquisition system is analyzed, and the acquisition process is determined. Then, grayscale and binarization operations are carried out for color-moving images to separate their foreground and background, and a median filtering algorithm is used to remove the image noise. Then, the image pyramid of different sizes is generated by the filter. Based on setting the datum direction, the feature of volleyball shooting is extracted by using the line formula. On this basis, we construct a support vector machine (SVM) classifier to statistically classify the features, use the histogram additive kernel support vector machine method to obtain the lens angle recognition results, and correct the lens angle through feature point matching. Simulation experiments show that this method can effectively remove image noise and make the image signal-to-noise ratio higher, and it can effectively identify whether volleyball players’ release Angle is correct, to achieve the purpose of timely correction.


---

## Body

## 1. Introduction

Volleyball is a sport that makes the Chinese people proud, especially the Chinese women’s national volleyball team, which has achieved impressive results in the past and has become a spirit of the times, inspiring the Chinese people to strive for self-improvement [1]. As the rules of the volleyball game system continue to change, it imposes higher demands on the physical quality and skill level of the players. Most of the traditional training methods rely on the coaches’ observation and analysis of the angles of the players’ shots through their own experience to find out the deficiencies and give training suggestions and instructions. The training in this way relies more on the coaches’ own quality and is somewhat subjective.In recent years, for various reasons, the development of volleyball in China has slowed down, which has caused widespread concern among enthusiasts. Modern sports involve high technology from players’ equipment to training methods [2]. Therefore, the development of technology in volleyball training has become the goal of future development. Moreover, having information related to the angle of the athlete’s shot is the first step to improve the technique [3].In this study, the image acquisition system is used to collect the information of the shot angle of players, and the feature statistics are input into the Support Vector Machine (SVM) classifier to complete the shot angle recognition, and then the feature matching is performed on the collected information combined with the sample inventory in the information acquisition system. If it matches with the sample information, the shot angle meets the requirements; if not, it is corrected.The reason for the use of feature statistics is that, in the use of mathematical statistics to study overall features, the focus is not on individuals in a population, but on the distribution of related features among different individuals in a population. This paper adopts this method to realize angle recognition, which reduces the complexity of recognition process and improves the accuracy of recognition.


## 2. Information Acquisition and Processing of Shot Angle

### 2.1. Information Acquisition System Structure and Acquisition Process

The motion information acquisition system, also known as the motion capture system, can realize the measurement, tracking, and recording of the target, which mainly includes the results of master controller, RF transceiver unit, network communication unit, and serial communication unit. The structure of shooting angle information collection system is shown in Figure1.Figure 1
Schematic diagram of the structure of shooting angle information collection system.


#### 2.1.1. Master Controller

The core part of the master controller is the master chip, and the selected microprocessor varies for different application scenarios. The microprocessor required in this study needs not to be portable and handheld. Therefore, in order to save resources, this study selects the embedded microcontroller as the system processor. In addition, the reader and the RFID both need to feature low-power consumption, so this study uses the ultra-low-power sixteen-bit industrial-grade microcontroller introduced by TI as the master chip.


#### 2.1.2. RF Transceiver Unit

Generally, the acquisition system utilizes the acquisition method based on the signal reception strength, so the signal acquisition capability of the RF transceiver chip should be strong [4, 5]. Based on a comprehensive analysis of the system requirements and functions, the 2.4 GHz CC2500 is selected as the RF transceiver chip in this study because of its advantages of small size, low power consumption, and user-friendly design.


#### 2.1.3. Network Communication Unit

This unit mainly refers to the Ethernet communication part, and the ENC28J60 from Microchip is selected in this study because it has only twenty-eight pins and has the advantages of low computational complexity and low cost [6].


#### 2.1.4. Serial Communication Unit

The serial communication unit in this system uses MAX232, a level logic conversion chip to interconnect the UART port of the master controller with the PC to achieve communication.Combining the structure of the above-mentioned information collection system, the construction of a volleyball information collection program is shown in Figure2.Figure 2
Volleyball information collection program.


### 2.2. Image Information Preprocessing

The acquired volleyball motion images are preprocessed. Usually, the information contained in the image is complex, and the useful information generally accounts for only a small portion. In addition, there is also a certain amount of noisy information in the image due to the effect of illumination. The purpose of preprocessing is to improve the image quality and thus fundamentally improve the recognition effect. Image preprocessing in this study mainly includes grayscale, binarization, and filtering and denoising.


#### 2.2.1. Image Grayscale

Since the images acquired by the system are color images, the essence of image grayscale is to take the same values for the red componentR, green component G, and blue component B. The processed color image realizes less postprocessing calculation and occupies less memory space. Grayscale image is an image with only one sampling color on any pixel. It is usually displayed as grayscale from the brightest black to white.The component value interval ofR, G, and B is generally 0,255, the grayscale is 256, and grayscale images can represent 256 colors. The grayscale values are represented by Gray. In this paper, the weighted average method is used to realize the grayscale of color images.Combining the three valuesR, G, and B, their respective weights are defined and a weighted average of them is calculated as follows:
(1)R=G=B=Gray=αR+βG+γB3.In equation (1), α, β, and γ represent the weights of R, G, and B, respectively. Since green produces the strongest stimulus effect on human eyes, followed by red and blue, grayscale images are obtained with higher quality when β>α>γ. Combined with experience, it is known that the best grayscale images are obtained when α=0.299, β=0.587, and γ=0.114 [7, 8]. The expression for grayscale of color images is as follows:
(2)fi,j=0.299Ri,j+0.587Gi,j+0.114Bi,j.In equation (2), i,j represents the point within the image, fi,j represents the grayscale value after grayscale transformation, and the three values of this point in the initial color graphics R, G, and B are described as Ri,j, Gi,j, and Bi,j, respectively.


#### 2.2.2. Image Binarization

The essence of grayscale image binarization is to separate the foreground and background of the image [9]. Firstly, a threshold T is set to divide the image into two parts, and the part above T is called the foreground image and the part less than T the background image. Assuming that the input and output images are represented as fx,y and gx,y, respectively, the following equation is applied:
(3)gx,y=1,fx,y≥T,0,fx,y<T.If the target grayscale values are distributed in several nonadjacent regions, the following equation is applied:(4)gx,y=1,fx,y∈Φ,0,other.In equation (4), Φ represents the set of different grayscale value intervals of the foreground target.


#### 2.2.3. Filtering and Denoising Processing

In the process, the median filter algorithm is used to remove image noise. The median filter algorithm mainly applies the sorting statistics theory. The core of this algorithm is the sorting statistical theory, which belongs to a nonlinear smooth filtering image processing technique [10]. The filtering expression in the two-dimensional filtering window W is as follows:
(5)gmedianx,y=fs,t.In equation (5), fs,t represents the grayscale value of the pixel in the neighborhood.Through the above-mentioned implementation of image graying, binarization, filtering, and denoising processing operations on volleyball moving images, not only can the foreground information and background information in the picture be effectively separated but also the noise information in the image can be effectively removed, thereby improving the image information. Furthermore, the noise ratio lays the foundation for the subsequent volleyball shot feature extraction process.


## 2.1. Information Acquisition System Structure and Acquisition Process

The motion information acquisition system, also known as the motion capture system, can realize the measurement, tracking, and recording of the target, which mainly includes the results of master controller, RF transceiver unit, network communication unit, and serial communication unit. The structure of shooting angle information collection system is shown in Figure1.Figure 1
Schematic diagram of the structure of shooting angle information collection system.


### 2.1.1. Master Controller

The core part of the master controller is the master chip, and the selected microprocessor varies for different application scenarios. The microprocessor required in this study needs not to be portable and handheld. Therefore, in order to save resources, this study selects the embedded microcontroller as the system processor. In addition, the reader and the RFID both need to feature low-power consumption, so this study uses the ultra-low-power sixteen-bit industrial-grade microcontroller introduced by TI as the master chip.


### 2.1.2. RF Transceiver Unit

Generally, the acquisition system utilizes the acquisition method based on the signal reception strength, so the signal acquisition capability of the RF transceiver chip should be strong [4, 5]. Based on a comprehensive analysis of the system requirements and functions, the 2.4 GHz CC2500 is selected as the RF transceiver chip in this study because of its advantages of small size, low power consumption, and user-friendly design.


### 2.1.3. Network Communication Unit

This unit mainly refers to the Ethernet communication part, and the ENC28J60 from Microchip is selected in this study because it has only twenty-eight pins and has the advantages of low computational complexity and low cost [6].


### 2.1.4. Serial Communication Unit

The serial communication unit in this system uses MAX232, a level logic conversion chip to interconnect the UART port of the master controller with the PC to achieve communication.Combining the structure of the above-mentioned information collection system, the construction of a volleyball information collection program is shown in Figure2.Figure 2
Volleyball information collection program.


## 2.1.1. Master Controller

The core part of the master controller is the master chip, and the selected microprocessor varies for different application scenarios. The microprocessor required in this study needs not to be portable and handheld. Therefore, in order to save resources, this study selects the embedded microcontroller as the system processor. In addition, the reader and the RFID both need to feature low-power consumption, so this study uses the ultra-low-power sixteen-bit industrial-grade microcontroller introduced by TI as the master chip.


## 2.1.2. RF Transceiver Unit

Generally, the acquisition system utilizes the acquisition method based on the signal reception strength, so the signal acquisition capability of the RF transceiver chip should be strong [4, 5]. Based on a comprehensive analysis of the system requirements and functions, the 2.4 GHz CC2500 is selected as the RF transceiver chip in this study because of its advantages of small size, low power consumption, and user-friendly design.


## 2.1.3. Network Communication Unit

This unit mainly refers to the Ethernet communication part, and the ENC28J60 from Microchip is selected in this study because it has only twenty-eight pins and has the advantages of low computational complexity and low cost [6].


## 2.1.4. Serial Communication Unit

The serial communication unit in this system uses MAX232, a level logic conversion chip to interconnect the UART port of the master controller with the PC to achieve communication.Combining the structure of the above-mentioned information collection system, the construction of a volleyball information collection program is shown in Figure2.Figure 2
Volleyball information collection program.


## 2.2. Image Information Preprocessing

The acquired volleyball motion images are preprocessed. Usually, the information contained in the image is complex, and the useful information generally accounts for only a small portion. In addition, there is also a certain amount of noisy information in the image due to the effect of illumination. The purpose of preprocessing is to improve the image quality and thus fundamentally improve the recognition effect. Image preprocessing in this study mainly includes grayscale, binarization, and filtering and denoising.


### 2.2.1. Image Grayscale

Since the images acquired by the system are color images, the essence of image grayscale is to take the same values for the red componentR, green component G, and blue component B. The processed color image realizes less postprocessing calculation and occupies less memory space. Grayscale image is an image with only one sampling color on any pixel. It is usually displayed as grayscale from the brightest black to white.The component value interval ofR, G, and B is generally 0,255, the grayscale is 256, and grayscale images can represent 256 colors. The grayscale values are represented by Gray. In this paper, the weighted average method is used to realize the grayscale of color images.Combining the three valuesR, G, and B, their respective weights are defined and a weighted average of them is calculated as follows:
(1)R=G=B=Gray=αR+βG+γB3.In equation (1), α, β, and γ represent the weights of R, G, and B, respectively. Since green produces the strongest stimulus effect on human eyes, followed by red and blue, grayscale images are obtained with higher quality when β>α>γ. Combined with experience, it is known that the best grayscale images are obtained when α=0.299, β=0.587, and γ=0.114 [7, 8]. The expression for grayscale of color images is as follows:
(2)fi,j=0.299Ri,j+0.587Gi,j+0.114Bi,j.In equation (2), i,j represents the point within the image, fi,j represents the grayscale value after grayscale transformation, and the three values of this point in the initial color graphics R, G, and B are described as Ri,j, Gi,j, and Bi,j, respectively.


### 2.2.2. Image Binarization

The essence of grayscale image binarization is to separate the foreground and background of the image [9]. Firstly, a threshold T is set to divide the image into two parts, and the part above T is called the foreground image and the part less than T the background image. Assuming that the input and output images are represented as fx,y and gx,y, respectively, the following equation is applied:
(3)gx,y=1,fx,y≥T,0,fx,y<T.If the target grayscale values are distributed in several nonadjacent regions, the following equation is applied:(4)gx,y=1,fx,y∈Φ,0,other.In equation (4), Φ represents the set of different grayscale value intervals of the foreground target.


### 2.2.3. Filtering and Denoising Processing

In the process, the median filter algorithm is used to remove image noise. The median filter algorithm mainly applies the sorting statistics theory. The core of this algorithm is the sorting statistical theory, which belongs to a nonlinear smooth filtering image processing technique [10]. The filtering expression in the two-dimensional filtering window W is as follows:
(5)gmedianx,y=fs,t.In equation (5), fs,t represents the grayscale value of the pixel in the neighborhood.Through the above-mentioned implementation of image graying, binarization, filtering, and denoising processing operations on volleyball moving images, not only can the foreground information and background information in the picture be effectively separated but also the noise information in the image can be effectively removed, thereby improving the image information. Furthermore, the noise ratio lays the foundation for the subsequent volleyball shot feature extraction process.


## 2.2.1. Image Grayscale

Since the images acquired by the system are color images, the essence of image grayscale is to take the same values for the red componentR, green component G, and blue component B. The processed color image realizes less postprocessing calculation and occupies less memory space. Grayscale image is an image with only one sampling color on any pixel. It is usually displayed as grayscale from the brightest black to white.The component value interval ofR, G, and B is generally 0,255, the grayscale is 256, and grayscale images can represent 256 colors. The grayscale values are represented by Gray. In this paper, the weighted average method is used to realize the grayscale of color images.Combining the three valuesR, G, and B, their respective weights are defined and a weighted average of them is calculated as follows:
(1)R=G=B=Gray=αR+βG+γB3.In equation (1), α, β, and γ represent the weights of R, G, and B, respectively. Since green produces the strongest stimulus effect on human eyes, followed by red and blue, grayscale images are obtained with higher quality when β>α>γ. Combined with experience, it is known that the best grayscale images are obtained when α=0.299, β=0.587, and γ=0.114 [7, 8]. The expression for grayscale of color images is as follows:
(2)fi,j=0.299Ri,j+0.587Gi,j+0.114Bi,j.In equation (2), i,j represents the point within the image, fi,j represents the grayscale value after grayscale transformation, and the three values of this point in the initial color graphics R, G, and B are described as Ri,j, Gi,j, and Bi,j, respectively.


## 2.2.2. Image Binarization

The essence of grayscale image binarization is to separate the foreground and background of the image [9]. Firstly, a threshold T is set to divide the image into two parts, and the part above T is called the foreground image and the part less than T the background image. Assuming that the input and output images are represented as fx,y and gx,y, respectively, the following equation is applied:
(3)gx,y=1,fx,y≥T,0,fx,y<T.If the target grayscale values are distributed in several nonadjacent regions, the following equation is applied:(4)gx,y=1,fx,y∈Φ,0,other.In equation (4), Φ represents the set of different grayscale value intervals of the foreground target.


## 2.2.3. Filtering and Denoising Processing

In the process, the median filter algorithm is used to remove image noise. The median filter algorithm mainly applies the sorting statistics theory. The core of this algorithm is the sorting statistical theory, which belongs to a nonlinear smooth filtering image processing technique [10]. The filtering expression in the two-dimensional filtering window W is as follows:
(5)gmedianx,y=fs,t.In equation (5), fs,t represents the grayscale value of the pixel in the neighborhood.Through the above-mentioned implementation of image graying, binarization, filtering, and denoising processing operations on volleyball moving images, not only can the foreground information and background information in the picture be effectively separated but also the noise information in the image can be effectively removed, thereby improving the image information. Furthermore, the noise ratio lays the foundation for the subsequent volleyball shot feature extraction process.


## 3. Automatic Recognition and Correction of Shot Angle Based on Feature Statistics

### 3.1. Feature Extraction

Upon completion of image preprocessing, direct detection of feature points enables to avoid image segmentation, which is easier to implement. For this reason, this study implements feature point detection using approximate Hessian matrix based on Speeded-Up Robust Features (SURF). Assume that the Hessian matrix of the pointIx′,y′ in the scale space that is σ is represented as
(6)H=Lx′x′x′,σLx′y′x′,σLx′y′x′,σLy′y′x′,σIn equation (6), Lx′x′x′,σ, Lx′y′x′,σ, and Ly′y′x′,σ are the results obtained from the second-order partial derivatives of the Gaussian function at Ix′,y′ [11] and the convolution of the image Ix′,y′.On this basis, the image pyramid is constructed. In this process, the image needs to be resampled and then convoluted with Gaussian functions of different scales. A surf operator approximates the second-order Gaussian function through a box filter to improve the calculation speed. The image pyramids of different sizes can be generated in the image depending only on the filter size, and the convolution acceleration of the image is achieved using integral images [12, 13], and thus, the determinant of Hessian matrix is obtained as follows:
(7)ΔH=Dx′x′Dx′y′x′−0.9Dy′y′x2In equation (7), Δ indicates the response value of the box filter in the region near the point Ix′,y′ [14], and Dx′x′, Dx′y′, and Dy′y′ represents the prefiltering image line, the filter convolution line, and the postfiltering image line, respectively. The value of the matrix determinant is used to judge the feature point, and if the value is positive and the two feature values are different, the point is defined as an extreme point.Based on this, some among the extreme points are selected as candidate feature points. The selection method is to do the nonmaximum suppression in the3×3×3 regions centered on the extreme points and compare the adjacent scales with the 26 neighborhood values near the scale, and only the points that are larger or smaller than the neighborhood values can be identified as feature points.To ensure the rotational invariance of the descriptors and give the reference direction for feature point assignment, a neighborhood with the feature point as the center of the circle and6s (s refers to the scale value where the feature point is located) as the radius is established firstly, and the Harr wavelet responses in different directions are computed in this region, while weights are attached to these response values to ensure that the weights of the adjacent feature points are larger; its rotation is performed in a circle by a sector template with a circular angle of sixty degrees to obtain the vector consisting of the cumulative sums of the Harr responses in all sliding windows, and the direction corresponding to the highest cumulative sum is set to be the reference direction of this feature point [15].After determining the reference direction, construct a square with a side length of 20 cm along the direction centered on the feature point, and divide the window neighborhood into4×4 subareas. In any subregion, the Harr wavelet response values of the sampling points are calculated for the reference direction x′ and y′, which are recorded as dx′ and dy′ and weighted, and the statistical results of different subregion response values are expressed as Σdx′,Σdy′,Σdx′,Σdy′; then, a four-dimensional vector V=Σdx′,Σdy′,Σdx′,Σdy′ is obtained, which is the feature descriptor of this subregion.


### 3.2. Feature Statistical Classification Based on Support Vector Machine Classifier

The feature extraction of volleyball players’ shot angle has been completed above, and the next step is to classify and recognize the extracted features.The greatest advantage of SVM is its excellent learning and generalization ability [16]. The main idea of SVM is to construct the plane by mapping the initial nonlinear data into a high-dimensional space and to maximize the distance from all sample sets to this plane [17]. For this purpose, this study uses the linear support vector machine in a linearly separable case to obtain the optimal classification hyperplane.Assume that the training set is represented as(8)T′=x1∗,y1∗,x2∗,y2∗,⋯,xi∗,yi∗,⋯,xN∗,yN∗.In equation (8), the sample type xi∗,yi∗∈0,1, and N represents the number of samples. Then, linear separability means that a certain classification plane is capable of correctly classifying all the data in the set, and the hyperplane is expressed as
(9)ω⋅x∗+b=0.In equation (9), ω represents the Euclidean space dimension, x∗ represents the data set, and b represents the flat subset. The classification decision function relative to the hyperplane is as follows [18]:
(10)fx=signω⋅x∗+b.The distancemargin between two planes is referred to as the classification interval between two sets of classified samples [19], and a larger value indicates a higher classification accuracy. Its expression is as follows:
(11)margin=2ω.In the case that all the two types of classified samples are correct, the classification interval is maximized whenω has the minimum value. Then, the optimal classification of linear separability can be expressed by the following equation:
(12)minω,b12ω2,yiω⋅xi∗+b−1≥0.Using the Lagrangian function to calculate equation (12), assume that the function is expressed as
(13)L′ω,b,a=12ωTω−∑i=1laiyiω⋅xi′+b−1.In equation (13), aii=1,2,⋯,l represents the Lagrangian operator.Then, the first-order partial differentiation is performed onb and ω so that it is equal to 0:
(14)∂L′∂b=∑i=1lyi∗ai=0,∂L′∂ω=ω−∑i=1lyi∗aixi∗=0.Equation (14) is substituted into equation (13) to obtain the dual optimization problem as follows:
(15)maxα−12∑i=1N∑j=1Naiajxi∗yj∗xi∗⋅xj∗−∑i=1Nai.Then, the optimal classification function can be expressed as follows:(16)fx=min12∑i=1N∑j=1Naiajxi∗yj∗xi∗⋅xj∗−∑i=1Nai,s⋅t⋅∑i=1Nxi∗yi∗=0,ai≥0,i=1,2,⋯,N.In summary, the statistical classification of players’ shot angle features can be achieved by using the optimal classification function.


### 3.3. Feature Recognition and Correction

In the process of lens angle recognition, this research realizes the final recognition combined with data features. For each acquired image, aqword-dimensional statistical histogram is obtained after the description of the key frame feature library, and the shot angle recognition is performed by using the histogram intersection kernel support vector machine. The expression of the histogram intersection kernel is as follows:
(17)Khiu,v=∑i=1mui,vi.In equation (17), u=u1,u2,⋯,ui,⋯,um and v=v1,v2,⋯,vi,⋯,vm represent the statistical histograms of m species, respectively.The image features are then described to obtain a statistical histogram, and with intersection kernel SVM, a linear combination is made between the probabilities of occurrence of different angles, and the highest probability value after the combination is taken as the recognition result [20], and the algorithmic procedure is shown in
(18)Po=p1o,p2o,⋯,pactiono,(19)M=indexmax∑o=12∂oPo.In the above equations,action represents the number of different shot angles, o represents the extracted species features, Po represents the probability combination of occurrence of tested images, and ∂o represents the decision coefficient.Feature point matching is performed for the recognition results and the feature library images in the acquisition system to derive the difference between the players’ shot angle and the standard angle, so that the wrong shot angle can be corrected more accurately. For this purpose, this paper uses the paradigm of the ratio of nearest neighbor and second nearest neighbor for bidirectional matching. The equation is as follows:(20)D′=ς1−ς1′2+ς2−ς2′2+⋯ςη−ςη′2.In equation (20), ς1,ς2,⋯,ςη and ς1′,ς2′,⋯,ςη′ represent the eigenvectors of the two feature points.In summary, the design of the automatic recognition and correction method of volleyball players’ shooting angle based on feature statistics is completed, and the realization process is shown in Figure3.Figure 3
The realization process of the automatic recognition and correction method of volleyball players’ shooting angle based on feature statistics.


## 3.1. Feature Extraction

Upon completion of image preprocessing, direct detection of feature points enables to avoid image segmentation, which is easier to implement. For this reason, this study implements feature point detection using approximate Hessian matrix based on Speeded-Up Robust Features (SURF). Assume that the Hessian matrix of the pointIx′,y′ in the scale space that is σ is represented as
(6)H=Lx′x′x′,σLx′y′x′,σLx′y′x′,σLy′y′x′,σIn equation (6), Lx′x′x′,σ, Lx′y′x′,σ, and Ly′y′x′,σ are the results obtained from the second-order partial derivatives of the Gaussian function at Ix′,y′ [11] and the convolution of the image Ix′,y′.On this basis, the image pyramid is constructed. In this process, the image needs to be resampled and then convoluted with Gaussian functions of different scales. A surf operator approximates the second-order Gaussian function through a box filter to improve the calculation speed. The image pyramids of different sizes can be generated in the image depending only on the filter size, and the convolution acceleration of the image is achieved using integral images [12, 13], and thus, the determinant of Hessian matrix is obtained as follows:
(7)ΔH=Dx′x′Dx′y′x′−0.9Dy′y′x2In equation (7), Δ indicates the response value of the box filter in the region near the point Ix′,y′ [14], and Dx′x′, Dx′y′, and Dy′y′ represents the prefiltering image line, the filter convolution line, and the postfiltering image line, respectively. The value of the matrix determinant is used to judge the feature point, and if the value is positive and the two feature values are different, the point is defined as an extreme point.Based on this, some among the extreme points are selected as candidate feature points. The selection method is to do the nonmaximum suppression in the3×3×3 regions centered on the extreme points and compare the adjacent scales with the 26 neighborhood values near the scale, and only the points that are larger or smaller than the neighborhood values can be identified as feature points.To ensure the rotational invariance of the descriptors and give the reference direction for feature point assignment, a neighborhood with the feature point as the center of the circle and6s (s refers to the scale value where the feature point is located) as the radius is established firstly, and the Harr wavelet responses in different directions are computed in this region, while weights are attached to these response values to ensure that the weights of the adjacent feature points are larger; its rotation is performed in a circle by a sector template with a circular angle of sixty degrees to obtain the vector consisting of the cumulative sums of the Harr responses in all sliding windows, and the direction corresponding to the highest cumulative sum is set to be the reference direction of this feature point [15].After determining the reference direction, construct a square with a side length of 20 cm along the direction centered on the feature point, and divide the window neighborhood into4×4 subareas. In any subregion, the Harr wavelet response values of the sampling points are calculated for the reference direction x′ and y′, which are recorded as dx′ and dy′ and weighted, and the statistical results of different subregion response values are expressed as Σdx′,Σdy′,Σdx′,Σdy′; then, a four-dimensional vector V=Σdx′,Σdy′,Σdx′,Σdy′ is obtained, which is the feature descriptor of this subregion.


## 3.2. Feature Statistical Classification Based on Support Vector Machine Classifier

The feature extraction of volleyball players’ shot angle has been completed above, and the next step is to classify and recognize the extracted features.The greatest advantage of SVM is its excellent learning and generalization ability [16]. The main idea of SVM is to construct the plane by mapping the initial nonlinear data into a high-dimensional space and to maximize the distance from all sample sets to this plane [17]. For this purpose, this study uses the linear support vector machine in a linearly separable case to obtain the optimal classification hyperplane.Assume that the training set is represented as(8)T′=x1∗,y1∗,x2∗,y2∗,⋯,xi∗,yi∗,⋯,xN∗,yN∗.In equation (8), the sample type xi∗,yi∗∈0,1, and N represents the number of samples. Then, linear separability means that a certain classification plane is capable of correctly classifying all the data in the set, and the hyperplane is expressed as
(9)ω⋅x∗+b=0.In equation (9), ω represents the Euclidean space dimension, x∗ represents the data set, and b represents the flat subset. The classification decision function relative to the hyperplane is as follows [18]:
(10)fx=signω⋅x∗+b.The distancemargin between two planes is referred to as the classification interval between two sets of classified samples [19], and a larger value indicates a higher classification accuracy. Its expression is as follows:
(11)margin=2ω.In the case that all the two types of classified samples are correct, the classification interval is maximized whenω has the minimum value. Then, the optimal classification of linear separability can be expressed by the following equation:
(12)minω,b12ω2,yiω⋅xi∗+b−1≥0.Using the Lagrangian function to calculate equation (12), assume that the function is expressed as
(13)L′ω,b,a=12ωTω−∑i=1laiyiω⋅xi′+b−1.In equation (13), aii=1,2,⋯,l represents the Lagrangian operator.Then, the first-order partial differentiation is performed onb and ω so that it is equal to 0:
(14)∂L′∂b=∑i=1lyi∗ai=0,∂L′∂ω=ω−∑i=1lyi∗aixi∗=0.Equation (14) is substituted into equation (13) to obtain the dual optimization problem as follows:
(15)maxα−12∑i=1N∑j=1Naiajxi∗yj∗xi∗⋅xj∗−∑i=1Nai.Then, the optimal classification function can be expressed as follows:(16)fx=min12∑i=1N∑j=1Naiajxi∗yj∗xi∗⋅xj∗−∑i=1Nai,s⋅t⋅∑i=1Nxi∗yi∗=0,ai≥0,i=1,2,⋯,N.In summary, the statistical classification of players’ shot angle features can be achieved by using the optimal classification function.


## 3.3. Feature Recognition and Correction

In the process of lens angle recognition, this research realizes the final recognition combined with data features. For each acquired image, aqword-dimensional statistical histogram is obtained after the description of the key frame feature library, and the shot angle recognition is performed by using the histogram intersection kernel support vector machine. The expression of the histogram intersection kernel is as follows:
(17)Khiu,v=∑i=1mui,vi.In equation (17), u=u1,u2,⋯,ui,⋯,um and v=v1,v2,⋯,vi,⋯,vm represent the statistical histograms of m species, respectively.The image features are then described to obtain a statistical histogram, and with intersection kernel SVM, a linear combination is made between the probabilities of occurrence of different angles, and the highest probability value after the combination is taken as the recognition result [20], and the algorithmic procedure is shown in
(18)Po=p1o,p2o,⋯,pactiono,(19)M=indexmax∑o=12∂oPo.In the above equations,action represents the number of different shot angles, o represents the extracted species features, Po represents the probability combination of occurrence of tested images, and ∂o represents the decision coefficient.Feature point matching is performed for the recognition results and the feature library images in the acquisition system to derive the difference between the players’ shot angle and the standard angle, so that the wrong shot angle can be corrected more accurately. For this purpose, this paper uses the paradigm of the ratio of nearest neighbor and second nearest neighbor for bidirectional matching. The equation is as follows:(20)D′=ς1−ς1′2+ς2−ς2′2+⋯ςη−ςη′2.In equation (20), ς1,ς2,⋯,ςη and ς1′,ς2′,⋯,ςη′ represent the eigenvectors of the two feature points.In summary, the design of the automatic recognition and correction method of volleyball players’ shooting angle based on feature statistics is completed, and the realization process is shown in Figure3.Figure 3
The realization process of the automatic recognition and correction method of volleyball players’ shooting angle based on feature statistics.


## 4. Simulation Experimental Data Analysis and Research

In order to verify the feasibility of the automatic recognition and correction method of volleyball players’ shot angle based on feature statistics designed above, the following simulation experiment is set up. The simulation environment is shown in Table1.Table 1
Simulation environment settings.
NameConfigurationOperating systemWindows 10, 32位CPUIntel(R) Core(TM) i5-3230M@2.6GHZRAM8GBDevelopment toolsVisual Studio 2019, OpenCV 2.3.8Optical camera modelL5163MX140-4In the experiment, volleyball spike is taken as an example. Assume that the ball speed is 80 km/h and the height of the hitting point is about 3.2 m. Firstly, 10 images of players’ spike shot angles are acquired using Gabor filter and feature extraction is performed using an8×8 grid. Before feature extraction, image denoising is performed using the method in this paper, 3D shear domain image denoising in the literature [19], and convolutional neural network-based denoising method in the literature [20]. The final image signal-to-noise ratio obtained is shown in Figure 4.Figure 4
Comparison of image signal-to-noise ratio of different methods.It can be seen from Figure4 that with the increase of image size, the image signal-to-noise ratio decreases after denoising by the three methods. The decreasing trend of the image signal-to-noise ratio is not obvious after applying the method in this paper, and it always remains high. This indicates that the median filtering algorithm in this study can effectively denoise images, which lays a good foundation for the subsequent feature statistics.After the image processing mentioned above, the shot angle is recognized using the recognition algorithm in this paper. A variety of features such as players’ legs, elbows, and hands are counted in the experiment to more accurately recognize whether the shot angle is correct. The recognition results are shown in Figures5 and 6.Figure 5
Elbow and hand shot angle.Figure 6
Leg angle change.As shown in Figures5 and 6, through the statistics of multiple image frame features, this study recognizes that the angle between the arm and the right angle of the volleyball is greater than 90 degrees and the knee bending is closer to 90 degrees during the spike action in Figure 5. This kind of shot angle is conducive to release force, thus improving the spike effect, while in Figure 6, the player’s arm and knee bending degree is smaller and the body weight falls on the feet, which affects the jump, thus reducing the spike strength.


## 5. Conclusion

In this study, a volleyball sports information acquisition system is designed to acquire images of the players’ shot angles, and after a series of processing, the images are obtained with high signal-to-noise ratio, while feature extraction is completed based on the key features of each frame, and the feature statistics are accomplished through a support vector machine classifier to achieve the recognition of the shot angles, which helps coaches to correct nonstandard movements. The method features strong image processing capability and can accurately complete image recognition, which will play an important supporting role in sports training.In the future research, a variety of positioning measurement technologies such as computer vision, machine vision, and ultrasonic positioning can be introduced, and the advantages of different methods can be used to obtain a more ideal image acquisition effect and make volleyball training more scientific.



---

*Source: 8103183-2021-11-27.xml*