Fitness Motion Recognition



Similar documents
Android Sensors. CPRE 388 Fall 2015 Iowa State University

Android Sensors. XI Jornadas SLCENT de Actualización Informática y Electrónica

E0-245: ASP. Lecture 16+17: Physical Sensors. Dipanjan Gope

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II)

International Journal of Advanced Research in Computer Science and Software Engineering

A smartphone based real-time daily activity monitoring system. Shumei Zhang Paul McCullagh Jing Zhang Tiezhong Yu

Using the Android Sensor API

CS 403X Mobile and Ubiquitous Computing Lecture 6: Maps, Sensors, Widget Catalog and Presentations Emmanuel Agu

Android Sensors This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. CC-BY Google

Human Activities Recognition in Android Smartphone Using Support Vector Machine

! Sensors in Android devices. ! Motion sensors. ! Accelerometer. ! Gyroscope. ! Supports various sensor related tasks

CSE476 Mobile Application Development. Yard. Doç. Dr. Tacha Serif Department of Computer Engineering Yeditepe University

Module 1: Sensor Data Acquisition and Processing in Android

Tegra Android Accelerometer Whitepaper

Motion Sensing with mcube igyro Delivering New Experiences for Motion Gaming and Augmented Reality for Android Mobile Devices

Designing An Android Sensor Subsystem Pitfalls and Considerations

HP TouchPad Sensor Setup for Android

Objective. Android Sensors. Sensor Manager Sensor Types Examples. Page 2

A DECISION TREE BASED PEDOMETER AND ITS IMPLEMENTATION ON THE ANDROID PLATFORM

Using the Adafruit Unified Sensor Driver. Created by Kevin Townsend

Obsoleted chapter from The Busy Coder's Guide to Advanced Android Development

STMicroelectronics is pleased to present the. SENSational. Attend a FREE One-Day Technical Seminar Near YOU!

Android Concepts and Programming TUTORIAL 1

Sensors & Motion Sensors in Android platform. Minh H Dang CS286 Spring 2013

Detecting User Activities using the Accelerometer on Android Smartphones

App Development for Smart Devices. Lec #5: Android Sensors

Sensors and Cellphones

Why wearable electronics devices call for a new generation of highly integrated, smart sensor solutions

VIRTUAL REALITY GAME CONTROLLED WITH USER S HEAD AND BODY MOVEMENT DETECTION USING SMARTPHONE SENSORS

SENSORS ON ANDROID PHONES. Indian Institute of Technology Kanpur Commonwealth of Learning Vancouver

GPS Excavation Monitoring Solution. Design Session

Uniformly Accelerated Motion

Evading Android Emulator

#1 3 Rounds For Time: Run 800m 50 Air Squats. #2 10 Rounds For Time: 10 Pushups 10 Sit ups 10 Squats. #3 For Time: 200 Air Squats

Enhancing survey methods and instruments to better capture personal travel behaviour

Intervid Fleet Management Fleet Telematics. Intervid, Inc Pegasus Court, Suite C Frederick, MD 21704

Can the smartphone sensors be used for wheelchair accessibility studies? Dr. Manik Gupta Dr. Behzad Heravi Dr. Catherine Holloway Prof.

An inertial haptic interface for robotic applications

Mobilelogging: Assessing Smartphone Sensors for Monitoring Sleep Behaviour

AUTOMATIC HUMAN FREE FALL DETECTION USING ANDROID

How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications Engineer

Use It Free: Instantly Knowing Your Phone Attitude

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

Chronos - Circuit Training Bodyweight

Android Sensor Programming. Weihong Yu

Accurate, Fast Fall Detection Using Gyroscopes and Accelerometer-Derived Posture Information

Vibrations can have an adverse effect on the accuracy of the end effector of a

VitalJacket SDK v Technical Specifications

Heart Rate Data Collection Software Application User Guide

Effective Use of Android Sensors Based on Visualization of Sensor Information

2015 Cheer Squad Summer Strength & Conditioning

Accurate, Fast Fall Detection Using Gyroscopes and Accelerometer-Derived Posture Information

VitalJacket SDK v Technical Specifications

Using Smartphones to Detect Car Accidents and Provide Situational Awareness to First Responders

Acellus Natural 3D Tablet

How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc.

Activity recognition in ADL settings. Ben Kröse

Time Domain and Frequency Domain Techniques For Multi Shaker Time Waveform Replication

Android Development Tutorial. Nikhil Yadav CSE40816/ Pervasive Health Fall 2011

WMATA S Automated Track Analysis Technology & Data Leveraging for Maintenance Decisions

PRODUCT DATASHEET. J1939 Vehicle Inertia Monitor. Advanced Vehicle Inertial Measurement and Vibration Monitoring Device. fleet-genius.

CareSentinel Set Up Guide for Android Devices

Health and Well-being

Wi-Fi, Bluetooth, and the Internet of Things

Leveraging the Power of Intelligent Motor Control to Maximize HVAC System Efficiency

Mobile Technologies Index

A Demonstration of a Robust Context Classification System (CCS) and its Context ToolChain (CTC)

i C A N 1 5 S w i s s C o n t e s t P r o j e c t A b s t r a c t

MOVEIRO BT-200 Technical Information for Application Developer

PERFORMANCE OF BÉZIER CURVES RENDERING IN WEB BROWSERS

Fetal monitoring on the move, from a hospital to in-home setting

Quick Start Guide ActiGraph GT9X Link + ActiLife

TECHNICAL DESCRIPTION OF THE DISTRIBUTION SUBSTATION REMOTE MONITORING SYSTEM

The Calculation of G rms

Introducing BEEKS Proximity Solutions. Developer Kit Gets You Started

WAITER: A Wearable Personal Healthcare and Emergency Aid System

AN APPLYING OF ACCELEROMETER IN ANDROID PLATFORM FOR CONTROLLING WEIGHT

Transcription:

Fitness Motion Recognition with Android Wear Edward Dale Freeletics Edward Dale, 2015 1

http://www.someecards.com/usercards/viewcard/mjaxmy1hmjiwmwuzmtc4ndgyota1 Edward Dale, 2015 2

Agenda Define scope Sensors Algorithms Battery Efficiency Edward Dale, 2015 3

Defining the problem scope Segmenting exercise from non-exercise Recognizing which exercise is being performed Counting repetitions Online Edward Dale, 2015 4

Defining the problem scope Segmenting exercise from non-exercise Recognizing which exercise is being performed Counting repetitions Online Edward Dale, 2015 5

Defining the problem scope Segmenting exercise from non-exercise Recognizing which exercise is being performed Counting repetitions Online Edward Dale, 2015 6

Defining the problem scope Segmenting exercise from non-exercise Recognizing which exercise is being performed Counting repetitions! Online Edward Dale, 2015 7

Defining the problem scope Segmenting exercise from non-exercise Recognizing which exercise is being performed Counting repetitions! Online! Edward Dale, 2015 8

Which "Fitness Motion"? Running Swimming Cycling Edward Dale, 2015 9

This "Fitness Motion" Pushups Jumping Jacks Burpees Edward Dale, 2015 10

Pushups Edward Dale, 2015 11

Edward Dale, 2015 12

Pushup Sensors Proximity (Sensor.TYPE_PROXIMITY) Edward Dale, 2015 13

Pushup Sensors Proximity (Sensor.TYPE_PROXIMITY) Rotation (Sensor.TYPE_GAME_ROTATION_VECTOR, Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR, Sensor.TYPE_GYROSCOPE, Sensor.TYPE_ROTATION_VECTOR) Edward Dale, 2015 14

Pushup Sensors Proximity (Sensor.TYPE_PROXIMITY) Rotation (Sensor.TYPE_GAME_ROTATION_VECTOR, Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR, Sensor.TYPE_GYROSCOPE, Sensor.TYPE_ROTATION_VECTOR) Acceleration (Sensor.TYPE_ACCELEROMETER, Sensor.TYPE_LINEAR_ACCELERATION, Sensor.TYPE_GRAVITY) Edward Dale, 2015 15

Pushup Sensors Proximity (Sensor.TYPE_PROXIMITY) Rotation (Sensor.TYPE_GAME_ROTATION_VECTOR, Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR, Sensor.TYPE_GYROSCOPE, Sensor.TYPE_ROTATION_VECTOR) Acceleration (Sensor.TYPE_ACCELEROMETER, Sensor.TYPE_LINEAR_ACCELERATION, Sensor.TYPE_GRAVITY)! Edward Dale, 2015 16

Acceleration Sensors TYPE_ACCELEROMETER uses the accelerometer and only the accelerometer. It returns raw accelerometer events, with minimal or no processing at all. TYPE_LINEAR_ACCELERATION and TYPE_GRAVITY... are "fused" sensors Mathias Agopian on android-developers Always returns 3 components of acceleration vector Edward Dale, 2015 17

Acceleration Vector What to do with acceleration direction? Pushup acceleration happens in primary one direction Ignore acceleration direction and just use magnitude Edward Dale, 2015 18

Edward Dale, 2015 19

Edward Dale, 2015 20

Not so fast Still have to count But there are well-known algorithms for that Google: Online peak detection algorithm Edward Dale, 2015 21

Peakdet A point is considered a maximum peak if it has the maximal value, and was preceded (to the left) by a value lower by DELTA. -- http://www.billauer.co.il/peakdet.html Edward Dale, 2015 22

Edward Dale, 2015 23

Edward Dale, 2015 24

Peakdet Online! Efficient! Sensitive to DELTA parameter " Edward Dale, 2015 25

Battery Efficiency Analyze fewer samples Do less analysis per sample Analyze sample on the phone Choose less power-hungry sensors Watch the Power Optimization for Android talk from day 1 Edward Dale, 2015 26

Battery Efficiency Analyze fewer samples Register for sensor updates with lowest sampling frequency necessary SENSOR_DELAY_NORMAL (5Hz) SENSOR_DELAY_UI (15Hz) SENSOR_DELAY_GAME (50Hz) SENSOR_DELAY_FASTEST (~ Hz) Edward Dale, 2015 27

Battery Efficiency Analyze fewer samples Register for sensor updates with lowest sampling frequency necessary Also possible to suggest your own sampling frequency Just a suggestion to the device Edward Dale, 2015 28

Battery Efficiency Do less analysis per sample Choose an efficient algorithm Peakdet is relatively efficient More efficient than algorithms using derivates Edward Dale, 2015 29

Battery Efficiency Analyze samples on the phone Just use the watch as a wearable sensor that sends data to be analyzed on the phone. Edward Dale, 2015 30

Battery Efficiency Choose Less Power-Hungry Sensors Sensor power drain will differ on different hardware Ask the sensor how much power the sensor uses Sensor.getPower() Edward Dale, 2015 31

Thanks! Edward Dale (@scompt) Freeletics (We're hiring) Edward Dale, 2015 32

Links Walk Detection and Step Counting on Unconstrained Smartphones RecoFit: Using a Wearable Sensor to Find, Recognize, and Count Repetitive Exercises Sample Project Edward Dale, 2015 33