SurfMyoAiR: A Surface Electromyography-Based Framework for Airwriting Recognition

Ayush Tripathi, A. P. Prathosh, Suriya Prakash Muthukrishnan, Lalan KumarIEEE Trans. Instrumentation & Measurement 2022

Traditional human-computer interaction (HCI) methods like keyboards and mice often act as a bottleneck between human intent and machine execution. While speech recognition offers a hands-free alternative, it is limited by environmental noise, privacy concerns, and accessibility for those with speech disorders. Airwriting—the act of writing characters in free space—emerges as a natural, dynamic gesture-based solution. Unlike static sign language, airwriting leverages existing literacy skills. To advance this field, researchers have introduced SurfMyoAiR, a framework utilizing surface Electromyography (sEMG) to translate forearm muscle activity into text.

A participant performing the airwriting task for the letter 'B'.

The SurfMyoAiR Dataset

A significant contribution of this work is the SurfMyoAiR dataset, the first large-scale sEMG-based airwriting repository. It comprises 13,000 samples from 50 healthy participants (40 male, 10 female). Each subject performed 10 repetitions of the English uppercase alphabet (A-Z) on an imaginary vertical plane. Signals were captured at 2000 Hz using high-fidelity wireless sensors while users wrote on an imaginary "whiteboard" in the air.

Methodology

The recognition pipeline transforms raw muscle signals into classified text through several stages:

  1. Data Acquisition: Five wireless sEMG sensors are strategically placed on the forearm to capture activity from key muscles, including the Brachioradialis, Extensor Digitorum, and Flexor Digitorum.
Detailed placement of sEMG sensors on the forearm muscles.
  1. Preprocessing: To account for varying writing speeds, signals are normalized to a fixed temporal length using linear interpolation.
  2. Feature Engineering: The team explored both time-domain features (like Mean Absolute Value) and time-frequency representations (Short-Time Fourier Transform and Continuous Wavelet Transform).
  3. Deep Learning Architectures: Various models were tested, including 1DCNNs, LSTMs, and 2DCNNs. The integration of attention mechanisms proved crucial for focusing the models on the most informative segments of a writing stroke.

Key Findings and Results

The research highlights that treating sEMG signals as 2D time-frequency "images" significantly outperforms traditional 1D temporal models. This suggests that the simultaneous shift in frequency and time contains vital signatures of specific letter strokes. The Short-Time Fourier Transform (STFT) combined with a 2DCNN achieved a peak accuracy of 78.50% in user-dependent (personalized) scenarios.

In user-independent tests, where the model encounters a new user's writing style for the first time, accuracy reached 62.19%—a substantial baseline for a 26-class classification task where chance is only 3.84%. Analysis revealed that the system primarily struggles with letters sharing similar initial strokes, such as 'D' and 'P', which both involve a vertical downward stroke followed by a curve. Additionally, a window size of 125ms was identified as the optimal balance for capturing subtle muscle twitches without excessive noise.

Conclusion and Future Directions

SurfMyoAiR demonstrates the viability of sEMG for private, naturalistic HCI. While the performance gap in user-independent scenarios remains a challenge due to idiosyncratic writing styles, future work will focus on more advanced architectures like Transformers. Additionally, the researchers aim to transition from isolated letter recognition to continuous word recognition, paving the way for real-time, wearable airwriting systems.

Summary updated

BibTeX
@article{tripathi2022surfmyoair,
  author = {Ayush Tripathi and A. P. Prathosh and Suriya Prakash Muthukrishnan and Lalan Kumar},
  title = {{SurfMyoAiR: A Surface Electromyography-Based Framework for Airwriting Recognition}},
  journal = {IEEE Trans. Instrumentation \& Measurement},
  year = {2022},
}
Figure