Online Arabic Handwriting Recognition Using Graphemes Segmentation and Deep Learning Recurrent Neural Networks

  • Conference paper
  • First Online:
Enabling Machine Learning Applications in Data Science

Part of the book series: Algorithms for Intelligent Systems ((AIS))

Abstract

Currently, many research initiatives in online handwriting recognition field have been investigated. The challenge is more earnest for Arabic scripts due to some constraints such as the existence of similar shapes of characters and their inherent cursiveness, etc. The present study highlights a new framework for online Arabic handwriting recognition based on graphemes segmentation and two existing models of recurrent neural network (RNN)—long short-term memory (LSTM) and Bidirectional LSTM (BLSTM). After handwriting signal preprocessing, the developed algorithm proceeds by the detection of the script baseline considering the accordance between the alignment of its trajectory points and their tangent directions. Then, the handwritten words or pseudo-words are segmented in continuous part called graphemes delimited by the points of ligature bottoms neighboring the baseline. Next, each grapheme is described by a set of relevant features combining static and dynamic features obtained by employing beta-elliptic model, geometric features that contain Fourier descriptors for trajectory shape modeling and other normalized parameters modeling the grapheme dimensions, positions with respect to the baseline and the assignment diacritics codes. The extracted sequences of features vectors are subsequently used as input for the recognition module employing both LSTM and BLSTM version of RNN. Experimental results using the benchmarking ADAB database of online Arabic handwriting show the performance of the proposed system which exceeds the best result of other advanced states of-the-art works.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Lewis MP (ed.) (2009) Ethnologue: languages of the world. SIL International

    Google Scholar 

  2. Margner V, El Abed H (2011) ICDAR 2011—Arabic handwriting recognition competition. In: International conference on document analysis and recognition. pp 1444–1448

    Google Scholar 

  3. Lorigo L, Govindaraju V (2006) Offline Arabic handwriting recognition: a survey. IEEE Trans Pattern Anal Mach Intell 28(5):712–724

    Article  Google Scholar 

  4. Tagougui N, Kherallah M (2017) Recognizing online Arabic handwritten characters using a deep architecture. In: Proceedings of SPIE 10341, ninth international conference on machine vision

    Google Scholar 

  5. **e Z, Sun Z, ** L, Ni H, Lyons T (2017) Learning spatial-semantic context with fully convolutional recurrent network for online handwritten text recognition. In: IEEE transactions on PAMI

    Google Scholar 

  6. Hamdi Y, Boubaker H, Dhieb T, Elbaati A, Alimi A (2019) Hybrid DBLSTM-SVM based Beta-elliptic-CNN Models for online Arabic characters recognition. In: International conference on document analysis and recognition (ICDAR). pp 803–808

    Google Scholar 

  7. Boubaker H, Kherallah M, Alimi A (2007) New strategy for the on-line handwriting modelling. In: Proceedings of the 9th international conference on document analysis and recognition. Curitiba, Brazil, pp 1233–1247

    Google Scholar 

  8. UNESCO. World Arabic language day. https://www.unesco.org/new/en/unesco/events/prizes-andcelbrations/celebrations/internationaldays/world-arabiclaguageday/

  9. Al-Helali BM, Sabri AM (2016) A statistical framework for online Arabic character recognition. Cybern Syst 47(6):478–498

    Article  Google Scholar 

  10. Graves A, Liwicki M, Fernandez S, Bertolami R, Bunke H, Schmidhuber J (2009) A novel connectionist system for unconstrained handwriting recognition. IEEE Trans Pattern Anal Mach Intell 31(5):855–868

    Article  Google Scholar 

  11. Yuan A, Bai G, Yang P, Guo Y, Zhao X (2012) Handwritten English word recognition based on convolutional neural networks. In: Proceedings of the 13th international conference on frontiers in handwriting recognition2. Bari, Italy, pp 207

    Google Scholar 

  12. Ghosh R, Chirumavila V, Kumar P (2019) RNN based online handwritten word recognition in Devanagari and Bengali scripts using horizontal zoning. Pattern Recogn. https://doi.org/10.1016/j.patcog.2019.03.030

    Article  Google Scholar 

  13. Keysers D, Deselaers T, Rowley H, Wang LL (2020) Fast multi-language LSTM-based online handwriting recognition. Int J Document Anal Recogn (IJDAR) 23:89–102

    Article  Google Scholar 

  14. Alimi AM (1997) An evolutionary neuro-fuzzy approach to recognize online Arabic handwriting, In: Document analysis and recognition, 1997, Proceedings of the Fourth International Conference on. IEEE, pp 382–386

    Google Scholar 

  15. Omer MA, Ma SL (2010) Online Arabic handwriting character recognition using matching algorithm. In: Proceedings of the 2nd international conference on computer and automation engineering (ICCAE), vol. 2. IEEE/ICCAE, pp 259–262

    Google Scholar 

  16. Ismail SM, Abdullah SNHS (2012) Online Arabic handwritten character recognition based on a rule-based approach. J Comput Sci 8(11):1859–1868. https://doi.org/10.3844/jcssp.1859.1868

    Article  Google Scholar 

  17. Izadi S, Haji M, Suen CY (2008) A new segmentation algorithm for online handwritten word recognition in Persian script. In: ICHFR 2008. pp 1140–1142

    Google Scholar 

  18. Daifallah K, Zarka N, Jamous H (2009) Recognition-based segmentation algorithm for on-line Arabic handwriting. In: Proceedings of the international conference on document analysis and recognition. Barcelona, Spain, pp 877–880

    Google Scholar 

  19. Abdelazeem S, Eraqi H (2011) On-line Arabic handwritten personal names recognition system based on HMM. In: Proceedings of ICDAR 2011. pp 1304–1308

    Google Scholar 

  20. Abdelaziz I, Abdou S (2014) AltecOnDB: a large-vocabulary Arabic online handwriting recognition database. ar**v preprint ar**v:1412.7626

  21. Ahmed H, Azeem SA (2011) On-line arabic handwriting recognition system based on hmm, In: International conference on document analysis and recognition (ICDAR). IEEE, pp 1324–1328

    Google Scholar 

  22. Elleuch M, Maalej R, Kherallah M (2016) A new design based—SVM of the CNN classifier architecture with dropout for offline arabic handwritten recognition. Procedia Comput. Sci. 80:1712–1723

    Article  Google Scholar 

  23. Bezine H, Alimi AM, Derbel N (2003) Handwriting trajectory movements controlled by a bĂªta-elliptic model. In: Proceedings of 7th international conference on document analysis and recognition, ICDAR 2003, vol 2003-January. Edinburgh, UK, pp 1228–1232, 3–6 August 2003. Article number 1227853

    Google Scholar 

  24. Boubaker H, Chaabouni A, El-Abed H, Alimi AM (2018) GLoBD: geometric and learned logic algorithm for straight or curved handwriting baseline detection. Int Arab J Inf Technol 15(1)

    Google Scholar 

  25. Plamondon R (1995) A kinematics theory of rapid human movements. Part I: Movement representation and generation. Biol Cybernet 72:295–307

    Article  Google Scholar 

  26. Persoon E, Fu KS (1986) Shape discrimination using Fourier descriptors. IEEE Trans Pattern Anal Mach Intell 388–397

    Google Scholar 

  27. Boubaker H, Elbaati A, Tagougui N, ElAbed H, Kherallah M, Alimi AM (2012) Online Arabic databases and applications. In: Guide to OCR for Arabic Scripts. Springer, pp 541–557

    Google Scholar 

  28. Kherallah M, Elbaati A, Abed HE, Alimi AM (2008) The on/off (LMCA) dual Arabic handwriting database. In: 11th International conference on frontiers in handwriting recognition (ICFHR). Montréal, Québec, Canada

    Google Scholar 

  29. Hamdi Y, Chaabouni A, Boubaker H, Alimi AM (2017) OffLexicon online Arabic handwriting recognition using neural network. In: Proceedings of SPIE, vol. 10341. pp 103410G-1

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yahia Hamdi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hamdi, Y., Boubaker, H., Alimi, A.M. (2021). Online Arabic Handwriting Recognition Using Graphemes Segmentation and Deep Learning Recurrent Neural Networks. In: Hassanien, A.E., Darwish, A., Abd El-Kader, S.M., Alboaneen, D.A. (eds) Enabling Machine Learning Applications in Data Science. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-33-6129-4_20

Download citation

Publish with us

Policies and ethics

Navigation