Skip to content

Classify shoulder physiotherapy activities from inertial data collected on a smart watch

License

Notifications You must be signed in to change notification settings

dmbee/SPAR-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shoulder Physiotherapy Activity Recognition Data Set

DESCRIPTION

Consists of 6-axis inertial sensor data (accelerometer and gyroscope) collected using an Apple Watch 2 and Apple Watch 3 from 20 healthy subjects (40 shoulders), as they perform 7 shoulder physiotherapy exercises.

The activities are:

  1. Pendulum (PEN)
  2. Abduction (ABD)
  3. Forward elevation (FEL)
  4. Internal rotation with resistance band (IR)
  5. External rotation with resistance band (ER)
  6. Lower trapezius row with resistance band (TRAP)
  7. Bent over row with 3 lb dumbell (ROW)

The subjects repeat each activity 20 times on each side (left and right).

DATA FORMAT

The data is available in csv format in the csv folder. Each file represents a single activity being repeated 20 times. The files are named to convey:

S1_E0_R
indicated subject 1, activity 0 (PEN), right side

Each file contains 6 axis inertial data collected at 50 Hz. The columns are:

ax, ay, az
3-axis accelerometer data measured in G
wx, wy, wz
3-axis gyroscope data measured in rad/s

The data is also available in binary format as a pickled python dictionary in the bin folder. The binary data can be loaded as follows in python:

import numpy as np

d = np.load("SPAR.npy", allow_pickle=True).item()
X, y, subject, side = d['X'], d['y'], d['subject'], d['side']
X_labels, y_labels = d['X_labels'], d['y_labels']

DEMO

Demo.ipynb contains python code for loading the data and classifying it using the seglearn library.

AUTHORS

David Burns, Nathan Leung, Michael Hardisty, Cari Whyne, Stewart McLachlin
University of Toronto. Canada.
University of Waterloo. Canada.

CONTACT INFO

David Burns

CITATION REQUEST

If using this data in academic publication, please cite the following manuscript:

@article{burns_shoulder_2018,
    title = {Shoulder physiotherapy exercise recognition: machine learning the inertial signals from a smartwatch},
    volume = {39},
    issn = {0967-3334},
    shorttitle = {Shoulder physiotherapy exercise recognition},
    doi = {10.1088/1361-6579/aacfd9},
    language = {en},
    number = {7},
    journal = {Physiological Measurement},
    author = {Burns, David M. and Leung, Nathan and Hardisty, Michael and Whyne, Cari M. and Henry, Patrick and McLachlin, Stewart},
    year = {2018},
    pages = {075007}
}

About

Classify shoulder physiotherapy activities from inertial data collected on a smart watch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published