SlideShare a Scribd company logo
Made by:
Surbhi Jain
Aishwarya Jain
Human Activity Recognition in Android
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
Human Activity Recognition in Android
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

PDF
Human Activity Recognition
PPTX
Human activity recognition
PDF
camera-based Lane detection by deep learning
POTX
Rover Technology
PDF
Emotion based music player
PDF
Human Activity Recognition using Smartphone's sensor
PDF
Architecture of TPU, GPU and CPU
PDF
final report.pdf
Human Activity Recognition
Human activity recognition
camera-based Lane detection by deep learning
Rover Technology
Emotion based music player
Human Activity Recognition using Smartphone's sensor
Architecture of TPU, GPU and CPU
final report.pdf

What's hot (20)

PPTX
Digital Image Processing
PPTX
Convolutional Neural Network for Alzheimer’s disease diagnosis with Neuroim...
PDF
Convolutional Neural Network Models - Deep Learning
DOCX
deep learning applications in medical image analysis brain tumor
DOCX
human activity recognization using machine learning with data analysis
PPTX
Deep Learning With Neural Networks
PPTX
Animatronics Presentation
PDF
Convolutional Neural Networks (CNN)
PDF
Machine Learning - Object Detection and Classification
PPTX
Image classification using cnn
PPTX
HAND GESTURE RECOGNITION.ppt (1).pptx
PPTX
Brain tumor detection using image segmentation ppt
PDF
Neural networks and deep learning
PDF
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
PPTX
Machine Learning and Real-World Applications
PPT
Blue eye technology ppt
PDF
Deep VO and SLAM
PPTX
human activity recognition using smartphones.pptx
PDF
Deep learning
PDF
digital image processing, image processing
Digital Image Processing
Convolutional Neural Network for Alzheimer’s disease diagnosis with Neuroim...
Convolutional Neural Network Models - Deep Learning
deep learning applications in medical image analysis brain tumor
human activity recognization using machine learning with data analysis
Deep Learning With Neural Networks
Animatronics Presentation
Convolutional Neural Networks (CNN)
Machine Learning - Object Detection and Classification
Image classification using cnn
HAND GESTURE RECOGNITION.ppt (1).pptx
Brain tumor detection using image segmentation ppt
Neural networks and deep learning
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
Machine Learning and Real-World Applications
Blue eye technology ppt
Deep VO and SLAM
human activity recognition using smartphones.pptx
Deep learning
digital image processing, image processing
Ad

Similar to Human Activity Recognition in Android (20)

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

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
A Presentation on Artificial Intelligence
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation_ Review paper, used for researhc scholars
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
MYSQL Presentation for SQL database connectivity
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Big Data Technologies - Introduction.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
A Presentation on Artificial Intelligence
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
“AI and Expert System Decision Support & Business Intelligence Systems”
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

Human Activity Recognition in Android

  • 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
  • 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