An Activity Recognition Model Using Inertial Sensor Nodes in a Wireless Sensor Network for Frozen Shoulder Rehabilitation Exercises

This paper proposes a model for recognizing motions performed during rehabilitation exercises for frozen shoulder conditions. The model consists of wearable wireless sensor network (WSN) inertial sensor nodes, which were developed for this study, and enables the ubiquitous measurement of bodily motions. The model employs the back propagation neural network (BPNN) algorithm to compute motion data that are formed in the WSN packets; herein, six types of rehabilitation exercises were recognized. The packets sent by each node are converted into six components of acceleration and angular velocity according to three axes. Motor features such as basic acceleration, angular velocity, and derivative tilt angle were input into the training procedure of the BPNN algorithm. In measurements of thirteen volunteers, the accelerations and included angles of nodes were adopted from possible features to demonstrate the procedure. Five exercises involving simple swinging and stretching movements were recognized with an accuracy of 85%–95%; however, the accuracy with which exercises entailing spiral rotations were recognized approximately 60%. Thus, a characteristic space and enveloped spectrum improving derivative features were suggested to enable identifying customized parameters. Finally, a real-time monitoring interface was developed for practical implementation. The proposed model can be applied in ubiquitous healthcare self-management to recognize rehabilitation exercises.


Introduction
The rapid innovations in information technology have promoted studies investigating human movements. Techniques for detecting bodily motions are widely applied in healthcare to ubiquitously monitor and rehabilitate disabled patients. Previous studies on motion analysis have involved tracking parts of a moving body by calculating data on image sequences of bodily movements [1]. Many vision-based approaches were implemented to classify large scale bodily motions, including movements of the head, arms, torso, or legs [2]. Computational algorithms have enabled image analyses of bodily gestures and were used in supporting the assistant interfaces, such as healthcare monitoring systems [3]. In addition, non-imaged tracking procedures were employed in systems for monitoring bodily motions [4]. Both types of system are used in ubiquitous healthcare (UHC) and facilitate maintaining traceable records that can be followed whenever and wherever patients require treatment [5]. According to privacy policies respecting patients opposed to public exhibition, non-imaged and noninvasive devices are appropriate for use in UHC programs. In the recent decade, the medical laboratory instruments mobilized with the ZigBee protocol have been subjected to experiments that involved remotely analyzing cardiac data on patients [6].
Rehabilitation through physical therapy is necessary for patients who exhibit limited ability in limb or bodily movement because of conditions such as hemiplegia and adhesive capsulitis [7]. A self-managed rehabilitation program for patients with frozen shoulder is a feasible UHC service. Frozen shoulder is a symptom of adhesive capsulitis and can cause stiffness and pain in the shoulder joint, reducing the ability to engage in a range of multidirectional motions [8,9]. The typical physical therapy needs to assign specific exercises for relaxing the restriction of capsulitis motion [10,11]. For example, Codman's pendulum exercise is used to train the patients who must abduct the arm through gravity and keep the supraspinatus relaxed without a fulcrum. This exercise extends the mobility of the shoulder joint by stretching and rotating the arms [12]. Many studies and clinical trials have suggested beneficial exercises for patients who require long-term rehabilitation to relieve pain; these exercises help by increasing the ranges of the joint motions such as forward flexion, elevation, abduction, and rotation [13]. Physiatrists interested in monitoring the daily rehabilitation progress of their patients have used customized programs [14] involving self-completed questionnaires, camcorders, and electromagnetic sensors in hospitals to monitor and manage the rehabilitation process [15,16]. An automatic process would be more efficient and cost effective for managing routine rehabilitation programs [17].
Wireless networks and telecommunication technology have enabled modern healthcare service providers to ubiquitously monitor patients who require self-management of regular rehabilitation at home. According to a UHC program, physiatrists can prescribe physical therapy supported by specific facilities and engage in daily supervision on the outpatients for a defined period of time [18][19][20].
Therefore, techniques involving motion recognition provide opportunities to extend UHC programs; however, certain requirements, including unobtrusiveness, energy efficiency, bodily impact, quality of service, routing, and calibration, must be addressed [21]. Many devices were invented to capture and recognize typical movements of human body [22]. UHC providers can use ad hoc personal area networks to enhance measurement functions for self-management at home [23][24][25][26][27][28]. One innovative solution that has been proposed entails combining the technology of wireless sensor networks (WSNs) with neural network algorithms to achieve motion recognition in UHC [29]. Based on this solution, a physiotherapist is able to advise patients by efficiently using an appropriate therapy design. WSN-enabled sensors are composed of radio frequency (RF), integrated circuits (IC), and micro-electro-mechanical systems (MEMS) to detect signals; their advantages include high durability, low power consumption, low cost, and mobile capacity [30]. Furthermore, they generally obey the ZigBee protocol to transport patients' physiological signals, thus supporting UHC [31,32]. WSN-based sensors can be integrated with diverse medical equipment to obtain biomedical data for the noninvasive measurements required by UHC [33,34]. Thus, a wearable device with a WSN-based inertial sensor node (ISN) in the embedded system [35] was established in our previous work [36]; this device detects instant bodily motions; and privacy concerns were considered in its design. However, the measured rehabilitation data requires additional recognition algorithms to support clinical decisions.
Procedures used in machine learning have been applied in recognition computation for two decades. Rule-based fuzzy logic, which has been applied in the training procedure, enables recognizing steady gestures due to pattern classification [37][38][39][40][41][42][43]. The machine learning mechanism entails using an artificial neural network (ANN) with neural-fuzzy pattern recognition functions to trace irregular movements [44,45]. The backward propagation neural network (BPNN) is a common ANN algorithm with training capability. The BPNN learns information through a training procedure that comprises an input layer that delivers input features, a hidden layer that conducts artificial neurons to adopt features and feedback patterns reciprocally, and an output layer that presents the results of the recognition procedure [46]. Fuzzy logic provides suitable features that support an efficient training performance. Many studies have implemented secured data collection with the BPNN model for medical recognition in hospital informatics, healthcare context, and rehabilitation [47][48][49][50].
This study suggested a motion-recognition model including wearable WSN ISNs that transfer signals regarding acceleration and angular velocity in three directions as well as designing up-limb exercises that assist in frozen shoulder rehabilitation. A BPNN algorithm was employed to enable machine learning and analyze motion data. The model contributed a prototype that offers convenient and energy-efficient devices used in standard procedures. This paper is organized as follows: the configuration of sensors is briefly addressed in the subsequent section. The recognition procedure used in six rehabilitation exercises designed for patients with frozen shoulder is then described. Furthermore, the results of experiments and derivative features are discussed, and suggestions presented. Finally, several important conclusions are provided.

Methodology
In the proposed model, a BPNN algorithm is used to recognize motion data measured by the wearable WSN sensors; the model was applied in six exercises designed to rehabilitate patients with frozen shoulder.

Wireless-Sensor-Network-Based Sensor
The self-developed WSN-based ISN operates according to the ZigBee protocol and contains a tri-axial accelerometer as well as bi-axial and uni-axial gyroscope chips with low dropout (LDO) voltage. The MEMS-enabled chips were embedded in a wearable device with dimensions of 40 × 37 × 2 mm as shown in Figure 1a. The sensor is initialized by coordinating both acceleration and angular velocity on a negative x-axis. The modulated antenna is directed upward for reducing the reflection loss of signals to 10 dB. The WSN device supports 11 channels for wireless communication bands ranging between 2.4 and 2.48 GHz; the sample rate is one packet per 1/1024 s. Essential properties were detailed in our previous study [36]. The sensor can be worn on the body to enable mobile measurement and ubiquitous management. The prototype of device is powered by a 4-mm-thick rechargeable battery, which can be padded on skin to isolate the antenna and prevent wireless transmission loss from WSN packets.  The WSN packet payload was formatted as shown in Figure 1b; analog data such as ax to ωz must be converted into output voltages before calculation. The signals are distributed normally in a range that is mapped to a sensed data by more-to-one relationship; i.e., a set of digital signals represent an analog data. When the RF chip sends the packets, analog-to-digital conversion (ADC) of collected signals is conducted first, in such a manner that 128 ADC counts are randomly collected in a distribution of sample values. Thus, Gaussian distribution is established based on a histogram of the probability density function (PDF) versus counts. The mean counts of the PDF can thus be used as a packet of converse data to obtain values of practical acceleration (ax, ay, az) or angular velocity (ωx, ωy, ωz). These measured data contribute basic and derivative features to the recognition algorithm. In the model, the base node of the WSN system receives eight packets per second and parses data based on the payload of a packet. Subsequently, the filter module of the node excludes invalid and incomplete packets to retrieve necessary data. In this study, the BPNN algorithm and Matlab TM toolbox were used to analyze the measured data and detect the rehabilitation motions employed to remedy frozen shoulder.

Rehabilitation Exercises
Rehabilitants who have frozen shoulder must repeat specific exercises as part of their physical therapy; these exercises usually depend on the personal symptoms of the patient. Therefore, the advices of a physiotherapist in a hospital were solicited to adopt various basic rehabilitation exercises in a pilot study. A preliminary study was processed to determine important motion characteristics including acceleration, angular velocity, and tilt angle, which can be measured using the wearable WSN ISN. Six motor types of rehabilitation for frozen shoulder were adopted in the proposed model. These exercises are shown in Figure 2 and are described in the following. In Exercise 1 (Ex.1), a scapula exercise, the hurt shoulder is flexed through up-and-down movements of the arm with a straightened elbow. In Ex.2, Codman's pendulum exercise, the arm hangs straight down with a relaxed shoulder blade and is then swung at 15°-30° in circles in relation to a vertical line. In Ex.3, a finger wall-climbing exercise, the hands are extended toward a wall and the fingers are used to climb as high as possible. In Ex.4, a back shoulder circling exercise, the arms are placed behind the back and moved in a clockwise or counterclockwise direction. In Ex.5, a towel exercise, both hands hold and stretch a towel on the back to increase the range of motion of internal shoulder rotation. In Ex.6, a spiral rotation exercise, the palms face upward and rotate in supination from front to the back. The first five exercises promote simple swinging and stretching movements, whereas the sixth focuses on complex rotational motions.
The design allows deploying the node on arbitrary part of the body. Each node delivers numbered packets which were separately filtered by the same process. Herein, we considered two nodes on the arm and the wrist since the proposed exercises move the upper limbs only. As shown in Figure 3, the user wore two ISNs, denoted by Nodes 1 and 2, on the upper arm and wrist, respectively. Node 1 was fixed on the outside of the upper arm, approximately four fingerbreadths above the elbow joint; Node 2 was placed on the inside of the lower arm, approximately four fingerbreadths from the wrist.
The nodes instantly returned measured packets at once the arms were in motion. The proposed sensors delivered acceleration and angular velocity data on the specific motor nodes when the user repeated an activity. Depending on the specifications of the device installed, the nodes were calibrated by initially measuring values based on the first placement of the sensors. Six components of acceleration and angular velocity on three axes were measured with respect to the initial values and the parameters of the subsequent procedure. For measurement, each tester was requested to repeat every exercise for 60 s. Useful parameters, such as the tilt angles of motion, variation of acceleration, and angular velocity, were derived by the essential parameters and served as candidate features for motion recognition. (b) Node 2 at wrist.

Recognition Algorithm
The motor features measured during the rehabilitation exercises were calibrated and appropriate parameters were used in the BPNN algorithm, which was applied in the motion-recognition procedure.

Measurements
The proposed algorithm involves a machine learning procedure processed by the neurons that require the features of bodily motions for input. Signals of the acceleration and angular velocity components were observed first. The time-domain waveforms consisted of prominent waves that could be grouped according to typical types to retrieve potential basic features. For example, the acceleration components of Node 2 exhibited variations in independent plots of each exercise, as shown in Figure 4a. Therefore, certain characteristics of acceleration were used to find the basic features required by the algorithm. Tim e(sec) A cceleration(g) a x a y a z Furthermore, the basic features were computed to create helpful derivative features for recognition. For instance, the included angle between two sets of continuous-acceleration vectors was considered to observe angle variations in the node locations. This derivative feature was obtained directly through dot product computation of spatial vectors. The time-domain plots of the included angles of Node 2 are drawn on Figure 4b; they display distinctive curves representing the measurements of the six exercises. Each exercise exhibited an independent waveform in various angle levels; for example, Ex.1 and 2 exhibited gentle slopes with high and low peak angles of approximately 80° and 20°, respectively; Ex.3 and 5 exhibited high and low peak angles of approximately 80° and 40°, respectively, but with a nodal difference between peaks; Ex.4 and Ex.6 exhibited impulse vibrations with low and high peak angles of approximately 20° and 160°, respectively. According to preliminary analyses of the considered parameters, a set of four features (ax, ay, az, θ) was adopted (i.e., the acceleration components and included angles of Node 2) as the input data for the input layer of the BPNN.

Back Propagation Neural Network Algorithm
The BPNN algorithm was applied to process the measured data on the proposed exercises. Figure 5 shows a flow chart of measurement and recognition performed by the model. Every packet is filtered and parsed using a validation program to ensure that no incomplete package is sent into the BPNN. A logarithmic sigmoid function, s(t) = (1 + e −t ) −1 , is used as the transfer function required in the hidden layer of the BPNN and a linear function, l(t) = t, is used in the output layer to determine the recognized movements. The packets, which are measured every 25 s, are retrieved as a data entry for the input layer. Thus, the machine learning procedure requests a series of entries as shown in Figure 6; the final quarter of each entry is identical to the first quarter of the next entry.  In other words, the data in a 25-s section contains five quarters of entry length due to the overlapping of two sequential data entries. In addition, data entry requires features provided by the components (ax, ay, az) and the included angle θ of nodes so that an input supplies 800 entries into the input layer every 25-s cycle (i.e., n = 25 × 8 × (3 + 1) = 800). Moreover, five neurons are considered for the hidden layer (l = 5) and six neurons are considered for the output layer (m = 6) to facilitate the training procedure of the BPNN. The training procedure is a cross-validation method that can prevent over fitting in the machine learning. All entries substituted into the procedure are classified as training data set, validation data set, or testing data set. At the beginning of the procedure, the training data set is used to construct a primary training network. Subsequently, the validation data set is combined with an evaluation of the mean square errors (MSEs) of the network. When the MSE of the training data decreases but that of the validation data is increases, over fitting occurs and the procedure is stopped. Thus, the training data set must be restructured and the learning procedure is repeated until the adequate weight value is learned for completion. Finally, the testing data set is substituted back into the learned function to calculate the MSE of the data set, which represents the tolerance of the proposed neural network corresponding to the new entry data. When the training procedure achieves the prospective scope (i.e., performance goal; PG), the BPNN model produces a weighted value that becomes the weight of the recognition function. Thus, appropriate weighted functions are adjusted based on the PG results for recognizing various exercises.

Recognition of Motor Data
The training procedure in the BPNN involved acquiring an input data set based on given features and yielded various successful rates in recognition according to the PGs for the motor data. Three laboratory members eventually performed the proposed exercises and contributed the sample training data, as shown in Table 1. Table 1 lists how often each laboratory member completed an exercise.
Subsequently, a blind test was conducted to verify the recognition parameters; in the test, ten other members repeated the procedure but made exercises in arbitrary order (or even omitted some exercises) to create new feature sets. A maximum of 72 input data were adopted for each exercise, according to the total sample training data. The multiple-size series (e.g., 18, 36, and 72) of input data provided useful values for identifying the differences in recognition rates [47]. To compare the recognition rates of each motion, three sets in series of 18, 36, and 72 input data were considered to display evident change. A total of 200 data were counted in each feature because eight packets were received per second and every cycle was 25 s (i.e., 800 data for four features of a data set). Therefore, a cell matrix was formulated below for computation in the training procedure: Subsequently, the trained parameters are integrated into the recognition procedure. Thus, a recognition matrix Ik, as denoted in Equation (3) is defined to restore all input features of n data sets of the motion k. According to the recognition process, the number of data used in the training procedure (e.g., 800) is retrieved. Finally, a result matrix Rk that records the corresponding output for six exercises is obtained, as shown in Equation (3). The entry ri,j is the recognition index for the i-th datum of the j-th motion with respect to the motion k. For example, when the motion k was indexed as {1, 0, 0, 0, 0, 0} T , the motion was recognized as the Ex.1 (i.e., the more the index approached 1, the more the motion was recognized as the corresponding exercise). More details are provided in the discussion on recognition rates in a subsequent section.
Ten participants were assigned to a control group and performed the assigned exercises in an order different from that used by the three participants in the sample group to validate the model and to verify the output parameters of the training procedure. The results of the recognition experiments are presented and discussed in the following sections.

Results and Discussion
The proposed model was applied in recognizing six types of rehabilitation exercises; the recognition results regarding time and frequency domains are discussed in the following.

Time-Domain Analysis
According to the training procedure in the time-domain analysis, the low PG value exhibited a stable recognition rate instead of rapid convergence. In Figure 7, the results are shown as the recognition rates versus PG values of six exercises when 18, 36, and 72 data sets were used. The diagram of Ex.2, for example, illustrates 12 available PG values, which decrease from 5.0 × 10 −2 to 1.0 × 10 −7 , and implies that favorable stability and rates of recognition for 72 data sets can be reached by using a low PG, such as 1.0 × 10 −7 . Table 2 summarizes all PG values that enabled stable rates of recognition for each exercise. Thus, the training procedures of several sets did not converge because lower PG values were required when fewer data sets were used. Therefore, 72 data sets were used as the input and a PG of less than 1.0 × 10 −5 was applied to train the BPNN model to recognize the assigned exercises. Consequently, the success rates of recognition for Ex.1-3 were higher than 95%, and those for Ex.4 and 5 reached 85%. The rate was only approximately 60% for Ex.6, because the exercise involves spiral rotations, which probably require features such as measured angular velocity when rotating hands are rotated in supination from the front to the back. The adopted features (ax, ay, az, θ) probably provided an insufficient number of characteristics for the algorithm, thus preventing Ex.6, a complex exercise involving many full-range spiral rotations of the joints in the hands, wrists, elbows, and shoulders from being recognized, because more features with respect to angle variations might be required for this exercise than for the other five exercises. However, distributions of the acceleration and included angle for Ex.6, as shown in Figure 4a,b, were apparently different from those of other exercises. The waveforms of Ex.6 presented obvious impulse peaks which might require another features and rules of fuzzy logic in the training procedure to identify the exercise in this study.    y  y  y  and  y  y  y  and  x  x  x  and  x Furthermore, the density of a cluster implies similarity in the motions performed by different users (i.e., a high-density cluster indicates that the motion can be easily recognized for different users by repeating specific steps). Therefore, the characteristic space can be processed to adopt adequate the proper derivative features and, thus, enhance the BPNN training procedure.

Frequency-Domain Analysis
Identifying adequate features in frequency domain was crucial to progress the same algorithm for conducting advanced analysis. Signals of the cyclical exercises exhibited apparent periodical variations in the time domain and, using the fast Fourier transform (FFT), were transformed into a spectrum that represented the frequency of the similar motions. The frequency groups of the proposed exercises generally included a primary peak and one (or more) secondary peaks. The secondary peak was defined as a peak that measured over a quarter of the amplitude of the primary peak. For example, the spectrum of Ex.3 ( Figure 9) shows the primary frequency groups of (ax, ay, az) at (0.2, 0.25, 0.25) Hz and the secondary groups at (0.4, 0.55, 0.55) Hz, respectively, and an additional minor secondary peak at 0.8 Hz was presented by the ay component.
However, the available characteristics, based on the spectrum, typically contained noises that were probably caused by individual variations in behaviors. The noises were filtered by envelop functions to enable determining the most appropriate features. Four suggestive features were discussed based on the spectrum, (1) the maximal frequency; (2) the peak of the primary frequency group; (3) the bandwidth of the primary frequency group; and (4) the number of the secondary frequency groups. Consequently, a filtering procedure was required to identify the spectrum.
(a) According to a standard filtering procedure, the program filtered out unnecessary signals but retained the primary signal. For filtering the high frequency and noises, a 20-order low-pass filter (LPF) was applied in downsampling by adopting a point in every five points to mitigate distortion. Subsequently, the frequency histogram of signals was enveloped, as shown in Figure 10 for example of Ex.6, and frequency groups were identified. The LPF needs the following parameters: (1) a sampling frequency ω1 normalized to the Nyquist frequency of the primary group, and (2) an increment frequency Δω denoted as the difference between ω1 and the normalized frequency of nearby secondary groups for downsampling.
Herein, the (ω1, Δω) of each motion component was obtained by comparison with respect to the magnitude difference ΔE of enveloped and original frequencies that was expressed in Equation (5): A pair of optimal parameters was determined when the minimal magnitude difference was identified. All frequency histograms were evaluated and ω1 = 0.115 was adopted as the sampling parameter to identify the possible ΔE. Because ΔE was minimal, the most counts of ΔE were obtained at Δω = 0.1, (i.e., (ω1, Δω) = (0.115, 0.1)). Thus, for Ex.4, the magnitude difference with respect to the increment frequency, as shown in Figure 11a, enabled identifying Δω for a minimal ΔE; the maximal counts of ΔE can be identified in Figure 11b. Both diagrams provided the filtering parameters for computing the enveloped spectrum.
Subsequently, the suggestive features were obtained through the enveloped spectrum to enhance the model and, thus, improve recognition.

Practical Implementation
The proposed model has limitation to use the same features in the activities which contains evidently different characteristics, obtaining adequate parameters from the training procedure is an important task (i.e., the most appropriate features probably depend on personal habits of rehabilitants).
Considering more samples and balanced datasets in the blind test could help improving the training procedure [47]. The past study compared several algorithms of the artificial neural networks to classify the decomposed upper-limb movements such as elbow flexion, elbow extension, wrist pronation and wrist supination, grasp, and resting; then, it suggested the fuzzy clustering to obtain better learning effects [52]. Therefore, the procedure should be customized for specific exercises as well as more algorithms would be compared for better recognition to identify the most suitable features and parameters through trial and error before it is implemented in practice.
In the current study, possible basic and derivative features based on the bodily motions of 13 participants were measured using WSN ISNs, and the BPNN was employed in the proposed motion-recognition model to recognize six exercises applied in frozen shoulder rehabilitation. Four features (ax, ay, az, θ) were identified for demonstration and discussion. The selected features of tilt angle and acceleration enabled effective recognition of the exercises, excluding exercises involving partially rotating motions that probably require angular velocity or more derivative features. In addition, the features of the frequency domain and characteristic space were suggested for the BPNN training procedure. A filtering procedure applied to an enveloped spectrum enabled identifying the frequency groups and determining customized features for individual requirements of patients.
A prototype system of a real-time recognition interface, as shown in Figure 12, was created by GUI functionality of Matlab TM for practical implementation and to validate the proposed model. The snapshot screen was adopted from a video that recorded the real time results for demonstration as recognizing the visitors in an exhibition. Due to the system, three steps are built to process the automatic procedure. At first, the WSN receiver at the backend collects the complete signals and a filtering program helps producing the candidate features. Secondly, a computation program adopts the input features and activates the machine learning procedure with the BPNN algorithm. Once the performance goal reaches convergence, the iteration stops and returns results immediately to recognize if a user accomplished the exercises or not.
Compared with current commercial technologies used in ubiquitous healthcare and rehabilitation for physical therapy [21,51,[53][54][55][56][57], the proposed model contributed an economical solution because it offers convenient and energy-efficient devices used in standard procedures to recognize dynamic motion data. Physiatrists can calibrate and customize personal recognition patterns of the exercises based on patients' habits. In addition, the complex motion, which probably involves continuous rotations, would be hard to be uniformed for the patient. Thus the motion could be decomposed into several certain static postures to raise the successful rate of recognition. Healthcare providers can easily develop a WSN environment for UHC programs of patients, enabling them self-manage their rehabilitation efficiently and privately. Advanced clinical testing to evaluate reliability of the model as well as considering some typical algorithms, e.g., Bayesian networks, support vector machine, for comparison of recognition effects [58] will be examined in the future study.

Conclusions
In this study, wearable WSN-based ISNs were incorporated with a BPNN algorithm in an activity recognition model to recognize six types of rehabilitation exercises applied in frozen shoulder therapy.
Sensors delivered acceleration and angular velocity signals; the measured acceleration and its tilt angle were selected as sample features of motions in developing the training procedure for the BPNN algorithm applied in activity recognition. When parameters were applied in practical motions of laboratory participants, the results revealed favorable recognition rates of 85% to 95% above for the proposed swinging and stretching exercises; only the rotation-related exercise, which involved motions with a full range of spiral rotation of certain joints, yielded unfavorable results. These results confirmed that the designed devices were feasible and that the proposed model was accurate. Furthermore, derivative features in the frequency domain were identified to determine appropriate training parameters. The spectrum of features was enveloped through a suggestive filtering procedure to enable identifying the most appropriate features in the frequency domain. Thus, more datasets in the training procedure or decomposed static postures of the dynamic motion would be suggested to improve recognition of the complicated exercise. Finally, a real-time interface was developed for practical implementation of the experiment procedure. It could be extended to help the healthcare providers evaluating the rehabilitation procedures for privacy of patients. In future studies, the model will be promoted into the hospital-based trials to examine the effects on real patients. More derivative features in the time and frequency domains will be identified to enhance the model and enable recognizing more unique rehabilitation exercises performed in physical therapy and UHC programs.