Hip Motion Player - Demo
Diagnose fall injuries and prevent falls using 3D visualisation. Data scientists can collect labelled data to train better fall detection algorithms.
Playing motion capture data from Hip-Motion-Capture. The captured motion data is sampled at 50Hz. Each timestamp is represented by a row in the CSV file and displayed in the following format:
Waist IMU data - Column A to J
- Gyro (rad/s): x, y, z - Column A to C
- Acceleration (m/s^2): x, y, z - Column D to F
- Quaternion: w, x, y, z - Column G to J
Right thigh IMU data - Column K to T
- Gyro, Acceleration, Quaternion ... similar layout as above
Right thigh IMU data - Column U to AD
- Gyro, Acc, Quat ... similar layout as above
- Download the sample data from 'Raw Motion Data' folder.
- Drag a CSV file onto the 3D model in the demo website.
- Press the pause/play button or drag the input slider.
Have fun!
- Install dependencies in project root directory with
npm i localforage three fili
- Download the src/visualiser folder.
- In your project, create a div element:
<div id='visualiserID'/>
- At the start of a JavaScript file
import setupMotionVisualiser from './visualiser/visualiser.js'
tailored to your respective folder layout. - Evoke the function:
setupMotionVisualiser(document.querySelector('#visualiserID'), data, sampleRate)
- Input data should be formated as n by 30 array. Here is an example data.
Note: By default data=null
and sampleRate=50
. You can drag and drop CSV files