journal article·2022-07-02Open access

Handwriting Recognition Based on 3D Accelerometer Data by Deep Learning

Pedro Lopez-Rodriguez, Juan Gabriel Avina-Cervantes, Jose Luis Contreras-Hernandez, Rodrigo Correa, Jose Ruiz-Pinales

Applied Sciences· Volume 12· Issue 13

Abstract

Online handwriting recognition has been the subject of research for many years. Despite that, a limited number of practical applications are currently available. The widespread use of devices such as smartphones, smartwatches, and tablets has not been enough to convince the user to use pen-based interfaces. This implies that more research on the pen interface and recognition methods is still necessary. This paper proposes a handwritten character recognition system based on 3D accelerometer signal processing using Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM). First, a user wearing an MYO armband on the forearm writes a multi-stroke freestyle character on a touchpad by using the finger or a pen. Next, the 3D accelerometer signals generated during the writing process are fed into a CNN, LSTM, or CNN-LSTM network for recognition. The convolutional backbone obtains spatial features in order to feed an LSTM that extracts short-term temporal information. The system was evaluated on a proprietary dataset of 3D accelerometer data collected from multiple users with an armband device, corresponding to handwritten English lowercase letters (a–z) and digits (0–9) in a freestyle. The results show that the proposed system overcomes other systems from the state of the art by 0.53%.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Hand Gesture Recognition Systems · Handwritten Text Recognition Techniques · Tactile and Sensory Interactions

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Digital Signal Processing and Telematics, Engineering Division of the Campus Irapuato-Salamanca (DICIS), Universidad de Guanajuato, Carr. Salamanca-Valle de Santiago Km 3.5 + 1.8, Palo Blanco, Salamanca 36885, Mexico

Automotive Engineering Department, Universidad Politécnica de Guanajuato, Av. Universidad Sur 101, Cortazar 38496, Mexico

Escuela de Ingenierías Eléctrica, Electrónica y de Telecomunicaciones, Universidad Industrial de Santander, Cra 27 Calle 9, Bucaramanga 680002, Colombia

Funding

the Mexican National Council of Science and Technology CONACyT · the University of Guanajuato

References (40)

Show source-provided references
1. Kim, J., and Sin, B.K. (2014). Online handwriting recognition. Handbook of Document Image Processing and Recognition, Springer.10.1007/978-0-85729-859-1_29 ↗
2. Zhang, Q., Wang, D., Zhao, R., and Yu, Y. (2019, January 17–20). MyoSign. Proceedings of the 24th International Conference on Intelligent User Interfaces—IUI ’19, Marina del Ray, CA, USA.10.1145/3301275.3302296 ↗
3. Real-time human activity recognition from accelerometer data using Convolutional Neural Networks10.1016/j.asoc.2017.09.027 ↗
4. Efficient dynamic time warping for 3D handwriting recognition using gyroscope equipped smartphones10.1016/j.eswa.2014.03.011 ↗
5. Classifier Personalization for Activity Recognition using Wrist Accelerometers10.1109/JBHI.2018.2869779 ↗
6. Classification of Recurrence Plots’ Distance Matrices with a Convolutional Neural Network for Activity Recognition10.1016/j.procs.2018.04.025 ↗
7. Dash, A., Sahu, A., Shringi, R., Gamboa, J., Afzal, M.Z., Malik, M.I., Dengel, A., and Ahmed, S. (2017, January 9–15). AirScript—Creating Documents in Air. Proceedings of the 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), Kyoto, Japan.10.1109/ICDAR.2017.153 ↗
8. A Lightning fast approach to classify Bangla Handwritten Characters and Numerals using newly structured Deep Neural Network10.1016/j.procs.2018.05.151 ↗
9. Abdulhussain, S.H., Mahmmod, B.M., Naser, M.A., Alsabah, M.Q., Ali, R., and Al-Haddad, S.A.R. (2021). A Robust Handwritten Numeral Recognition Using Hybrid Orthogonal Polynomials and Moments. Sensors, 21.10.3390/s21061999 ↗
10. Rani, L., Sahoo, A.K., Sarangi, P.K., Yadav, C.S., and Rath, B.P. (2022, January 23–25). Feature Extraction and Dimensionality Reduction Models for Printed Numerals Recognition. Proceedings of the 2022 9th International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India.10.23919/INDIACom54597.2022.9763290 ↗
11. EEGNet: A compact convolutional neural network for EEG-based brain–computer interfaces10.1088/1741-2552/aace8c ↗
12. Bera, R., Sarkar, S.K., and Chakraborty, S. (2018). Digital pen to convert handwritten trajectory to image for digit recognition. Advances in Communication, Devices and Networking, Springer.10.1007/978-981-10-7901-6 ↗
13. Handwriting Recognition in Free Space Using WIMU-Based Hand Motion Analysis10.1155/2016/3692876 ↗
14. An Accelerometer-Based Digital Pen With a Trajectory Recognition Algorithm for Handwritten Digit and Gesture Recognition10.1109/TIE.2011.2167895 ↗
15. Airwriting: A wearable handwriting recognition system10.1007/s00779-013-0637-3 ↗
16. Wijewickrama, R., Maiti, A., and Jadliwala, M. (2019, January 15–17). deWristified. Proceedings of the 12th Conference on Security and Privacy in Wireless and Mobile Networks—WiSec ’19, Miami, FL, USA.10.1145/3317549.3319722 ↗
17. Roy, P., Ghosh, S., and Pal, U. (2018, January 5–8). A CNN Based Framework for Unistroke Numeral Recognition in Air-Writing. Proceedings of the 2018 16th International Conference on Frontiers in Handwriting Recognition (ICFHR), Niagara Falls, NY, USA.10.1109/ICFHR-2018.2018.00077 ↗
18. Agrawal, S., Constandache, I., Gaonkar, S., Roy Choudhury, R., Caves, K., and DeRuyter, F. (July, January 28). Using mobile phones to write in air. Proceedings of the MobiSys ’11, the 9th International Conference on Mobile Systems, Applications, and Services, Washington, DC, USA.
19. Deep Fisher discriminant learning for mobile hand gesture recognition10.1016/j.patcog.2017.12.023 ↗
20. Ardüser, L., Bissig, P., Brandes, P., and Wattenhofer, R. (2016, January 14–18). Recognizing text using motion data from a smartwatch. Proceedings of the 2016 IEEE International Conference on Pervasive Computing and Communication Workshops, PerCom Workshops, Sydney, Australia.10.1109/PERCOMW.2016.7457172 ↗
21. Kwon, M.C., Park, G., and Choi, S. (2018). Smartwatch user interface implementation using CNN-based gesture pattern recognition. Sensors, 18.10.3390/s18092997 ↗
22. SHOW: Smart Handwriting on Watches
23. Xia, Q., Hong, F., Feng, Y., and Guo, Z. (2018, January 15–19). MotionHacker: Motion sensor based eavesdropping on handwriting via smartwatch. Proceedings of the INFOCOM 2018—IEEE Conference on Computer Communications Workshops, Honolulu, HI, USA.10.1109/INFCOMW.2018.8406879 ↗
24. Rahagiyanto, A., Basuki, A., Sigit, R., Anwar, A., and Zikky, M. (2017, January 15–18). Hand Gesture Classification for Sign Language Using Artificial Neural Network. Proceedings of the 2017 21st International Computer Science and Engineering Conference (ICSEC), Bangkok, Thailand.10.1109/ICSEC.2017.8443898 ↗
25. Xu, C., Pathak, P.H., and Mohapatra, P. (2015, January 12–13). Finger-writing with Smartwatch: A Case for Finger and Hand. Proceedings of the International Workshop on Mobile Computing Systems and Applications, Santa Fe, NM, USA.10.1145/2699343.2699350 ↗
26. Erratum to: Human motion recognition using a wireless Sensor-Based wearable system10.1007/s00779-011-0455-4 ↗
27. Activity Recognition Using Complex Network Analysis10.1109/JBHI.2017.2762404 ↗
28. Enhanced air quality prediction by edge-based spatiotemporal data preprocessing10.1016/j.compeleceng.2021.107572 ↗
29. Park, J.J., Loia, V., Pan, Y., and Sung, Y. (2021). Experimentation of human activity recognition by using accelerometer data based on LSTM. Advanced Multimedia and Ubiquitous Engineering, Springer.10.1007/978-981-15-9309-3 ↗
30. A CNN–LSTM model for gold price time-series forecasting10.1007/s00521-020-04867-x ↗
31. CNN-LSTM architecture for predictive indoor temperature modeling10.1016/j.buildenv.2021.108327 ↗
32. Alam, M.S., Kwon, K.C., Alam, M.A., Abbass, M.Y., Imtiaz, S.M., and Kim, N. (2020). Trajectory-Based Air-Writing Recognition Using Deep Neural Network and Depth Sensor. Sensors, 20.10.3390/s20020376 ↗
33. Abir, F.A., Siam, M.A., Sayeed, A., Hasan, M.A.M., and Shin, J. (2021). Deep Learning Based Air-Writing Recognition with the Choice of Proper Interpolation Technique. Sensors, 21.10.3390/s21248407 ↗
34. Convolutional networks for images, speech, and time series
35. Long short-term memory10.1162/neco.1997.9.8.1735 ↗
36. Gradient-Based Learning Applied to Document Recognition10.1109/5.726791 ↗
37. Visualizing data using t-SNE
38. Sukhbaatar, S., Bruna, J., Paluri, M., Bourdev, L., and Fergus, R. (2015, January 7–9). Training Convolutional Networks with Noisy Labels. Proceedings of the ICLR 2015, San Diego, CA, USA.
39. Generalized cross entropy loss for training deep neural networks with noisy labels
40. Wu, J., Pan, G., Zhang, D., Qi, G., and Li, S. (2009). Gesture recognition with a 3-D accelerometer. Lecture Notes in Computer Science, Springer. (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics).10.1007/978-3-642-02830-4_4 ↗