My Tiny Ping-Pong Helper

Slides:



Advertisements
Similar presentations
Pseudo-Relevance Feedback For Multimedia Retrieval By Rong Yan, Alexander G. and Rong Jin Mwangi S. Kariuki
Advertisements

Application a hybrid controller to a mobile robot J.-S Chiou, K. -Y. Wang,Simulation Modelling Pratice and Theory Vol. 16 pp (2008) Professor:
ECG Signal processing (2)
1 Image Classification MSc Image Processing Assignment March 2003.
Support vector machine
Software Quality Ranking: Bringing Order to Software Modules in Testing Fei Xing Michael R. Lyu Ping Guo.
1 A scheme for racquet sports video analysis with the combination of audio-visual information Visual Communication and Image Processing 2005 Liyuan Xing,
Accelerometer-based Transportation Mode Detection on Smartphones
Chapter 1: Introduction to Pattern Recognition
Body Sensor Networks to Evaluate Standing Balance: Interpreting Muscular Activities Based on Intertial Sensors Rohith Ramachandran Lakshmish Ramanna Hassan.
1 Learning to Detect Objects in Images via a Sparse, Part-Based Representation S. Agarwal, A. Awan and D. Roth IEEE Transactions on Pattern Analysis and.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Recognition. Introduction. Definitions.. Recognition process. Recognition process relates input signal to the stored concepts about the object.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Gait recognition under non- standard circumstances Kjetil Holien.
Introduction to machine learning
Feature Extraction Spring Semester, Accelerometer Based Gestural Control of Browser Applications M. Kauppila et al., In Proc. of Int. Workshop on.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Multiclass object recognition
Presented by: Kamakhaya Argulewar Guided by: Prof. Shweta V. Jain
1 Template-Based Classification Method for Chinese Character Recognition Presenter: Tienwei Tsai Department of Informaiton Management, Chihlee Institute.
9 th Conference on Telecommunications – Conftele 2013 Castelo Branco, Portugal, May 8-10, 2013 Sara Candeias 1 Dirce Celorico 1 Jorge Proença 1 Arlindo.
TEMPLATE DESIGN © Detecting User Activities Using the Accelerometer on Android Smartphones Sauvik Das, Supervisor: Adrian.
COMMON EVALUATION FINAL PROJECT Vira Oleksyuk ECE 8110: Introduction to machine Learning and Pattern Recognition.
Image Classification 영상분류
Human Activity Recognition Using Accelerometer on Smartphones
Abstract: Accelerometers As part of the smartphone philosophy, every phone has a wide variety of sensors available to the user. Sensors include light and.
Stochastic Subgradient Approach for Solving Linear Support Vector Machines Jan Rupnik Jozef Stefan Institute.
Digital Image Processing & Analysis Fall Outline Sampling and Quantization Image Transforms Discrete Cosine Transforms Image Operations Image Restoration.
Combining multiple learners Usman Roshan. Bagging Randomly sample training data Determine classifier C i on sampled data Goto step 1 and repeat m times.
1 Pattern Recognition Pattern recognition is: 1. A research area in which patterns in data are found, recognized, discovered, …whatever. 2. A catchall.
Prediction of Influencers from Word Use Chan Shing Hei.
Computer-based identification and tracking of Antarctic icebergs in SAR images Department of Geography, University of Sheffield, 2004 Computer-based identification.
Automated Solar Cavity Detection
Design of PCA and SVM based face recognition system for intelligent robots Department of Electrical Engineering, Southern Taiwan University, Tainan County,
SAR-ATR-MSTAR TARGET RECOGNITION FOR MULTI-ASPECT SAR IMAGES WITH FUSION STRATEGIES ASWIN KUMAR GUTTA.
A TUTORIAL ON SUPPORT VECTOR MACHINES FOR PATTERN RECOGNITION ASLI TAŞÇI Christopher J.C. Burges, Data Mining and Knowledge Discovery 2, , 1998.
Arlindo Veiga Dirce Celorico Jorge Proença Sara Candeias Fernando Perdigão Prosodic and Phonetic Features for Speaking Styles Classification and Detection.
Saisakul Chernbumroong, Shuang Cang, Anthony Atkins, Hongnian Yu Expert Systems with Applications 40 (2013) 1662–1674 Elderly activities recognition and.
Object Recognition as Ranking Holistic Figure-Ground Hypotheses Fuxin Li and Joao Carreira and Cristian Sminchisescu 1.
An Improved Algorithm for Decision-Tree-Based SVM Sindhu Kuchipudi INSTRUCTOR Dr.DONGCHUL KIM.
Debrup Chakraborty Non Parametric Methods Pattern Recognition and Machine Learning.
SUPPORT VECTOR MACHINES Presented by: Naman Fatehpuria Sumana Venkatesh.
Unveiling Zeus Automated Classification of Malware Samples Abedelaziz Mohaisen Omar Alrawi Verisign Inc, VA, USA Verisign Labs, VA, USA
Big data classification using neural network
Support Vector Machine
LINEAR CLASSIFIERS The Problem: Consider a two class task with ω1, ω2.
Presented by Khawar Shakeel
Traffic State Detection Using Acoustics
Session 7: Face Detection (cont.)
CSSE463: Image Recognition Day 11
ABSTRACT FACE RECOGNITION RESULTS
Pattern Recognition Sergios Theodoridis Konstantinos Koutroumbas
Vijay Srinivasan Thomas Phan
Transportation Mode Recognition using Smartphone Sensor Data
An Introduction to Support Vector Machines
LINEAR AND NON-LINEAR CLASSIFICATION USING SVM and KERNELS
Human Activity Recognition Using Smartphone Sensor Data
Mobile Sensor-Based Biometrics Using Common Daily Activities
Dingding Liu* Yingen Xiong† Linda Shapiro* Kari Pulli†
CSSE463: Image Recognition Day 11
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
EE513 Audio Signals and Systems
On Convolutional Neural Network
CSSE463: Image Recognition Day 11
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
CSSE463: Image Recognition Day 11
MIRA, SVM, k-NN Lirong Xia. MIRA, SVM, k-NN Lirong Xia.
Extracting Why Text Segment from Web Based on Grammar-gram
Automatic Prosodic Event Detection
Presentation transcript:

My Tiny Ping-Pong Helper He Shan ellewood2008@163.com Shanghai JiaoTong University 2015.6.09

Background Desperate need of practice on my own Experience of Wearable computing Why not a ping-pong helper ??

Outline Background Introduction Basic Ideas My Work Result Conclusion Future Work

Outline Background Introduction Basic Ideas My Work Result Conclusion Future Work

Introduction press the button Four basic ways of swing rackets: (1) forehand push (正手推球) (2) backhand push (反手推球) (3) forehand chop (正手搓球) (4) backhand chop (反手搓球) press the button

Introduction Off model On model

Basic Ideas How to determine whether someone have done the right action or not? Using “Activity Recognition Chain (ARC)” ! Procedure: (1) data acquisition and preprocessing (2) data segmentation (3) feature extraction (mean, std, energy, etc) and selection (4) training, classification and identification

My Work 1st step : data acquisition Data Type: Tools: (1) standard data (2) non-standard data Tools: (1) Android smartphone accelerator & gyroscope (2) An app extract data from the phone

My Work Periodic accelerator data Periodic gyroscope data

My Work 2nd step : segmentation Aim: The data segmentation stage identifies those segments of the preprocessed data streams that are likely to contain information about activities (also often referred to as activity detection or “spotting”) Approach: Sliding Window Window moves over the time series data to “extract” data segment Length : 128 & Overlap: 50% data 128 128 … … 128 Reduce the computational load

My Work 3rd step : feature extraction Key: use a minimum number of features that still allow the ARC to achieve the desired target performance. Features: Minimum, maximum, energy, standard deviation (std), mean, signal magnitude area (SMA= 1 T 𝑡 𝑡+𝑇 𝑥 𝑡 𝑑𝑡 + 𝑡 𝑡+𝑇 𝑦 𝑡 𝑑𝑡 + 𝑡 𝑡+𝑇 𝑧 𝑡 𝑑𝑡 )

My Work 4th step : training and classification Method: Training 70% data Model Efficient or not? Standard data Test!! 30% data Classify Sample data Fit which class?

My Work Support vector machine(SVM) – supervised learning models Analyze data and recognize patterns, used for classification and regression analysis. Given a set of training examples, each marked for belonging to one of two categories, an SVM training algorithm builds a model that assigns new examples into one category or the other. Suppose the distance between the classifier and the point is: γ i = 𝑦 𝑖 𝛚 𝐓 ∙ 𝐗 𝑖 +b y i =±1 Ensures that the distance between the classifier and the nearest point be as long as possible, that is max 𝛚,b γ s.t. 𝑦 𝑖 𝛚 𝐓 ∙ 𝐗 𝑖 +b >𝛾 𝑖=1,…, 𝑁 𝛚 =1 Let γ= 1 𝛚 , so it equals to 𝑚𝑖𝑛 𝛚,b 1 2 𝛚 2 s.t. 𝑦 𝑖 𝛚 𝐓 ∙ 𝐗 𝑖 +b >1 𝑖=1,…, 𝑁

My Work From Lagrange duality, we can transform the question into that max α 𝑊 𝛼 = 𝑖=1 𝑁 𝛼 𝑖 − 1 2 𝑖,𝑗=1 𝑁 𝑦 𝑖 𝑦 𝑗 𝛼 𝑖 𝛼 𝑗 < 𝑿 𝑖 , 𝑿 𝑗 > 𝑠.𝑡. 𝛼 𝑖 ≥0, 𝑖=1,…,𝑁 𝑖=1 𝑁 𝛼 𝑖 𝑦 𝑖 =0 (∗) After we figure out α i (SMO algorithm), we have 𝛚= 𝑖=1 𝑁 𝛼 𝑖 𝑦 𝑖 𝑿 𝑖 𝑏=− max i: y i =−1 𝛚 𝐓 𝒙 𝒊 + min i: y i =1 𝛚 𝐓 𝒙 𝒊 2

P=N(N-1)/2 combinations My Work Support vector machine (SVM) Problem: 1. Binary classification 2. Unable to classify more than two actions Solution: One Versus One (OVO) classification Test data send P=N(N-1)/2 combinations N classes P=N(N-1)/2 SVMs vote Final class 需要简单介绍一下SVM及SVM多分类。 以及 判断是否准确的方法:寻找每一类的重心,然后判断距离;或者计算新来数据与所有内置数据之间的最近的几个距离是否在一定阈值之内。 要有测试结果,用矩阵可以表示测试结果。 加油! ^^

My Work SVM Struct 1 Class 1 1 Class 1 2 4 3 forehand push – 1; backhand push – 2; forehand chop – 3; backhand chop - 4 SVM Struct 1&2 1 1&3 Class 1 1 1&4 2 1 Test data Class 1 3 2&3 2 4 2&4 4 3&4 3

Result Forehand Push Backhand Push Forehand Chop Backhand Chop Recall 67 1 2 95.71% Backhand Push 56 93.33% Forehand Chop 3 62 88.571% 4 45 86.538% Precision 94.37% 91.8% 89.855% 90% 91.270% Precision : the percentage of actions which are correctly detected within all possible detected results. Recall : the percentage of actions which are correctly detected within results that are all determined as that specific action.

Conclusion Successfully collect the data using Android smartphone. Segment the raw data using sliding window. Extract different features of the data. Construct classification model. Successfully classify the test data and tell them whether they are standard data or not.

Future Work The construction of smartband. Acquires sensor data and processes it in the same time. Data transmission between smartband and cell phone. Rewrite the Matlab program into Android.

Thank you! Q&A