Next Article in Journal
A Privacy Preserving Scheme for Nearest Neighbor Query
Next Article in Special Issue
Accelerometric Trunk Sensors to Detect Changes of Body Positions in Immobile Patients
Previous Article in Journal
An Ultra-Wideband Frequency System for Non-Destructive Root Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

HemoKinect: A Microsoft Kinect V2 Based Exergaming Software to Supervise Physical Exercise of Patients with Hemophilia

by
Fernando Mateo
1,2,
Emilio Soria-Olivas
1,2,
Juan J. Carrasco
2,3,*,
Santiago Bonanad
4,
Felipe Querol
3,4 and
Sofía Pérez-Alenda
3,4
1
Department of Electronic Engineering, University of Valencia, Avda. Universitat, 46100-Burjassot, Spain
2
Intelligent Data Analysis Laboratory, University of Valencia, Avda. Universitat, 46100-Burjassot, Spain
3
Department of Physiotherapy, University of Valencia, Carrer de Gascó Oliag, 5, 46010-Valencia, Spain
4
Haemostasis and Thrombosis Unit, University and Polytechnic Hospital La Fe, Avinguda de Fernando Abril Martorell, 106, 46026-Valencia, Spain
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(8), 2439; https://doi.org/10.3390/s18082439
Submission received: 8 June 2018 / Revised: 6 July 2018 / Accepted: 24 July 2018 / Published: 26 July 2018

Abstract

:
Patients with hemophilia need to strictly follow exercise routines to minimize their risk of suffering bleeding in joints, known as hemarthrosis. This paper introduces and validates a new exergaming software tool called HemoKinect that intends to keep track of exercises using Microsoft Kinect V2’s body tracking capabilities. The software has been developed in C++ and MATLAB. The Kinect SDK V2.0 libraries have been used to obtain 3D joint positions from the Kinect color and depth sensors. Performing angle calculations and center-of-mass (COM) estimations using these joint positions, HemoKinect can evaluate the following exercises: elbow flexion/extension, knee flexion/extension (squat), step climb (ankle exercise) and multi-directional balance based on COM. The software generates reports and progress graphs and is able to directly send the results to the physician via email. Exercises have been validated with 10 controls and eight patients. HemoKinect successfully registered elbow and knee exercises, while displaying real-time joint angle measurements. Additionally, steps were successfully counted in up to 78% of the cases. Regarding balance, differences were found in the scores according to the difficulty level and direction. HemoKinect supposes a significant leap forward in terms of exergaming applicability to rehabilitation of patients with hemophilia, allowing remote supervision.

1. Introduction

Hemophilia A and B are hereditary disorders characterized by a deficiency in clotting factors VIII and IX, respectively. This deficiency causes a chronic tendency to hemorrhage [1]. The frequency of this disease is low, so hemophilia is known as a rare disease; for example, hemophilia A occurs in about one in every 5000–6000 live newborns and hemophilia B in one in 30,000 [2]. However, despite the low incidence and prevalence, the cost associated with this disease is one of the most elevated, so it has a great impact on the health system [3]. One of the most important and most increased morbidities in patients with hemophilia is bleeding occurrence in joints, known as hemarthrosis [4]. This bleeding may occur due to a blow or spontaneously, due to friction during the natural movement of the joint. Without proper treatment, recurrent hemarthrosis causes hemophilic arthropathy [5], which involves chronic pain and functional disability of the joint [6]. In patients with hemophilia, bleeding occurs mostly in the knee (44%), elbow (25%), ankle (15%), shoulder (8%), hip (5%) and in other locations (3%).
Health benefits that involve physical activity for the general population are equally applicable to people with hemophilia. An adequate muscle tone avoids injuries and decreases the risk of bleeding in joints. Physical exercise is of great importance for the hemophilic population because it improves their quality of life [7]. There are many studies that address the importance of physical training to improve health condition. They emphasize the World Health Organization recommendations [8] for the general population and World Federation of Hemophilia recommendations for the hemophilic population [7,9,10].
In particular, the use of video games for rehabilitation (exergaming) is having a positive impact on the patients’ attitudes towards training and has proven useful to enhance their strength, coordination and mobility [11,12]. Furthermore, motion capture (MoCap) sensors are being increasingly used for applications in medicine and in physical therapy, as these sensors are becoming readily available in the market and relatively inexpensive against other alternatives such as 3D optical MoCap systems [13].
A popular choice of a MoCap sensor is Kinect, which has been widely (and successfully) used for rehabilitation in a wide range of medical applications [14,15,16,17,18], such as post-stroke limb rehabilitation, elderly exercise monitoring and fall prevention [19], range-of-motion (ROM) evaluation in patients with adhesive capsulitis [20], balance and postural control assessment and training [21,22], virtual gyms for people with restricted mobility [23], etc.
The validity of the first version of Kinect (V1) for clinical applications has been the object of study of several publications [22,24,25]. Several studies [26,27] point out the limited accuracy of Kinect V1 against a clinical goniometer for joint angle measurement, although other recent studies have reported excellent agreement between their measurements [20]. Kinect V2 has been reported as more accurate than V1 [28,29,30] and has recently attracted attention to devise and evaluate a variety of exercises aimed at rehabilitation for patients with axial disorders [31], ROM measurements for home rehabilitation [32] and gait parameter measurement [33].
Until now, only two studies have used MoCap techniques in patients with hemophilia: one for rehabilitation [34] and the other for balance assessment [35]. In both studies, a Nintendo Wii Balance Board was used. Therefore, the main objective of this work is to create a redistributable software tool, HemoKinect, that sets up a number of key exercises to be performed in front of Kinect V2. HemoKinect allows patients to perform them interactively either at health facilities or comfortably at their homes through a user-friendly graphical user interface (GUI). The specialist should be able to remotely receive and interpret feedback from the patients’ activity, via comprehensive periodical reports, to keep track of their progress and adjust their training.

2. Materials and Methods

2.1. Hardware and Software Description

Kinect V2 (Microsoft Corp., Redmond, WA, USA) is a physical device originally intended for video game interaction using body motion for Microsoft X-Box T M platforms (Microsoft Corp., Redmond, WA, USA). The release of an SDK by Microsoft [36] has given the programmer community a powerful tool to build their own applications and games using standard programming languages. The first version of Kinect (Kinect V1, Microsoft Corp., Redmond, WA, USA) had some limitations in terms of resolution, accuracy, body tracking and robustness in changing lighting conditions that were greatly overcome by V2 [37]. The most interesting feature of Kinect V2 for our purposes is skeletal tracking. It is possible to retrieve the skeletal data of up to six users from the captured depth maps using machine learning algorithms [38]. The skeleton data for one body is composed of 25 joints that are joined by segments. When a joint is not visible (i.e., hidden behind some furniture), its position may be inferred by the sensor.
HemoKinect has been developed partially in C++ and in MATLAB (MATLAB R2016a, The MathWorks Inc., Natick, MA, USA) [39], using the MATLAB compiler to generate the installer files. It is a standalone application that presents a user-friendly GUI developed with MATLAB GUIDE (GUI development environment). The compiled application is bundled with all the necessary MATLAB routines to execute HemoKinect in any Windows PC without the need for a MATLAB installation or license. HemoKinect software is publicly available for users via GitHub at https://github.com/fermaji/HemoKinect.

2.2. Measurement and Methodology

The Kinect V2 was placed at y = 1.2 m above the ground using a dedicated floor stand, within Microsoft’s recommended range (0.6 m–1.8 m). The subjects to monitor stood at a longitudinal distance z = 2.5 m from the sensor, also within the recommended range (0.5 m z 4.5 m). The exercises were performed by subjects in a standing position, with light clothes to avoid hindering Kinect’s joint center identification, and facing the sensor to optimize joint center identification [40]. To avoid possible loss of accuracy due to joint occlusion, patients were asked to perform all the exercises facing the sensor to keep all joints of interest within its line of sight.
HemoKinect relies on the accuracy of Microsoft Kinect SDK v2.0 libraries to obtain 3D joint positions. This skeletal data were extracted from the depth images using a random decision forest algorithm [38]. After the validation of the captured frames, the angle associated with each joint of interest was calculated by defining a pair of vectors ( u , v ) R 3 formed by the joint’s adjacent body segments and obtaining the angle α in degrees between them, as indicated by Equation (1).
α = 180 π arctan | u × v | u · v
Then, an overlay color image with skeletal data and performance scores was displayed in real-time on a computer screen. The correspondence between joint coordinates and pixels from the RGB image was obtained with a mapping procedure. The execution can be halted at any moment and reports then automatically generated. The implemented methodology follows the flowchart of Figure 1.
The pseudocodes for each exercise: elbow/knee flexion (squat), step climb and balance are summarized in Algorithms 1–3, respectively. The number of accomplished exercises (i.e., the variable flexCount) was displayed on the computer screen for each player, and if desired, the real-time measured angle of the joint of interest could be displayed, as well. Angles were measured by Kinect V2 without any filtering. The only preprocessing done was: (i) discarding the measurement if no bodies were detected or if joints of interest were flagged with the ‘NotTracked’ status and (ii) clipping the 2D joint positions that fell outside the RGB frame. An example screenshot for each exercise is shown in Figure 2, including a sample capture of the two-player mode.
For the balance evaluation, the COM of the player was calculated and a score awarded according to the player’s performance when balancing his or her weight towards different directions. The COM was calculated by distributing the total weight of the patients in body segments using anthropometric data for males [41], as described in Table 1, and assigning the result to the center position of each body segment. The COM was then computed as the weighted average of all body segments’ individual COMs.
Algorithm 1: Joint flexion (elbow and knee) count algorithm. The detection is a two-step procedure that firstly checks that a flexed status has been reached, and then, an extension is observed to count the exercise as completed.
Sensors 18 02439 i001
Algorithm 2: Step count algorithm. The step detection is based on (a) the general rise of the body, taking the hip center as a reference and (b) the sequential flexion and extension of the knees. The ankle angle history a l p h a is recorded throughout the duration of the exercise for medical evaluation purposes, but is not used to detect the step climb due to its inaccuracy.
Sensors 18 02439 i002
Algorithm 3: Balance exercise algorithm. Balance is evaluated in 8 directions in the X Z plane, targeted sequentially in clockwise order: north (N), northeast (NE), east (E), southeast (SE), south (S), southwest (SW), west (W) and northwest (NW), where N corresponds to the player’s front-facing direction. The player must swing back to the starting position ( i d l e P o s ) before each change of direction. The scores’ array contains the percentages of time spent by the subject in each of the target balance spots.
Sensors 18 02439 i003
For a segment with start and end joint positions s 1 and s 2 ( s 1 , s 2 R 3 ), respectively, the segment’s COM would be given by Equation (2).
s C O M = s 1 + s 2 - s 1 2
The COM position b C O M of a body with mass M is then given by the average of COM positions of N = 16 body segments, each one with mass M i , i = 1 , , N , as shown by Equation (3).
b C O M = i = 1 N M i · s C O M i M
The target and COM positions are represented by circles in the X Z plane, being Δ x the transverse and Δ z the longitudinal displacement, respectively. The target circle changes color from red to green when the COM is inside the target area. Sample screenshots of the balance exercise are shown in Figure 3. Three difficulty levels with increasing COM excursion requirements have been implemented. These levels were defined empirically to allow for a mean score for the easiest difficulty level (over all directions) near 50% for the patient with the highest arthropathy and a mean score near 90% for those with no arthropathies. The three levels of difficulty were evaluated sequentially for each patient.
The time granted for the player to reach and stay in the target positions was 10 s in every case. This value was set empirically according to the participants’ feedback and to allow enough time for a reliable score measurement taking into account the different learning curves and reaction times of participants. The outcome of the algorithm is expressed as the percentage of success:
s c o r e = T i m e o n t a r g e t T i m e a l l o w e d p e r t a r g e t
where T i m e a l l o w e d p e r t a r g e t = 10 s, as mentioned above.

2.3. Population

The control population for the study was composed of 10 subjects (age = 35 ± 6 years, height = 172 ± 9 cm, weight = 67 ± 11 kg), and the hemophilic population consisted of 8 subjects (age = 35 ± 10 years, height = 177 ± 6 cm, weight = 89 ± 30 kg). It is worth remarking that the hemophilic population was only composed of males, as hemophilia affects only males, while the control population was composed of both males and females, but this aspect was not significant, as it did not affect Kinect’s joint detection process.
The inclusion criteria for the hemophilic population were: (i) patients must be diagnosed with hemophilia; (ii) over the age of 18; (iii) suffering from arthropathies. With regard to controls, the inclusion criteria were: (i) healthy motor capabilities; (ii) over the age of 18.
Previous approval for this study was obtained from the Ethical Committee of biomedical research of the University and Polytechnic Hospital La Fe (Registry Number 2015/0404). All the procedures were performed in accordance with the principles of the Declaration of Helsinki of the World Medical Association.

3. Results

Example plots of each exercise for random patients are shown in Figure 4. For the elbow exercises, the threshold variables flexionThresholdAngle and extensionThresholdAngle were set to 50 ° and 100 ° , respectively. For the knee flexion exercise, the variables flexionThresholdAngle and extensionThresholdAngle were set to 70 ° and 30 ° , respectively. These values were selected according to the doctors’ advice taking into account the mobility limitations of the patients due to arthropathies, while allowing the correct exercise count in controls and avoiding false positive detection (i.e., counting flexions by mistake when walking normally).
Five series of five repetitions per series were collected for each type of exercise and participant. We measured the achievement rate, i.e., the percentage of exercises correctly performed as judged by HemoKinect, for each type of exercise.
For elbow and knee exercises, a 100% of achievement rate was obtained for the control population. In the hemophilic group, the achievement rate for the elbow was also 100%. Table 2 and Table 3 show the rest of the achievement rates, for the control and the hemophilic population, respectively. A perfect performance was measured for the knee exercise for half of the patients, and the average achievement rates over all patients were high (85% for the left knee and 86% for the right knee), except for those who presented high levels of arthropathy in their knees, which did not allow them to reach the detection threshold in some repetitions. As mentioned in Algorithm 3, HemoKinect relies on the knee angle in combination with the hip center position elevation and descent as elements used to detect step climbs and descents. In this manner, step climbs were successfully counted independently on both feet in about 78% of the cases for the right foot step and 75% for the left one in the control population. The patients’ achievement rate falls approximately by 15% with respect to the controls’ rate.
The balance exercise was evaluated using only the hemophilic population. Statistics have been obtained by averaging the score per patient/difficulty level/cardinal direction. The results are shown in the box plots of Figure 5.
Figure 5a shows that each participant obtained a different balance performance. Three patients presented an average performance below 50%, two patients a performance close to 65% and the remaining three patients close to 75%. As expected, Figure 5b shows that the balance performance decreased as the difficulty level increased. Kruskal–Wallis analysis revealed that there were significant differences among the levels of difficulty (p-value = 0.013). Multiple comparisons find differences (p-value = 0.010) between the performance at Level 1 (median = 68.50 and interquartile range = [58.00–76.00]) and at Level 3 (60.00 [46.25–71.75]. However, no significant differences were found between Level 2 (65.50 [51.00–73.75]) and Level 1 or between Level 2 and Level 3.
The Kruskal-Wallis analysis also revealed that there existed significant differences in the balance performance as a function of the target direction (p-value < 0.001). Differences were found between the following directions: S (56.00 [43.75–67.00]) and W (73.50 [65.25–77.00]; p-value = 0.008), S and NW (70.00 [57.75–79.75]; p-value = 0.042), S and E (72.00 [57.25–85.50]; p-value = 0.004), N (56.00 [45.00–67.25]) and E (p-value = 0.005), as well as between N and W (p-value = 0.011).

4. Discussion

The experiments of elbow flexion/extension and knee flexion/extension with empirically tuned threshold angles have been able to successfully detect exercise repetitions for the control and hemophilic population. In the performed tests, an elbow flexion/extension success rate of 100% was achieved by both populations. The squats were successfully performed by all controls and most patients involved in the study. The accuracy of Kinect reveals great potential in the systematization of ROM measurements of multiple patients at the medical consultation. Additionally, by saving a record of the joint data, the specialist could detect potential postural injury risks and help prevent them.
There exists a wide range of commercial MoCap sensors that may be used for clinical applications as, for example: Orbbec Astra, RealSense R200, ZED Stereo Camera, RealSense F200, DUO mini lx, Leap Motion and Kinect V2. Kinect V2 presents a series of advantages over the alternative MoCap sensors: it can be used for full skeletal tracking and track multiple bodies simultaneously, which may allow parallel acquisition of data from several patients; it has a relatively low price; it supports a wide variety of software toolkits (Open-Frameworks, Processing, Unity3D, etc.) and languages (C#, C++, JavaScript, Java, etc.); and it has mature drivers and a well-documented, freely-accessible SDK.
Previous studies that used depth sensors for rehabilitation purposes have mainly used the previous version of Kinect (V1). There are mixed opinions on whether this system should be used for clinical evaluation or not. There are authors that report that angle accuracy is not enough for medical purposes [26] and others that state that they can be acceptable for a rehabilitation tool [14]. Kinect V2 possesses an improved depth sensor and higher resolution, together with the ability to track a larger number of bodies and joints per body. As a result, Kinect V2 becomes a valid alternative for clinical applications, as shown by some authors [28]. In our experiments, Kinect V2 has been able to measure elbow and knee angles when the joints of interest are not occluded by any object. Occlusion has proven to be a limitation since the first Kinect V1 [24] and continues to be a source of error in V2. This means that, in all tests, the patient must be placed facing the sensor and within its recommended range (0.5 m–4.5 m) and under uniform lighting.
The limitation when designing ankle exercises is the inaccuracy in the detection of the ankle position provided by Kinect V2. This was also reported by other authors [28,30]. Although a regular pattern is observed in successive ankle flexions and extensions, the positioning of joints that participate in the ankle movement (particularly the foot segment) is greatly distorted by noise. This fact makes all tested exercises based on the measured ankle angle for counting ankle flexions/extensions unreliable. This limitation was partially bypassed by designing an exercise that implies a step detection. The designed algorithm successfully counts climbs and descents, based on the hip center joint position and knee angle, implicitly forcing the adequate mobility of the ankle in each repetition. In some cases, the occlusion of the ankle joint by the step block may cause errors in the calculation of the knee angle, which may lead to misdetection of some repetitions. Assuming this limitation, the step algorithm can detect both right foot and left foot step climbs independently and has reached average performances between 64% and 78%, depending on the population.
Balance training in exergaming applications has been previously addressed in the literature. The first Kinect V1 has been reported to be effective in accurately characterizing changes in the COM and in flexion-extension movements of the lower limbs during balance training [21]. For hemophilic patients’ rehabilitation, a Nintendo Wii Balance Board has been evaluated [34]. However, the Wii relies on pressure distribution, while Kinect composes a 3D point cloud, and our algorithm can extract the actual COM position.
The balance experiment produces interesting results. As observed from Figure 5a, the balance performance varies in each patient. These differences may be due to their physical condition and level of arthropathy. As expected, according to Figure 5b, the general balance performance decreases with the increasing level of difficulty. However, the results for Levels 1 and 2, as well as for Levels 2 and 3 overlap significantly, and the differences are only obvious between Levels 1 and 3. This implies that the change between levels is not abrupt, but rather progressive. The rapid motor learning of the participants during the exercise execution allowed them to take on Level 3 even if some of them started struggling to reach some positions at Level 1.
For anatomical reasons, swaying to reach the player’s front target positions should be easier than swaying to reach the back ones, and this has been proven by multi-directional reach tests [42,43]. This generally agrees with our results, except for the N direction, as observed in Figure 5c. The explanation for this inconsistent behavior is the fact that this was the first direction the patient was asked to reach. Therefore, their reaction time was higher than for the rest of the directions, and as a consequence, their performance decreased. Predictably, the S target direction obtains the lowest scores, as it is affected by the fear of falling factor [43]. In terms of performance per cardinal direction, the Kruskal–Wallis analysis has proven that statistical differences are only found between directions that are not adjacent.
On the whole, the results of this pilot study are very promising. In the future, the amount of participants of the study will be substantially increased thanks to the distribution of the hardware and software, and statistical tests will be carried out for a long-term measurement campaign of HemoKinect against traditional rehabilitation techniques. HemoKinect is also able to measure the execution time of all exercises, and this could be exploited at advanced rehabilitation stages to encourage patients to speed up their exercises and improve their musculoskeletal health.

Limitations

In October 2017, it was announced that further development for Kinect V2 will be discontinued. Nevertheless, Microsoft will continue to provide support for the Kinect SDK and is working with Intel to provide an alternative [44]. There are other sensors with body tracking SDKs on the market such as Intel’s RealSense [45], VicoVR [46] or Orbbec Astra [47] that could be evaluated as alternatives to Kinect V2.
Kinect V2 applications already developed, such as HemoKinect, will continue to work, and clients will be able to use them without any issue, as long as they are in possession of Kinect V2 hardware and the SDK v2.0. However, thanks to the modularity of HemoKinect code, it can easily be adapted to new hardware that provides the 3D positions of the joints of interest as the above-mentioned sensors.

5. Conclusions

The role of exergaming in modern medical motor training and rehabilitation is overtaking traditional methods, as it allows remote patient supervision by exploiting the advantages of telemedicine. This work has validated the Kinect V2 for hemophilic patients’ exercise routines’ evaluation and tracking for the first time, using a completely newly developed software, HemoKinect.
HemoKinect relies on Microsoft’s Kinect SDK 2.0 to obtain 3D joint positions, which are used for joint angle calculation and COM estimation. These joint coordinates are mapped to the RGB image and streamed in real-time on a computer screen.
HemoKinect is able to successfully count: (a) elbow flexions and extensions; (b) knee flexions and extensions (squats); (c) step climbs and descents; and (d) measure balance performance towards eight different directions at three levels of difficulty. Additionally, a two-player mode is implemented. HemoKinect also allows saving and sharing the results (reports and graphs) via e-mail.
Although Kinect V2 is generally not aimed at medical application purposes where the measurement accuracy is paramount, its accuracy is enough to register hemophilic patients’ exercises and remotely track their progress and achievements to improve their physical fitness, which is a great step forward in telemedicine applied to hemophilia.
Future work will address the comparison of HemoKinect angle measurements for the joints of interest with other systems that are gold standards, such as clinical goniometers. Another possible line of work would be creating and evaluating more complex exercise routines for hemophilic patients.

Author Contributions

Conceptualization, F.M., E.S.-O., J.J.C. and S.P.-A. Formal analysis, F.M. and J.J.C. Funding acquisition, F.Q. Investigation, F.M., J.J.C. and S.P.-A. Methodology, F.M., J.J.C. and S.P.-A. Project administration, E.S.-O., F.Q. and S.P.-A. Resources, S.B., F.Q. and S.P.-A. Software, F.M. Writing, original draft, F.M. Writing, review and editing, E.S.-O., J.J.C., S.B., F.Q. and S.P.-A.

Funding

This research was supported by an Investigator-Initiated Research (IIR) Award from Pfizer (Study ID: WI199893).

Conflicts of Interest

The authors declare no conflict of interest. Pfizer had no role in the study design, data collection, statistical analysis, interpretation or writing of the manuscript. The corresponding author was responsible for the content of the manuscript and the decision to submit for publication.

References

  1. Mannucci, P.M.; Tuddenham, E.G. The hemophilias—From royal genes to gene therapy. N. Engl. J. Med. 2001, 344, 1773–1779. [Google Scholar] [CrossRef] [PubMed]
  2. Srivastava, A.; Brewer, A.K.; Mauser-Bunschoten, E.P.; Key, N.S.; Kitchen, S.; Llinas, A.; Ludlam, C.A.; Mahlangu, J.N.; Mulder, K.; Poon, M.C.; et al. Guidelines for the management of hemophilia. Haemophilia 2013, 19, e1–e47. [Google Scholar] [CrossRef] [PubMed]
  3. O’Hara, J.; Hughes, D.; Camp, C.; Burke, T.; Carroll, L.; Diego, D.A.G. The cost of severe haemophilia in Europe: The CHESS study. Orphanet J. Rare Dis. 2017, 12, 106. [Google Scholar] [CrossRef] [PubMed]
  4. Raffini, L.; Manno, C. Modern management of haemophilic arthropathy. Br. J. Haematol. 2007, 136, 777–787. [Google Scholar] [PubMed] [Green Version]
  5. Van Vulpen, L.F.D.; Mastbergen, S.C.; Lafeber, F.P.J.G.; Schutgens, R.E.G. Differential effects of bleeds on the development of arthropathy-basic and applied issues. Haemophilia 2017, 23, 521–527. [Google Scholar] [CrossRef] [PubMed]
  6. Forsyth, A.L.; Rivard, G.E.; Valentino, L.A.; Zourikian, N.; Hoffman, M.; Monahan, P.E.; Van Meegeren, M.E.R.; Forriol, F. Consequences of intra-articular bleeding in haemophilia: Science to clinical practice and beyond. Haemophilia 2012, 4, 112–119. [Google Scholar] [CrossRef] [PubMed]
  7. Mulder, K. Exercise for People with Hemophilia; Technical Report; World Federation of Hemophilia: Montreal, QC, Canada, 2006. [Google Scholar]
  8. World Health Organization. Global Recommendations on Physical Activity for Health (WHO); World Health Organization: Geneva, Switzerland, 2010. [Google Scholar]
  9. Negrier, C.; Seuser, A.; Forsyth, A.; Lobet, S.; Llinas, A.; Rosas, M.; Heijnen, L. The benefits of exercise for patients with haemophilia and recommendations for safe and effective physical activity. Haemophilia 2013, 19, 487–498. [Google Scholar] [CrossRef] [PubMed]
  10. Strike, K.; Mulder, K.; Michael, R. Exercise for haemophilia. In Cochrane Database of Systematic Reviews; The Cochrane Collaboration, Ed.; John Wiley & Sons, Ltd.: Hoboken, NJ, USA, 2016. [Google Scholar]
  11. Taylor, M.J.; McCormick, D.; Impson, R.; Shawis, T.; Griffin, M. Activity Promoting Gaming Systems in Exercise and Rehabilitation. J. Rehabil. Res. Dev. 2011, 48, 1171–1186. [Google Scholar] [CrossRef] [PubMed]
  12. Smith, K. Chapter 6. Playing for Health. In Digital Outcasts: Moving Technology Forward without Leaving People Behind; Morgan Kaufmann: Boston, MA, USA, 2013; pp. 125–155. [Google Scholar]
  13. Moreno, F.A.; Merchán-Baeza, J.A.; González-Sánchez, M.; González-Jiménez, J.; Cuesta-Vargas, A.I. Experimental Validation of Depth Cameras for the Parameterization of Functional Balance of Patients in Clinical Tests. Sensors 2017, 17, 424. [Google Scholar] [CrossRef] [PubMed]
  14. Hondori, H.M.; Khademi, M. A Review on Technical and Clinical Impact of Microsoft Kinect on Physical Therapy and Rehabilitation. J. Med. Eng. 2014, 2014. [Google Scholar] [CrossRef]
  15. Webster, D.; Celik, O. Systematic review of Kinect applications in elderly care and stroke rehabilitation. J. Neuroeng. Rehabil. 2014, 11, 108. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Li, Y.; Hui, X.; Andong, L. Kinect-based rehabilitation exercises system: Therapist involved approach. Bio-Med. Mater. Eng. 2014, 24, 2611–2618. [Google Scholar]
  17. Chang, Y.J.; Chen, S.F.; Huang, J.D. A Kinect-based system for physical rehabilitation: A pilot study for young adults with motor disabilities. Res. Dev. Dis. 2011, 32, 2566–2570. [Google Scholar] [CrossRef] [PubMed]
  18. Su, C.J.; Chiang, C.Y.; Huang, J.Y. Kinect-enabled home-based rehabilitation system using Dynamic Time Warping and fuzzy logic. Appl. Soft Comput. 2014, 22, 652–666. [Google Scholar] [CrossRef]
  19. Rantz, M.J.; Skubic, M.; Abbott, C.; Galambos, C.; Pak, Y.; Ho, D.K.; Stone, E.E.; Rui, L.; Back, J.; Miller, S.J.; et al. In-home fall risk assessment and detection sensor system. J. Gerontol. Nurs. 2013, 39, 18–22. [Google Scholar] [CrossRef] [PubMed]
  20. Lee, S.H.; Yoon, C.; Chung, S.G.; Kim, H.C.; Kwak, Y.; Park, H.W.; Kim, K. Measurement of Shoulder Range of Motion in Patients with Adhesive Capsulitis Using a Kinect. PLoS ONE 2015, 10, e0129398. [Google Scholar] [CrossRef] [PubMed]
  21. Lim, D.; Kim, C.; Jung, H.; Jung, D.; Chun, K.J. Use of the Microsoft Kinect system to characterize balance ability during balance training. Clin. Interv. Aging 2015, 10, 1077–1083. [Google Scholar] [PubMed]
  22. Clark, R.A.; Pua, Y.H.; Fortin, K.; Ritchie, C.; Webster, K.E.; Denehy, L.; Bryant, A.L. Validity of the Microsoft Kinect for assessment of postural control. Gait Posture 2012, 36, 372–377. [Google Scholar] [CrossRef] [PubMed]
  23. Cassola, F.; Morgado, L.; de Carvalho, F.; Paredes, H.; Fonseca, B.; Martins, P. Online-Gym: A 3D Virtual Gymnasium Using Kinect Interaction. Procedia Technol. 2014, 13, 130–138. [Google Scholar] [CrossRef]
  24. Fernández-Baena, A.; Susín, A.; Lligadas, X. Biomechanical validation of upper-body and lower-body joint movements of kinect motion capture data for rehabilitation treatments. In Proceedings of the 2012 4th International Conference on Intelligent Networking and Collaborative Systems (INCoS), Bucharest, Romania, 19–21 September 2012; pp. 656–661. [Google Scholar]
  25. Pedro, L.M.; de Paula Caurin, G.A. Kinect evaluation for human body movement analysis. In Proceedings of the 2012 4th IEEE RAS & EMBS International Conference on Biomedical Robotics and Biomechatronics (BioRob), Rome, Italy, 24–27 June 2012; pp. 1856–1861. [Google Scholar]
  26. Hawi, N.; Liodakis, E.; Musolli, D.; Suero, E.M.; Stuebig, T.; Claassen, L.; Kleiner, C.; Krettek, C.; Ahlers, V.; Citak, M. Range of motion assessment of the shoulder and elbow joints using a motion sensing input device: A pilot study. Technol. Health Care 2014, 22, 289–295. [Google Scholar] [PubMed]
  27. Huber, M.; Seitz, A.; Leeser, M.; Sternad, D. Validity and reliability of Kinect skeleton for measuring shoulder joint angles: A feasibility study. Physiotherapy 2015, 101, 389–393. [Google Scholar] [CrossRef] [PubMed]
  28. Otte, K.; Kayser, B.; Mansow-Model, S.; Verrel, J.; Paul, F.; Brandt, A.U.; Schmitz-Hübsch, T. Accuracy and reliability of the Kinect version 2 for clinical measurement of motor function. PLoS ONE 2016, 11, e0166532. [Google Scholar] [CrossRef] [PubMed]
  29. Wasenmüller, O.; Stricker, D. Comparison of Kinect V1 and V2 Depth Images in Terms of Accuracy and Precision. In Proceedings of the Computer Vision—ACCV 2016 Workshops, Taipei, Taiwan, 20–24 November 2016; Chen, C.S., Lu, J., Ma, K.K., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 34–45. [Google Scholar]
  30. Wang, Q.; Kurillo, G.; Ofli, F.; Bajcsy, R. Evaluation of Pose Tracking Accuracy in the First and Second Generations of Microsoft Kinect. In Proceedings of the 2015 International Conference on Healthcare Informatics (ICHI), Dallas, TX, USA, 21–23 October 2015; pp. 380–389. [Google Scholar]
  31. Capecci, M.; Ceravolo, M.G.; Ferracuti, F.; Grugnetti, M.; Iarlori, S.; Longhi, S.; Romeo, L.; Verdini, F. An instrumental approach for monitoring physical exercises in a visual markerless scenario: A proof of concept. J. Biomech. 2018, 69, 70–80. [Google Scholar] [CrossRef] [PubMed]
  32. Daponte, P.; De Vito, L.; Riccio, M.; Sementa, C. Design and validation of a motion-tracking system for ROM measurements in home rehabilitation. Measurement 2014, 55, 82–96. [Google Scholar] [CrossRef]
  33. Dolatabadi, E.; Taati, B.; Mihailidis, A. Concurrent validity of the Microsoft Kinect for Windows v2 for measuring spatiotemporal gait parameters. Med. Eng. Phys. 2016, 38, 952–958. [Google Scholar] [CrossRef] [PubMed]
  34. Silva, J.; Fagnani, R.; Silva, E.; Matta, M.; Ozelo, M. Use of the exergaming (Nintendo Wii) in the rehabilitation of patients with hemophilia. Haemophilia 2012, 18, 154. [Google Scholar]
  35. Pérez-Alenda, S.; Carrasco, J.J.; Aguilar-Rodríguez, M.; Martínez-Gómez, L.; Querol-Giner, M.; Cuesta-Barriuso, R.; Torres-Ortuño, A.; Querol, F. Balance evaluation in haemophilic preadolescent patients using Nintendo Wii Balance Board®. Haemophilia 2017, 23, e18–e24. [Google Scholar] [CrossRef] [PubMed]
  36. Microsoft Corporation. Kinect for Windows SDK 2.0. Available online: http://www.microsoft.com/en-us/download/details.aspx?id=44561 (accessed on 13 July 2018).
  37. Zennaro, S.; Munaro, M.; Milani, S.; Zanuttigh, P.; Bernardi, A.; Ghidoni, S.; Menegatti, E. Performance evaluation of the 1st and 2nd generation Kinect for multimedia applications. In Proceedings of the 2015 IEEE International Conference on Multimedia and Expo (ICME), Turin, Italy, 29 June–3 July 2015; pp. 1–6. [Google Scholar]
  38. Shotton, J.; Fitzgibbon, A.; Cook, M.; Sharp, T.; Finocchio, M.; Moore, R.; Kipman, A.; Blake, A. Real-time human pose recognition in parts from single depth images. In Proceedings of the 2011 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Springs, CO, USA, 20–25 June 2011; pp. 1297–1304. [Google Scholar]
  39. MATLAB. R2016a; The MathWorks Inc.: Natick, MA, USA, 2016. [Google Scholar]
  40. Xu, X.; McGorry, R.W. The validity of the first and second generation Microsoft KinectTM for identifying joint center locations during static postures. Appl. Ergon. 2015, 49, 47–54. [Google Scholar] [CrossRef] [PubMed]
  41. Plagenhoef, S.; Evans, F.; Abdelnour, T. Anatomical data for analyzing human motion. Res. Q. Exerc. Sport 1983, 54, 169–178. [Google Scholar] [CrossRef]
  42. Tantisuwat, A.; Chamonchant, D.; Boonyong, S. Multi-directional Reach Test: An Investigation of the Limits of Stability of People Aged between 20–79 Years. J. Phys. Ther. Sci. 2014, 26, 877–880. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  43. Newton, R.A. Validity of the Multi-Directional Reach TestA Practical Measure for Limits of Stability in Older Adults. J. Gerontol. 2001, 56, M248–M252. [Google Scholar] [CrossRef]
  44. Microsoft. Kinect for Windows. Available online: https://developer.microsoft.com/en-us/windows/kinect (accessed on 13 July 2018).
  45. Intel. Intel Real Sense. Available online: https://software.intel.com/realsense (accessed on 13 July 2018).
  46. VicoVr. Available online: https://vicovr.com/ (accessed on 13 July 2018).
  47. Orbbec. Available online: https://orbbec3d.com/products/ (accessed on 13 July 2018).
Figure 1. HemoKinect flowchart describing the implemented methodology. The depth frames are processed to obtain the skeletal data from them using a machine learning algorithm, in particular a random decision forest [38]. The skeletal data are then mapped to the color image space using methods coded in Microsoft’s SDK. Then, the overlay image is obtained by drawing the bodies on top of the color image and adding the calculated angles’ achievement indicators. The process continues until the execution is halted. Finally, summary reports and graphs of the exercise are generated.
Figure 1. HemoKinect flowchart describing the implemented methodology. The depth frames are processed to obtain the skeletal data from them using a machine learning algorithm, in particular a random decision forest [38]. The skeletal data are then mapped to the color image space using methods coded in Microsoft’s SDK. Then, the overlay image is obtained by drawing the bodies on top of the color image and adding the calculated angles’ achievement indicators. The process continues until the execution is halted. Finally, summary reports and graphs of the exercise are generated.
Sensors 18 02439 g001
Figure 2. Screenshots of HemoKinect during the different exercises: (a) simultaneous elbow flexion exercise, without load; (b) knee flexion exercise (squat); (c) ankle exercise (step climb); (d) elbow flexion exercise in two-player mode. The repetition count for each exercise and individual left/right joint of interest is displayed in the respective left/right corner of the screen. In two-player mode, the repetition count for the second player appears stacked directly below the first players’ count, in a different color. In this last screenshot, the real-time angle measurement of the joints of interest is displayed, as well, in a smaller font, below the respective score box.
Figure 2. Screenshots of HemoKinect during the different exercises: (a) simultaneous elbow flexion exercise, without load; (b) knee flexion exercise (squat); (c) ankle exercise (step climb); (d) elbow flexion exercise in two-player mode. The repetition count for each exercise and individual left/right joint of interest is displayed in the respective left/right corner of the screen. In two-player mode, the repetition count for the second player appears stacked directly below the first players’ count, in a different color. In this last screenshot, the real-time angle measurement of the joints of interest is displayed, as well, in a smaller font, below the respective score box.
Sensors 18 02439 g002
Figure 3. Sample screenshots of HemoKinect’s balance exercise. The player’s COM is represented by a blue circumference. The current target position is represented by a green circle of radius 1.5 cm, whose edge changes color from red to green when the player’s COM is inside it. The figure shows: (a) the player has not reached the current target balance position, and the circle’s edge color is red; (b) the player reaches the current target balance position (NE), and the edge color changes to green; (c) the player reaches the starting position (idlePos) between two successive balance positions.
Figure 3. Sample screenshots of HemoKinect’s balance exercise. The player’s COM is represented by a blue circumference. The current target position is represented by a green circle of radius 1.5 cm, whose edge changes color from red to green when the player’s COM is inside it. The figure shows: (a) the player has not reached the current target balance position, and the circle’s edge color is red; (b) the player reaches the current target balance position (NE), and the edge color changes to green; (c) the player reaches the starting position (idlePos) between two successive balance positions.
Sensors 18 02439 g003
Figure 4. Graphs representing the joint angle (°) fluctuation of different exercises over time (s): simultaneous elbow flexions and extensions (a) without load and (b) with load; alternate elbow flexions and extensions (c) without load and (d) with load; (e) knee flexions and extensions (squats) and (f) right ankle angle fluctuation when performing four right-foot step climbs and descents.
Figure 4. Graphs representing the joint angle (°) fluctuation of different exercises over time (s): simultaneous elbow flexions and extensions (a) without load and (b) with load; alternate elbow flexions and extensions (c) without load and (d) with load; (e) knee flexions and extensions (squats) and (f) right ankle angle fluctuation when performing four right-foot step climbs and descents.
Sensors 18 02439 g004
Figure 5. Average balance results (%) on the hemophilic population for all eight cardinal and intermediate positions: (a) box plot of average balance performance per patient including all three levels; (b) box plot of average balance performance per level for all patients; and (c) box plot of the average balance performance per cardinal direction for all patients and levels.
Figure 5. Average balance results (%) on the hemophilic population for all eight cardinal and intermediate positions: (a) box plot of average balance performance per patient including all three levels; (b) box plot of average balance performance per level for all patients; and (c) box plot of the average balance performance per cardinal direction for all patients and levels.
Sensors 18 02439 g005
Table 1. Distribution of body mass for males [41].
Table 1. Distribution of body mass for males [41].
Body SegmentPercent of Total Body Mass
Head8.26%
Thorax20.10%
Abdomen13.06%
Pelvis13.66%
Upper Arm3.25%
Forearm1.87%
Hand0.65%
Thigh10.50%
Leg4.75%
Foot1.43%
Table 2. Controls step exercise achievement rate (%). Mean ± standard deviation of 5 series of 5 repetitions per exercise.
Table 2. Controls step exercise achievement rate (%). Mean ± standard deviation of 5 series of 5 repetitions per exercise.
ControlRight StepLeft Step
180 ± 2072 ± 11
288 ± 1880 ± 14
384 ± 1680 ± 20
476 ± 2684 ± 22
580 ± 2872 ± 11
672 ± 1164 ± 17
772 ± 2368 ± 18
880 ± 2576 ± 22
968 ± 2276 ± 26
1080 ± 1484 ± 26
Mean78 ± 2075 ± 19
Table 3. Patients’ squat and step exercise achievement rate (%). Mean ± standard deviation of 5 series of 5 repetitions per exercise.
Table 3. Patients’ squat and step exercise achievement rate (%). Mean ± standard deviation of 5 series of 5 repetitions per exercise.
PatientRight KneeLeft KneeRight StepLeft Step
110010064 ± 2256 ± 17
292 ± 1196 ± 952 ± 1860 ± 20
310010080 ± 2076 ± 26
472 ± 1176 ± 968 ± 2264 ± 29
510010064 ± 2256 ± 26
660 ± 1452 ± 1152 ± 1856 ± 17
764 ± 960 ± 1468 ± 1172 ± 11
810010080 ± 2876 ± 17
Mean86 ± 585 ± 566 ± 2064 ± 20

Share and Cite

MDPI and ACS Style

Mateo, F.; Soria-Olivas, E.; Carrasco, J.J.; Bonanad, S.; Querol, F.; Pérez-Alenda, S. HemoKinect: A Microsoft Kinect V2 Based Exergaming Software to Supervise Physical Exercise of Patients with Hemophilia. Sensors 2018, 18, 2439. https://doi.org/10.3390/s18082439

AMA Style

Mateo F, Soria-Olivas E, Carrasco JJ, Bonanad S, Querol F, Pérez-Alenda S. HemoKinect: A Microsoft Kinect V2 Based Exergaming Software to Supervise Physical Exercise of Patients with Hemophilia. Sensors. 2018; 18(8):2439. https://doi.org/10.3390/s18082439

Chicago/Turabian Style

Mateo, Fernando, Emilio Soria-Olivas, Juan J. Carrasco, Santiago Bonanad, Felipe Querol, and Sofía Pérez-Alenda. 2018. "HemoKinect: A Microsoft Kinect V2 Based Exergaming Software to Supervise Physical Exercise of Patients with Hemophilia" Sensors 18, no. 8: 2439. https://doi.org/10.3390/s18082439

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop