SlideShare a Scribd company logo
Made by:
Surbhi Jain
Aishwarya Jain
The Android Framework
The Android platform is an open platform for mobile devices consisting of an operating system,
applications and middleware
Android gives users the opportunity to build and publish their own applications by providing an open
development environment. Android treats all applications (native and third-party) as equals.
Therefore, having such an open development environment requires security measures to be taken in
order to protect the integrity of the Android platform and the privacy of its users.
• Android is an open source mobile operating system with Linux
kernel.
• The Android SDK is installed in to Eclipse.
• Android treats both native and third party applications as the same.
So we can build and develop our own applications easily here.
• The android software development kit includes a set of
development tool such as a debugger, libraries, handset emulator,
documentation, sample code and tutorials.
• Android SDK has a java frame work and a powerful API for the
hardware embedded on smartphones.
Why Android ?
Android Architecture
Various Android Sensors
The Android has several sensors available:
• Accelerometer
• Orientation
• Ambient Light
• Proximity
• Magnetic Force
Use of these sensors does not require direct user
permission!
Accelerometer Usage(contd.)
Activity Recognition
Distance travelled
Activity Recognition
Desired Outputs:
- Physical Activities (e.g., Running, Walking)
- Approximate time spans
- Quick detection of change
Accelerometer Usage
Our Objective
To explore the Accelerometer as a
measure of context- aware based
applications for physical activity
recognition on the Android
framework.
Literature Survey
List Of Paper Studied:
• Paper 1 : Applications of Mobile Activity Recognition
Authors : Jeffrey W. Lockhart, Tony Pulickal AND Gary M. Weis
• Paper 2 : User, Device and Orientation Independent Human Activity
Recognition on
Mobile Phones: Challenges and a Proposal
Authors : Yunus Emre Ustey, Ozlem Durmaz Incel AND Cem Ersoy
• Paper 3 : Simple and Complex Activity Recognition Through
SmartPhones
Authors : Das, B., Krishnan, Narayanan C., Thomas, B.L. AND Cook, D.J
• Paper 4 : Fall Detection by Built-In Tri-Accelerometer of Smartphone
Authors : Yi He, Ye Li AND Shu-Oi Bao
• Paper 5 : Feature Selection Based On Mutual Information For Human
Activity Recognition
Authors : Khan, A., Chehade, N.H., Chieh Chien AND Pottie. G
• Paper 6 : Smartphone-based Monitoring System for Activities of Daily
Living for Elderly People and Their Relatives Etc.
Authors : Kazushige Ouchi AND Miwako Doi
• Paper 7 : Environment Feature Extraction and Classification for
Context Aware Physical Activity Monitoring
Authors : Troped, P.J., Evans,J.J. AND Pour,G.M
• Paper 8 : Fall Detection based on movement in Smartphone
Technology
Authors : Gueesang Lee AND Deokjai Cho
• Paper 9 : Activity logging using lightweight classification techniques in
mobile devices
Authors : Henar Martı´n ,Ana M. Bernardos ,Josue´ Iglesias • Jose´ R.Casar
• Paper 10 : Privacy control in smart phones using semantically rich
reasoning and context modeling
Authors : Dibyajyoti Ghosh, Joshi, A., Finin, T. AND Jagtap, P
contd..
• Paper 11 : Towards Successful Design of Context-Aware Application
Frameworks to Develop Mobile Patient Monitoring Systems Using
Wireless Sensors
Authors : Al-Bashayreh, M.G. Hashim, N.L. AND Khorma, O.T
• Paper 12 : ActivityMonitor: Assisted Life Using Mobile Phones
Authors : Matti Lyra AND Hamed Ketabdar
Comparison among the papers
Paper Parameters Used Algorithm Used/Proposed
Paper 1 Nil Neural networks and J48 decision trees
Autocorrelation, K-nearest neighbors (KNN),
Paper 2 Mean, Variance, Std. Dev, fast Fourier transform (FFT) coefficients
Zero Crossing Rate, Period
Mean, min, max, Std. Dev, Multi-layer Perceptron,
Paper 3 Zero Crossing Rate, correlation Naïve Bayes, Bayesian network, Decision
Table, Best-First
Tree, and K-star
Acceleration due to Signal Magnitude Vector, Signal Magnitude
Paper 4 body movement; 2) Area (SMA), Tilt Angle (T A)
gravitational acceleration,
median filter
Standard deviation, Mean, Tree-based, feature selection algorithm based
Paper 5 Absolute mean, Energy ratio, on mutual information, binary
Ratio of DC to sidelobe, First decision-tree with a naıve Bayes classifier
sidelobe location, Max value,
Short time energy, Correlation
Paper 6 Average, minimum, maximum Stochastic model, Neural Networks, SVM every
and variance, MFCC (Mel- 1 sec.
Frequency
Cepstral Coefficient), RMS
(Root Mean Square) and ZCR
(Zero-Crossing Rate)
Paper 7 Mean and sigma K-nearest neighbor
of the Gaussian function
Paper 8 Lower
NIL Threshold (LT) and Upper Threshold (UT).
Paper 9 Mean, Variance, Zero crossing Naıve Bayes,
rate ,75 percentile Decision Table and Decision Tree
Paper 10 NIL NIL
Paper 11 NIL NIL
Paper 12 Average magnitude value, Multi-Layer Perceptron (MLP)
average rate of change,
weighted sum
Current Problems
• First and Foremost is the use of Body Worn sensors. Today, In most of
the apps we have found that external sensors are used to detect the
physical movements of a person. Practically it is not possible to carry an
external device with you Sometimes people forget to wear the device.
• In most of the apps Positioning of the device is the concerned for the
success of application i.e. Most of the apps build are position specific of
device. If the device is kept in hands then values will be different from the
values generated when the device is kept in pocket.
• Use of multiple Sensors to achieve the same goal which makes the
application bulky leading to slower processing of the data and also affects
its cost.
Restating the Problem
We primarily focused on the Activity Recognition project
Inputs:
-X acceleration
-Y acceleration
-Z acceleration
Desired Outputs:
- Physical Activities (e.g., Running,
Walking)
- Approximate time spans
- Quick detection of change
The Activity Recognition Process
Data Collection Process
The first step to the project was to collect raw accelerometer data and transform it
into features that WEKA, the machine-learning tool that we implemented, used to
train a classifier. To accomplish this, we first took in sensor samples made up of
acceleration readings in the x, y, and z directions and computed their magnitudes.
Labeled all the data manually in terms of running, walking, standing, sitting. To
make the data more accurate data of more than 20 minutes have been taken.
Data gathering was done by performing experiments on four subjects. Each of the
four subjects were asked to collect the data activity one by one by placing
smartphone at the positions mentioned above. Each subject performed the set of 6
activities one by one for the duration of two minutes and the respective data was
recorded in a .csv file in the external storage of the smartphone.
Contd...
Data Collection Process
Feature Extraction
Feature Extraction is the process of extracting key “features” from a
signal. Features will be extracted from every sample window of 512
samples. The following features we Will be using in our project:
1. The Fundamental Frequencies: The average of the three
dominant frequencies of the signal over the sample window.
This was found via a Discrete Fourier Transformation.
2. Average Acceleration: The arithmetic mean of the
acceleration magnitudes over the sample window.
3. Max Amplitude: The maximum acceleration value of the
signal in the sample window.
4. Min Amplitude: The minimum acceleration value of the signal
in the sample window.
Classification is the process of labeling unknown patterns based on the knowledge of
known patterns of data. Four different classifiers were used:
K-Nearest Neighbor: Based on the shortest euclidean distance between the
unknown and known data’s feature vector
Naïve Bayes: Assumes the absence of one feature does not disqualify a candidate
(e.g., an object which is red and round is an apple, even if is not known to be a fruit)
J48(Decision Tree): J48 builds decision trees from a set of labeled training data
using the concept of information entropy. It uses the fact that each attribute of the
data can be used to make a decision by splitting the data into smaller subsets.
Random Forest: An ensemble classifier using many decision tree models. It can be
used for classification or regression.
Classification
Use Case Diagram
The application will be divided in several modules which will be
implemented time to time.
Module-1 Activity Recognition
Physical Activites like cycling, running,walking, standing etc performed
by the user will be recognized in this module. User will click on the app
icon or start button in the app which make him able to run sensors and
thus his motion wil be detected.
Module-2 Location Based Activity Recognition
In addition with Activity Recognition GPS sensor will be used to find the
location of user also what activity he is performing at that location. This
will help in Fall Detection Module discussed later.
Overall Description
Contd…
Module-3 Fall Recognition
In addition with physical Movement Recognition, Fall Recognition will be
there.. Whenever Fall detection will have positive result then alarm will be
raised instatntly and then app will monitor physical activities and if motion
is not detected it will send an emergency message to the guardian
informing about this accident.
Module-4 Physical Activity Chart
The User will be able to see his/her daily physical activity chart i.e. how
much he has done workouts today and what type of physical activity
he/she performed during the day.
Module-5 Calorie Burnt
The user will have the ability to see the calories burnt by him within a day
and how much calories he/she should be burnt to be physically fit.
Contd…
Module-6 Medical Reminder
The user can set the medical reminder if he wants. For this he/she have
to feed the prescription in the phone with the timings and the made
reminder active.
Module-7 Distance Travelled
The user have the ability to see the distance he travelled by running or
by cycling or by walking
Data Flow Diagram
Algorithm Flow Diagram
IMPLEMENTATION
Risk and Mitigation
Risk Description Risk Area Prob Impa RE (P* Risk Mitigati
Id of Risk ( Identify abilit c I) Select on Plan
Risk y t (I) ed if 8 is ‘Y’
Areas for (P) for
your Mitiga
project) ti
on
(Y/N)
Position of mobile Sensor
1. i.e. Whether the readings High High High Taking data by
phone is taken in variation Y considering all the
hand or kept in possible locations.
chest pocket or in
pant’s pocket
2. Battery drainage Hardware High Medi Medium N NIL
um
3. Sending each sms Security Medi Low Medium N NIL
to a hidden 3rd um
Party address
Device
4. Computational limitations Hardware Medi Low Medium Y On cloud storage service.
um
Sources
International Journal of Distributed Sensor Networks provided by
Hindawi.com
IEEE Sensors Journal provided by http://www.ieee-
sensors.org/journals.
IJCA Proceedings on International Conference on Recent Trends in
Information Technology and Computer Science 2012
Acoustics, Speech and Signal Processing (ICASSP), 2012 IEEE
International Conference
Sensors Applications Symposium (SAS), 2013 IEEE
2012 IEEE RIVF International Conference
IEEE Symposium on Security and Privacy Workshops@2012
ACM Transactions on Knowledge Discovery from Data (TKDD)
ACM Journal of Data and Information Quality
The End

More Related Content

What's hot

Human activity recognition
Human activity recognition Human activity recognition
Human activity recognition
srikanthgadam
 
Gesture Recognition Technology-Seminar PPT
Gesture Recognition Technology-Seminar PPTGesture Recognition Technology-Seminar PPT
Gesture Recognition Technology-Seminar PPT
Suraj Rai
 
Gesture Recognition Technology
Gesture Recognition TechnologyGesture Recognition Technology
Gesture Recognition Technology
Muhammad Zeeshan
 
Blue eyes
Blue eyesBlue eyes
Blue eyes
Rudra Bhatt
 
Hand Gesture Recognition Using OpenCV Python
Hand Gesture Recognition Using OpenCV Python Hand Gesture Recognition Using OpenCV Python
Hand Gesture Recognition Using OpenCV Python
Arijit Mukherjee
 
Hand gesture recognition
Hand gesture recognitionHand gesture recognition
Hand gesture recognition
Muhammed M. Mekki
 
GESTURE RECOGNITION TECHNOLOGY
GESTURE RECOGNITION TECHNOLOGYGESTURE RECOGNITION TECHNOLOGY
GESTURE RECOGNITION TECHNOLOGY
jinal thakrar
 
project presentation on mouse simulation using finger tip detection
project presentation on mouse simulation using finger tip detection project presentation on mouse simulation using finger tip detection
project presentation on mouse simulation using finger tip detection
Sumit Varshney
 
Sixth Sense Technology
Sixth Sense TechnologySixth Sense Technology
Sixth Sense Technology
Saugat Bhattacharjee
 
Hand Gesture Recognition Applications
Hand Gesture Recognition ApplicationsHand Gesture Recognition Applications
Hand Gesture Recognition Applications
Imon_Barua
 
Smart note-taker
Smart note-takerSmart note-taker
Smart note-taker
vikasgarg1609284
 
Hand gesture recognition
Hand gesture recognitionHand gesture recognition
Hand gesture recognition
Bhawana Singh
 
Virtual Mouse
Virtual MouseVirtual Mouse
Virtual Mouse
Vivek Khutale
 
Pneumonia detection using cnn
Pneumonia detection using cnnPneumonia detection using cnn
Pneumonia detection using cnn
Tushar Dalvi
 
Computer science seminar topics
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics
123seminarsonly
 
Mobile Sensors
Mobile SensorsMobile Sensors
Mobile Sensors
RAHUL KANEKAR
 
Human Computer Interaction
Human Computer InteractionHuman Computer Interaction
Human Computer Interaction
BHAKTI PATIL
 
Gesture Recognition
Gesture RecognitionGesture Recognition
Gesture Recognition
Murlidhar Sarda
 
Hand gesture recognition
Hand gesture recognitionHand gesture recognition
Hand gesture recognition
bakhti rahman
 
Sentiment analysis
Sentiment analysisSentiment analysis
Sentiment analysis
Makrand Patil
 

What's hot (20)

Human activity recognition
Human activity recognition Human activity recognition
Human activity recognition
 
Gesture Recognition Technology-Seminar PPT
Gesture Recognition Technology-Seminar PPTGesture Recognition Technology-Seminar PPT
Gesture Recognition Technology-Seminar PPT
 
Gesture Recognition Technology
Gesture Recognition TechnologyGesture Recognition Technology
Gesture Recognition Technology
 
Blue eyes
Blue eyesBlue eyes
Blue eyes
 
Hand Gesture Recognition Using OpenCV Python
Hand Gesture Recognition Using OpenCV Python Hand Gesture Recognition Using OpenCV Python
Hand Gesture Recognition Using OpenCV Python
 
Hand gesture recognition
Hand gesture recognitionHand gesture recognition
Hand gesture recognition
 
GESTURE RECOGNITION TECHNOLOGY
GESTURE RECOGNITION TECHNOLOGYGESTURE RECOGNITION TECHNOLOGY
GESTURE RECOGNITION TECHNOLOGY
 
project presentation on mouse simulation using finger tip detection
project presentation on mouse simulation using finger tip detection project presentation on mouse simulation using finger tip detection
project presentation on mouse simulation using finger tip detection
 
Sixth Sense Technology
Sixth Sense TechnologySixth Sense Technology
Sixth Sense Technology
 
Hand Gesture Recognition Applications
Hand Gesture Recognition ApplicationsHand Gesture Recognition Applications
Hand Gesture Recognition Applications
 
Smart note-taker
Smart note-takerSmart note-taker
Smart note-taker
 
Hand gesture recognition
Hand gesture recognitionHand gesture recognition
Hand gesture recognition
 
Virtual Mouse
Virtual MouseVirtual Mouse
Virtual Mouse
 
Pneumonia detection using cnn
Pneumonia detection using cnnPneumonia detection using cnn
Pneumonia detection using cnn
 
Computer science seminar topics
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics
 
Mobile Sensors
Mobile SensorsMobile Sensors
Mobile Sensors
 
Human Computer Interaction
Human Computer InteractionHuman Computer Interaction
Human Computer Interaction
 
Gesture Recognition
Gesture RecognitionGesture Recognition
Gesture Recognition
 
Hand gesture recognition
Hand gesture recognitionHand gesture recognition
Hand gesture recognition
 
Sentiment analysis
Sentiment analysisSentiment analysis
Sentiment analysis
 

Similar to Human Activity Recognition in Android

BEHAVIOR-BASED SECURITY FOR MOBILE DEVICES USING MACHINE LEARNING TECHNIQUES
BEHAVIOR-BASED SECURITY FOR MOBILE DEVICES USING MACHINE LEARNING TECHNIQUESBEHAVIOR-BASED SECURITY FOR MOBILE DEVICES USING MACHINE LEARNING TECHNIQUES
BEHAVIOR-BASED SECURITY FOR MOBILE DEVICES USING MACHINE LEARNING TECHNIQUES
ijaia
 
DasGreenPerezMurphy_Paper
DasGreenPerezMurphy_PaperDasGreenPerezMurphy_Paper
DasGreenPerezMurphy_Paper
Michael Murphy
 
Draft activity recognition from accelerometer data
Draft activity recognition from accelerometer dataDraft activity recognition from accelerometer data
Draft activity recognition from accelerometer data
Raghu Palakodety
 
Human Activity Recognition Using Smartphone
Human Activity Recognition Using SmartphoneHuman Activity Recognition Using Smartphone
Human Activity Recognition Using Smartphone
IRJET Journal
 
smartwatch-user-identification
smartwatch-user-identificationsmartwatch-user-identification
smartwatch-user-identification
Sebastian W. Cheah
 
Making sense
Making senseMaking sense
Making sense
Jared Sheehan
 
GaitProjectProposal
GaitProjectProposalGaitProjectProposal
GaitProjectProposal
Vivek Kumar
 
Behaviometrics: Behavior Modeling from Heterogeneous Sensory Time-Series
Behaviometrics: Behavior Modeling from Heterogeneous Sensory Time-SeriesBehaviometrics: Behavior Modeling from Heterogeneous Sensory Time-Series
Behaviometrics: Behavior Modeling from Heterogeneous Sensory Time-Series
Jiang Zhu
 
[EUC2014] cODA: An Open-Source Framework to Easily Design Context-Aware Andro...
[EUC2014] cODA: An Open-Source Framework to Easily Design Context-Aware Andro...[EUC2014] cODA: An Open-Source Framework to Easily Design Context-Aware Andro...
[EUC2014] cODA: An Open-Source Framework to Easily Design Context-Aware Andro...
Matteo Ferroni
 
Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
 Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
VijiPriya Jeyamani
 
IRJET- Design an Approach for Prediction of Human Activity Recognition us...
IRJET-  	  Design an Approach for Prediction of Human Activity Recognition us...IRJET-  	  Design an Approach for Prediction of Human Activity Recognition us...
IRJET- Design an Approach for Prediction of Human Activity Recognition us...
IRJET Journal
 
Embedded Sensing and Computational Behaviour Science
Embedded Sensing and Computational Behaviour ScienceEmbedded Sensing and Computational Behaviour Science
Embedded Sensing and Computational Behaviour Science
Daniel Roggen
 
Analysis of Inertial Sensor Data Using Trajectory Recognition Algorithm
Analysis of Inertial Sensor Data Using Trajectory Recognition AlgorithmAnalysis of Inertial Sensor Data Using Trajectory Recognition Algorithm
Analysis of Inertial Sensor Data Using Trajectory Recognition Algorithm
ijcisjournal
 
IJET-V3I2P15
IJET-V3I2P15IJET-V3I2P15
Opportunities and Challenges of Using Smartphones for Health Monitoring and I...
Opportunities and Challenges of Using Smartphones for Health Monitoring and I...Opportunities and Challenges of Using Smartphones for Health Monitoring and I...
Opportunities and Challenges of Using Smartphones for Health Monitoring and I...
Neal Lathia
 
Real Time Vision Hand Gesture Recognition Based Media Control via LAN & Wirel...
Real Time Vision Hand Gesture Recognition Based Media Control via LAN & Wirel...Real Time Vision Hand Gesture Recognition Based Media Control via LAN & Wirel...
Real Time Vision Hand Gesture Recognition Based Media Control via LAN & Wirel...
IJMER
 
IRJET- Analysing Wound Area Measurement using Android App
IRJET- Analysing Wound Area Measurement using Android AppIRJET- Analysing Wound Area Measurement using Android App
IRJET- Analysing Wound Area Measurement using Android App
IRJET Journal
 
Sherlock: Monitoring sensor broadcasted data to optimize mobile environment
Sherlock: Monitoring sensor broadcasted data to optimize mobile environmentSherlock: Monitoring sensor broadcasted data to optimize mobile environment
Sherlock: Monitoring sensor broadcasted data to optimize mobile environment
ijsrd.com
 
Introduction
IntroductionIntroduction
Introduction
sarojbhavaraju5
 
Gait Recognition using MDA, LDA, BPNN and SVM
Gait Recognition using MDA, LDA, BPNN and SVMGait Recognition using MDA, LDA, BPNN and SVM
Gait Recognition using MDA, LDA, BPNN and SVM
IJEEE
 

Similar to Human Activity Recognition in Android (20)

BEHAVIOR-BASED SECURITY FOR MOBILE DEVICES USING MACHINE LEARNING TECHNIQUES
BEHAVIOR-BASED SECURITY FOR MOBILE DEVICES USING MACHINE LEARNING TECHNIQUESBEHAVIOR-BASED SECURITY FOR MOBILE DEVICES USING MACHINE LEARNING TECHNIQUES
BEHAVIOR-BASED SECURITY FOR MOBILE DEVICES USING MACHINE LEARNING TECHNIQUES
 
DasGreenPerezMurphy_Paper
DasGreenPerezMurphy_PaperDasGreenPerezMurphy_Paper
DasGreenPerezMurphy_Paper
 
Draft activity recognition from accelerometer data
Draft activity recognition from accelerometer dataDraft activity recognition from accelerometer data
Draft activity recognition from accelerometer data
 
Human Activity Recognition Using Smartphone
Human Activity Recognition Using SmartphoneHuman Activity Recognition Using Smartphone
Human Activity Recognition Using Smartphone
 
smartwatch-user-identification
smartwatch-user-identificationsmartwatch-user-identification
smartwatch-user-identification
 
Making sense
Making senseMaking sense
Making sense
 
GaitProjectProposal
GaitProjectProposalGaitProjectProposal
GaitProjectProposal
 
Behaviometrics: Behavior Modeling from Heterogeneous Sensory Time-Series
Behaviometrics: Behavior Modeling from Heterogeneous Sensory Time-SeriesBehaviometrics: Behavior Modeling from Heterogeneous Sensory Time-Series
Behaviometrics: Behavior Modeling from Heterogeneous Sensory Time-Series
 
[EUC2014] cODA: An Open-Source Framework to Easily Design Context-Aware Andro...
[EUC2014] cODA: An Open-Source Framework to Easily Design Context-Aware Andro...[EUC2014] cODA: An Open-Source Framework to Easily Design Context-Aware Andro...
[EUC2014] cODA: An Open-Source Framework to Easily Design Context-Aware Andro...
 
Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
 Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
 
IRJET- Design an Approach for Prediction of Human Activity Recognition us...
IRJET-  	  Design an Approach for Prediction of Human Activity Recognition us...IRJET-  	  Design an Approach for Prediction of Human Activity Recognition us...
IRJET- Design an Approach for Prediction of Human Activity Recognition us...
 
Embedded Sensing and Computational Behaviour Science
Embedded Sensing and Computational Behaviour ScienceEmbedded Sensing and Computational Behaviour Science
Embedded Sensing and Computational Behaviour Science
 
Analysis of Inertial Sensor Data Using Trajectory Recognition Algorithm
Analysis of Inertial Sensor Data Using Trajectory Recognition AlgorithmAnalysis of Inertial Sensor Data Using Trajectory Recognition Algorithm
Analysis of Inertial Sensor Data Using Trajectory Recognition Algorithm
 
IJET-V3I2P15
IJET-V3I2P15IJET-V3I2P15
IJET-V3I2P15
 
Opportunities and Challenges of Using Smartphones for Health Monitoring and I...
Opportunities and Challenges of Using Smartphones for Health Monitoring and I...Opportunities and Challenges of Using Smartphones for Health Monitoring and I...
Opportunities and Challenges of Using Smartphones for Health Monitoring and I...
 
Real Time Vision Hand Gesture Recognition Based Media Control via LAN & Wirel...
Real Time Vision Hand Gesture Recognition Based Media Control via LAN & Wirel...Real Time Vision Hand Gesture Recognition Based Media Control via LAN & Wirel...
Real Time Vision Hand Gesture Recognition Based Media Control via LAN & Wirel...
 
IRJET- Analysing Wound Area Measurement using Android App
IRJET- Analysing Wound Area Measurement using Android AppIRJET- Analysing Wound Area Measurement using Android App
IRJET- Analysing Wound Area Measurement using Android App
 
Sherlock: Monitoring sensor broadcasted data to optimize mobile environment
Sherlock: Monitoring sensor broadcasted data to optimize mobile environmentSherlock: Monitoring sensor broadcasted data to optimize mobile environment
Sherlock: Monitoring sensor broadcasted data to optimize mobile environment
 
Introduction
IntroductionIntroduction
Introduction
 
Gait Recognition using MDA, LDA, BPNN and SVM
Gait Recognition using MDA, LDA, BPNN and SVMGait Recognition using MDA, LDA, BPNN and SVM
Gait Recognition using MDA, LDA, BPNN and SVM
 

Recently uploaded

GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 

Recently uploaded (20)

GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 

Human Activity Recognition in Android

  • 2.
  • 3. The Android Framework The Android platform is an open platform for mobile devices consisting of an operating system, applications and middleware Android gives users the opportunity to build and publish their own applications by providing an open development environment. Android treats all applications (native and third-party) as equals. Therefore, having such an open development environment requires security measures to be taken in order to protect the integrity of the Android platform and the privacy of its users.
  • 4. • Android is an open source mobile operating system with Linux kernel. • The Android SDK is installed in to Eclipse. • Android treats both native and third party applications as the same. So we can build and develop our own applications easily here. • The android software development kit includes a set of development tool such as a debugger, libraries, handset emulator, documentation, sample code and tutorials. • Android SDK has a java frame work and a powerful API for the hardware embedded on smartphones. Why Android ?
  • 6. Various Android Sensors The Android has several sensors available: • Accelerometer • Orientation • Ambient Light • Proximity • Magnetic Force Use of these sensors does not require direct user permission!
  • 8. Activity Recognition Desired Outputs: - Physical Activities (e.g., Running, Walking) - Approximate time spans - Quick detection of change Accelerometer Usage
  • 9. Our Objective To explore the Accelerometer as a measure of context- aware based applications for physical activity recognition on the Android framework.
  • 10. Literature Survey List Of Paper Studied: • Paper 1 : Applications of Mobile Activity Recognition Authors : Jeffrey W. Lockhart, Tony Pulickal AND Gary M. Weis • Paper 2 : User, Device and Orientation Independent Human Activity Recognition on Mobile Phones: Challenges and a Proposal Authors : Yunus Emre Ustey, Ozlem Durmaz Incel AND Cem Ersoy • Paper 3 : Simple and Complex Activity Recognition Through SmartPhones Authors : Das, B., Krishnan, Narayanan C., Thomas, B.L. AND Cook, D.J • Paper 4 : Fall Detection by Built-In Tri-Accelerometer of Smartphone Authors : Yi He, Ye Li AND Shu-Oi Bao • Paper 5 : Feature Selection Based On Mutual Information For Human Activity Recognition Authors : Khan, A., Chehade, N.H., Chieh Chien AND Pottie. G
  • 11. • Paper 6 : Smartphone-based Monitoring System for Activities of Daily Living for Elderly People and Their Relatives Etc. Authors : Kazushige Ouchi AND Miwako Doi • Paper 7 : Environment Feature Extraction and Classification for Context Aware Physical Activity Monitoring Authors : Troped, P.J., Evans,J.J. AND Pour,G.M • Paper 8 : Fall Detection based on movement in Smartphone Technology Authors : Gueesang Lee AND Deokjai Cho • Paper 9 : Activity logging using lightweight classification techniques in mobile devices Authors : Henar Martı´n ,Ana M. Bernardos ,Josue´ Iglesias • Jose´ R.Casar • Paper 10 : Privacy control in smart phones using semantically rich reasoning and context modeling Authors : Dibyajyoti Ghosh, Joshi, A., Finin, T. AND Jagtap, P contd..
  • 12. • Paper 11 : Towards Successful Design of Context-Aware Application Frameworks to Develop Mobile Patient Monitoring Systems Using Wireless Sensors Authors : Al-Bashayreh, M.G. Hashim, N.L. AND Khorma, O.T • Paper 12 : ActivityMonitor: Assisted Life Using Mobile Phones Authors : Matti Lyra AND Hamed Ketabdar
  • 13. Comparison among the papers Paper Parameters Used Algorithm Used/Proposed Paper 1 Nil Neural networks and J48 decision trees Autocorrelation, K-nearest neighbors (KNN), Paper 2 Mean, Variance, Std. Dev, fast Fourier transform (FFT) coefficients Zero Crossing Rate, Period Mean, min, max, Std. Dev, Multi-layer Perceptron, Paper 3 Zero Crossing Rate, correlation Naïve Bayes, Bayesian network, Decision Table, Best-First Tree, and K-star Acceleration due to Signal Magnitude Vector, Signal Magnitude Paper 4 body movement; 2) Area (SMA), Tilt Angle (T A) gravitational acceleration, median filter Standard deviation, Mean, Tree-based, feature selection algorithm based Paper 5 Absolute mean, Energy ratio, on mutual information, binary Ratio of DC to sidelobe, First decision-tree with a naıve Bayes classifier sidelobe location, Max value, Short time energy, Correlation Paper 6 Average, minimum, maximum Stochastic model, Neural Networks, SVM every and variance, MFCC (Mel- 1 sec. Frequency Cepstral Coefficient), RMS (Root Mean Square) and ZCR (Zero-Crossing Rate)
  • 14. Paper 7 Mean and sigma K-nearest neighbor of the Gaussian function Paper 8 Lower NIL Threshold (LT) and Upper Threshold (UT). Paper 9 Mean, Variance, Zero crossing Naıve Bayes, rate ,75 percentile Decision Table and Decision Tree Paper 10 NIL NIL Paper 11 NIL NIL Paper 12 Average magnitude value, Multi-Layer Perceptron (MLP) average rate of change, weighted sum
  • 15. Current Problems • First and Foremost is the use of Body Worn sensors. Today, In most of the apps we have found that external sensors are used to detect the physical movements of a person. Practically it is not possible to carry an external device with you Sometimes people forget to wear the device. • In most of the apps Positioning of the device is the concerned for the success of application i.e. Most of the apps build are position specific of device. If the device is kept in hands then values will be different from the values generated when the device is kept in pocket. • Use of multiple Sensors to achieve the same goal which makes the application bulky leading to slower processing of the data and also affects its cost.
  • 16. Restating the Problem We primarily focused on the Activity Recognition project Inputs: -X acceleration -Y acceleration -Z acceleration Desired Outputs: - Physical Activities (e.g., Running, Walking) - Approximate time spans - Quick detection of change
  • 18. Data Collection Process The first step to the project was to collect raw accelerometer data and transform it into features that WEKA, the machine-learning tool that we implemented, used to train a classifier. To accomplish this, we first took in sensor samples made up of acceleration readings in the x, y, and z directions and computed their magnitudes. Labeled all the data manually in terms of running, walking, standing, sitting. To make the data more accurate data of more than 20 minutes have been taken. Data gathering was done by performing experiments on four subjects. Each of the four subjects were asked to collect the data activity one by one by placing smartphone at the positions mentioned above. Each subject performed the set of 6 activities one by one for the duration of two minutes and the respective data was recorded in a .csv file in the external storage of the smartphone. Contd...
  • 20. Feature Extraction Feature Extraction is the process of extracting key “features” from a signal. Features will be extracted from every sample window of 512 samples. The following features we Will be using in our project: 1. The Fundamental Frequencies: The average of the three dominant frequencies of the signal over the sample window. This was found via a Discrete Fourier Transformation. 2. Average Acceleration: The arithmetic mean of the acceleration magnitudes over the sample window. 3. Max Amplitude: The maximum acceleration value of the signal in the sample window. 4. Min Amplitude: The minimum acceleration value of the signal in the sample window.
  • 21. Classification is the process of labeling unknown patterns based on the knowledge of known patterns of data. Four different classifiers were used: K-Nearest Neighbor: Based on the shortest euclidean distance between the unknown and known data’s feature vector Naïve Bayes: Assumes the absence of one feature does not disqualify a candidate (e.g., an object which is red and round is an apple, even if is not known to be a fruit) J48(Decision Tree): J48 builds decision trees from a set of labeled training data using the concept of information entropy. It uses the fact that each attribute of the data can be used to make a decision by splitting the data into smaller subsets. Random Forest: An ensemble classifier using many decision tree models. It can be used for classification or regression. Classification
  • 23. The application will be divided in several modules which will be implemented time to time. Module-1 Activity Recognition Physical Activites like cycling, running,walking, standing etc performed by the user will be recognized in this module. User will click on the app icon or start button in the app which make him able to run sensors and thus his motion wil be detected. Module-2 Location Based Activity Recognition In addition with Activity Recognition GPS sensor will be used to find the location of user also what activity he is performing at that location. This will help in Fall Detection Module discussed later. Overall Description Contd…
  • 24. Module-3 Fall Recognition In addition with physical Movement Recognition, Fall Recognition will be there.. Whenever Fall detection will have positive result then alarm will be raised instatntly and then app will monitor physical activities and if motion is not detected it will send an emergency message to the guardian informing about this accident. Module-4 Physical Activity Chart The User will be able to see his/her daily physical activity chart i.e. how much he has done workouts today and what type of physical activity he/she performed during the day. Module-5 Calorie Burnt The user will have the ability to see the calories burnt by him within a day and how much calories he/she should be burnt to be physically fit. Contd…
  • 25. Module-6 Medical Reminder The user can set the medical reminder if he wants. For this he/she have to feed the prescription in the phone with the timings and the made reminder active. Module-7 Distance Travelled The user have the ability to see the distance he travelled by running or by cycling or by walking
  • 29.
  • 30. Risk and Mitigation Risk Description Risk Area Prob Impa RE (P* Risk Mitigati Id of Risk ( Identify abilit c I) Select on Plan Risk y t (I) ed if 8 is ‘Y’ Areas for (P) for your Mitiga project) ti on (Y/N) Position of mobile Sensor 1. i.e. Whether the readings High High High Taking data by phone is taken in variation Y considering all the hand or kept in possible locations. chest pocket or in pant’s pocket 2. Battery drainage Hardware High Medi Medium N NIL um 3. Sending each sms Security Medi Low Medium N NIL to a hidden 3rd um Party address Device 4. Computational limitations Hardware Medi Low Medium Y On cloud storage service. um
  • 31. Sources International Journal of Distributed Sensor Networks provided by Hindawi.com IEEE Sensors Journal provided by http://www.ieee- sensors.org/journals. IJCA Proceedings on International Conference on Recent Trends in Information Technology and Computer Science 2012 Acoustics, Speech and Signal Processing (ICASSP), 2012 IEEE International Conference Sensors Applications Symposium (SAS), 2013 IEEE 2012 IEEE RIVF International Conference IEEE Symposium on Security and Privacy Workshops@2012 ACM Transactions on Knowledge Discovery from Data (TKDD) ACM Journal of Data and Information Quality