over six million people worldwide   suffer from parkinson 's disease ( pd ) , a neurodegenerative condition that results from the damage of dopamine - producing neurons in an area of the brain known as substantia nigra . dopamine acts as a mediator for transferring electrical signals ( messages ) and helps humans retain smooth , controlled , and purposeful movement . when a large percentage of those dopamine - producing neurons are damaged , the motor symptoms of pd appear . in addition , the meta - analysis of worldwide data   reveals and quantifies the rising prevalence of pd with age . at disease onset and in early stages , pd affects mostly motor function , while in more advanced stages one also suffers from cognitive , behavioral , and mental - related symptoms . the four fundamental motor symptoms of the disease ( tremor , rigidity , akinesia ( or bradykinesia ) , and postural instability ) are commonly referred to by the acronym trap . these motor symptoms , which can be expressed in different degrees , can encumber and complicate daily activities and reduce the quality of life , especially as the disease progresses [ 5 , 6 ] . finally , nonmotor symptoms of the disease include cognitive impairment , sleep disturbances , depression , anxiety , psychosis , hallucinations , pain , and fatigue . a cure for pd has not yet been discovered . however , six categories of drugs are commonly used to control pd - related symptoms   and maintain body functionality at reasonable levels throughout the lifetime of the patient . the active ingredients include levodopa , dopamine agonists , mao - b inhibitors , comt inhibitor , anticholinergic agents , and amantadine . significant variabilities of symptoms and their severity among patients during the course of the disease make standard medication paths difficult to achieve . although levodopa is very effective at improving pd - related motor symptoms , large doses over extended periods may give rise to dyskinesia or involuntary abnormal movements , both of which further aggravate patients ' walking ability and motor function . accordingly , recent clinical practice issues agonists and postpones levodopa for later stages , when motor symptoms are not satisfactorily controlled . later / more advanced stages of the disease may require combinations of levodopa , dopamine agonists , comt inhibitors , and mao - b to more effectively control symptoms . in parallel to medical treatment , physiotherapy has proven highly effective in controlling and delaying pd - related symptoms [ 1013 ] and is openly supported by a number of parkinson clinical facilities and associations . for example , the parkinson society of canada   provides detailed online instructions on stretching and other physical exercises . randomized controlled trials , such as , support that physical exercise such as stretching , aerobics , unweighted / weighed treadmill , and strength training improves motor functionality ( leg stretching , muscle strength , balance , and walking ) and quality of life . training big advocates exercises that deploy the entire body both in seated and in standing posture ( such as reaching and twisting to each side or stepping and reaching forward ) that are to be performed at maximum range of motion ( maximum amplitude ) . a recent review   of relevant technology - aided rehabilitation platforms gleans a number of design principles that must characterize physiotherapy solutions for the pd population . in this work we report on a kinect - based , augmented reality , real - time physiotherapy platform tailored to pd patients . it is meant to augment and not replace physiotherapy sessions and allows a patient to exercise in front of a large tv monitor  instead of in front of a mirror  to control posture , but with added useful digital artefacts . the platform can operate in the exercise room of a physiotherapist and individual exercises can be parametrized to the abilities or physiotherapy needs of an individual patient . the ability for parametrization is very important for progressing diseases like pd , as they allow for tailoring of different exercises to patients not only in the first few establishing physiotherapy sessions , but also as medium - term gains from exercise or medication are realized or even as the disease progresses . currently a small collection of exercises based on those commonly practiced in traditional physiotherapy for pd patients has been implemented in the platform . we plan to expand the existing exercise compendium to allow physiotherapists more freedom in shaping customized exercise schedules to individual patients . the choice to employ the kinect sensor is of fundamental importance in the design and implementation of the platform , because it offers a unique opportunity to create a  closed - loop system which facilitates patient monitoring during execution of an exercise to provide real - time visual feedback , such as on - screen guiding artefacts and repetition counters to alert the patient on his / her performance . perhaps more important to clinical motor assessment is the ability of the system to quantify patient mobility and dexterity on a per - exercise basis using exercise - specific performance metrics . truly , such quantitative  kinesiological imprints  can be affected by various factors , such as time of day , tiredness of the patient , effectiveness of administered drugs , and on / off times . however , more meaningful and statistically sound results over a period of a few days of using the platform can be collected by controlling those variables that can be controlled : for example , exercise early in the day and at the same time after taking medication . as a result , customized , daily exercise schedules afford the possibility to collect a time series of performance data that can be usefully correlated with , for example , detailed medication history records and disease progress . indeed , as pd progresses over a number of years ( typically around 15 after initial diagnosis ) , patients may show inconsistent response to dopaminergic medications , leading to shorter periods of adequately controlled symptoms ( on times ) , more extended periods where the medication is not working sufficiently well ( off times ) , and possibly erratic  wearing - off transitions from on to off times . by this time , many patients exhibit more severe motor symptoms and their quality of life is seriously affected . following an assessment of their status ( motor symptoms , response to medication , on and off times , and wearing - off periods ) , the attending neurologist may indicate the alternative path of undergoing deep brain stimulation ( dbs ) surgery . dbs intervention may also be indicative to younger pd patients with more active life styles and work schedules if they suffer from drug - resistant tremor . this minimally invasive and reversible procedure entails ( a ) preoperative imaging to determine the best access path to the intended target , ( b ) surgically implanting and deploying a multielectrode probe in strategically selected areas of the brain such as the subthalamic nucleus ( stn ) , and ( c ) connecting the probe via an extension wire to a small battery - powered neurostimulator ( which is later on implanted at a comfortable place under the skin ) . the neurostimulator regulates the signals sent to the leads via a programmable computer chip and can be parametrized and tested to effectively block brain signals that cause pd symptoms . postoperative assessment includes quantifying the response of the patient to different stimulation patterns , which varies among patients due to , for example , neurobiological state and actual placement of the probe leads . by providing quantitative performance metrics on the pre - op and post - op motor abilities of a patient , our physiotherapy platform could quantify the effectiveness of each programmed dbs stimulation pattern on patient mobility . it would be then possible to select those stimulation patterns that prove most effective for the given patient . the physiotherapy platform combines a number of key hardware and software technologies to provide the desired functionalities . specifically , a microsoft kinect v1 sensor supplies real - time 2d ( rgb camera ) and depth ( ir depth camera ) streams . these streams are processed by ms kinect sdk v1.8 functions to ( a ) identify a patient in front of the sensor , ( b ) extract that person 's skeleton as a hierarchy of nodes with 3d location data , and ( c ) update that skeleton in every frame to track the patient . the full skeletal model appears in figure 1 . for every frame where a player is visible and tracked , joint information includes joint 's position in 3d space as well as a tag with two possible values :  tracked  for clearly visible joints or inferred  for joints that are not clearly visible ( e.g. , occluded by another body part ) but their position can be calculated from other ( tracked ) joints . the logic for each exercise has been coded in the c # programming language in the unity 3d v4.6 game engine ( which works well with kinect v1.0 and the ms kinect sdk v1.8 ) . however , while the kinect sdk libraries are based on microsoft 's  .net 4 framework , unity 's mono framework is based on an older  .net framework version and a number of functions can not be called in the same manner in the two frameworks . as a result , the kinect sdk library can not be directly accessed from within unity monodevelop ide . as expected , a number of custom middleware solutions appeared to alleviate that problem , that is , to expose kinect sdk functionality inside monodevelop . we opted to adopt rumen filkov 's robust kinectwrapper which was easily incorporated in our unity project via unity 's asset store . the kinectwraper is essentially a customized c # script that exposes kinect sdk ( kinect10.dll ) functionality inside monodevelop . an additional c # script called kinectmanager includes functions to read data from the kinect sensor to build a skeleton . in addition , synchronized rgb ( camera ) and depth map stream data has been combined as shown , for example , in figure  3(c ) for the first exercise , to create an experience very similar to working out in front of a mirror ( a large screen tv is much more effective than computer monitor in that respect ) . the overlaid ar artefacts are a straightforward result obtained by projecting the selected joints of interest from 3d onto the 2d vertical plane corresponding to the image of the rgb camera . five representative exercises have been adopted from those commonly found in physiotherapy exercise curricula for pd patients , some of which can be executed from a standing position and others from a seated position to show the capabilities of the platform . the exercise menu appears in figure 2 and includes the following five exercises : ( 1 ) circles for extended arms , ( 2 ) squats , ( 3 ) elbow lifts , ( 4 ) broom - stick circles , and ( 5 ) leg extensions / kicks . the following requirements for the selection of these exercises were used.the exercises must be possible to be performed reasonably well by pd patients with mild to moderate symptoms ( stages 1 through 3 in the hoehn and yahr   scale , i.e. , without severe postural instability / motor impairment).for the entire duration of an exercise , the patient 's posture must adhere to the capabilities of the kinect sensor . practically , this means that the kinect sensor ( in reality its supporting sdk ) must at all times be able to track the patient 's body and successfully extract that patient 's skeletal model for the full range of movements required for the exercise ( e.g. , a limb should not occlude another limb).each exercise employs either linear or circular movement patterns that pose very low processing demands on real - time computations . in addition , kinect - provided 3d joint data are fed in real time to the game engine and compared to control routines relevant to the exercise being executed to assess proper posture and body control for the entire duration of the current repetition . visual feedback is provided via ar artefacts which show how the skeleton is tracking the patient and repetition counters . when an exercise is complete , performance metrics appropriate for that exercise are computed and displayed on screen ( a ) to enable the attending physiotherapist to fine - tune the exercise to the abilities / needs of an individual patient and ( b ) to provide performance feedback to the patient . the exercises implemented in the current version of the platform and the performance metrics that are produced ( and can be stored to establish a sequence of historical data for offline analysis ) are discussed directly below . the exercises must be possible to be performed reasonably well by pd patients with mild to moderate symptoms ( stages 1 through 3 in the hoehn and yahr   scale , i.e. , without severe postural instability / motor impairment ) . for the entire duration of an exercise , the patient 's posture must adhere to the capabilities of the kinect sensor . practically , this means that the kinect sensor ( in reality its supporting sdk ) must at all times be able to track the patient 's body and successfully extract that patient 's skeletal model for the full range of movements required for the exercise ( e.g. , a limb should not occlude another limb ) . the patient assumes a relaxed standing stance with feet spaced apart at about shoulder width and with both arms extended laterally and in parallel to the transverse axis , as shown in the first snapshot of figure  3(b ) . then , from that stance , he / she has to complete n cyclic movements of the wrists where both extended arms move in unison , as shown in the sequence of snapshots in figure  3(b ) . the default value of n for each exercise is 10 . during each such cyclic movement , the arms must remain extended laterally while the wrists describe circles on imaginary planes that are parallel to the sagittal plane . game code relevant to this exercise checks for correct execution as follows : ideally , each arm must remain fully extended laterally for the duration of the exercise . deviations from a fully extended arm pattern are calculated from the 3d coordinates of the ( detected ) shoulder , elbow , and wrist joints for that arm , so that the shoulder - elbow - wrist opening angle is computed in real time.the motion pattern of each wrist projected to the sagittal plane is checked for circularity , meaning it must follow a superior - anterior - inferior - posterior - superior sequence ( or , alternatively , a superior - posterior - inferior - anterior - and - back - to - superior sequence ) . this check is meant to count only circular patterns and not linear patterns , such as the wrist moving vertically , horizontally , or even along a diagonal.a repetition is considered successful if it passes both tests described directly above , in which case an appropriate on - screen counter ( ls for the left arm or rs for the right arm ) is incremented by one , as shown in figure  3(e ) . on the other hand , a repetition ( for the left or right arm ) is considered a failed repetition if the corresponding wrist prescribes at least half a circle but does not complete that circle , in which event a  failure  counter ( lf or rf ) is incremented accordingly . when ls or rs reaches n , the success and failure counters corresponding to that arm stop incrementing . the exercise is considered complete when both ls and rs equal n , at which point the following performance metrics are shown on screen , separately for each arm : ( a ) the total of number of failed repetitions lf or rf and ( b ) a circularity metric showing the ratio of the average superior - to - inferior distance divided by the anterior - to - posterior distance . clearly , for a perfectly executed exercise , lf = rf = 0 and circularity = 1 . ideally , each arm must remain fully extended laterally for the duration of the exercise . deviations from a fully extended arm pattern are calculated from the 3d coordinates of the ( detected ) shoulder , elbow , and wrist joints for that arm , so that the shoulder - elbow - wrist opening angle is computed in real time . the motion pattern of each wrist projected to the sagittal plane is checked for circularity , meaning it must follow a superior - anterior - inferior - posterior - superior sequence ( or , alternatively , a superior - posterior - inferior - anterior - and - back - to - superior sequence ) . this check is meant to count only circular patterns and not linear patterns , such as the wrist moving vertically , horizontally , or even along a diagonal . these metrics lead to direct interpretation ( a key design requirement for this collection of exercises ) . for example , large departures of both lf and rf from zero may mean that the patient has not understood the exercise or that the exercise is too hard for him / her . alternatively , consistently disparate values for lf and rf ( e.g. , lf close to zero but rf significantly higher ) may reveal a measurable differential in mobility control between the left and right sides . finally , circularity metric values that deviate significantly from 1 show that the patient favors vertical or horizontal elliptical patterns for that arm . it is then up to the physiotherapist to parameterize the exercise depending on the priorities set forth for a given patient as well as the capabilities of that patient . to quantitatively assess the motor function of a patient in the context of the present exercise ( but also for any other exercise in the current compendium ) , one would explore the parameter space to  push  the patient near the limits of his / her abilities and obtain more valid results over a period of sessions . that would also be the suggested approach to establish as accurate as possible baseline of patient 's motor abilities in the period before deep brain stimulation ( dbs ) surgery , but also in the following months to assess the effectiveness of each stimulation pattern . on the other hand , parameterization of the platform for home - based use should probably aim at encouraging patients to exercise more by posing less stringent demands than in the above situations , lest they become discouraged and cease to exercise . exercise 2 . facing the kinect sensor and in a relaxed standing stance ( as shown in figure 4 ) , the patient extends both arms fully to the front ( i.e. , parallel to the sagittal axis ) . starting from that stance , he / she has to complete a number of n squats . the depth of a squat is computed as the maximal distance d travelled vertically by the mid - hip joint . game code relevant to this exercise checks for correct execution by counting only squats that are sufficiently deep ; that is , d > dmin , where dmin is an exercise - specific parameter set to define the difficulty of the exercise . the default value for dmin is ( lthigh + rthigh)/6 ( see figure 1 for the definitions of lthigh and rthigh ) , which corresponds to an average level of difficulty . for each successful squat an appropriate on - screen counter ms is incremented by one , while each failed squat increments a  failed rep  counter mf . the exercise completes when ms reaches n , at which point the following two performance metrics are computed and shown on screen : ( a ) the number of failed squats mf and ( b ) the average depth of a squat d as a percentage of dmin ( i.e. , d/dmin100% ) . these metrics can be used by the physiotherapist to fine - tune the exercise ( number of repetitions and squat depth ) to the individual patient . for example , a performance result of mf = 0 and average squat depth close to or even greater than 100% ( overachieving ) implies that the exercise is too easy for that patient and could possibly be made harder by increasing dmin . alternatively , a larger value of mf or one that is comparable to n combined with an average squat depth very close to 100% may imply that the patient has trouble performing squats this deep and the exercise must be made easier by decreasing dmin . the patient assumes a standing stance with both arms relaxed and to the side as shown in the first trainer snapshot in figure 5 . from that stance , he / she has to complete n repetitions of slowly and purposefully lifting both upper arms in unison to a horizontal position ( so that the upper arms end up almost parallel to the transverse axis at approximately shoulder height ) , followed by a controlled reverse movement downwards to the relaxed state . during execution of this exercise it is important to maintain ( a ) proper control ( e.g. , not to let the forearms drop under their own weight ) and ( b ) proper posture by keeping the forearms as vertical as possible during the entire range of motion . game code relevant to this exercise checks for correct execution in the following sense.(i)forearms remain close to the vertical for the duration of the exercise . deviations from this posture are calculated in real time from the 3d coordinates of the elbow and wrist joints for each forearm . in addition , the exercise is parameterized so that this requirement can be somewhat relaxed to allow for patients that can not attain and/or retain the required posture to still practice.(ii)for each repetition , the vertical distances hl / hr that must be travelled by the left / right elbow , respectively , must be close to the length of the forearm ( variables larm / rarm in figure 1 ) in order to ensure full range of motion . the ratios hl / larm and hr / rarm define the difficulty of the exercise . for pd patients , ratio values close to 1 may be hard to attain and tiring to maintain over many repetitions , whereas ratio values close to , say , 0.7 pose more realistic expectations . in any case , the difficulty of the exercise can be set separately for each arm by the attending physiotherapist on a per - patient basis.a repetition is considered successful if it passes both tests described directly above , in which case an appropriate on - screen counter ( ls for the left arm or rs for the right arm ) is incremented by one . otherwise the repetition ( for the left or right arm ) is considered failed and a  failure  counter ( lf or rf ) is incremented accordingly . when ls or rs reaches n , the success and failure counters corresponding to that arm stop incrementing . the exercise is considered complete when both ls and rs equal n , at which point the following performance metrics are shown on screen , separately for each arm : ( a ) the number of failed repetitions lf or rf and ( b ) the average maximum height hl or hr over all successful repetitions for the left or right elbow , respectively , expressed as a percentage of the upper arm length , that is , hl/larm100% for the left arm and hr/rarm100% for the right arm . a perfectly executed exercise should yield lf = rf = 0 and an average elbow height that is close to or exceeds the value corresponding to the difficulty level set by the attending physiotherapist . large departures of both lf and rf from zero may mean that the exercise is too hard for that patient , in which case an attending physiotherapist may select to ease the difficulty level and/or decrease the number of required repetitions to complete the exercise . alternatively , consistently disparate values for lf and rf ( e.g. , lf close to zero but rf significantly higher ) reveal a measurable differential in mobility control between the left and right sides . deviations from this posture are calculated in real time from the 3d coordinates of the elbow and wrist joints for each forearm . in addition , the exercise is parameterized so that this requirement can be somewhat relaxed to allow for patients that can not attain and/or retain the required posture to still practice . for each repetition , the vertical distances hl / hr that must be travelled by the left / right elbow , respectively , must be close to the length of the forearm ( variables larm / rarm in figure 1 ) in order to ensure full range of motion . the ratios hl / larm and hr / rarm define the difficulty of the exercise . for pd patients , ratio values close to 1 may be hard to attain and tiring to maintain over many repetitions , whereas ratio values close to , say , 0.7 pose more realistic expectations . in any case , the difficulty of the exercise can be set separately for each arm by the attending physiotherapist on a per - patient basis . the seated patient holds a light stick such as a broomstick ( which helps coordinate the movements of the left and right arms ) with both hands at the initial upright stance where the wrist joints are located slightly higher than the shoulder joints ( as shown in the first trainer snapshot in figure 6 ) . then , from that stance , he / she has to complete n cyclic movements of the wrists where both arms move in unison and in phase to each other . during each such cyclic movement , game code relevant to this exercise checks for correct execution , in the sense that both wrists must follow a superior - anterior - inferior - posterior - superior sequence or , alternatively , both wrists must follow a superior - posterior - inferior - anterior - superior sequence . this check helps avoid linear patterns , such as vertical or horizontal wrist joint movements . the counters and metrics for this exercise are identical to those in exercise 1 . final , exercise , the patient is seated facing the kinect sensor , with feet securely planted on the ground and holding the seat of the chair with both palms for additional support ( as shown in the first trainer snapshot in figure 7 ) . the exercise calls for the completion of n controlled full extensions for each leg in any order . game code relevant to this exercise checks for correct execution , so that a repetition is considered successful if an ankle joint is lifted to a height that is above a threshold value hmin ( which has a convenient default value of 0.75(lshin + rshin)/2the parameters lshin and rshin which are defined in figure 1 ) , which corresponds to an average level of difficulty . for each successful extension an appropriate on - screen counter ( ls for the left leg or rs for the right leg ) is incremented by one , as shown in figure 7 . on the other hand , each failed repetition ( for the left or right leg ) when ls or rs reaches n , the success and failure counters corresponding to that leg stop incrementing . finally , the exercise is considered complete when both ls and rs equal n , at which point the following performance metrics are shown on screen , separately for each leg : ( a ) the total of number of failed repetitions lf or rf and ( b ) the average maximum ankle height hl or hr over all successful repetitions for the leg in question , expressed as a percentage of shin length , that is , hl/lshin100% for the left leg and hr/rshin100% for the right leg . a perfectly executed exercise should yield lf = rf = 0 and an average maximum ankle height that is close to or exceeds the value corresponding to the difficulty level set by the attending physiotherapist . patients with neurological disorders are known to benefit from physical practice , which improves mobility and functional independence through increased muscular strength , flexibility , and balance control . the present work reports on a kinect - based , augmented reality , real - time assessment physiotherapy platform tailored to parkinson 's disease ( pd ) patients with mild to moderate symptoms ( stages 1 through 3 in the hoehn and yahr   scale , i.e. , without severe postural instability and motor impairment ) . main platform characteristics are as follows.the platform offers a persuasive augmented reality experience ( by using a large tv monitor instead of a computer screen , patients are afforded the experience of working out in front of a mirror ) and one that is enriched with important digital artefacts ( relevant skeleton joints are overlaid on the actual image of the patient for the duration of an exercise ) and feedback information ( e.g. , repetition counters).the platform is adaptable to the abilities / exercise needs of an individual patient : each exercise is parametrized to a difficulty that can be fine - tuned and tailored to each patient separately . adaptability is important in the first few establishing physiotherapy sessions and also as medium - term gains from exercise are realized or even as the disease progresses.the platform has a sufficiently small footprint to operate in the office of a physiotherapist , as it requires the following hardware components : ( i ) an entry - level laptop such as an intel core i3 based machine with entry - level graphics card to run the software ( around 400 usd ) , which is largely a direct outcome of our design decisions to use the unity game engine and to employ light - weight processes for each exercise , ( ii ) the kinect sensor ( around 100 usd ) , and ( iii ) a large flat panel tv monitor ( or projector ) that should be placed so that patients can comfortably afford a full view of themselves in both standing and seated positions at a distance of approximately 2 - 3 meters from the tv / kinect sensor location ( 350400 usd for a 5558 tv monitor ) . even though at a distance of 2 - 3 meters a more modest 42 tv set may seem adequate , we do feel that a larger 5558 set would be more satisfying , at least to more elderly patients . finally , for a home setting , the hardware acquisition cost could almost be cut in half , considering that most living rooms are already equipped with a large tv set.in the immediate future and in collaboration with physiotherapists we plan to validate the platform with pd patients to address safety issues and fine - tune parameters related to exercise posture and pace . at the same time , we are actively augmenting the platform with exercises among those most commonly practiced in traditional pd physiotherapy to more effectively enrich customized physiotherapy schedules on a per - patient basis . the next step would be to seek funding and partners to make the platform available to a large base of physiotherapists and also pd patients who are willing to run it in their homes . in addition to affording daily customized exercise schedule to a pd patient , it will then be possible to collect a time series of performance data that can be usefully correlated with , for example , detailed medication history records and disease progress . the platform offers a persuasive augmented reality experience ( by using a large tv monitor instead of a computer screen , patients are afforded the experience of working out in front of a mirror ) and one that is enriched with important digital artefacts ( relevant skeleton joints are overlaid on the actual image of the patient for the duration of an exercise ) and feedback information ( e.g. , repetition counters ) . the platform is adaptable to the abilities / exercise needs of an individual patient : each exercise is parametrized to a difficulty that can be fine - tuned and tailored to each patient separately . adaptability is important in the first few establishing physiotherapy sessions and also as medium - term gains from exercise are realized or even as the disease progresses . the platform has a sufficiently small footprint to operate in the office of a physiotherapist , as it requires the following hardware components : ( i ) an entry - level laptop such as an intel core i3 based machine with entry - level graphics card to run the software ( around 400 usd ) , which is largely a direct outcome of our design decisions to use the unity game engine and to employ light - weight processes for each exercise , ( ii ) the kinect sensor ( around 100 usd ) , and ( iii ) a large flat panel tv monitor ( or projector ) that should be placed so that patients can comfortably afford a full view of themselves in both standing and seated positions at a distance of approximately 2 - 3 meters from the tv / kinect sensor location ( 350400 usd for a 5558 tv monitor ) . even though at a distance of 2 - 3 meters a more modest 42 tv set may seem adequate , we do feel that a larger 5558 set would be more satisfying , at least to more elderly patients . finally , for a home setting , the hardware acquisition cost could almost be cut in half , considering that most living rooms are already equipped with a large tv set .
we report on a kinect - based , augmented reality , real - time physiotherapy platform tailored to parkinson 's disease ( pd ) patients . 
 the platform employs a kinect sensor to extract real - time 3d skeletal data ( joint information ) from a patient facing the sensor ( at 30 frames per second ) . 
 in addition , a small collection of exercises practiced in traditional physiotherapy for pd patients has been implemented in the unity 3d game engine . 
 each exercise employs linear or circular movement patterns and poses very light - weight processing demands on real - time computations . during an exercise 
 , trainer instruction demonstrates correct execution and kinect - provided 3d joint data are fed to the game engine and compared to exercise - specific control routines to assess proper posture and body control in real time . when an exercise is complete , performance metrics appropriate for that exercise are computed and displayed on screen to enable the attending physiotherapist to fine - tune the exercise to the abilities / needs of an individual patient as well as to provide performance feedback to the patient . 
 the platform can operate in a physiotherapist 's office and , following appropriate validation , in a home environment . 
 finally , exercises can be parameterized meaningfully , depending on the intended purpose ( motor assessment versus plain exercise at home ) .