how to make a motion tracking device
TRANSCRIPT
1
Confidential
2
How to make a motion tracking deviceMykola ShatokhinSoftware Engineer15.09.2016
3
Instabeat
4
1. Wearable devices 2. Device designing3. Data analyzing 4. Gotchas5. Summary
Agenda
5
Wearable devices
6
Device designing
7
• Idea• Sensors and mount place• Collecting data• Analyzing algorithm• Related software
Device designing
8
Mount position
9
• Prepare protocol• Ask athletes to help• Make video
Collecting data
10
Don’t be a racist
11
Annotating
12
Data analyzing
13
Accelerometer
Gyroscope
Raw data
14
Sliding window
15
Where:
n – window size,
x – signal values in current window,
μ – window mean value.
Energy
16
Accelerometer
Gyroscope
Energy
17
Where:
n – axis count,
w – weight coefficient,
e – energy value.
Weighted energy
18
Weighted energy
19
Accelerometer axises
20
Energy + acceleration mean (scaled amplitude)
21
Signal smoothing
22
Where,
n – filtering window size,
m – filtered value index,
x – signal value.
Simple Moving Average filter
23
Signal smoothing
24
Smoothed energy and acceleration
25
Decision boundary
26
Styles
27
• Simplicity• Speed• Real time processing
Advantages
28
• Low accuracy
Disadvantages
29
• Sleep tracking• Brain-Computer interface• Games
Alternative usage
30
Sleep tracking
31
Brain-Computer interface
32
Games
33
Gotchas
34
• Calibration• Data transmission• Stability
Gotchas
35
Why C++?
36
Summary