Next Article in Journal
A Ka-Band Integrated Six-Port Chip for Analog Complex Correlator
Next Article in Special Issue
Architecture for a Mobile Robotic Camera Positioning System for Photogrammetric Data Acquisition in Hydroelectric Tunnels
Previous Article in Journal
Insulator Umbrella Disc Shedding Detection in Foggy Weather
Previous Article in Special Issue
The Implementation and Evaluation of Individual Preference in Robot Facial Expression Based on Emotion Estimation Using Biological Signals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Analysis of the Leap Motion Controller’s Performance in Measuring Wrist Rehabilitation Tasks Using an Industrial Robot Arm Reference

by
Rogério S. Gonçalves
1,*,
Marcus R. S. B. de Souza
2 and
Giuseppe Carbone
3
1
School of Mechanical Engineering, Federal University of Uberlândia, Uberlândia 38408-016, Brazil
2
SENAI, Serra 29173-087, Brazil
3
Department of Mechanical, Energy and Management Engineering, University of Calabria, 87036 Rende, Italy
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(13), 4880; https://doi.org/10.3390/s22134880
Submission received: 13 April 2022 / Revised: 19 May 2022 / Accepted: 25 June 2022 / Published: 28 June 2022
(This article belongs to the Collection Survey on Research of Sensors and Robot Control)

Abstract

:
The Leap Motion Controller (LMC) is a low-cost markerless optical sensor that performs measurements of various parameters of the hands that has been investigated for a wide range of different applications. Research attention still needs to focus on the evaluation of its precision and accuracy to fully understand its limitations and widen its range of applications. This paper presents the experimental validation of the LMC device to verify the feasibility of its use in assessing and tailoring wrist rehabilitation therapy for the treatment of physical disabilities through continuous exercises and integration with serious gaming environments. An experimental set up and analysis is proposed using an industrial robot as motion reference. The high repeatability of the selected robot is used for comparisons with the measurements obtained via a leap motion controller while performing the basic movements needed for rehabilitation exercises of the human wrist. Experimental tests are analyzed and discussed to demonstrate the feasibility of using the leap motion controller for wrist rehabilitation.

1. Introduction

The wrist is one of the most important joints of the human body. Through gripping, lifting, twisting, and bending the wrist makes most of the possible daily activities. Unfortunately, the wrists are often impaired by nagging pain and stiffness. Wrist injuries and disorders are often caused by sprains, fractures, repetitive stress, carpal tunnel syndrome, arthritis, ganglion cysts, Kienbock’s disease, tendinitis, and stroke [1]. Often, wrist tension can be caused by a limited range of motion plus a lack of blood flow to the joints. Pain and impairment can also be symptomatic of a more serious condition, such as carpal tunnel syndrome, arthritis, and wrist sprain or strain. Due to the wrists’ heavy involvement in most daily activities, stiffness and pain can affect athletes and office workers alike. Wrist injuries are especially common in professions and athletes that require heavy or repetitive use of the hands and wrists. Approximately 25% of all sports-related injuries involve the hand or wrist [2]. Stroke is a leading cause of long-term disability and leaves a considerable number of individuals with motor deficits. One consequence of stroke is wrist spasticity [3,4]. Spasticity is a muscular disorder characterized by muscle tightness and stiffness, which can affect muscles throughout the body, including the hand, and can be painful.
Rehabilitation training is one effective way to reduce impairment and pain for most human wrist injuries and disorders, as mentioned, for example, in [5]. Together with the rehabilitation procedure, it is often necessary to quantify the evolution of the treatment. This often requires the measurement of the Range Of Motion (ROM) that is essential for the development of effective rehabilitation protocols. Currently, the clinical standard is based on using a goniometer [6]. Wrist rehabilitation therapy involves monotonous and repetitive movements/exercises [7], and serious games can be an option to make an interactive rehabilitation experience and generate more motivation in patients. Along with serious games, some devices are desirable to acquire and store movement data and, if possible, use them interactively with the patient.
One device that permits virtual interactions with hands is the Leap Motion Controller (LMC). The Leap Motion Controller is a gesture sensor used to interact with a computer, which uses infrared sensors to collect data about the position and motions of a user’s hands. The users do not need other sensors/devices coupled with their bodies. This sensor has been preliminarily used in combination with serious games for hand rehabilitation, such as outlined in [8,9,10,11,12]. In [13], the authors conducted a review of the use of LMC as a tool in the treatment of the upper limb in people with stroke and concluded the necessity of future research protocols with greater scientific rigor. Though the researchers developed serious games for hand/wrist rehabilitation, the applications lacked reliable information in terms of the functions of the different disposition of the fingers in the hand, that is, the functions of the specific injuries and disorders. It is necessary, also, to evaluate the accuracy of LMC in the specific configuration of the physiotherapist’s exercises and data collected. Therefore, in this paper, we propose a detailed analysis of LMC when used for measuring hand/wrist poses in typical rehabilitation tasks. The proposed analysis is based on a specific experimental set up that uses a high accuracy industrial robot as pose reference.
This paper is structured as follows: Section 2 provides a focused review on the specifications for a LMC to wrist/hand tracking, followed by a brief review on the kinesiology, injuries/disorders, and rehabilitation procedures of the human wrist in Section 3. The experimental set up and methodology of the experiments are presented in Section 4. The detailed results are analyzed and discussed in Section 5. Finally, the conclusions and recommendations are outlined in Section 6.

2. Leap Motion Controller

The LMC is a low-cost, off-the-shelf product that costs an average of USD 100; it consists of two cameras and three infrared LEDs. Its operation is based on the principle of stereoscopy, and the images obtained by the cameras are recorded in its internal memory to be later transmitted via USB interface to the tracking software [14,15]. The images collected by the LMC, after processing, give information of the hand, such as position and orientation Cartesian coordinates of the fingertips, palm, and wrist of the hand, for example [14]. The processing of the LMC data taken from the images is performed by the Application Programmer Interface (API) that provides a set of functions that can be accessed to obtain the parameters calculated from the sensor. The data acquired by the LMC are made available by the API through data structures called frames. Each frame is generated from the images collected by the LMC in the current iteration and contains information about the tracked entities such as hands, fingers, wrist position, and finger bones. The frame structure named “hand class” has attributes such as the direction vectors and handgrip angle, the position and speed coordinates of the palm, Figure 1a.
In [14], a pen attached to an industrial robotic was used as a reference standard system for LMC sensor validation. The error calculated for the LMC readings in the static tests was less than 0.2 mm, regardless of the axis analyzed, and in the dynamic linear paths it was 1.2 mm on average. The repeatability observed in the static tests was less than 0.17 mm for the x axis and in the dynamic tests 0.4 mm on average. In [16], the accuracy, reliability, and sample rate of the LMC were evaluated using camera tracking was used as a reference system. In static experiments, a plastic hand attached to support was used to simulate the human hand in 37 distinct positions within the LMC workspace. The results showed a drop in the accuracy of the measurements as the tool moved away from the sensor. In the experiments, the sample rate proved to be quite inconsistent, presenting an average of 39 Hz with a standard deviation of 12.8 Hz.
In [17], a system where a robotic arm reproduced the movements of a human hand, represented by a metal rod 7 mm in diameter, in real-time was proposed. The authors evaluated the accuracy of the LMC using the robotic arm as a reference system to make static and dynamic tests. The error measured in the static experiments was less than 0.01 mm when the metal rod was close to the origin of the LMC, and the repeatability was 1 mm. The authors observed that the repeatability worsens as the tool moves away from the sensor. In [18], the accuracy of the LMC when measuring the distance between the tip of the index finger and the thumb when the hand is in a clamp configuration was evaluated. Distances of 10 to 130 mm were used between the fingertips in the tests, and, for each distance, 20 measurements were made. It was found that the general mean quadratic error (RMS) was 4.44 mm, having been lower for greater distances. In [19], three healthy individuals participated to take data from hand using the LMC. The average difference between a gold-standard reference device (0.1 mm) and the LMC for pinch distance was −0.86 ± 10.8 mm.
In [15], the average and maximum errors observed in the static tests were 17.47 and 33.65 mm, respectively. It was concluded that the error tends to increase as the hand moves away from the sensor. The average value for repeatability was 0.25 mm, indicating good accuracy in repeatability conditions. In [20], the ability of the LMC to track the flexion/extension, abduction/adduction movements of the wrist, and pronation/supination of the forearm was evaluated. For validation, a motion capture system with markers from Motion Analysis Corporation was used. The results of the experiments showed that the mean quadratic errors were 11.6° for the flexion/extension movements, 12.4° for abduction and adduction, and 38.4° for supination/pronation. The authors concluded that the LMC can provide satisfactory measures for the flexion/extension and abduction/adduction movements. In [6], the ability of the LMC to measure the range of hand and wrist movements of 20 healthy volunteers was explored. A goniometer was used as a comparison; the results were flexion (9°)/extension (3°), pronation (13°)/supination (39°), and abduction (7°)/adduction (3°). The values in parentheses represent the mean absolute difference between the measurements.
Several papers [14,15,16,17] were presented on the analysis of the precision and accuracy of the LMC almost static measurement with a tool simulating the hand. The angular displacement capacity of LMC to measure the wrist movements is little explored in the literature and without considering different dispositions of the fingers about the palm used in wrist rehabilitation procedures.

3. Wrist, Injuries, and Rehabilitation

The wrist connects the hand to the forearm and has several small joints. This makes it flexible to move the hand in diverse ways. The wrist has two large forearm bones and eight small bones named carpals, Figure 1b. It also has tendons, which connect muscles, and ligaments that connect bones [1]. The wrist can be considered to be a mechanical spherical joint [21].
Wrist injuries and disorders are often caused by sprains, fractures, repetitive stress, carpal tunnel syndrome, arthritis, ganglion cysts, Kienbock’s disease, tendinitis, and stroke. Sudden impacts are mainly responsible for wrist sprains (injuries in ligaments, muscles, or tendons) and fractures (broken bones). Repetitive activities that involve wrist motion, such as some kind of sports that hit balls, can inflame the tissues around joints and cause stress. Wrist arthritis is the loss of cartilage between the wrist bones; it causes pain when the patient is turning the hand palm up or palm down. Carpal tunnel syndrome is increased pressure on the median nerve, which passes through the carpal tunnel and causes pain, numbness, and tingling. Ganglion cysts may be painful and are soft tissue cyst that occurs most often on the part of the writs opposite palm. The pain may either worsen or improve with activity. Kienbock’s disease is a progressive collapse of the small lunate bone in the wrist and occurs when the blood supply to the bone is compromised. This disease can lead to progressive wrist pain and abnormal carpal motion. Tendonitis is an inflammation of a tendon, usually due to overuse.
One wrist problem is a function of the stroke or brain injury that can cause spasticity [22,23,24]. Spasticity is a muscular disorder characterized by muscle tightness and stiffness, which can affect muscles throughout the body including the hand and can be painful. About 30% of stroke survivors will have spasticity. When a stroke occurs, the nervous system sustains damage and can disrupt the signals between the brain and muscles. As a result, certain muscles can become over-active and are unable to relax, leaving them in a state of prolonged and involuntary contraction. The hand and fingers are stiff and hard to move. In the case of severe spasticity, the person’s fingers may curl, and their hand may remain clenched in a fist [24]. If the spasticity is not treated, it can progress into contractures, i.e., when the connective tissue and joints become extremely stiff, often painful, and limit the range of motion. These contractures make the actions of important daily tasks difficult [4].

Wrist/Hand Rehabilitation Exercises

After wrist injuries, it is necessary to complete rehabilitation exercises if pain allows. Rehabilitation exercises can improve mobility and strengthen the muscles in the wrist, hand, and forearm [25]. In some cases, the exercises are made with open fingers or closed fingers.
The wrist flexion/extension exercise [21], Figure 2, starts with the forearm resting on support and hand hanging off the table, Figure 2a. After, it is necessary to bend the wrist down, i.e., the extension movement, and hold it for 5 s, Figure 2b. The next step is to return slowly to the resting position. The wrist is then bent up making the flexion movement, Figure 2c, and held for 5 s, before slowly returning to the starting position.
The wrist deviation movements [21] need the forearm resting on a support and the hand hanging off the support, Figure 3a. The movements start slowly by turning the hand to the side, Figure 3b, and holding for 5 s and after returning slowly to starting position. In the next step, the patient turns the hand to another side, Figure 3c, holds for 5 s, and returns to starting position.
The supination/pronation corresponds to the rotation of the forearm [21]. The movement starts with resting the forearm next to the body, palm out, Figure 4a. The patient then turns the hands up, Figure 4b, and holds for 5 s. After slowly turning the hand down, the patient returns it to the initial position and holds for 5 s. Then, the patient turns the hand in the opposite direction, Figure 4c, and holds for 5 s before returning to the initial position. The wrist tendonitis rehabilitation exercises involve the base movements of the wrist: flexion/extension, supination/pronation, and radial/ulnar deviation. The spasticity, Figure 5, can be treatable by rehabilitation exercises [24].
Rehabilitation exercises are one of the most effective ways to treat the spasticity in the hand. Therapeutic movements of the hand can help the neuroplasticity, i.e., the nervous system rewiring, and create new pathways between the brain and muscles. This process needs time and effort to make repetitive practice/movements. The spasticity is velocity-dependent; if the hand moves faster, the affected muscles are stronger contract. Therefore, is important to stretch the hand slowly. If the fingers are affected by spasticity is important to keep the wrist position, because the muscles groups that are primarily responsible for flexing and extending the fingers are in the forearm with tendons crossing the wrist connecting the finger bones. The exercises to decrease wrist/hand stiffness involve pronation/supination, flexion/extension of the wrist, and finger flexion/extension.

4. Methodology of Experiments

We identified an industrial robot with certified positioning repeatability higher than 0.1 mm as our gold-standard reference for our motion analysis tests. Namely, to simulate the hand movements, a Yaskawa industrial robot model Motoman HP6, NX100 controller was used, with an anthropomorphic and anthropometric right-hand model like an end effector for precise angular movements, during the experiments. The robot has a repeatability of 0.08 mm. The LMC was fixed to a table in front of the robotic arm so that the wooden hand attached to the robot could move in different orientations within the sensor’s workspace. The disposition of the devices in the experimental apparatus, as well as the wooden hand model used, are shown in Figure 6.
Three wooden hand model configurations were used, with the open hand, Figure 7a, with the fingers bent at 90° about the longitudinal axis of the palm, Figure 7b, and with the closed hand, Figure 7c, with the fingers at 175°. In all configurations, the thumb is apart, and the other fingers are close to each other. These settings aim to replicate the possible positions in the rehabilitation exercises, Figure 2, Figure 3, Figure 4 and Figure 5. A workspace was defined to avoid collisions between the sensor, table, and laptop during the industrial robot’s movements, as shown in Figure 8. That workspace is inside of the LMC workspace.
The Cartesian reference system used originates from the center of LMC upper surface and orientation as shown in Figure 8. The data acquisition was made using a developed Matlab code on a laptop (Intel® Core i7-6500U 2.5 GHz 8 GB) with Windows 10 and the LMC API in version V3. The communication between the LMC API and Matlab was made using an adaptation of the MatLeap library [26].
Angular experiments, in each of the three axes of the LMC, Figure 8, were realized to compared with the literature and insert new configurations not analyzed.
In Orion version 3 of the API, used in this paper, it is not possible to track tools such as pens or rods [15]. Thus, to validate the measurements, one point in the hand was used, since the hand model is considered rigid. The sensor evaluation was performed by calculating the systematic error and its precision (repeatability) relative to the predetermined reference position in each experiment. The estimation of these parameters was made according to the ISO 9283 standard [27], concerning the performance evaluation of industrial manipulators.

4.1. Analysis of Orientation Measures

The analysis of the orientation measurements was made using the data output of the LMC sensor in terms of the vector palm direction vector ( U n i ) versus time. The direction of the vector ( U n i ) relative to the hand is shown in Figure 9b. For the analysis of the orientation measurements, the angles were considered to be θ n i , which symbolizes a rotation of the direction vector U n i on the x axis and is equivalent to the angle between the negative z axis and the projection of this vector on the yz plane. The angle ψ n i corresponds to a rotation of the direction vector U n i on the y axis and is equivalent to the angle between the negative z axis and the projection of this vector on the xz plane. The angle ϕ n i represents a rotation of the direction vector U n i on the z axis and is equivalent to the angle between the y axis and the projection of this vector on the xy plane.
In Figure 9, the angles are represented about the unit direction vector. The verification of the orientation measures was performed using a predetermined reference. The position direction vector n at frame i is denoted by the vector U n i = ( U n i x ,   U n i y ,   U n i z   ) T 3 , for i = 1 ,     ,   V n e n = 1 ,   ,   N . It is denoted by an angular vector A n = ( θ n ,   ψ n ,   ϕ n ) ; the vector composed of the mean of the angles measured in the n is expressed by (1).
A n = 1 V n i = 1 V n ( θ n i ,   ψ n i ,   ϕ n i ) ,
Included in this set of angular vectors is the vector that will be used as a reference for the other N 1 positions, denoted by A R = ( θ R ,   ψ R ,   ϕ R   ) T 3 , for i = 1 ,   ,   V R .
The angular vector of position n relative to the reference position is expressed by (2).
A n , R = A n A R ,
The actual angular displacement A n , R * = ( θ n , R * ,   ψ n , R * ,   ϕ n , R *   ) T 3 between the reference position and the n position is known. It is pertinent to anticipate that, in the orientation evaluation tests, the angular displacements will be performed around each axis separately, that is, there will be no combination of two or more angles. Thus, the calculation of orientation measurement errors E θ n was performed independently through (3) and analogous to E ψ n and E ϕ n .
E θ n = θ n , R θ n , R * ,
The angles measured in each plane, as well as the unit vectors that represent them and their associated errors, are depicted in Figure 10.
Repeatability represents the average correlation, or the degree of agreement, between successive measurements from the same orientation.
According to the standard ISO 9283 [27], the calculus of the repeatability measure R θ n of each orientation n is given by (4), similar to ψ and ϕ .
R θ n = l θ n + 3 S θ n ,
As there was no combination of the angles measured on the orthogonal axes, (4) was fragmented, as shown, in (5) and (6), analogous to ψ and ϕ .
l θ n i = ( θ n i θ n ) 2 = | θ n i θ n | ,
l θ n = 1 V n i = 1 V n | θ n i θ n | ,
and the standard deviation of the measured angles, as expressed in (7), analogous to ψ and ϕ .
S θ n = 1 V n 1 i = 1 V n ( l θ n l θ n i ) 2 ,

4.2. Angular Displacement Experiment

During the elaboration of the experiments, we considered which would be the best orientation of the LMC about the wooden hand and which would result in better quality in the readings. Thus, two configurations were verified in each type of experiment: a transversal configuration, whose axis parallel to the hand is the transversal axis of the LMC, recommended for use by the manufacturer, Figure 11a, and a longitudinal configuration, whose axis parallel to the hand is the longitudinal axis of the LMC, Figure 11b.
For the angular displacement experiments, the average of the α angle, referring to the hand opening angle, was also calculated, Figure 7. Since the calculation of the α angle by the API is performed from the vector of the average direction of the fingers, the error was not calculated about the measurements made by the goniometer. It was observed, instead, if the sensor could identify the different hand configurations and the standard deviation of these measurements. The angular displacement experiments have the following specific objectives: the observation of the LMC acquisition rate; the verification of the consistency of the readings made when there is a change in the orientation of the hand; the calculation of the error of angular measurements; the repeatability assessment in each considered position; the verification of the best angles for measuring angular positions; the verification of the quality of the readings for different configurations of the wooden hand, Figure 7; and the determination of the opening angles for each hand configuration.
There are three angular displacement experiments, each rotating along the lateral, vertical, and frontal axes. On the vertical and lateral axes, two angular positions ‘A’ and ‘B’ were measured from the reference ‘R’, oriented 45° in both directions of the axis, and the reference orientation remained with the palm pointing downwards. On the front axis, there are four angular positions ‘A’, ‘B’, ‘C’, and ‘D’, and the reference is oriented with the thumb pointing upwards, Figure 12.
The simulations exactly replicate the hand and wrist motions that are performed by the robot in the experiments, such as those shown in Figure 12. Eighteen angular displacement tests were made to reach and measure a total of forty-eight angular positions that were evaluated in total, since each test reaches three hand configurations, as shown in Figure 7, for each of the three axes, while two LMC configurations are tested for each case.

5. Experimental Results

Before starting the experimental tests, some procedures were taken, such as closing the curtains, reducing the interference of infrared external light. The API has some options disabled that can impact the experimental results such as automatic orients of the axis and the robust mode that increases in some moments the infrared LEDs intensity. It is necessary to point out that the experiments were conducted using a wooden hand coupled with a metal rod, which are reflective surfaces. In general, reflective surfaces can affect the quality of the measurements. This can be particularly relevant when using specific LMC settings and lighting conditions. Accordingly, several attempts were made to verify the influence of the lighting conditions. Furthermore, it has been useful to disable the “robust mode” set up of the LMC sensors, since this option varies the infrared LEDs’ intensity and negatively affects the uniformity of the collected data. The mean acquisition rate in frames per second of all experiments and sensor configuration was verified, Figure 13.
From Figure 13, the shape of the curve is a straight line, which represents a constant acquisition rate. The average rate near 113 fps is extremely high compared to the range of 15 to 30 fps considered satisfactory for application in games [28]. The calculated mean acquisition rates were three times that observed by [16] and about double that observed by [29]. In [16,29], the SDK version 1 was used, and version 3 has been improved in this respect.
In Figure 14, for lateral angular displacements, the waveforms observed in the transversal configuration tests are consistent with the angular displacements performed by the hand, whereas in the longitudinal configuration tests, only the graph referring to the open hand shows a suitable waveform. In the graphs corresponding to the longitudinal configuration tests with the folded and closed hands, a phenomenon stands out in a 90° and 180° inversion, respectively, in the predominant axis when the closed hand is oriented at −45° and the sensor reads angle ϕ close to 45° and 135°, respectively. For the vertical angular displacements shown in Figure 15, where the predominant axis is the y axis, then the angle ψ (in green) is measured. The waveform observed in all experiments is consistent with the trajectories performed; however, both in the transversal experiment with the folded hand and in the longitudinal ones, there is a certain discontinuity close to the 45° angle.
In Figure 16, the predominant axis of the transversal frontal movements is the z axis (corresponding to the angle ϕ, in red), and, in the longitudinal ones, it is the x axis (corresponding to the angle θ in blue). The tests carried out with the transversal configuration have a good waveform, being consistent with the trajectory performed by the wooden hand. Longitudinal experiments have a very noisy waveform, making it impossible to identify positions for error and repeatability calculations.
Table 1 shows the results of the angular movements. Table 2 shows the absolute values of the errors and mean repeatability of the angular movement tests for the different hand configurations.
Analyzing the results Table 1, we noted that the consistency of all lateral angular measurements was close to 100%, characterizing an excellent quality of the samples. For transversal configuration, the average error calculated for variable θ was −8.13° with a maximum absolute error of 22.65°. In the longitudinal configuration tests, the mean errors were 53.30°, with a maximum of 167.62°. It is believed that the high error value in the longitudinal configuration is due to the inversion phenomenon observed in Figure 14. The problem of the inversion phenomenon or the possible occlusion can be decreased by the use of two LMC such as those proposed in [30]. The mean repeatability for the lateral tests in both configurations, however, remained low, with values of 1.74° and 2.16° for the transversal and longitudinal tests, respectively. It is also noteworthy that it is possible to compare the errors calculated in the open hand of 6.33°, Table 2, in the transversal configuration (lateral axis) with the error observed by [20], in the flexion/extension experiments (RMS error of 11.6°). It is noted that, in the module, the calculated error was less than the observed error. In Table 1, the data for the angular movement around the vertical axis showed the average percentage of valid frames was 97.37% for transversal configuration tests and 92.90% for longitudinal. The average of errors in the transversal experiments was −4.07°, with an absolute maximum of 15.88°, and in the longitudinal experiments, it was 8.12°, with a maximum of 15.52°. It is also possible to compare the errors calculated for the open hand with those measured in the abduction/adduction experiments by [20] (RMS error of 12.4°). In the case of the open hand, in the transversal configuration, the error found was much less than 2.09°.
The repeatability in the readings of the transversal tests related to the movement around the vertical axis was 0.85°, lower than in the longitudinal ones, 2.65°, Table 1. From Table 1, for the frontal tests, it is possible to observe good consistency in the readings, representing an average of 98.94% of frames valid for transversal configuration experiments and 98.36% for longitudinal ones. The average of the errors for the angular movements around the frontal axis in the transversal tests was −5.56°, with an absolute maximum of 17.04°, Table 3. Regarding the longitudinal experiments, due to the observed noise, it was not possible to calculate the errors in each angular positioning. The repeatability associated with the transversal configuration tests had an average value of 2.70° with a maximum of 20.61°. In the longitudinal test, it was not possible to perform the calculation.
It is also possible to verify the absolute maximum error of 6.33°, Table 2, found for the open hand about that observed in the supination/pronation experiment by [20] of 38.4°. In general, all axes obtained small errors in the experiments with angular movements in the transversal configuration, Table 1. It is possible to observe, in Table 2, that the absolute values of the average errors for the angles ψ and ϕ were lower for the open hand, while the angle θ was smaller for the closed hand. Regarding the observed average repeatability, the open and folded hand configurations generally presented lower values than the closed hand. Table 3 shows the mean values α ¯ and deviations 𝑆𝛼 of the hand opening angles for each of the angular movement tests, Figure 8. In Table 3, the deviations of the opening angle for the tests of transversal angular movements were smaller than for the longitudinal ones. It can also be seen that the sensor can identify the different configurations of the hand by distinguishing between the angles. Goniometry is widely used for the measurement of ROM in clinical practice. For each joint, diverse types of goniometers are required. Despite the manual goniometer being low-cost, portable, and lightweight, the made measures have problems in the functions of the experience of physiotherapists [31,32,33].
The manual goniometer permits only statical measurements and individual joint measurements. From the experimental results, Figure 14, Figure 15 and Figure 16, the LMC can be used to track the ROM continuously and used in the development of serious games. In [34], the LMC was used to calculate and represent graphically static and dynamic hand parameters of the ROM in a healthy subject. In [35], the LMC was used to measure the wrist ROM compared to the goniometry obtained good results except for ulnar/radial deviation in healthy subjects. As highlighted in [35], it is necessary to make tests with pathological populations. This gives the motivation for further investigations, as proposed in this work, to consider the use of LMC for the requirements and constraints of a specific rehabilitation treatment. The main novelty of this work consists of addressing the use of LMC when treating some specific pathology configurations. Despite the LMC being used for more than nine years with several applications for rehabilitation as presented in [6,7,8,9,10,11,12,13], the experimental tests with patients still show several limitations of the LMC. This paper contributes to the simulation of pathologies to guide future research with patients. In terms of the function of the different hand configurations necessary in the rehabilitation procedures, the open and closed configuration to the different wrist movements gives acceptable values and permits the development of serious games.
Based on the analyses made from the described experiments, some conclusions can be drawn regarding its use in the development of serious game/rehabilitation movements when applied to wrist rehabilitation. The first conclusion is that the sensor acquisition rate can be suitable for the application in clinical/hospital close environments where the interference of external light can be minimized. Indeed, the measured acquisition rate is higher that the requirements for integration in serious games. Analyzing the angular displacement experiments, the best option for the configuration of the LMC is the transversal arrangement that managed to track the hands during the orientation change in the three-axes wrist. The angles results presented in this paper were calculated by LMC automatically. It is important to point out that the longitudinal configuration is not the recommended default setup to use the LMC device, and the user needs to guarantee the correct orientation of the device to have valid measurements. The LMC can be used to continuously track the wrist’s range of motion to be used in the clinical evolution of patient’s rehabilitation. The LMC can identify if the fingers are opened, folded, or closed. In terms of the fingers’ orientation, the LMC can properly identify with small errors the wrist movements when opened and closed. In the folded configurations, the flexion errors are considerable.

6. Conclusions

This paper has addressed the analysis and validation of using a Leap Motion Controller (LMC) in wrist-rehabilitation tasks. The proposed LMC performance analysis has been made through the analysis of its positioning error, repeatability, and acquisition rate. Particular attention has been paid to the measurement and analysis of the angular configuration of the hand, which is fundamental for wrist rehabilitation and has never been addressed in previous studies on LMC. To the best of our knowledge, this paper is the first to evaluate the angular measurement’s movements with a different configuration of the hand. The results were obtained with the use of a wooden hand fixed on an industrial robotic arm. The industrial robot simulates the angular poses of a human wrist while providing an accurate measurement of such poses that can be compared with the measurements obtained via the LMC. The obtained experimental results show the feasibility of the LMC as a suitable low-cost option for wrist rehabilitation. Further experimental tests with humans will be planned as future steps of this research, by integrating serious game strategies together with a LMC to further verify the effectiveness of the device in the wrist rehabilitation considering the specific characteristics and limitations on the measurements of the hand’s angular configurations.

Author Contributions

Conceptualization, R.S.G. and M.R.S.B.d.S.; methodology, R.S.G., M.R.S.B.d.S. and G.C.; software, M.R.S.B.d.S.; validation, R.S.G., M.R.S.B.d.S. and G.C.; formal analysis, R.S.G., M.R.S.B.d.S. and G.C.; investigation, R.S.G., M.R.S.B.d.S. and G.C.; resources, R.S.G., M.R.S.B.d.S. and G.C.; data curation, R.S.G., M.R.S.B.d.S. and G.C.; writing—original draft preparation, R.S.G.; writing—review and editing, R.S.G. and G.C.; visualization, R.S.G., M.R.S.B.d.S. and G.C.; supervision, R.S.G.; project administration, R.S.G.; funding acquisition, R.S.G. and G.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the UFU, FAPEMIG, CNPq, and CAPES (Finance Code 001).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Daniels, J.M., 2nd; Zook, E.G.; Lynch, J.M. Hand and wrist injuries: Part I. Nonemergent evaluation. Am. Fam. Physician 2004, 69, 1941–1948. [Google Scholar] [PubMed]
  2. Holoyda, K.A.; Donato, D.P.; Magno-Padron, D.A.; Simpson, A.M.; Agarwal, J.P. Hand and wrist injuries among collegiate athletes vary with athlete division. Int. J. Epidemiol. 2021, 8, 69. [Google Scholar] [CrossRef]
  3. Feys, H.; Weerdt, W.D.; Verbeke, G.; Steck, G.C.; Capiau, C.; Kiekens, C.; Dejaeger, E.; Hoydonck, G.V.; Vermeersch, G.; Cras, P. Early and repetitive stimulation of the arm can substantially improve the long-term outcome after stroke: A 5-year follow-up study of a randomized trial. Stroke 2004, 35, 924–929. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Gonçalves, R.S.; Brito, L.S.F.; Moraes, L.P.; Carbone, G.; Ceccarelli, M. A fairly simple mechatronic device for training human wrist motion. Int. J. Adv. Robot. Syst. 2020, 17, 1–15. [Google Scholar] [CrossRef]
  5. Mesplié, G. Hand and Wrist Rehabilitation; Springer: Berlin/Heidelberg, Germany, 2015. [Google Scholar]
  6. Nizamis, K.; Rijken, N.H.M.; Mendes, A.; Janssen, M.M.H.P.; Bergsma, A.; Koopman, B.F.J.M. A Novel Setup and Protocol to Measure the Range of Motion of the Wrist and the Hand. Sensors 2018, 18, 3230. [Google Scholar] [CrossRef] [Green Version]
  7. Fernández-González, P.; Carratalá-Tejada, M.; Monge-Pereira, E.; Collado-Vázquez, S.; Baeza, P.S.-H.; Cuesta-Gómez, A.; Oña-Simbaña, E.D.; Jardón-Huete, A.; Molina-Rueda, F.; de Quirós, C.B.-B.; et al. Leap motion-controlled video game-based therapy for upper limb rehabilitation in patients with Parkinson’s disease: A feasibility study. J. NeuroEng. Rehabil. 2019, 16, 133. [Google Scholar] [CrossRef]
  8. Wu, Y.-T.; Chen, K.-H.; Ban, S.-L.; Tung, K.-Y.; Chen, L.-R. Evaluation of leap motion control for hand rehabilitation in burn patients: An experience in the dust explosion disaster in Formosa Fun Coast. Burns 2019, 45, 157–164. [Google Scholar] [CrossRef]
  9. Kim, S.; Park, S.; Lee, O. Development of a Diagnosis and Evaluation System for Hemiplegic Patients Post-Stroke Based on Motion Recognition Tracking and Analysis of Wrist Joint Kinematics. Sensors 2020, 20, 4548. [Google Scholar] [CrossRef]
  10. Postolache, G.; Lourenço, F.; Antunes, A.; Postolache, O. Wrist and Hand Rehabilitation Software Platform Based on Leap Motion Controller. In Proceedings of the 3rd International Conference on Sensors Engineering and Electronics Instrumentation Advances, Moscow, Russia, 20–22 September 2017. [Google Scholar]
  11. Ferreira, B.; Lourenço, J.; Menezes, P. A Serious Game for Post-Stroke Motor Rehabilitation. In Proceedings of the 5th Experiment International Conference, Funchal, Portugal, 12–14 June 2019. [Google Scholar]
  12. Tarakci, E.; Arman, N.; Tarakci, D.; Kasapcopur, O. Leap Motion Controller–based training for upper extremity rehabilitation in children and adolescents with physical disabilities: A randomized controlled trial. J. Hand Ther. 2020, 33, 220–228.e1. [Google Scholar] [CrossRef]
  13. Aguilera-Rubio, Á.; Alguacil-Diego, I.M.; Mallo-López, A.; Cuesta-Gómez, A. Use of the Leap Motion Controller® System in the Rehabilitation of the Upper Limb in Stroke. A Systematic Review. J. Stroke Cerebrovasc. Dis. 2022, 31, 106174. [Google Scholar] [CrossRef]
  14. Weichert, F.; Bachmann, D.; Rudak, B.; Fisseler, D. Analysis of the accuracy and robustness of the leap motion controller. Sensors 2013, 13, 6380–6393. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. de Souza, M.R.S.B.; Gonçalves, R.S.; Carbone, G. Feasibility and Performance Validation of a Leap Motion Controller for Upper Limb Rehabilitation. Robotics 2021, 10, 130. [Google Scholar] [CrossRef]
  16. Guna, J.; Jakus, G.; Pogačnik, M.; Tomažič, S.; Sodnik, J. An Analysis of the Precision and Reliability of the Leap Motion Sensor and its Suitability for Static and Dynamic Tracking. Sensors 2014, 14, 3702–3720. [Google Scholar] [CrossRef] [Green Version]
  17. Hernoux, F.; Béarée, R.; Gibaru, O. Investigation of dynamic 3D hand motion reproduction by a robot using a Leap Motion. In Proceedings of the 2015 Virtual Reality International Conference, Laval, France, 8–10 April 2015; p. 24. [Google Scholar]
  18. Hornsey, R.L.; Hibbard, P.B. Evaluation of the accuracy of the Leap Motion controller for measurements of grip aperture. In Proceedings of the 12th European Conference on Visual Media Production, London, UK, 24–25 November 2015; p. 13. [Google Scholar]
  19. Fazeli, H.R.; Peng, Q. Estimation of spatial-temporal hand motion parameters in rehabilitation using a low-cost noncontact measurement system. Med. Eng. Phys. 2021, 90, 43–53. [Google Scholar] [CrossRef]
  20. Smeragliuolo, A.H.; Hill, N.J.; Disla, L.; Putrino, D. Validation of the Leap Motion Controller using markered motion capture technology. J. Biomech. 2016, 49, 1742–1750. [Google Scholar] [CrossRef] [PubMed]
  21. Kapandji, A.I. Upper Limb. In The Physiology of the Joints, 6th ed.; Churchill Livingstone: London, UK, 2007; Volume 1. [Google Scholar]
  22. Patton, J.; Small, S.L.; Rymer, W.Z. Functional restoration for the stroke survivor: Informing the efforts of engineers. Top. Stroke Rehabil. 2008, 15, 521–541. [Google Scholar] [CrossRef] [Green Version]
  23. Hatem, S.M.; Saussez, G.; della Faille, M.; Prist, V.; Zhang, X.; Dispa, D.; Bleyenheuft, Y. Rehabilitation of Motor Function after Stroke: A Multiple Systematic Review Focused on Techniques to Stimulate Upper Extremity Recovery. Front. Hum. Neurosci. 2016, 10, 442. [Google Scholar] [CrossRef] [Green Version]
  24. Francisco, G.E.; Wissel, J.; Platz, T.; Li, S. Post-Stroke Spasticity. In Clinical Pathways in Stroke Rehabilitation; Platz, T., Ed.; Springer: Cham, Switzerland, 2021. [Google Scholar] [CrossRef]
  25. Evans Roslyn, B. Rehabilitation Following Extensor Tendon Injury and Repair. In Rehabilitation of the Hand and Upper Extremity, 7th ed.; Elsevier: Amsterdam, The Netherlands, 2021; Volume 1. [Google Scholar]
  26. Perry, J. MatLeap: MATLAB Interface to the Leap Motion Controller; Github: San Francisco, CA, USA, 2014; Available online: https://github.com/jeffsp/matleap/tree/afb3f57f94095f82841671f50dd7f3344ec6590d (accessed on 5 July 2020).
  27. ISO 9283; Manipulating Industrial Robots—Performance Criteria and Related Test Methods. ISO: Geneva, Switzerland, 1998.
  28. Claypool, M.; Claypool, K. Perspectives, Frame Rates and Resolutions: It’s all in the Game. In Proceedings of the 4th International Conference on Foundations of Digital Games, Port Canaveral, FL, USA, 26–30 April 2009; pp. 42–49. [Google Scholar]
  29. Tung, J.; Lulic, T.; Gonzalez, D.A.; Tran, J.; Dickerson, C.R.; Roy, E.A. Evaluation of a portable markerless finger position capture device: Accuracy of the Leap Motion controller in healthy adults. Physiol. Meas. 2015, 36, 1025–1035. [Google Scholar] [CrossRef]
  30. Placidi, G.; Avola, D.; Cinque, L.; Polsinelli, M.; Theodoridou, E.; Tavares, J.M.R.S. Data integration by two-sensors in a LEAP-based Virtual Glove for human-system interaction. Multimed. Tools Appl. 2021, 80, 18263–18277. [Google Scholar] [CrossRef]
  31. Reissner, L.; Fischer, G.; List, R.; Taylor, W.R.; Giovanoli, P.; Calcagni, M. Minimal detectable difference of the finger and wrist range of motion: Comparison of goniometry and 3D motion analysis. J. Orthop. Surg. Res. 2019, 14, 173. [Google Scholar] [CrossRef] [Green Version]
  32. Keogh, J.W.L.; Cox, A.; Anderson, S.; Liew, B.; Olsen, A.; Schram, B.; Furness, J. Reliability and validity of clinically accessible smartphone applications to measure joint range of motion: A systematic review. PLoS ONE 2019, 14, e0215806. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  33. Chumney, D.; Nollinger, K.; Shesko, K.; Skop, K.; Spencer, M.; Newton, R.A. Ability of functional independence measure to accurately predict functional outcome of stroke-specific population: Systematic review. J. Rehabil. Res. Dev. 2010, 47, 17–30. [Google Scholar] [CrossRef] [PubMed]
  34. Polsinelli, M.; Banchetti, P.A.; Cacchio, A.; Calvisi, V.; Marini, C.; Placidi, G.; Spezialetti, M.; Cinque, L. Hand movement parameters calculated by the LEAP based Virtual Glove. In Proceedings of the 2018 IEEE International Symposium on Medical Measurements and Applications (MeMeA), Rome, Italy, 11–13 June 2018; pp. 1–6. [Google Scholar] [CrossRef]
  35. Arman, N.; Oktay, A.B.; Tarakci, D.; Tarakci, E.; Akgul, Y.S. The validity of an objective measurement method using the Leap Motion Controller for fingers wrist, and forearm ranges of motion. Hand Surg. Rehabil. 2021, 40, 394–399. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Entities belonging to the hand class. (a) Leap Motion tracking points. (b) Wrist and finger bones.
Figure 1. Entities belonging to the hand class. (a) Leap Motion tracking points. (b) Wrist and finger bones.
Sensors 22 04880 g001
Figure 2. Examples of wrist flexion/extension with open and close fingers. (a) Resting position. (b) Flexion movement. (c) Extension movement.
Figure 2. Examples of wrist flexion/extension with open and close fingers. (a) Resting position. (b) Flexion movement. (c) Extension movement.
Sensors 22 04880 g002
Figure 3. Examples of wrist deviations with open and close fingers. (a) Resting position. (b) Radial deviation. (c) Ulnar deviation.
Figure 3. Examples of wrist deviations with open and close fingers. (a) Resting position. (b) Radial deviation. (c) Ulnar deviation.
Sensors 22 04880 g003
Figure 4. Examples of supination/pronation with open and close fingers: (a) resting position, (b) supination, and (c) pronation.
Figure 4. Examples of supination/pronation with open and close fingers: (a) resting position, (b) supination, and (c) pronation.
Sensors 22 04880 g004
Figure 5. Examples of hand spasticity: (a) clenched fist, (b) flexed wrist, and (c) bent wrist.
Figure 5. Examples of hand spasticity: (a) clenched fist, (b) flexed wrist, and (c) bent wrist.
Sensors 22 04880 g005
Figure 6. The proposed experimental apparatus.
Figure 6. The proposed experimental apparatus.
Sensors 22 04880 g006
Figure 7. Hand configurations: (a) open, (b) folded, and (c) closed.
Figure 7. Hand configurations: (a) open, (b) folded, and (c) closed.
Sensors 22 04880 g007
Figure 8. Cartesian axes of the robotic arm and workspace were used in the experiments.
Figure 8. Cartesian axes of the robotic arm and workspace were used in the experiments.
Sensors 22 04880 g008
Figure 9. (a) Spatial representation of angles θ n i , ψ n i , and ϕ n i in relation to the unit direction vector U n i . (b) Vector palm direction ( U n i ) calculated by the LMC.
Figure 9. (a) Spatial representation of angles θ n i , ψ n i , and ϕ n i in relation to the unit direction vector U n i . (b) Vector palm direction ( U n i ) calculated by the LMC.
Sensors 22 04880 g009
Figure 10. Representation of angles measured and their associated errors: (a) angle θ , (b) angle ψ , and (c) angle ϕ .
Figure 10. Representation of angles measured and their associated errors: (a) angle θ , (b) angle ψ , and (c) angle ϕ .
Sensors 22 04880 g010
Figure 11. LMC configurations used in the experiments: (a) Transversal and (b) Longitudinal.
Figure 11. LMC configurations used in the experiments: (a) Transversal and (b) Longitudinal.
Sensors 22 04880 g011
Figure 12. Angular displacement experiments on the (a) lateral, (b) vertical, and (c) front axes.
Figure 12. Angular displacement experiments on the (a) lateral, (b) vertical, and (c) front axes.
Sensors 22 04880 g012
Figure 13. Mean acquisition rates.
Figure 13. Mean acquisition rates.
Sensors 22 04880 g013
Figure 14. Relative angular positions of the palm to the lateral angular displacement.
Figure 14. Relative angular positions of the palm to the lateral angular displacement.
Sensors 22 04880 g014
Figure 15. Relative angular positions of the palm to the vertical angular displacement.
Figure 15. Relative angular positions of the palm to the vertical angular displacement.
Sensors 22 04880 g015
Figure 16. Relative angular positions of the palm to the frontal angular movement.
Figure 16. Relative angular positions of the palm to the frontal angular movement.
Sensors 22 04880 g016
Table 1. Mean errors, repeatability, and consistency for the tests of angular movements.
Table 1. Mean errors, repeatability, and consistency for the tests of angular movements.
Transversal Configuration
Axis E R ¯ [ ° ] R n ¯ [ ° ] V ¯ [ % ]
Lateral−8.131.7499.75
Vertical−4.070.8597.37
Frontal−5.562.7098.94
Max.22.6520.61-
Longitudinal Configuration
Axis E R ¯ [ ° ] R n ¯ [ ° ] V ¯ [ % ]
Lateral53.302.16100.00
Vertical8.122.6592.90
Frontal--98.36
Max.167.628.75-
Table 2. Absolute values of angular errors and average repeatability for different hand configurations.
Table 2. Absolute values of angular errors and average repeatability for different hand configurations.
Transversal Configuration
AxisLateralVerticalFrontal
Hand E θ R ¯ [ ° ] R θ n ¯ [ ° ] E ψ R ¯ [ ° ] R ψ n ¯ [ ° ] E ϕ R ¯ [ ° ] R ϕ n ¯ [ ° ]
Open6.331.122.090.333.021.27
Folded17.630.968.732.058.281.94
Closed1.053.145.100.179.364.88
Longitudinal Configuration
AxisFrontalVerticalLateral
Hand E θ R ¯ [ ° ] R θ n ¯ [ ° ] E ψ R ¯ [ ° ] R ψ n ¯ [ ° ] E ϕ R ¯ [ ° ] R ϕ n ¯ [ ° ]
Open--8.991.822.101.19
Folded--2.350.4345.441.26
Closed--13.015.70112.364.04
Table 3. Values of hand opening to angular movements.
Table 3. Values of hand opening to angular movements.
Transversal Configuration
HandOpenFoldedClosed
Axis α ¯ [ ° ] S α ¯ [ ° ] α ¯ [ ° ] S α ¯ [ ° ] α ¯ [ ° ] S α ¯ [ ° ]
Lateral17.228.09105.9120.67176.917.93
Vertical23.186.58132.6121.03180.000.02
Frontal10.897.59150.3023.43175.9910.40
Mean17.097.42129.6121.71177.636.12
Longitudinal Configuration
HandOpenFoldedClosed
Axis α ¯ [ ° ] S α ¯ [ ° ] α ¯ [ ° ] S α ¯ [ ° ] α ¯ [ ° ] S α ¯ [ ° ]
Lateral33.2514.2399.3841.18160.8214.07
Vertical44.3011.79103.3010.38157.0420.15
Frontal45.5027.99130.9828.57141.2853.98
Mean41.0218.00111.2226.71153.0429.40
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Gonçalves, R.S.; Souza, M.R.S.B.d.; Carbone, G. Analysis of the Leap Motion Controller’s Performance in Measuring Wrist Rehabilitation Tasks Using an Industrial Robot Arm Reference. Sensors 2022, 22, 4880. https://doi.org/10.3390/s22134880

AMA Style

Gonçalves RS, Souza MRSBd, Carbone G. Analysis of the Leap Motion Controller’s Performance in Measuring Wrist Rehabilitation Tasks Using an Industrial Robot Arm Reference. Sensors. 2022; 22(13):4880. https://doi.org/10.3390/s22134880

Chicago/Turabian Style

Gonçalves, Rogério S., Marcus R. S. B. de Souza, and Giuseppe Carbone. 2022. "Analysis of the Leap Motion Controller’s Performance in Measuring Wrist Rehabilitation Tasks Using an Industrial Robot Arm Reference" Sensors 22, no. 13: 4880. https://doi.org/10.3390/s22134880

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