Real time rehabilitation assessment with kinect v2. We implement the spatio temporal graph convolutional neural network for rehabilitation exercise assessment according to the following paper: S. Deb, M. F. Islam, S. Rahman and S. Rahman, "Graph Convolutional Networks for Assessment of Physical Rehabilitation Exercises," in IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 30, pp. 410-419, 2022, doi: 10.1109/TNSRE.2022.3150392.
First you need the Microsoft Kinect v2 and install the associated Kinect SDK. After that follow these steps:
- Install the requirements.txt file the command
pip install -r requirements.txt
. - Download the model parameters from the google drive and store them in the best model folder.
- Run the
PyKinectBodyGame_v1.py
file with the commandpython PyKinectBodyGame_v1.py
in the terminal.
Output for the healthy person. The correctness score is shown in real time at the top middle of the screen. Consequently, exercise name is shown at the top left.
normal_demo_1.mp4
normal_demo_2.mp4
Output for the patient. The correctness score is shown in real time at the top middle of the screen. Consequently, exercise name is shown at the top right.