Facial Image-Based Gender Identification Using MobileNetV2
Keywords:
gender identification, facial image, deep learning, mobilenetv2, transfer learningAbstract
Face-based gender classification has become an important component in security, demographic analysis, and personalized digital services, where rapid and automated facial analysis is required. This study proposes a lightweight gender classification framework based on MobileNetV2 with ImageNet transfer learning for deployment in resource-constrained environments. Experiments were conducted using a public Kaggle dataset containing 15,934 facial images (7,884 male and 8,050 female). The preprocessing pipeline consisted of image resizing, Haar Cascade face detection, pixel normalization, and brightness–contrast augmentation. To prevent data leakage, the dataset was split into training, validation, and testing subsets (70:20:10) before augmentation, ensuring that augmented versions of the same image were confined to the training subset. The model was trained using a two-stage transfer learning strategy in which the classification head was trained first, followed by fine-tuning of the last 30 layers of MobileNetV2. Performance was evaluated on a held-out test set comprising 707 unaugmented facial images using accuracy, precision, recall, F1-score, confusion matrix, and ROC-AUC. The proposed model achieved a test accuracy of 94.91%, with precision, recall, and F1-score of 96.42%, 94.49%, and 95.44% for the female class, and 93.04%, 95.45%, and 94.23% for the male class, demonstrating balanced classification performance across both classes. A qualitative evaluation using ten independently sourced facial images correctly classified seven samples, suggesting that further investigation is required to improve generalization beyond the training data distribution. The results indicate that MobileNetV2 provides an effective balance between classification accuracy and computational efficiency, making it suitable for deployment on smartphones, embedded systems, and other resource-constrained computer vision applications.
References
[1] Mr. P. Nagesh, “Face Recognition Systems,” Int. J. Res. Appl. Sci. Eng. Technol., vol. 11, no. 3, pp. 962–964, Mar. 2023, doi: 10.22214/ijraset.2023.49567.
[2] A. A. Stăncioiu, A. C. Motofelea, A. Popa, R. Nagib, R. B. Lung, and C. Szuhanek, “Advanced 3D Facial Scanning in Orthodontics: A Correlative Analysis of Craniofacial Anthropometric Parameters,” J. Clin. Med., vol. 14, no. 21, Nov. 2025, doi: 10.3390/jcm14217578.
[3] Z. S. A. Ghrban and N. K. EL Abbadi, “Gender Classification from Face and Eyes Images Using Deep Learning Algorithm,” Journal of Computer Science, vol. 19, no. 3, pp. 345–362, 2023, doi: 10.3844/JCSSP.2023.345.362.
[4] P. A. Javier Orlando, J. M. Robinson, and J. E. M. Baquero, “Comparison of convolutional neural network models for user’s facial recognition,” International Journal of Electrical and Computer Engineering, vol. 14, no. 1, pp. 192–198, Feb. 2024, doi: 10.11591/ijece.v14i1.pp192-198.
[5] S. E. Thio and J. Susilo, “Identifikasi Pemilahan Sampah Berbasis Algoritma Transfer Learning CNN Menggunakan MobileNetV2 dan EfficientNetB0,” bit-Tech, vol. 8, no. 1, pp. 25–32, Aug. 2025, doi: 10.32877/bt.v8i1.1900.
[6] N. H. Muttaqin and A. M. Widodo, “Evaluation of Transfer Learning-Based Convolutional Neural Networks (InceptionV3 and MobileNetV2) for Facial Skin-Type Classification,” Jurnal Ilmu Komputer dan Informatika, vol. 5, no. 1, pp. 11–32, Aug. 2025, doi: 10.54082/jiki.264.
[7] S. W. P. Listio, “Performance of Deep Learning Inception Model and MobileNet Model on Gender Prediction Through Eye Image,” Sinkron, vol. 7, no. 4, pp. 2593–2601, Nov. 2022, doi: 10.33395/sinkron.v7i4.11887.
[8] Y. Gulzar, “Fruit Image Classification Model Based on MobileNetV2 with Deep Transfer Learning Technique,” Sustainability (Switzerland), vol. 15, no. 3, Feb. 2023, doi: 10.3390/su15031906.
[9] Z. Wu, Y. Tang, B. Hong, B. Liang, and Y. Liu, “Enhanced Precision in Dam Crack Width Measurement: Leveraging Advanced Lightweight Network Identification for Pixel-Level Accuracy,” International Journal of Intelligent Systems, vol. 2023, 2023, doi: 10.1155/2023/9940881.
[10] N. R. Hamza, “Gender Classification from Human Face Images Using Deep Learning Based on MobileNetV2 Architecture,” Journal of Al-Qadisiyah for Computer Science and Mathematics, vol. 17, no. 1, pp. 145–156, Mar. 2025, doi: 10.29304/jqcsm.2025.17.11970.
[11] N. Chalista Imanuela Natun, M. Angelica Santhia, and Y. R. Kaesmetan, “Identifikasi Pengenalan Wajah Berdasarkan Jenis Kelamin Menggunakan Metode Convolutional Neural Network (CNN),” Journal of Technology and Informatics (JoTI), vol. 6, no. 1, pp. 50–57, Oct. 2024, doi: 10.37802/joti.v6i1.694.
[12] Y. F. Riti, R. P. Kristianto, and D. R. A. Setiawan, “PERFORM COMPARATION OF DEEP LEARNING METHODS IN GENDER CLASSIFICATION FROM FACIAL IMAGES,” JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), vol. 10, no. 4, pp. 926–936, Jun. 2025, doi: 10.33480/jitk.v10i4.4717.
[13] K. K. Yadav and A. Gajanan, “Transfer Learning for Image Processing: A Review and Practical Considerations,” Asian Journal of Research in Computer Science, vol. 19, no. 2, pp. 192–203, Mar. 2026, doi: 10.9734/ajrcos/2026/v19i2831.
[14] M. M. Taye, “Theoretical Understanding of Convolutional Neural Network: Concepts, Architectures, Applications, Future Directions,” Mar. 01, 2023, MDPI. doi: 10.3390/computation11030052.
[15] P. Jyothi, D. Haritha, and K. Arava, “Issue 27s (2025) Ponukumati Jyothi, Dr. Dasari Haritha, Dr. Karuna Arava, (2025) Gender Classification Using Efficientnetb0 And Mobilenetv2.” [Online]. Available: https://www.jneonatalsurg.com
[16] D. Dhimas, P. Putra, G. Kurnia Anaga, and W. T. Fitriyana, “Implementasi Algoritma Convolutional Neural Network Arsitektur Mobilenetv2 Untuk Klasifikasi Ekspresi Wajah Pada Dataset FER,” 2024.
[17] P. Wu et al., “A Review on Research and Application of AI-Based Image Analysis in the Field of Computer Vision,” 2025, Institute of Electrical and Electronics Engineers Inc. doi: 10.1109/ACCESS.2025.3565300.
[18] S. Mandasari, D. Irfan, W. Wanayumini, and R. Rosnelly, “Comparison of SGD, Adadelta, Adam Optimization In Gender Classification Using CNN,” JURTEKSI (Jurnal Teknologi dan Sistem Informasi), vol. 9, no. 3, pp. 345–354, Jun. 2023, doi: 10.33330/jurteksi.v9i3.2067.
[19] S. P. Samadhi and E. Izquierdo, “Deep-learned faces: a survey,” Dec. 01, 2020, Springer. doi: 10.1186/s13640-020-00510-w.
[20] I. Rodriguez-Conde, C. Campos, and F. Fdez-Riverola, “Optimized convolutional neural network architectures for efficient on-device vision-based object detection,” Neural Comput. Appl., vol. 34, no. 13, pp. 10469–10501, Jul. 2022, doi: 10.1007/s00521-021-06830-w.
Downloads
Published
Issue
Section
Categories
License
Copyright (c) 2026 Nilam Astuti, Sunardi, Abdul Fadlil

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
Jurnal Informatika Universitas Pamulang have CC-BY-NC or an equivalent license as the optimal license for the publication, distribution, use, and reuse of scholarly work.
In developing strategy and setting priorities, Jurnal Informatika Universitas Pamulang recognize that free access is better than priced access, libre access is better than free access, and libre under CC-BY-NC or the equivalent is better than libre under more restrictive open licenses. We should achieve what we can when we can. We should not delay achieving free in order to achieve libre, and we should not stop with free when we can achieve libre.
Jurnal Informatika Universitas Pamulang is licensed under a Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
YOU ARE FREE TO:
- Share : copy and redistribute the material in any medium or format
- Adapt : remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms

