{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,2]],"date-time":"2026-06-02T05:17:02Z","timestamp":1780377422012,"version":"3.54.1"},"reference-count":43,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,3,26]],"date-time":"2025-03-26T00:00:00Z","timestamp":1742947200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Artif. Intell."],"abstract":"<jats:sec><jats:title>Introduction<\/jats:title><jats:p>Handwriting is a complex skill that requires coordination between human motor system, sensory perception, cognitive processing, memory retrieval, and linguistic proficiency. Various aspects of hand and stylus kinematics can affect the legibility of a handwritten text. Assessing handwriting legibility is challenging due to variations in experts' cultural and academic backgrounds, which introduce subjectivity biases in evaluations.<\/jats:p><\/jats:sec><jats:sec><jats:title>Methods<\/jats:title><jats:p>In this paper, we utilize a deep-learning model to analyze kinematic features influencing the legibility of handwriting based on temporal convolutional networks (TCN). Fifty subjects are recruited to complete a 26-word paragraph handwriting task, designed to include all possible orthographic combinations of Arabic characters, during which the hand and stylus movements are recorded. A total of 117 different spatiotemporal features are recorded, and the data collected are used to train the model. Shapley values are used to determine the important hand and stylus kinematics features toward evaluating legibility. Three experts are recruited to label the produced text into different legibility scores. Statistical analysis of the top 6 features is conducted to investigate the differences between features associated with high and low legibility scores.<\/jats:p><\/jats:sec><jats:sec><jats:title>Results<\/jats:title><jats:p>Although the model trained on stylus kinematics features demonstrates relatively high accuracy (around 76%), where the number of legibility classes can vary between 7 and 8 depending on the expert, the addition of hand kinematics features significantly increases the model accuracy by approximately 10%. Explainability analysis revealed that pressure variability, pen slant (altitude, azimuth), and hand speed components are the most prominent for evaluating legibility across the three experts.<\/jats:p><\/jats:sec><jats:sec><jats:title>Discussion<\/jats:title><jats:p>The model learns meaningful stylus and hand kinematics features associated with the legibility of handwriting. The hand kinematics features are important for accurate assessment of handwriting legibility. The proposed approach can be used in handwriting learning tools for personalized handwriting skill acquisition as well as for pathology detection and rehabilitation.<\/jats:p><\/jats:sec>","DOI":"10.3389\/frai.2025.1426455","type":"journal-article","created":{"date-parts":[[2025,3,26]],"date-time":"2025-03-26T09:08:57Z","timestamp":1742980137000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["Analyzing handwriting legibility through hand kinematics"],"prefix":"10.3389","volume":"8","author":[{"given":"Vahan","family":"Babushkin","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Haneen","family":"Alsuradi","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Muhamed Osman","family":"Al-Khalil","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mohamad","family":"Eid","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,3,26]]},"reference":[{"key":"B1","doi-asserted-by":"crossref","first-page":"175","DOI":"10.1109\/ICDAR.2017.37","article-title":"\u201cLegibility and aesthetic analysis of handwriting,\u201d","volume-title":"2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR)","author":"Adak","year":"2017"},{"key":"B2","first-page":"524","article-title":"Prewriting and handwriting skills","volume":"3","author":"Amundson","year":"1996","journal-title":"Occup. Ther. Child"},{"key":"B3","doi-asserted-by":"publisher","first-page":"3140","DOI":"10.1038\/s41598-020-60011-8","article-title":"Extending the spectrum of dysgraphia: A data driven strategy to estimate handwriting quality","volume":"10","author":"Asselborn","year":"2020","journal-title":"Sci. Rep"},{"key":"B4","doi-asserted-by":"crossref","DOI":"10.3390\/s24196357","volume-title":"Analyzing Arabic handwriting through hand kinematics: A deep learning approach","author":"Babushkin","year":"2024"},{"key":"B5","doi-asserted-by":"publisher","first-page":"6357","DOI":"10.3390\/s24196357","article-title":"Analyzing Arabic handwriting style through hand kinematics","volume":"24","author":"Babushkin","year":"2024","journal-title":"Sensors"},{"key":"B6","doi-asserted-by":"publisher","first-page":"1193388","DOI":"10.3389\/frobt.2023.1193388","article-title":"Assessing handwriting task difficulty levels through kinematic features: a deep-learning approach","volume":"10","author":"Babushkin","year":"2023","journal-title":"Front. Robot. AI"},{"key":"B7","doi-asserted-by":"publisher","first-page":"240","DOI":"10.1016\/j.ridd.2017.11.013","article-title":"Development of the handwriting legibility scale (HLS): A preliminary examination of reliability and validity","volume":"72","author":"Barnett","year":"2018","journal-title":"Res. Dev. Disabil"},{"key":"B8","doi-asserted-by":"publisher","first-page":"7","DOI":"10.1111\/j.1440-1630.1992.tb01751.x","article-title":"Understanding and assessing handwriting difficulty: perspectives from the literature","volume":"39","author":"Bonney","year":"1992","journal-title":"Aust. Occup. Ther. J"},{"key":"B9","doi-asserted-by":"publisher","first-page":"4722","DOI":"10.3390\/en13184722","article-title":"Time series forecasting with multi-headed attention-based deep learning for residential energy consumption","volume":"13","author":"Bu","year":"2020","journal-title":"Energies"},{"key":"B10","doi-asserted-by":"publisher","first-page":"2433","DOI":"10.1016\/j.ridd.2013.02.028","article-title":"Handwriting movement analyses comparing first and second graders with normal or dysgraphic characteristics","volume":"34","author":"Chang","year":"2013","journal-title":"Res. Dev. Disabil"},{"key":"B11","volume-title":"Tests for Normal Distribution in Goodness-of-fit Techniques","author":"D'Agostino","year":"1986"},{"key":"B12","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1109\/AVSS.2019.8909841","article-title":"\u201cSelf-attention temporal convolutional network for long-term daily living activity detection,\u201d","volume-title":"2019 16th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS)","author":"Dai","year":"2019"},{"key":"B13","doi-asserted-by":"publisher","first-page":"21541","DOI":"10.1038\/s41598-020-78611-9","article-title":"Dysgraphia detection through machine learning","volume":"10","author":"Drot\u00e1r","year":"2020","journal-title":"Sci. Rep"},{"key":"B14","doi-asserted-by":"publisher","first-page":"454","DOI":"10.1080\/19411243.2018.1534634","article-title":"Handwriting acquisition and intervention: a systematic review","volume":"11","author":"Fancher","year":"2018","journal-title":"J. Occup. Ther. SchoolsEarly Intervent"},{"key":"B15","doi-asserted-by":"publisher","first-page":"312","DOI":"10.1111\/j.1469-8749.2007.00312.x","article-title":"Handwriting development, competency, and intervention","volume":"49","author":"Feder","year":"2007","journal-title":"Dev. Med. Child Neurol"},{"key":"B16","doi-asserted-by":"publisher","first-page":"432","DOI":"10.1086\/454438","article-title":"An analytical scale for judging handwriting","volume":"15","author":"Freeman","year":"1915","journal-title":"Elem. Sch. J"},{"key":"B17","doi-asserted-by":"publisher","first-page":"144352","DOI":"10.1109\/ACCESS.2021.3119110","article-title":"Shapley values for feature selection: the good, the bad, and the axioms","volume":"9","author":"Fryer","year":"2021","journal-title":"IEEE Access"},{"key":"B18","doi-asserted-by":"crossref","first-page":"64","DOI":"10.1117\/12.719236","article-title":"\u201cClassification of handwritten signatures based on name legibility,\u201d","volume-title":"Biometric Technology for Human Identification IV","author":"Galbally","year":"2007"},{"key":"B19","doi-asserted-by":"publisher","first-page":"748","DOI":"10.3390\/children10040748","article-title":"Muscle activity during handwriting on a tablet: an electromyographic analysis of the writing process in children and adults","volume":"10","author":"Gerth","year":"2023","journal-title":"Children"},{"key":"B20","doi-asserted-by":"publisher","first-page":"42","DOI":"10.1080\/00220679809597574","article-title":"Development of handwriting speed and legibility in grades 1-9","volume":"92","author":"Graham","year":"","journal-title":"J. Educ. Res"},{"key":"B21","doi-asserted-by":"publisher","first-page":"43","DOI":"10.1207\/s15326942dn2901_4","article-title":"Dimensions of good and poor handwriting legibility in first and second graders: Motor programs, visual-spatial arrangement, and letter formation parameter setting","volume":"29","author":"Graham","year":"2006","journal-title":"Dev. Neuropsychol"},{"key":"B22","doi-asserted-by":"publisher","first-page":"290","DOI":"10.1080\/00220679809597556","article-title":"The relationship between handwriting style and speed and legibility","volume":"91","author":"Graham","year":"","journal-title":"J. Educ. Res"},{"key":"B23","doi-asserted-by":"publisher","first-page":"151","DOI":"10.1080\/00220973.1957.11010592","article-title":"The problem of pressure in handwriting","volume":"26","author":"Harris","year":"1957","journal-title":"J. Exp. Educ"},{"key":"B24","doi-asserted-by":"publisher","first-page":"65","DOI":"10.1080\/00220973.1959.11010642","article-title":"The relationship between handwriting pressure and legibility of handwriting in children and adolescents","volume":"28","author":"Harris","year":"1959","journal-title":"J. Exp. Educ"},{"key":"B25","unstructured":"\u201cThe shifting paradigm of teaching: Personalized learning according to teachers,\u201d\n          \n          \n            \n              Jenkins\n              S.\n            \n            \n              Williams\n              M.\n            \n            \n              Moyer\n              J.\n            \n            \n              George\n              M.\n            \n            \n              Foster\n              E.\n            \n          \n          Knowledge Works\n          \n          2016"},{"key":"B26","first-page":"268","article-title":"\u201cStructural features extraction for handwritten arabic personal names recognition,\u201d","volume-title":"Proceedings of the 2012 International Conference on Frontiers in Handwriting Recognition, ICFHR'12","author":"Kacem","year":"2012"},{"key":"B27","article-title":"\u201cAdam: A method for stochastic optimization,\u201d","volume-title":"International Conference on Learning Representations (ICLR)","author":"Kingma","year":"2015"},{"key":"B28","doi-asserted-by":"crossref","first-page":"47","DOI":"10.1007\/978-3-319-49409-8_7","article-title":"\u201cTemporal convolutional networks: A unified approach to action segmentation,\u201d","author":"Lea","year":"2016","journal-title":"Computer Vision-ECCV 2016 Workshops"},{"key":"B29","first-page":"4765","article-title":"\u201cA unified approach to interpreting model predictions,\u201d","author":"Lundberg","year":"2017","journal-title":"Advances in Neural Information Processing Systems 30"},{"key":"B30","doi-asserted-by":"publisher","first-page":"392","DOI":"10.5014\/ajot.61.4.392","article-title":"Analysis of proximal and distal muscle activity during handwriting tasks","volume":"61","author":"Naider-Steinhart","year":"2007","journal-title":"Am. J. Occup. Ther"},{"key":"B31","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1109\/WCCIT.2013.6618740","article-title":"\u201cArabic script based language character recognition: Nasta'liq vs naskh analysis\u201d","author":"Naz","year":"2013","journal-title":"World Congress on Computer and Information Technology (WCCIT)"},{"key":"B32","doi-asserted-by":"crossref","first-page":"181","DOI":"10.1007\/978-3-319-04702-7_11","article-title":"\u201cChallenges in baseline detection of arabic script based languages,\u201d","volume-title":"Intelligent Systems for Science and Information: Extended and Selected Results from the Science and Information Conference 2013","author":"Naz","year":"2014"},{"key":"B33","doi-asserted-by":"publisher","first-page":"545","DOI":"10.1258\/jrsm.95.11.545","article-title":"Illegible handwriting in medical records","volume":"95","author":"Rodr\u00edguez-Vera","year":"2002","journal-title":"J. R. Soc. Med"},{"key":"B34","doi-asserted-by":"publisher","first-page":"129","DOI":"10.5014\/ajot.57.2.129","article-title":"Computerized temporal handwriting characteristics of proficient and non-proficient handwriters","volume":"57","author":"Rosenblum","year":"2003","journal-title":"The American Journal of Occup. Therapy"},{"key":"B35","doi-asserted-by":"publisher","first-page":"433","DOI":"10.1023\/B:READ.0000044596.91833.55","article-title":"Handwriting evaluation for developmental dysgraphia: process versus product","volume":"17","author":"Rosenblum","year":"2004","journal-title":"Read. Writ"},{"key":"B36","doi-asserted-by":"publisher","first-page":"718","DOI":"10.5014\/ajot.2012.004515","article-title":"Effect of pencil grasp on the speed and legibility of handwriting in children","volume":"66","author":"Schwellnus","year":"2012","journal-title":"Am. J. Occup. Therapy"},{"key":"B37","doi-asserted-by":"publisher","first-page":"307","DOI":"10.1515\/9781400881970-018","article-title":"A value for n-persons games","volume":"28","author":"Shapley","year":"1953","journal-title":"Ann. Mathem. Stud"},{"key":"B38","doi-asserted-by":"publisher","first-page":"321","DOI":"10.1111\/j.1440-1630.2011.00960.x","article-title":"A review of factors that influence adult handwriting performance","volume":"58","author":"van Drempt","year":"2011","journal-title":"Aust. Occup. Ther. J"},{"key":"B39","first-page":"6000","article-title":"\u201cAttention is all you need,\u201d","volume-title":"Proceedings of the 31st International Conference on Neural Information Processing Systems, NIPS'17","author":"Vaswani","year":"2017"},{"key":"B40","doi-asserted-by":"publisher","first-page":"e21100956","DOI":"10.3390\/e21100956","article-title":"Online signature analysis for characterizing early stage Alzheimer's disease: a feasibility study","volume":"21","author":"Wang","year":"2019","journal-title":"Entropy"},{"key":"B41","doi-asserted-by":"publisher","first-page":"8055","DOI":"10.1038\/s41598-020-65070-5","article-title":"Temporal convolutional networks for the advance prediction of ENSO","volume":"10","author":"Yan","year":"2020","journal-title":"Sci. Rep"},{"key":"B42","doi-asserted-by":"publisher","first-page":"3142","DOI":"10.1109\/TIP.2017.2662206","article-title":"Beyond a gaussian denoiser: Residual learning of deep CNN for image denoising","volume":"26","author":"Zhang","year":"2017","journal-title":"Trans. Img. Proc"},{"key":"B43","doi-asserted-by":"publisher","first-page":"249","DOI":"10.1080\/0013191840360304","article-title":"An evaluation of handwriting performance","volume":"36","author":"Ziviani","year":"1984","journal-title":"Educ. Rev"}],"container-title":["Frontiers in Artificial Intelligence"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1426455\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,3,26]],"date-time":"2025-03-26T09:09:37Z","timestamp":1742980177000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1426455\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,3,26]]},"references-count":43,"alternative-id":["10.3389\/frai.2025.1426455"],"URL":"https:\/\/doi.org\/10.3389\/frai.2025.1426455","relation":{},"ISSN":["2624-8212"],"issn-type":[{"value":"2624-8212","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,3,26]]},"article-number":"1426455"}}