Skip to main content

Automatic Gender Classification from Handwritten Images: A Case Study

  • Conference paper
  • First Online:
Computer Analysis of Images and Patterns (CAIP 2021)

Abstract

Using a handwritten sample to automatically classify the writer’s gender is an essential task in a wide range of areas, e.g., psychology, historical documents classification, and forensic analysis. The challenge of gender prediction from offline handwriting can be demonstrated by the relatively low (below 90%) performance of state-of-the-art systems. Despite a high interest within a broad spectrum of research communities, the published works in this area generally concentrate on English and Arabic languages. Most of the existing approaches focus on manual feature selection. In this work, we study an application of deep neural networks for gender classification, where we investigate cross-domain transfer learning with ImageNet pre-training. The study was performed on two datasets, the QUWI dataset, consisting of handwritten documents in English and Arabic, and a new dataset of documents in Hebrew script. We perform extensive experiments, analyze and compare the results obtained with different neural networks. We demonstrate that advanced deep-learning models outperform conventional machine learning approaches that were used in previous studies. We also compare the obtained results against human-level performance and show that the problem is challenging for non-experts.

I. Rabaev and M. Litvak—These authors contributed equally to this work.

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

Access this chapter

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.kaggle.com/sujoykg/keras-cnn-with-grayscale-images/.

  2. 2.

    Because only LogLoss scores were reported in the ICDAR 2013 competition, the accuracy scores for the winning system were retrieved from [2].

  3. 3.

    https://forms.gle/Ay7XV9CX61fkU6qt7.

References

  1. Ahmed, M., Rasool, A.G., Afzal, H., Siddiqi, I.: Improving handwriting based gender classification using ensemble classifiers. Expert Syst. Appl. 85, 158–168 (2017)

    Article  Google Scholar 

  2. Akbari, Y., Nouri, K., Sadri, J., Djeddi, C., Siddiqi, I.: Wavelet-based gender detection on off-line handwritten documents using probabilistic finite state automata. Image Vis. Comput. 59, 17–30 (2017)

    Article  Google Scholar 

  3. Al Maadeed, S., Ayouby, W., Hassaine, A., Aljaam, J.M.: QUWI: an Arabic and English handwriting dataset for offline writer identification. In: International Conference on Frontiers in Handwriting Recognition, pp. 746–751 (2012)

    Google Scholar 

  4. Al Maadeed, S., Hassaine, A.: Automatic prediction of age, gender, and nationality in offline handwriting. EURASIP J. Image Video Process. 2014(1), 1–10 (2014). https://doi.org/10.1186/1687-5281-2014-10

    Article  Google Scholar 

  5. Bi, N., Suen, C.Y., Nobile, N., Tan, J.: A multi-feature selection approach for gender identification of handwriting based on kernel mutual information. Pattern Recognit. Lett. 121, 123–132 (2019)

    Article  Google Scholar 

  6. Chollet, F.: Xception: deep learning with depthwise separable convolutions. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1251–1258 (2017)

    Google Scholar 

  7. Djeddi, C., Al-Maadeed, S., Gattal, A., Siddiqi, I., Souici-Meslati, L., El Abed, H.: ICDAR 2015 competition on multi-script writer identification and gender classification using ‘QUWI’ database. In: International Conference on Document Analysis and Recognition, pp. 1191–1195 (2015)

    Google Scholar 

  8. Gattal, A., Djeddi, C., Bensefia, A., Ennaji, A.: Handwriting based gender classification using cold and hinge features. In: International Conference on Image and Signal Processing, pp. 233–242 (2020)

    Google Scholar 

  9. Gattal, A., Djeddi, C., Siddiqi, I., Chibani, Y.: Gender classification from offline multi-script handwriting images using oriented basic image features (oBIFs). Expert Syst. Appl. 99, 155–167 (2018)

    Article  Google Scholar 

  10. Goodenough, F.L.: Sex differences in judging the sex of handwriting. J. Soc. Psychol. 22(1), 61–68 (1945)

    Article  Google Scholar 

  11. Hamid, S., Loewenthal, K.M.: Inferring gender from handwriting in Urdu and English. J. Soc. Psychol. 136(6), 778–782 (1996)

    Article  Google Scholar 

  12. Hassaïne, A., Al Maadeed, S., Aljaam, J., Jaoua, A.: ICDAR 2013 competition on gender prediction from handwriting. In: International Conference on Document Analysis and Recognition, pp. 1417–1421 (2013)

    Google Scholar 

  13. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)

    Google Scholar 

  14. Huang, G., Liu, Z., Van Der Maaten, L., Weinberger, K.Q.: Densely connected convolutional networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4700–4708 (2017)

    Google Scholar 

  15. Illouz, E., David, E.O., Netanyahu, N.S.: Handwriting-based gender classification using end-to-end deep neural networks. In: International Conference on Artificial Neural Networks, pp. 613–621 (2018)

    Google Scholar 

  16. Liwicki, M., Schlapbach, A., Bunke, H.: Automatic gender detection using on-line and off-line information. Pattern Anal. Appl. 14(1), 87–92 (2011)

    Article  MathSciNet  Google Scholar 

  17. Maken, P., Gupta, A.: A method for automatic classification of gender based on text-independent handwriting. Multimedia Tools Appl., 1–30 (2021)

    Google Scholar 

  18. Moetesum, M., Siddiqi, I., Djeddi, C., Hannad, Y., Al-Maadeed, S.: Data driven feature extraction for gender classification using multi-script handwritten texts. In: International Conference on Frontiers in Handwriting Recognition, pp. 564–569 (2018)

    Google Scholar 

  19. Najla, A.Q., Suen, C.Y.: Gender detection from handwritten documents using concept of transfer-learning. In: International Conference on Pattern Recognition and Artificial Intelligence, pp. 3–13 (2020)

    Google Scholar 

  20. Rabaev, I., Kurar Barakat, B., Churkin, A., El-Sana, J.: The HHD dataset. In: International Conference on Frontiers in Handwriting Recognition, pp. 228–233 (2020)

    Google Scholar 

  21. Rahmanian, M., Shayegan, M.A.: Handwriting-based gender and handedness classification using convolutional neural networks. Multimedia Tools Appl., 1–24 (2021)

    Google Scholar 

  22. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556 (2014)

  23. Studer, L., et al.: A comprehensive study of ImageNet pre-training for historical document image analysis. In: International Conference on Document Analysis and Recognition, pp. 720–725 (2019)

    Google Scholar 

  24. Szegedy, C., et al.: Going deeper with convolutions. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1–9 (2015)

    Google Scholar 

  25. Tan, M., Le, Q.: EfficientNet: rethinking model scaling for convolutional neural networks. In: International Conference on Machine Learning, pp. 6105–6114 (2019)

    Google Scholar 

  26. Topaloglu, M., Ekmekci, S.: Gender detection and identifying one’s handwriting with handwriting analysis. Expert Syst. Appl. 79, 236–243 (2017)

    Article  Google Scholar 

  27. Upadhyay, S., Singh, J., Shukla, S.: Determination of sex through handwriting characteristics. Int. J. Curr. Res. Rev. 9(13) 11 (2017)

    Google Scholar 

  28. Xue, G., Liu, S., Gong, D., Ma, Y.: ATP-DenseNet: a hybrid deep learning-based gender identification of handwriting. Neural Comput. Appl. 33(10), 4611–4622 (2020). https://doi.org/10.1007/s00521-020-05237-3

    Article  Google Scholar 

  29. Zoph, B., Vasudevan, V., Shlens, J., Le, Q.V.: Learning transferable architectures for scalable image recognition. In: IEEE Conference on Computer Vision and Pattern Recognition, pp. 8697–8710 (2018)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Irina Rabaev .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rabaev, I., Litvak, M., Asulin, S., Tabibi, O.H. (2021). Automatic Gender Classification from Handwritten Images: A Case Study. In: Tsapatsoulis, N., Panayides, A., Theocharides, T., Lanitis, A., Pattichis, C., Vento, M. (eds) Computer Analysis of Images and Patterns. CAIP 2021. Lecture Notes in Computer Science(), vol 13053. Springer, Cham. https://doi.org/10.1007/978-3-030-89131-2_30

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-89131-2_30

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-89130-5

  • Online ISBN: 978-3-030-89131-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics