IEEE Access (Jan 2024)
A Novel Framework for Daily Life Activity and Context Recognition In-The-Wild Using Smartphone Inertial Sensors
Abstract
Human Activity Recognition (HAR) systems are pivotal for numerous applications in pervasive computing. The rapid proliferation of smart devices, including smartphones has indeed transformed the way people live and interact with technology. Smartphones, in particular, have become indispensable for many individuals, with a large percentage of the global population owning and relying on them. Modern smartphones, equipped with various sensors have opened up new possibilities for HAR. This study introduces a novel framework for context-aware human activity recognition in real-world, unconstrained environments, leveraging smartphone inertial sensors (accelerometer and gyroscope). The proposed Human Activity and Associated Context Recognition (HAACR) framework includes data pre-processing, feature extraction and selection, and classification phases. Utilizing the publicly available Extrasensory dataset, the study examines 06 primary activities and 23 associated contexts. Data from 55 participants, filtered for completeness of both accelerometer and gyroscope readings, were used. Feature extraction was performed using multiple sliding window sizes. The extracted set of features was subjected to feature selection and later on classification using three different classifiers i.e., random forest, decision tree, and k-nearest neighbors classifiers. The proposed framework achieved the highest classification accuracy of 98.97%. This accuracy significantly surpasses previous state-of-the-art methods available in the literature, demonstrating the effectiveness of integrating data from multiple sensors for enhanced activity and context recognition in natural settings. The findings highlight the importance of window size and feature selection in improving recognition performance, offering valuable insights for future HAR research and applications.
Keywords