The International Arab Journal of Information Technology (IAJIT)

..............................
..............................
..............................


A Deep Learning Based Prediction of Arabic Manuscripts Handwriting Style

With the increasing amounts of existing unorganized images on the internet today and the necessity to use them efficiently in various types of applications. There is a critical need to discover rigid models that can classify and predict images successfully and instantaneously. Therefore, this study aims to collect Arabic manuscripts images in a dataset and predict their handwriting styles using the most powerful and trending technologies. There are many types of Arabic handwriting styles, including Al-Reqaa, Al-Nask, Al-Thulth, Al-Kufi, Al-Hur, Al-Diwani, Al-Farsi, Al-Ejaza, Al-Maghrabi, Al- Taqraa, etc. However, the study classified the collected dataset images according to the handwriting styles and focused on only six types of handwriting styles that existed in the collected Arabic manuscripts. To reach our goal, we applied the MobileNet pre-trained deep learning model on our classified dataset images to automatically capture and extract the features from them. Afterward, we evaluated the performance of the developed model by computing its recorded evaluation metrics. We reached that MobileNet convolutional neural network is a promising technology since it reached 0.9583 as the highest recorded accuracy and 0.9633 as the average F-score.


[1] Alaei F., Alaei A., Pal U., and Blumenstein M., “A Comparative Study of Different Texture Features for Document Image Retrieval,” Expert Systems with Applications, vol. 121, pp. 97-114, 2018.

[2] Allaf S. and Al-Hmouz R., “Automatic Recognition of Artistic Arabic Calligraphy Types,” King Abdulaziz University Scientific Publishing Center, vol. 27, no. 1, pp. 3-17, 2016.

[3] Altoe P., “Class Lecture, Topic: “Fundamentals of Deep Learning for Computer Vision,” Supercomputing Laboratory, King Abdullah University of Science and Technology, KAUST, Jeddah, 2019.

[4] Al-Ayyoub M., Nuseir A., Alsmearat K., Jararweh Y., and Gupta B., “Deep learning for Arabic NLP: A Survey,” Journal of Computational Science, vol. 26, pp. 522-531, 2018.

[5] Al-Jawfi R., “Handwriting Arabic Character Recognition LeNet Using Neural Network,” The International Arab Journal of Information Technology, vol. 6, no. 3, pp. 304-309, 2009.

[6] Al-Yahya M., “Stylometric Analysis of Classical Arabic Texts for Genre Detection,” The Electronic Library, vol. 36, no. 5, pp. 842-855, 2018.

[7] Bataineh B., Abdullah S., and Omar K., “Arabic Calligraphy Recognition Based on Binarization Methods and Degraded Images,” in Proceedings of International Conference on Pattern Analysis and Intelligent Robotics, Putrajaya, pp. 65-70, 2011.

[8] Chan T., Jia K., Gao S., Lu J., Zeng Z., and Ma Y., “PCANet: A Simple Deep Learning Baseline for Image Classification,” IEEE Transactions on Image Processing, vol. 24, no. 12, pp. 5017- 5032, 2015.

[9] Das S., “CNN Architectures: LeNet, AlexNet, VGG, GoogLeNet, ResNet and more….,” 712 The International Arab Journal of Information Technology, Vol. 17, No. 5, September 2020 https://medium.com/analytics-vidhya/cnns- architectures-lenet-alexnet-vgg-googlenet-resnet- and-more-666091488df5, Last Visited 2017.

[10] Ezz M., Sharaf M., and Hassan A., “Classification of Arabic Writing Styles in Ancient Arabic Manuscripts,” International Journal of Advanced Computer Science and Applications, vol. 10, no.10, pp. 409-414, 2019.

[11] Howard A., Zhu M., Chen B., Kalenichenko D., Wang W., Weyand T., Andreetto M., and Adam H., “MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications,” pp. 1-9, 2017.

[12] Huang K., Hussain A., Wang Q., and Zhang R., Deep Learning: Fundamentals, Theory and Applications, Springer International Publishing, 2019.

[13] Le Q. and Mikolov T., “Distributed Representations of Sentences and Documents,” in Proceedings of the 31st International Conference on Machine Learning, Beijing, pp. 1-5, 2014.

[14] Liang H., Sun X., Sun Y., and Gao Y., “Text Feature Extraction Based On Deep Learning: A Review,” Eurasip Journal on Wireless Communications and Networking, vol. 211, no. 1, pp. 1-12, 2017.

[15] Liu H., Li B., Lv X., and Huang Y., “Image Retrieval Algorithm Based on Convolutional Neural Network,” Current Trends in Computer Science and Mechanical Automation, vol. 133, pp. 304-314, 2017.

[16] Mohamed O., Khalid E., Mohammed O., and Brahim A., Content-Based Image Retrieval Using Convolutional Neural Networks, Springer International Publishing, 2019.

[17] Reddy A. and Krishna C., “A Survey on Applications and Performance of Deep Convolution Neural Network Architecture for Image Segmentation,” International Journal of Pure and Applied Mathematics, vol. 118, no. 19, pp. 43-60, 2018.

[18] Saleh A., ةبقاعتملا روصعلا ربع يبرعلا طخلا خيرات, Scientific Books Publishing, 2017.

[19] Seddati O., Dupont S., Mahmoudi S., and Parian M., “Towards Good Practices for Image Retrieval Based on CNN Features,” in Proceedings of IEEE International Conference on Computer Vision Workshops, Venice, pp. 1246-1255, 2018.

[20] Tyagi V., Research Issues for Next Generation Content-Based Image Retrieval, Springer Singapore, 2017.

[21] Wang J., Yang Y., Mao J., Huang Z., Huang C., and Xu W., “CNN-RNN: A Unified Framework for Multi-Label Image Classification,” Journal of the Japanese Society for Cancer Therapy, vol. 13, pp. 245-246, 2016.

[22] Yahia M., Content-Based Retrieval of Arabic Historical Manuscripts Using Latent Semantic Indexing, Thesis, King Fahd University of Petroleum and Minerals, 2011.

[23] Yu-Sheng C., Guangjun S., and Haihong L., “Machine Learning for Calligraphy Styles Recognition,”

[24] Zhou W. and Jia J., “A Learning Framework for Shape Retrieval Based on Multilayer Perceptrons,” Pattern Recognition Letters, vol. 117, pp. 119-130, 2018. Manal Khayyat received the B.Sc. degree (Hons.) in Computer Science from King Abdulaziz University, Saudi Arabia, in 2007 and received M.Sc. degree of Applied Science in Quality Systems Engineering from Concordia University, Canada, in 2015. She is currently a PhD student in the Department of Computer Science at King Abdulaziz University. She worked at the IT department of Effat University, Saudi Arabia, from 2007 to 2010. Then, she worked as a lecturer at King Abdulaziz University, from 2012 to 2019 and she is currently working as a lecturer at Umm Al-Qura University, Saudi Arabia. Her research interests include computer vision, image processing, natural language recognition, and deep learning. Lamiaa Elrefaei received the B.Sc. degree (Hons.) in electrical engineering (electronics and telecommunications), and the M.Sc. and Ph.D. degrees in electrical engineering (electronics) from the Faculty of Engineering at Shoubra, Benha University, Egypt, in 1997, 2003, and 2008, respectively. She held a number of faculty positions at Benha University, as a Teaching Assistant, from 1998 to 2003, as an Assistant Lecturer, from 2003 to 2008, and has been a Lecturer, since 2008. She is currently an Associate Professor with the Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah, Saudi Arabia. Her research interests include computational intelligence, biometrics, multimedia security, wireless networks, and nano networks.