Table of Contents Author Guidelines Submit a Manuscript
Mobile Information Systems
Volume 2016, Article ID 5126816, 17 pages
Research Article

A Mobile Application for Easy Design and Testing of Algorithms to Monitor Physical Activity in the Workplace

1Dipartimento di Ingegneria dell’Informazione, Universita’ Politecnica delle Marche, 60131 Ancona, Italy
2School of Information Technology, Halmstad University, Kristian IV:s väg 3, 301 18 Halmstad, Sweden
3Department of Computer Science, University of Jaen, Campus Las Lagunillas, s/n, A3-118, 23071 Jaen, Spain
4Computer Science Research Institute, University of Ulster, Newtownabbey, Ulster BT37 0QB, UK

Received 25 March 2016; Revised 19 June 2016; Accepted 10 July 2016

Academic Editor: Ivan Ganchev

Copyright © 2016 Susanna Spinsante et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


This paper addresses approaches to Human Activity Recognition (HAR) with the aim of monitoring the physical activity of people in the workplace, by means of a smartphone application exploiting the available on-board accelerometer sensor. In fact, HAR via a smartphone or wearable sensor can provide important information regarding the level of daily physical activity, especially in situations where a sedentary behavior usually occurs, like in modern workplace environments. Increased sitting time is significantly associated with severe health diseases, and the workplace is an appropriate intervention setting, due to the sedentary behavior typical of modern jobs. Within this paper, the state-of-the-art components of HAR are analyzed, in order to identify and select the most effective signal filtering and windowing solutions for physical activity monitoring. The classifier development process is based upon three phases; a feature extraction phase, a feature selection phase, and a training phase. In the training phase, a publicly available dataset is used to test among different classifier types and learning methods. A user-friendly Android-based smartphone application with low computational requirements has been developed to run field tests, which allows to easily change the classifier under test, and to collect new datasets ready for use with machine learning APIs. The newly created datasets may include additional information, like the smartphone position, its orientation, and the user’s physical characteristics. Using the mobile tool, a classifier based on a decision tree is finally set up and enriched with the introduction of some robustness improvements. The developed approach is capable of classifying six activities, and to distinguish between not active (sitting) and active states, with an accuracy near to 99%. The mobile tool, which is going to be further extended and enriched, will allow for rapid and easy benchmarking of new algorithms based on previously generated data, and on future collected datasets.