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.
Article Details
How to Cite
Citation FormatReferences
24 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
License
Copyright (c) 2026 Suryadi Suryadi, Sajarwo Anggai, Sudarno Wiharjo

This work is licensed under a Creative Commons Attribution 4.0 International License.
This is an open-access journal distributed under the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, reproduction, and adaptation in any medium (even commercially), provided appropriate credit is given to the original author(s), a link to the license is provided, and any changes made are indicated. Authors retain copyright without restrictions and grant the journal the right of first publication as well as non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.
Downloads
OJS UsageStats PluginSimilar Articles
- Deep Learning for Classification of Mammalian Reproduction Nur Mufidah, Yuliska Zakaria, Mutia Sari Zulvi · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 5 No. 1 (2025): APRIL 2025
- Comparative Analysis of LSTM and CNN–LSTM Models for Daily Air Temperature Prediction in Tanjung Priok Port Using Multivariate Meteorological Data Erian Tasa, Tukiyat Tukiyat, Yan Mitha Djaksana · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 6 No. 2 (2026): AUGUST 2026
- Risk Analysis of Autonomous Vehicle Accidents Using Bayesian Simulation with Statistical and Visual Data Yesy Simanjuntak, Rani Indah Sari, Peter Tymoty Hutabarat, Suvriadi Panggabean · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 5 No. 3 (2025): DECEMBER 2025
- The Application of Convolutional Neural Networks in Floristic Recognition Legito, Rini Nuraini, Loso Judijanto, Ahmadi Irmansyah Lubis · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 3 No. 3 (2023): DECEMBER 2023
- Automatic Detection of Skin Diseases Using Convolutional Neural Network Algorithms Tundo, Fadillah Abi Prayogo, Sugiyono · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 4 No. 3 (2024): DECEMBER 2024
You may also start an advanced similarity search for this article.
Most read articles by the same author(s)
- Analysis of Early Detection of Automatic Weather Station Sensor Failures: A Comparative Study of Supervised Deep Neural Networks and Unsupervised Autoencoders Hasbullah Zuhri Hasibuan, Sudarno Wiharjo, Yan Mitha Djaksana · Vol. 6 No. 2 (2026): AUGUST 2026
- Analysis of Multilayer Perceptron, Long Short-Term Memory, and Temporal Convolutional Network Modeling Algorithms for Rainfall Prediction at Soekarno–Hatta Airport Eko Widyantoro, Eko Widyantoro HS, Sajarwo Anggai, Sudarno Wiharjo · Vol. 6 No. 2 (2026): AUGUST 2026
- Optimization of Employee Burnout Prediction Using Explainable Boosting Machine, Long Short-Term Memory, and Extreme Gradient Boosting Methods in Human Resource Management at PT. XYZ Syahrul Kahfi, Sudarno Wiharjo, Abu Khalid Rivai · Vol. 5 No. 3 (2025): DECEMBER 2025
Recommended Articles
Journal Transparency
Additional InformationLearn more about how this journal ensures quality, ethics, and transparency.