Acessibilidade / Reportar erro

RESEARCH ON ATHLETES’ PSYCHOLOGICAL REGULATION ABILITY BASED ON BACK PROPAGATION (BP) NEURAL NETWORK ALGORITHM

INVESTIGAÇÃO SOBRE A HABILIDADE DE CONTROLE PSICOLÓGICO DE ATLETAS COM BASE NO ALGORITMO DE REDE NEURAL BACKPROPAGATION

INVESTIGACIÓN SOBRE LA CAPACIDAD DE AJUSTE PSICOLÓGICO DE LOS ATLETAS BASADA EN EL ALGORITMO DE RED NEURONAL BP

ABSTRACT

Athletes’ psychological control ability directly affects competitions. Therefore, it is necessary to supervise the athletes’ game psychology. Athletes’ game state supervision model is constructed through the facial information extraction algorithm. The homography matrix and the calculation method are introduced. Then, two methods are introduced to solve the rotation matrix from the homography matrix. After the rotation matrix is solved, the method of obtaining the facial rotation angle from the rotation matrix is introduced. The two methods are compared in the simulation data, and the advantages and disadvantages of each algorithm are analyzed to determine the method used in this paper. The experimental results show that the model prediction accuracy reaches 70%, which can effectively supervise the psychological state of athletes. This research study is of great significance to improve the performance of athletes in competitions and improve the application of back propagation (BP) neural network algorithm.

Neural Networks, Computer; Athletes; Handling, Psychological

RESUMO

A capacidade de controle psicológico de atletas afeta diretamente as competições. Portanto, é muito necessário supervisionar a psicologia de jogo desses indivíduos. O modelo de supervisão do estado de jogo dos atletas é construído através do algoritmo de extração de informações faciais. A matriz de homografia e o método de cálculo são introduzido. Em seguida, são introduzidos dois métodos para resolver a matriz de rotação a partir da matriz de homografia. Após a resolução da matriz de rotação, introduz-se o método de obtenção do ângulo de rotação facial a partir dessa matriz. Os dois métodos são comparados nos dados da simulação, e as vantagens e desvantagens de cada algoritmo são analisadas para determinar o método utilizado neste estudo. Os resultados experimentais mostram que a precisão da previsão do modelo atinge 70%, sendo possível efetivamente supervisionar o estado psicológico dos atletas. O presente estudo é de grande importância para melhorar o desempenho dos atletas em competições e melhorar a aplicação do algoritmo de rede neural backpropagation (BP).

Redes Neurais de Computação; atletas; Manobra Psicológica

RESUMEN

La capacidad de control psicológico de atletas afecta directamente las competencias. Por lo tanto, es muy necesario supervisar la psicología de juego de esos individuos. El modelo de supervisión del estado de juego de los atletas es construido por medio del algoritmo de extracción de informaciones faciales. La matriz de homografía y el método de cálculo son introducidos. Enseguida, son introducidos dos métodos para resolver la matriz de rotación a partir de la matriz de homografía. Después de la resolución de la matriz de rotación, se introduce el método de obtención del ángulo de rotación facial a partir de esa matriz. Los dos métodos son comparados en los datos de la simulación, y las ventajas y desventajas de cada algoritmo son analizadas para determinar el método utilizado en este estudio. Los resultados experimentales muestran que la precisión de la previsión del modelo alcanza 70%, siendo posible efectivamente supervisar el estado psicológico de los atletas. El presente estudio es de gran importancia para mejorar el desempeño de los atletas en competencias y mejorar la aplicación del algoritmo de red neuronal backpropagation (BP).

Redes Neuronales de Computación; Atletas; Maniobra Psicológica

INTRODUCTION

For athletes, their psychological state during the game will have a direct impact on the performance.11. Zheng W, Bo W, Liu C, Wang WS. Improved BP neural network algorithm to wind power forecast. Journal of Engineering. 2017;13:940-3. Only by improving the athlete’s ability to control the game can the athletes play a stable role in the competition, and it is necessary to improve the athlete’s psychological control ability and appropriate supervision of the athlete’s psychological and sports status.22. Clark M, Mihalik J, Guskiewicz K. Wooden heads and glass jaws: the long-term effects of recurrent concussion and american football exposure on resting state networks. BJSM. 2017;51(11):A26.3-A27. On this basis, the BP neural network algorithm is used to study the athlete’s game state, and the athlete’s game state supervision system is constructed in order to promote the improvement of athletes’ psychological control ability.

For the research method, combining the homography matrix relationship between planar image projections, the algorithm of obtaining facial rotation angle from homography matrix is studied. In this research, the homography matrix decomposition algorithm and the equivalent algorithm are analyzed. The performance of the two algorithms under different errors is studied in detail through simulation experiments and the performance of the two algorithms is analyzed comprehensively. At last, the homography matrix equivalent algorithm with simpler derivation process and better error robustness is selected.

RELATED WORK

So far, the research on the abnormal state monitoring methods of athletes all over the world has had relatively good research results. Song F Y, aiming at abnormal movements such as fatigue exercise, distraction, drink movement and emotional stress, proposed corresponding detection and supervision methods.33. Song FY, Yuan LU, Yang X, et al. Calculation of infrared transmittances based on BP neural network. Journal of Optoelectronics·laser, 2017;28(6):680-5. Percentage of eyelid closure over the pupil over time (PERCLOS) was used as a measure of fatigue by Liu T, which is considered to be one of the most promising methods for detecting fatigue motion.44. Liu T, Yin S. An improved particle swarm optimization algorithm used for BP neural network and multimedia course-ware evaluation. Multimedia Tools & Applications. 2017;76(9):11961-74. A variety of measurements are used to study athletes’ motor behavior problems by the detection system developed by Colzato LS.55. Colzato LS, Nitsche MA, Kibele A. Noninvasive brain stimulation and neural entrainment enhance athletic performance – a review. Journal of Cognitive Enhancement. 2017;1(1):73-9. In Masaki H’s research, they accurately measured head movements, pupil diameter changes, and blink frequency through dedicated cameras, electroencephalographs, etc, of which the results showed that when people’s eyes closed between 0.2 seconds and 0.3 seconds, the exercise is safe.66. Masaki H, Maruo Y, Meyer A, Hajcak G. Neural Correlates of choking under pressure: athletes high in sports anxiety monitor errors more when performance is being evaluated. Dev Neuropsychol. 2017;42(2):104-12. The problem of distraction has become the main direction of research. Przednowek K, who began to study the influence of motion video on exercise and achieved important results, proposed that the sway of the wiper has a hypnotic effect on athletes.77. Przednowek K, Iskra J, Wiktorowicz K, Krzeszowski T, Maszczyk A. Planning Training Loads for the 400 M Hurdles in Three-Month Mesocycles using Artificial Neural Networks. J Hum Kinet. 2017;60:175-89.

BP NEURAL NETWORK BASED ATHLETES’ PSYCHOLOGICAL STATE SUPERVISION MODEL

Athletes’ Psychological State Supervision Algorithm

The Haar feature, also known as the Haar-like feature, is a feature of grayscale variation in the reaction region, including four forms, namely edge features, linear features, center features, and diagonal features. According to these four basic characteristics, it can be combined into various complex feature templates. Each feature template has its calculated specific value, and the Eigen-value of the Haar feature is the sum of the luminance values of all the pixels in the white area of the template minus the sum of the luminance values of all the pixels in the black area in the template. The Haar feature essentially reflects the trend of the gray value in the region. The core of the Haar feature is to represent the current image feature using the difference between the sum of the gray values of the pixels in the black and white region. Because the calculation of Haar feature takes into account the difference of gray value in the region, it is suitable for some detection with obvious change of gray value. For example, in face detection, the face can be effectively detected by Haar feature, because the gray value of eyes, nose and mouth in face is obviously different from that in other regions. So Haar feature is very suitable for face detection. Figure 1 shows the corresponding Haar features in several forms.

Figure 1
The Basic Form of Haar Characteristic.

Regardless of how the Haar feature changes, the calculation of its Eigen-values is similar. For the two characteristics of A and D in Figure 2 , the Eigen-value calculation formula of Haar feature is: v=Sum white-Sum black; for B and C, it should be ensured that the black and white pixel frames are set to be the same size, that is, for B, v=Smn white-2*Sum black, the black pixel should also be multiplied by a considerable factor when calculating the Eigen-value in C to ensure that the total number of pixels in the black and white regions is the same. The four forms of Haar features are also called feature prototypes. According to these four feature prototypes, a variety of feature templates can be combined. By changing the length and width of the prototype and the position in the image, many Haar features can also be listed in one image. These Haar features have their achievable Eigen-values. Since the coordinates and sizes of these templates of Haar feature can be adjusted at will, the calculation of Haar feature is very large for an image, such as the number of features in an image of 24*24 pixels is even more than 160,000. With such a large amount of computation, it is necessary to use appropriate algorithms to calculate Haar features. As a practical means to solve the problem of Haar feature calculation, integral graph makes the application of Haar feature more extensive. The idea of integral graph is to calculate the sum of the brightness values of the pixels in the region surrounded by any point in the image and the starting point of the image. The calculation of Haar features seems to be simply the addition and subtraction of luminance values in two or several regions. The integral graph can effectively reduce the computational complexity. After the integral graph is created, the sum of gray values of each image block pixel can be completed by four-step addition and subtraction as shown in Figure 2 .

Figure 2
Integral Diagram Partition Diagram.

Set the four vertices of D as a, p, Y, and 8, respectively, and the pixel sum of D can be expressed as shown in equation (1).

D sum = i ( α ) + i ( β ) i ( γ ) + i ( δ ) (1)

The Eigen value of the Haar feature is the difference between the sum of the gray values in the two regions, so it can be conveniently calculated using the integral graph. The pixel sum of each region is calculated by using equation (1), and then the difference is obtained to obtain the Eigen-value of the corresponding Haar feature. The sum of each block is only related to the values of the four corner points in the integral map. Therefore, even if there is a change in the scale, the time consumed by the algorithm is constant when calculating the Haar feature. By constructing an integral map of the image in this way, it is convenient to calculate the values of all Haar features. The basic form of Hal characteristics is shown in Figure 1 . The application of integral graph greatly improves the calculation speed and detection speed of Haar features, which lays a solid foundation for the wide application of Haar features. For the detection of human face, firstly, a large number of face images with different expressions, skin color, appearance, and illumination intensity are collected, and the cropping is scaled to the same size. In this paper, a picture with a size of 24*24 pixels is used. The positive samples trained in this paper are shown in Figure 3 , 1,500 samples in total. Then collect as many images as possible without human face (3000 in total at last) and scale to the same size as a negative sample. Write the training program for the classifier in C++. The program for training the classifier consists of two parts, from which the characteristics of all pictures are calculated and saved. The number of positive and negative samples is counted, the Haar features of all training images are calculated, and the features are written to the file; the Adaboost algorithm is run to train the classifier. Adaboost initialization, respectively reads the Haar Eigen-values of the positive and negative samples in the face training image. Train the Adaboost classifier, set the number of trainings, and in each training period: iterate the weights to find the optimal classifier. Save the training results in a file. After the training is completed, a file with the format xml is obtained, which is the trained classifier and is applied to detect faces.

Figure 3
Partial negative sample legend.

EXPERIMENTAL DESIGN AND ANALYSIS

Experimental Methods

To better study the effects of the two algorithms, it is convenient to control the error of the input data, so that the performance of the algorithm can be compared and analyzed more directly, and the simulation experiment is firstly used to verify in this thesis. According to the calibrated camera internal parameters, four sets of data points A (5, 5, 20), B (3, -5, 20), C (-5, 5, 20), D (-3, -5, 20) are simulated in the position facing the camera. As shown in Figure 7. It’s facing the camera, so the camera parameter R = I, T = 0. According to the conversion relationship between the pixel coordinate system and the world coordinate system, referring to formulas (2-4), (2-5), set the image size 640*480. The image coordinates of the four points can be obtained as follows: a (479.45, 398.28), B (415.67, 81.725), C (160.55, 398.28), D (224.33, 81.725). The plane is rotated 60 degrees counter-clockwise around the longitudinal axis shown in Fig. 7, and the image coordinates after rotation are A1 (421.76, 442.01), B1 (374.98, 58.095), C1 (254.46, 370.11), D1 (277.66, 99.922), as shown in Figure 4 .

Figure 4
Analog data schematic.

Analysis of Experimental Results

In the experiment, the angle solution of the plane rotated around x-axis and z-axis is verified. The simulation results show that the algorithm can get the planar rotation pin, and add errors to the simulation data to verify the robustness of the algorithm. Firstly, the same error error1 is added to the corresponding points after four groups of rotation to simulate the detection error. When the error is between [-10, 10], the calculated rotation angle is shown in Table 1 .

Table 1
One-Dimensional Error Results of Homography Matrix Decomposition Algorithms.

Table 2
Four-Dimensional Error Results of Homography Matrix Decomposition Algorithms.

Table 3
z = 10 decomposition error.

Table 4
z = 5 decomposition error.

Errors are added to the simulation data to verify the robustness of the algorithm. Firstly, the same error is added to the corresponding points after four groups of rotation to simulate the detection error. When the error is between [-10, 10], the calculated rotation angle is shown in Table 1 .

CONCLUSION

Based on the BP neural network algorithm, the athletes’ psychological control ability is studied; in addition, the algorithm of obtaining the athlete’s facial corner from the plane image is studied as well. Using the homography matrix existing in the imaging process of planar objects, the four feature points of the human face are regarded as one plane, and then the rotation matrix is calculated to determine the facial turn of the athlete. In the solution of the rotation matrix, the homography matrix decomposition algorithm and the homography matrix equivalent algorithm are analyzed, and the simulation experiment is used to test. The advantages and disadvantages of the two algorithms are accurately analyzed, and then the homography matrix equivalent algorithm which is more suitable for this paper is selected. After obtaining the facial corner, the discriminant criterion of distraction is proposed, that is, the single line of sight deviation duration exceeds 2 seconds, or within 10 seconds, the proportion of the athlete facing the front is less than 70%, which is judged to be distracting. The simulation experiment is carried out based on VS2015 and OpenCV3.4. Experiments indicate that the face detection accuracy of the algorithm is about 94%, and the detection accuracy of face feature points is more than 95%. For distracted video, the detection rate is over 90%. At present, there is a big problem in athletes’ state detection: there is no unified standard for testing data and standards. Therefore, for the experimental results, it is difficult to have an objective comparison of the advantages and disadvantages of the algorithm. Establishing a common database and testing standard method is a difficult task in the field of athletes’ attention state detection.

REFERENCES

  • 1
    Zheng W, Bo W, Liu C, Wang WS. Improved BP neural network algorithm to wind power forecast. Journal of Engineering. 2017;13:940-3.
  • 2
    Clark M, Mihalik J, Guskiewicz K. Wooden heads and glass jaws: the long-term effects of recurrent concussion and american football exposure on resting state networks. BJSM. 2017;51(11):A26.3-A27.
  • 3
    Song FY, Yuan LU, Yang X, et al. Calculation of infrared transmittances based on BP neural network. Journal of Optoelectronics·laser, 2017;28(6):680-5.
  • 4
    Liu T, Yin S. An improved particle swarm optimization algorithm used for BP neural network and multimedia course-ware evaluation. Multimedia Tools & Applications. 2017;76(9):11961-74.
  • 5
    Colzato LS, Nitsche MA, Kibele A. Noninvasive brain stimulation and neural entrainment enhance athletic performance – a review. Journal of Cognitive Enhancement. 2017;1(1):73-9.
  • 6
    Masaki H, Maruo Y, Meyer A, Hajcak G. Neural Correlates of choking under pressure: athletes high in sports anxiety monitor errors more when performance is being evaluated. Dev Neuropsychol. 2017;42(2):104-12.
  • 7
    Przednowek K, Iskra J, Wiktorowicz K, Krzeszowski T, Maszczyk A. Planning Training Loads for the 400 M Hurdles in Three-Month Mesocycles using Artificial Neural Networks. J Hum Kinet. 2017;60:175-89.

Publication Dates

  • Publication in this collection
    11 June 2021
  • Date of issue
    Apr-Jun 2021

History

  • Received
    15 Dec 2020
  • Accepted
    05 Feb 2021
Sociedade Brasileira de Medicina do Exercício e do Esporte Av. Brigadeiro Luís Antônio, 278, 6º and., 01318-901 São Paulo SP, Tel.: +55 11 3106-7544, Fax: +55 11 3106-8611 - São Paulo - SP - Brazil
E-mail: atharbme@uol.com.br