Face Image Authenticity Detection for ASN Attendance Using CNN MobileNetV2: A Case Study of Tangerang City Government

Authors

DOI:

https://doi.org/10.35870/ijsecs.v6i2.7459

Keywords:

Face Liveness Detection, MobileNetV2, CNN, Digital Attendance, ASN, Presentation Attack, Tangerang AYO

Abstract

Face recognition-based attendance systems can improve the convenience of attendance processes, but they remain vulnerable to presentation attacks, in which facial images displayed on another device are used to simulate a user's physical presence. At the Tangerang City Government, the Tangerang AYO application is used as the main attendance channel for civil servants (ASN) across government agencies (OPD), with attendance data linked to the calculation of Additional Employee Income (TPP). This study develops a face liveness detection model to distinguish between real and fake facial images using a CNN MobileNetV2 architecture with a transfer learning and two-phase fine-tuning approach. The dataset was constructed from actual ASN attendance data and consisted of real and fake images representing facial displays through a secondary device. The model was evaluated using a confusion matrix, accuracy, precision, recall, specificity, F1-score, ROC curve, and AUC. On the testing data (n=301), the model achieved an accuracy of 97.34%, precision of 96.13%, recall of 98.68%, specificity of 96.00%, F1-score of 97.39%, and AUC of 0.9934 at a threshold of 0.5. Grad-CAM analysis showed that the model produced different activation patterns between real and fake images, including contextual visual information in real images and screen-surface characteristics in fake images. A FastAPI-based REST API prototype achieved an average response time of 306.48 ms under warm conditions without a dedicated GPU, indicating the potential feasibility of the model as an additional verification layer for an ASN attendance system.

Downloads

Download data is not yet available.

Author Biographies

  • Suryadi Suryadi, Universitas Pamulang

    Department of Informatics Engineering, Magister Program, Universitas Pamulang, South Tangerang City, Banten Province, Indonesia.

  • Sajarwo Anggai, Universitas Pamulang

    Department of Informatics Engineering, Magister Program, Universitas Pamulang, South Tangerang City, Banten Province, Indonesia.

  • Sudarno Wiharjo, Universitas Pamulang

    Department of Informatics Engineering, Magister Program, Universitas Pamulang, South Tangerang City, Banten Province, Indonesia.

References

Ahmad, F. A., & Pratiwi, N. (2025). Implementasi Pengenalan Wajah, Deteksi Kehadiran, dan Geolokasi menggunakan TensorFlow Lite dan Google ML Kit pada Aplikasi Absensi Mobile. SISTEMASI: Jurnal Sistem Informasi, 14(1), 172-186.

Ardiansyah, A. C., Yulian, H., Simon, S., Gunawan, G., & Winardi, S. (2025). Penerapan liveness detection dengan metode nonlinear diffusion dan convolutional neural network. METHODIKA: Jurnal Teknik Informatika dan Sistem Informasi, 11(1), 1–7. https://doi.org/10.46880/mtk.v11i1.3691

Arnab, A., Dehghani, M., Heigold, G., Sun, C., Lučić, M., & Schmid, C. (2021, October). Vivit: A video vision transformer. In 2021 IEEE/CVF international conference on computer vision (ICCV) (pp. 6816-6826). IEEE. https://doi.org/10.1109/ICCV48922.2021.00676

George, A., & Marcel, S. (2019, June). Deep pixel-wise binary supervision for face presentation attack detection. In 2019 international conference on biometrics (ICB) (pp. 1-8). IEEE.

Goodfellow, I. (2016). Nips 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160.

He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 770-778).

Horn, B. K., & Schunck, B. G. (1981). Determining optical flow. Artificial intelligence, 17(1-3), 185-203.

Howard, A. G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., & Adam, H. (2017). MobileNets: Efficient convolutional neural networks for mobile vision applications. http://arxiv.org/abs/1704.04861

Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25.

Long, X., Zhang, J., & Shan, S. (2025). Confidence aware learning for reliable face anti-spoofing. IEEE Transactions on Information Forensics and Security, 20(8), 5083–5093. https://doi.org/10.1109/TIFS.2025.3564878

Mittal, S., & Patel, S. (2023). Age invariant face recognition techniques: A survey on the recent developments, challenges and potential future directions. International Journal of Engineering Trends and Technology, 71(5), 435–460. https://doi.org/10.14445/22315381/IJETT-V71I5P243

Najeebullah, Salman, M., & Swati, Z. N. K. (2025). Face spoofing detection using deep learning. arXiv preprint arXiv:2503.19223. https://doi.org/10.48550/arXiv.2503.19223

Nurhakim, B., Rifai, A., Kurnia, D. A., Sudrajat, D., & Supriatna, U. (2025). Smart attendance tracking system employing deep learning for face anti-spoofing protection. JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), 10(3), 496–505. https://doi.org/10.33480/jitk.v10i3.5992

Radad, M., Enab, A. E., Elagooz, S. S., El-Fishawy, N. A., & El-Rashidy, M. A. (2025). Face anti-spoofing detection based on novel encoder convolutional neural network and texture’s grayscale structural information. International Journal of Computational Intelligence Systems, 18(1). https://doi.org/10.1007/s44196-025-00757-z

Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., & Chen, L. C. (2018, June). Mobilenetv2: Inverted residuals and linear bottlenecks. In 2018 IEEE/CVF conference on computer vision and pattern recognition (pp. 4510-4520). Ieee.

Sari Khatina, Jasmir, Arvita, & Yulia. (2022). Perancangan sistem absensi facial recognition menggunakan CNN dan liveness detector pada BPR Central Dana Mandiri. Jurnal Informatika dan Rekayasa Komputer (JAKAKOM), 2(1), 70–80. https://doi.org/10.33998/jakakom.2022.2.1.63

Shinde, S. R., Bongale, A. M., Dharrao, D., & Thepade, S. D. (2025). An enhanced lightweight face liveness detection method using deep convolutional neural network. MethodsX, 14, 103229. https://doi.org/10.1016/j.mex.2025.103229

Simard, P., Bottou, L., Haffner, P., & LeCun, Y. (1998). Boxlets: a fast convolution algorithm for signal processing and neural networks. Advances in neural information processing systems, 11.

Simonyan, K., & Zisserman, A. (2015). Very deep convolutional networks for large-scale image recognition. http://arxiv.org/abs/1409.1556

Tan, M., & Le, Q. (2019, May). Efficientnet: Rethinking model scaling for convolutional neural networks. In International conference on machine learning (pp. 6105-6114). PmLR.

Xie, Z., Li, J., & Shi, H. (2019). A face recognition method based on CNN. Journal of Physics: Conference Series, 1395(1), 012006. https://doi.org/10.1088/1742-6596/1395/1/012006

Xing, H., Tan, S. Y., Qamar, F., & Jiao, Y. (2025). Face anti-spoofing based on deep learning: A comprehensive survey. Applied Sciences, 15(12), 6891. https://doi.org/10.3390/app15126891

Tan, M., & Le, Q. (2019, May). Efficientnet: Rethinking model scaling for convolutional neural networks. In International conference on machine learning (pp. 6105-6114). PmLR.

Zawar, R., & Chakkarwar, V. (2023). Real-time face liveness detection and face anti-spoofing using deep learning. Atlantis Press International BV. https://doi.org/10.2991/978-94-6463-196-8_47

Downloads

Published

2026-08-01

How to Cite

Suryadi, S., Anggai, S., & Wiharjo, S. (2026). Face Image Authenticity Detection for ASN Attendance Using CNN MobileNetV2: A Case Study of Tangerang City Government. International Journal Software Engineering and Computer Science (IJSECS), 6(2), 752-765. https://doi.org/10.35870/ijsecs.v6i2.7459

Similar Articles

6-8 of 8

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)