Outils pour utilisateurs

Outils du site


projets:plim:20142015:gr9

Ceci est une ancienne révision du document !


User Activity Recognition Using Cell Phone Accelerometer and GPS Sensors

Name of the members of the Group

  • Palma, Adam [IFI/IAM], palma.adam@etu.unice.fr
  • Rocher, Gerald [IFI/IAM], rocher.gerald@gmx.fr

Equipments

  • Cell phone reference: HTC WP8S
  • Personal cell phone : No
  • Cell phone IMEI : 358721050415354

Content of the Project

The aim of this project is to evaluate an approach to accurately recognize a range of user’s activities and report the duration of each activity. For that purpose, tri-axial accelerometer and GPS sensors, made available in all modern smart phones, are used for the classification of four activities: resting, walking, running and driving a car. Time domain features are extracted from the GPS (User’s average speed) and tri-axis accelerometer (means, standard deviations) sensors. Accelerometer raw data is cleaned-up using the Butterworth low pass filter and a Fast Fourier Transform (FFT) is then applied to extract frequency domain features on each axis. Finally, the unsupervised k-means clustering algorithm is implemented for activities recognition and classification from time and frequency domains features. Clusters centroids are made persistent to keep activity learning and constantly improve the activity recognition accuracy.

SOFTWARE PACKAGES of the Project

  • README File

an README file to explain all you install from Visual Studio 2013 SP2 with the SDK WP8.0 or later, to deploy and execute your project on the Windows Phone

  • Project zip file

add the zip file of the Project

The application requires some external libraries to work:

All needed external libraries are already embedded in the project zip file.

  • MathNet.Numeric

Mean and standard deviation features are computed from the accelerometer sensor raw data for each axis. To enable mean and standard deviation computation one need to install MathNet.Numeric package. If needed, to install it, just open the Solution Explorer then right click on “References” and select “Manage NuGet packages”. In the search field, enter “MathNet” and found packages will automatically pop-up. Select Math.NET Numerics and click Install.

  • Data visualization components of the Microsoft Silverlight Toolkit

Some data are displayed thru real time graphs and charts. This feature requires to install Silverlight Toolkit - Data Visualization (Charting) package. To install this package you have to run the following command in the Visual Studio 2013 Package Manager Console. More information on how to install packages from the Package Manager Console can be found at the following link : http://docs.nuget.org/docs/start-here/using-the-package-manager-console

PM> Install-Package SilverlightToolkit-DataViz

This will install:

  1. System.Windows.Controls.DataVisualization.Toolkit
  2. System.Windows.Controls

HOW TO USE IT

Once started, you will get the following user interface:

You have nothing to do. Just rest, walk, run or drive a car to get sensors data gathered. At the end of the day, you can open-up the statistics window to get a status about your daily activities:

RESULTS

Results are given real time to the user indicating his current activity. More interesting, results are also aggregated in the form of a histogram representing the amount of vectors assigned to each activities. Doing so we are able to provide, on a daily, weekly or monthly basis, the summary of the user activity. For that purpose a naïve algorithm can be used to compute user activity as a ratio of each activity value over the total amount of vectors composing the histogram.

PUBLICATION

A preliminary publication of this study can be found here after. This publication would still need to be updated with real sensors results gathered from the cell phone. Publication

projets/plim/20142015/gr9.1416750019.txt.gz · Dernière modification : 2014/11/23 13:40 de palma