Beta
316924

Light Weight Human Activity Recognition using Raspberry PI IoT Edge and Reduced Features from Smartphones

Article

Last updated: 04 Jan 2025

Subjects

-

Tags

-

Abstract

Abstract— Different applications used cloud computing, machine learning, and the Internet of Things (IoT). Transferring data from the local network to the cloud for processing causes huge traffic and delay. IoT services, like Human Activity Recognition (HAR), use IoT edge options to be near the place of telemetry data generation that decreases traffic and speeds up the results. This study used three smartphones with built-in accelerometers; three parameters from each accelerometer to predict human activities. While building the models at the Raspberry PI edge, the most important features were determined using Principal Component Analysis (PCA). Light GBM, Extra Trees, and Random Forest algorithms were employed to evaluate the best models. Significant performance improvements in training and real-time results were achieved using the top related features at the IoT edge. The Light GBM recognized four different activities with 99.6% accuracy when all nine features were used, and with more than 98% accuracy when less than half of the features were used. To process one prediction, Raspberry PI 3 took 6.1 milliseconds, Raspberry PI 4 took less than 3 milliseconds if all features are used, while Microsoft Azure cloud took 5.8 seconds, including prediction time and network latency.

DOI

10.21608/ijci.2023.235233.1121

Keywords

IoT Edge, Raspberry Pi, Human activity recognition, Feature Selection, Machine Learning

Authors

First Name

Ayman

Last Name

Wazwaz

MiddleName

-

Affiliation

Computer Engineering Department, College of Information Technology and Computer Engineering, Palestine Polytechnic University, Hebron, Palestine

Email

aymanw@ppu.edu

City

Hebron

Orcid

0000-0003-2405-2289

First Name

Khalid

Last Name

Amin

MiddleName

-

Affiliation

Information Technology dept., Faculty of Computers and Information, Menoufia University, Shebin El Kom, Egypt

Email

k.amin@ci.menofia.edu.eg

City

-

Orcid

0000-0002-9594-8827

First Name

Noura

Last Name

Semary

MiddleName

-

Affiliation

Department of Information Technology, Faculty of Computers and Information Menoufia University, Shebin El Kom, Egypt

Email

noura.samri@ci.menofia.edu.eg

City

-

Orcid

0000-0003-4244-9546

First Name

Tamer

Last Name

Ghanem

MiddleName

-

Affiliation

Department of Information Technology, Faculty of Computers and Information, Menofia University, Shebin El Kom, Egypt

Email

tamer.ghanem@ci.menofia.edu.eg

City

-

Orcid

-

Volume

10

Article Issue

3

Related Issue

43466

Issue Date

2023-11-01

Receive Date

2023-09-10

Publish Date

2023-11-01

Page Start

1

Page End

8

Print ISSN

1687-7853

Online ISSN

2735-3257

Link

https://ijci.journals.ekb.eg/article_316924.html

Detail API

https://ijci.journals.ekb.eg/service?article_code=316924

Order

2

Type

Original Article

Type Code

877

Publication Type

Journal

Publication Title

IJCI. International Journal of Computers and Information

Publication Link

https://ijci.journals.ekb.eg/

MainTitle

Light Weight Human Activity Recognition using Raspberry PI IoT Edge and Reduced Features from Smartphones

Details

Type

Article

Created At

24 Dec 2024