We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Enabling gesture recognition on a resource-constrained device: a TinyML approach with envelope EMG data and real-time testing
PeriodicalsMathematics

Enabling gesture recognition on a resource-constrained device: a TinyML approach with envelope EMG data and real-time testing

Checking your access to this record.

Abstract & Overview

Gesture recognition from electromyography (EMG) is used to control prostheses and rehabilitation devices, but real-time classifiers must balance accuracy, latency, cost and computational load. This paper presents a tiny machine learning (TinyML) pipeline that classifies hand and arm gestures from envelope EMG on a low-cost microcontroller. Four-channel envelope EMG was recorded with a six-lead myoelectric module and an Arduino UNO from 10 healthy participants, who performed six gestures for 4 s each in two sessions. A joint accuracy-complexity search selected the window length, overlap and four time-domain features used to train an artificial neural network (ANN). On a 60/20/20 window-level training/validation/test split, the test accuracy was 98.35%. Five-fold cross-validation (97.37 ± 1.05%) indicated stable performance across data partitions, and leave-one-subject-out (LOSO) evaluation, the only subject-independent test, gave 97.22 ± 1.33%. Compared with a support vector machine (SVM), k-nearest neighbours (KNN), a decision tree and a random forest, the ANN had the lowest golden distance (GD = 0.0325). Deployed on a Raspberry Pi Pico in TensorFlow Lite format, the model uses 9.1% of flash memory and an estimated 10.6% of static random-access memory (SRAM), with a 23 ms inference time, a 254 ms total on-device cycle and a 12.9% active processing duty cycle. In a representative real-time test, with a PC relaying the EMG data to the Pico, per-gesture accuracy over 500 consecutive predictions was 95.8–99.6%. These results show that real-time envelope-EMG gesture recognition is feasible on a resource-constrained microcontroller; with validation on larger and more diverse populations, the approach may inform human-machine interfaces for prosthetics, rehabilitation and assistive devices.

Cite this record

Mohsin Ali Shah, Masood Ahmad Arbab, S. Khan, Ansar Ullah (2026). Enabling gesture recognition on a resource-constrained device: a TinyML approach with envelope EMG data and real-time testing. Journal of Edge Computing, 5(2), 268–289. https://doi.org/10.55056/jec.1092

Copy in another style

Shah, M. A., Arbab, M. A., Khan, S., & Ullah, A. (2026). Enabling gesture recognition on a resource-constrained device: a TinyML approach with envelope EMG data and real-time testing. Journal of Edge Computing, 5(2), 268–289. https://doi.org/10.55056/jec.1092
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.