Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2009 Aug 26;4(8):e6791.
doi: 10.1371/journal.pone.0006791.

Recognition of handwriting from electromyography

Affiliations

Recognition of handwriting from electromyography

Michael Linderman et al. PLoS One. .

Abstract

Handwriting--one of the most important developments in human culture--is also a methodological tool in several scientific disciplines, most importantly handwriting recognition methods, graphology and medical diagnostics. Previous studies have relied largely on the analyses of handwritten traces or kinematic analysis of handwriting; whereas electromyographic (EMG) signals associated with handwriting have received little attention. Here we show for the first time, a method in which EMG signals generated by hand and forearm muscles during handwriting activity are reliably translated into both algorithm-generated handwriting traces and font characters using decoding algorithms. Our results demonstrate the feasibility of recreating handwriting solely from EMG signals - the finding that can be utilized in computer peripherals and myoelectric prosthetic devices. Moreover, this approach may provide a rapid and sensitive method for diagnosing a variety of neurogenerative diseases before other symptoms become clear.

PubMed Disclaimer

Conflict of interest statement

Competing Interests: Michael Linderman is paid employee and the owner of Norconnect Inc. Michael Linderman is going to develop products from this and future research. He is the author of two pending patents with US Patent Office. Recordation of handwriting and hand movement using electromyography 11640954. Handwriting EMG for Medical Diagnosis 61108603. Michael Linderman has 42% stock ownership in Norconnect Inc. He is also the board chairman at Norconnect Inc. This research was supported by the research grant #0711799 to Norconnect from National Science Foundation. Norconnect also won the second award from National Science Foundation to continue this research.

Figures

Figure 1
Figure 1. Data acquisition.
A: A photograph of a recording session. B: Electrode placement over the hand (top) and forearm muscles (bottom).
Figure 2
Figure 2. Reconstruction of handwriting traces using the Wiener filter.
A: Schematics of the Wiener filter. EMG signals (rectified EMGs) from multiple models were fed into two independent Wiener filters which reconstructed X and Y coordinates of the pen, respectively. Each filter represented reconstructed coordinate as a weighted sum of EMGs. B: Examples of reconstructed traces from one recording session. Actual traces are shown in blue; reconstructed traces are shown in red. The first two columns show X(t) and Y(t), respectively. The third column shows X-Y plots.
Figure 3
Figure 3. Transformation of EMG records into font characters.
A: Schematics of the algorithm. Compound EMG (the sum of all rectified EMGs) was first used to detect the periods during which handwriting occurred. Compound EMG was first segmented into epochs corresponding to individual characters using a threshold that detected EMG bursts. Then, a generic compound EMG template was calculated by averaging these epochs. Template matching was used to refine the EMG segments, which were then classified using linear discriminant analysis. B: Example of discrimination for a representative recording session. From top to bottom: Eight EMGs were used for character recognition. 3.5-s segments corresponding to individual characters are highlighted as blue bars which are aligned on peak correlation coefficient, R, for template matching. Posterior probabilities for character recognition which were computed by discriminant analysis are shown as color plots. Recognized font character which corresponds to the highest probability is shown near each plot. Original handwriting is shown at the bottom.
Figure 4
Figure 4. Performance of reconstruction and recognition algorithms as the function of the number of recorded EMGs and the amount of training data.
The analyses were conducted were all muscles and hand and forearm muscles only (see key on top). A: Reconstruction accuracy of the X-coordinate of the pen as the function of number of muscles recorded. Muscles were taken in different combinations, and R2 was averaged across these combinations and across subjects. B: Recognition accuracy of the Y-coordinate. C: Recognition accuracy as the function of the number of recorded muscles. D: Improvement in recognition accuracy as the function of training set size.

References

    1. Birbaumer N, Murguialday AR, Cohen L. Brain-computer interface in paralysis. Curr Opin Neurol. 2008;21:634–638. - PubMed
    1. Lebedev MA, Nicolelis MA. Brain-machine interfaces: past, present and future. Trends Neurosci. 2006;29:536–546. - PubMed
    1. Wolpaw JR, McFarland DJ. Control of a two-dimensional movement signal by a noninvasive brain-computer interface in humans. PNAS. 2004;101:17849–17854. - PMC - PubMed
    1. Ohnishi K, Weir RF, Kuiken TA. Neural machine interfaces for controlling multifunctional powered upper-limb prostheses. Expert Rev Med Devices. 2007;4:43–53. - PubMed
    1. Parker P, Englehart K, Hudgins B. Myoelectric signal processing for control of powered limb prostheses. J Electromyogr Kinesiol. 2006;16:541–548. - PubMed

Publication types