Skip to content
Open access

Real-Time Human Activity Recognition Using Multisensor Wearable Device and Deep Learning

2026 · IEEE Access · Vol 14, pp. 170616-170628 · 0 citations · 46 references

Abstract

Human activity recognition (HAR) using wearable motion sensors has become an important technology for healthcare applications, particularly for continuous patient monitoring and indoor assisted-living environments. However, achieving both high classification accuracy and real-time inference on resource-constrained edge devices remains challenging, as HAR models must capture complex motion patterns while maintaining low latency and computational efficiency. This study proposes a real-time HAR system based on multisensor fusion and optimized deep learning using accelerometer, gyroscope, and magnetometer data from wearable devices. Three deep learning architectures, namely multilayer perceptron (MLP), convolutional neural network (CNN), and long short-term memory (LSTM), were developed and optimized through automated hyperparameter tuning. The models were evaluated using data collected from 16 subjects performing 12 human activities. Experimental results show that the optimized LSTM achieved the best performance, with an accuracy of 98.20% and an F1-score of 98.20%, outperforming the MLP and CNN models, which achieved accuracies of 94.54% and 92.91% and F1-scores of 94.85% and 92.91%, respectively. To enable real-time edge deployment, dynamic quantization was applied to the best-performing LSTM model, reducing the model size from 3,114.45 kB to 844.65 kB, or approximately $3.69\times $ smaller, while maintaining high classification performance on a Raspberry Pi 4B edge device, with an accuracy and F1-score of 98.20%, and an inference time of 0.945 ms. The isolated inference time of the dynamically quantized model was 0.742 ms on the Raspberry Pi 4B, while inference within the deployed classification pipeline required 0.945 ms. The measured classification execution time, including preprocessing, inference, and transmission of the prediction to the user interface, was 9.142 ms, excluding sensor-data acquisition and ESP32-to-Raspberry Pi communication. These results demonstrate the feasibility of accurate, low-latency HAR using multisensor wearable data and optimized deep learning on edge devices.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.