Научная статья на тему 'The analysis of gait patterns using a color camera and computer vision'

The analysis of gait patterns using a color camera and computer vision Текст научной статьи по специальности «Медицинские технологии»

CC BY
1
1
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
gait analysis / Edinburgh Visual Gait Scale / computer vision / OpenPose

Аннотация научной статьи по медицинским технологиям, автор научной работы — T.T. Batysheva, S.V. Tikhonov, M.V. Alekseeva, D.A. Peganskiy

Objective of the study was to validate the approach for determining human walking metrics through the application of neural networks and computer vision techniques. Methods and structure of the study. The scientific research involved the following steps: 1. Capturing video footage using a single RGB camera. 2. Calculating the coordinates of key points using the OpenPose neural network and creating a data set. 3. Removing any artifacts from the resulting data set using the Hodrick-Prescott filter. 4. Identifying the walking cycle. 5. Calculating the walking parameters. The walking parameters of the subject were recorded and evaluated using the Zebris Rehawalk system (system configuration from h/p/cosmos) at the Scientific and Practical Center for Pediatric Neurology of the Moscow Department of Health. The video was captured using a Panasonic HC-VX1 camera. The Body_25 model was employed to determine the spatial positions of the subject's body parts. The parameters were calculated for the sagittal projection using the Edinburgh Scale for Visual Assessment of human walking. Results and conclusions. According to the calculations, the following values were obtained: the duration of a walking cycle is 1,58 ± 0,92 seconds, the time taken to complete a step is 0,78 ± 0,03 seconds, the length of a step is 41,33 ± 1,92 centimeters, and the speed of walking is 1,91 ± 0,09 kilometers per hour. The movement parameters of the subject's hips, knees, and feet were calculated. When comparing the obtained values with the normative ones, slight deviations from the standard were observed in the subject's walking. The accuracy of the calculations was 0,95. The results demonstrate that computer vision can accurately assess the biomechanics of human movement and can serve as an objective monitoring tool in various fields, including sports, medical diagnostics, and rehabilitation. This approach does not require specialized training, equipment, or facilities, making it easier to monitor human movement indicators in any environment.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «The analysis of gait patterns using a color camera and computer vision»

The analysis of gait patterns using a color camera and computer vision

UDC 004.932.72

Dr. Med., Professor T.T. Batysheva1' 2 PhD, Associate Professor S.V. Tikhonov1' 2 PhD, Associate Professor M.V. Alekseeva1' 2 D.A. Peganskiy3' 4

1Federal Scientific Center of Psychological and Multidisciplinary Researches, Moscow

2Scientific and Practical Center for Pediatric Psychoneurology of the Moscow Health Department, Moscow 3Agency AST, Omsk

4Lesgaft National State University of Physical Education, Sport and Health, St. Petersburg

Corresponding author: [email protected]

Received by the editorial office on 02.09.2024

Abstract

Objective of the study was to validate the approach for determining human walking metrics through the application of neural networks and computer vision techniques.

Methods and structure of the study. The scientific research involved the following steps:

1. Capturing video footage using a single RGB camera.

2. Calculating the coordinates of key points using the OpenPose neural network and creating a data set.

3. Removing any artifacts from the resulting data set using the Hodrick-Prescott filter.

4. Identifying the walking cycle.

5. Calculating the walking parameters.

The walking parameters of the subject were recorded and evaluated using the Zebris Rehawalk system (system configuration from h/p/cosmos) at the Scientific and Practical Center for Pediatric Neurology of the Moscow Department of Health. The video was captured using a Panasonic HC-VX1 camera. The Body_25 model was employed to determine the spatial positions of the subject's body parts. The parameters were calculated for the sagittal projection using the Edinburgh Scale for Visual Assessment of human walking.

Results and conclusions. According to the calculations, the following values were obtained: the duration of a walking cycle is 1,58 ± 0,92 seconds, the time taken to complete a step is 0,78 ± 0,03 seconds, the length of a step is 41,33 ± 1,92 centimeters, and the speed of walking is 1,91 ± 0,09 kilometers per hour. The movement parameters of the subject's hips, knees, and feet were calculated. When comparing the obtained values with the normative ones, slight deviations from the standard were observed in the subject's walking. The accuracy of the calculations was 0,95. The results demonstrate that computer vision can accurately assess the biomechanics of human movement and can serve as an objective monitoring tool in various fields, including sports, medical diagnostics, and rehabilitation. This approach does not require specialized training, equipment, or facilities, making it easier to monitor human movement indicators in any environment.

Keywords: gait analysis, Edinburgh Visual Gait Scale, computer vision, OpenPose.

Introduction. Walking is one of the most common ways of human movement in everyday life and provides vital information about its functional state and physical fitness [1, 2]. Also, by analyzing a person's gait, sports injuries can be diagnosed, as well as diseases associated with the musculoskeletal system, such as sprains, osteoarthritis, etc. [3, 4]. The active development of computer vision systems contributes to the introduction of contactless methods of human movement analysis into motor activity monitoring systems, including the use of RGB cameras, which are currently built into cell phones [5].

As shown by bibliometric analysis1, most of the research in the field of computer vision and artificial intelligence application in assessing biomechanical parameters of human movement, including in the field of sports training, is currently being conducted in the USA, Canada and China. This is confirmed by the research results described in the source [5]. In Russia, such technologies are just beginning to develop and be implemented in the practice of monitoring human movements and, therefore, in this area they are frag-

1 Ispolzovana biblioteka Bibliometrix yazyka programmirovaniya R.

Available at: https://www.bibliometrix.org/home/.

Theory and Practice of Physical Culture I tpfk.ru I December I № 12-2024

mentary, there are no fundamental publications in this area. In order to substantiate the computer vision tools used in assessing human motor activity, including in sports training processes, we are testing an innovative method for assessing walking parameters, which is based on a combination of neural networks and deep learning. The conducted study makes it possible to integrate computer vision methods into the practice of contactless monitoring of the biomechanics of human movements, thereby increasing the objectivity of assessment in sports, rehabilitation, and medical diagnostics.

Objective of the study was to validate the approach for determining human walking metrics through the application of neural networks and computer vision techniques.

Methods and structure of the study. The assessment of walking parameters was carried out in a healthy person using the Zebris Rehawalk system (system configuration from h/p/cosmos) based on the Scientific and Practical Center for Pediatric Neurology of the Moscow Department of Health. The research methodology includes the following stages: 1) video recording on one RGB camera in the sagittal projection; 2) calculation of point coordinates using the OpenPose neural network and formation of a data array; 3) cleaning the resulting array from artifacts using the Hodrick-Prescott filter, which allows removing the cyclic component from the time series; 4) identification of the walking cycle; 5) calculation of walking parameters. To calculate the coordinates of the location of the test subject's body elements in two-dimensional space, the Body_25 model was used (Figure 1). Video recording was carried out on a Panasonic HC-VX1 video camera with the following parameters: 4K recording format at a speed of 50 frames per second, with a maximum bitrate of 500 Mbps. The MPEG-4 AVC/H.264 compression algorithm was used during recording in HD resolutions (1920 * 1080).The distances between points were calculated using the formula:

dj = V (x-x)2 + (y. - y,)2

where x., x., yi y. - coordinates of the analyzed points in two-dimensional space.

The angular distances were determined using the cosine theorem. The parameters were calculated for the sagittal projection using the Edinburgh Visual Gait Scale (EVGS), which includes an analysis of the spatial positions of the main body elements involved in movement in all phases of its cycle [6]. The EVGS method

includes the calculation of 34 walking parameters in the sagittal and frontal projections.

IT'^o lit

7 r-v!

i * s a

13 i 7

13 J 14)

21 If

Figure 1. Location of points in the Body_25 model

In the study, after identifying the walking cycles, the calculation of the main indicators was performed, such as the walking cycle time, step execution time, step length, walking speed. The values of the angles of movement of the hips, knees, feet during the walking of the subject were also calculated using the EVGS method for the sagittal projection. A comparison of the obtained values with the normative ones, which are given in the method used in the study, was performed. The accuracy of the calculations was 0,95.

Results of the study and discussion. The complete human gait cycle consists of two main phases - the support phase and the swing phase, including stance and turn. The gait cycle is calculated for one leg [6]. The events of the subject's foot strike and toe-off were determined using the method given in the source [7]. Figure 2 shows the identification of the gait cycle events on the timeline 1-128 frames. Points 19 and 22 of the Body_25 model (determine the toes) were used in the calculation. The gait cycle time is 1,58±0,92 s, the step execution time is 0,78±0,03 s, the step length is 41,33±1,92 cm, the walking speed is 1,91±0,09- km/h. The subject completes about 76 gait cycles per minute.

Walking indicators, calculation methods, estimated and standard values

Indicator Designation (Figure 3) Calculation method The value obtained using the author's algorithm Norm values

Maximum hip flexion during walking, degrees 1 The angle formed by points 1, 8, 13 (10). 160,60 25,00-45,00

19,40*

Maximum knee extension during walking, degrees 2 The angle formed by points 12 (9), 13 (10), 14 (11). 176,94 5,00-15,00

3,06*

Angle of foot rise from horizontal plane, degrees 3 The angle formed by points 21 (11), 19 (22) and the horizontal plane of the floor (treadmill). 19,04 No, according to literary data no more than 20

Maximum deviation of the torso from the vertical axis (in the middle pose), degrees 4 It is defined as the angle between points 1, 8 and the vertical line drawn from point 8, determined in the middle pose. 3,99 0-5

Maximum hip extension in mid-stance, degrees 1 The angle formed by points 1, 8, 13 (10). Determined in the middle pose. 188,48* 0-20

8,48

Maximum knee extension in mid-stance, degrees 2 The angle formed by points 12 (9), 13 (10), 14 (11). Determined in the middle pose. 180,8 0-15

0,8

Maximum angle of ankle flexion in the middle position, degrees 5 The angle formed by points 13 (10), 14 (11), 19 (22). Determined in the middle pose. 86,88 No more than 5

3,12**

Maximum angle of ankle flexion during walking, degrees 5 The angle formed by points 13 (10), 14 (11), 19 (22). Determined while walking. 82,77 Not specified

* - Defined as the difference between 180 and the obtained angle value. Used to convert the values of the indicators to the Edinburgh scale standards. ** - Defined as the difference between 90 and the obtained angle value. Used to convert the values of the indicators to the Edinburgh scale standards.

calculated indicators, a brief description of the calculation method, and the standard values according to the EVGS method. Indicators whose values deviate from the standard values are highlighted in italics (see table). Based on the calculations performed, the following conclusions can be made. The subject's walking indicators differ slightly from the standard values (maximum hip flexion during walking, degrees; maximum knee extension during walking) (see table), which may require additional research.

Conclusions. The study tested the method for calculating human walking parameters using neural networks and parametric geometry. The results showed that computer vision has sufficient accuracy in assessing the biomechanics of human movement, in the study this indicator was 0.95, and can be used as a tool for objective monitoring in various sports, medical diagnostics, and rehabilitation. The use of

Frame numbers, frames

Figure 2. Identification of human gait cycle events

Figure 3 shows the calculated values of angles according to EVGS. The table shows the values of the

30

Theory and Practice of Physical Culture I tpfk.ru I December I № 12-2024

Figure 3. Estimated angles according to the Edinburgh Visual Gait Scale

this approach does not require special training, equipment, or premises, which facilitates monitoring human movement parameters in any conditions.

The work was carried out with the financial support of the project by the Russian Federation represented by the Ministry of Education and Science of Russia (Agreement No. 075-15-2024-526)

References

1. Wang H. et al. Markerless gait analysis through a single camera and computer vision. Journal of

Bio mechanics. 2024. Vol. 165. pp. 112027. htt-ps://doi.org/10.1016/j.jbiomech.2024.112027.

2. Hatamzadeh M.A et al. kinematic-geometric model based on ankles' depth trajectory in frontal plane for gait analysis using a single RGB-D camera eh. Journal of Biomechanics. 2022. Vol. 145. pp. 111358. https://doi.org/10.1016/jJbi-omech.2022.111358.

3. Leardini Al. et al. Kinematic models of lower limb joints for musculo-skeletal modelling and optimization in gait analysis. Journal of Biome-chanics. 2017. Vol. 62. pp. 77-86. https://doi. org/10.1016/j.jbiomech.2017.04.029.

4. Klopfer-Kramer et al. Is. Gait analysis - Available platforms for outcome assessment. Injury. 2020. Vol. 51. Supplement 2. pp. S90-S96. htt-ps://doi.org/10.1016/j.injury.2019.11.011.

5. Kumar M. et al. Gait recognition based on vision systems: A systematic survey. Journal of Visual Communication and Image Representation. 2021. Vol. 75. pp. 103052. https://doi. org/10.1016/j.jvcir.2021.103052.

6. Ramesh S.H. et al. Automated Implementation of the Edinburgh Visual Gait Score (EVGS) Using OpenPose and Handheld Smartphone Video. Sensors. 2023. Vol. 23. pp. 4839. https://doi. org/10.3390/s23104839.

7. Zeni Jr. J. A. Two simple methods for determining gait events during treadmill and overground walking using kinematic data. Gait & posture. 2008. Vol. 27. No 4. pp. 710-714.

i Надоели баннеры? Вы всегда можете отключить рекламу.