Sistem Pengenalan Emosi Pada Wajah Menggunakan Kamera Ponsel Dan Algoritma Convolutional Neural Network (CNN) Berbasis Android
DOI:
https://doi.org/10.55606/teknik.v6i2.11646Keywords:
Artificial Intelligence, Computer Vision Facial Emotion Recognition, MobileNetV2, TensorFlow Lite, Convolutional Neural Network (CNN)Abstract
.Advancements in Artificial Intelligence (AI) and Computer Vision (CV) have driven the development of Human–Computer Interaction (HCI), one of which is Facial Emotion Recognition (FER). However, most FER systems still rely on cloud computing, which poses privacy risks and requires an internet connection. This study focuses on developing an FER system that operates offline on Android devices with high performance and efficient resource usage. The proposed method employs a Convolutional Neural Network (CNN) using two models, a custom CNN and MobileNetV2 based on transfer learning. The FER-2013 dataset was used with three emotion classes: happy, sad, and neutral. Training was conducted using TensorFlow 2.x with the Adam optimizer, a batch size of 32, and 50 epochs. The trained models were then converted into TensorFlow Lite format with INT8 quantization optimization. The MobileNetV2 model achieved an accuracy of 87.72%, with the model size reduced from 18.2 MB to 4.7 MB and inference time under 150 ms per frame. Overall, the combination of MobileNetV2 and TensorFlow Lite proved effective in building a mobile-based emotion recognition system that is fast, efficient, and privacy-preserving through on-device processing. This research can serve as a foundation for further development toward multi-emotion recognition systems and applications supporting mental well-being and adaptive learning in the future
References
Ezquerro, L., Coimbra, R., Bauluz, B., Núñez-Lahuerta, C., Román-Berdiel, T., & Moreno-Azanza, M. (2024). Large dinosaur egg accumulations and their significance for understanding nesting behaviour. Geoscience Frontiers, 15(5). https://doi.org/10.1016/j.gsf.2024.101872
Shahzad, M. F., Xu, S., Lim, W. M., Yang, X., & Khan, Q. R. (2024). Artificial intelligence and social media on academic performance and mental well-being: Student perceptions of positive impact in the age of smart learning. Heliyon, 10(8). https://doi.org/10.1016/j.heliyon.2024.e29523
Zhang, W., Xu, M., Feng, Y., Mao, Z., & Yan, Z. (2024). The Effect of Procrastination on Physical Exercise among College Students—The Chain Effect of Exercise Commitment and Action Control. International Journal of Mental Health Promotion, 26(8), 611–622. https://doi.org/10.32604/ijmhp.2024.052730
Jason Brownlee. 2022. Deep Learning for Computer Vision. Machine Learning Mastery.
John Brooke. 1996. “SUS: A Quick and Dirty Usability Scale.” Usability Evaluation in Industry.
Alan S. Cowen dan Dacher Keltner. 2021. “Semantic Space Theory of Emotion.” Trends in Cognitive Sciences.
Howard M. Deitel dan Paul J. Deitel. 2020. Android for Programmers: An App-Driven Approach. Pearson.
Tom Fawcett. 2006. “An Introduction to ROC Analysis.” Pattern Recognition Letters.
Martin Fowler. 2018. UML Distilled: A Brief Guide to the Standard Object Modeling Language. Boston: Addison-Wesley.
Ian Goodfellow, Yoshua Bengio, dan Aaron Courville. 2016. Deep Learning. Cambridge: MIT Press.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, dan Jian Sun. 2016. “Deep Residual Learning for Image Recognition.” CVPR 2016.
Geoffrey Hinton, Nitish Srivastava, dkk. 2014. “Dropout: A Simple Way to Prevent Neural Networks from Overfitting.” Journal of Machine Learning Research.
Andrew Howard, Mark Sandler, Menglong Zhu, dkk. 2018. “MobileNetV2: Inverted Residuals and Linear Bottlenecks.” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
IEEE. 2021. IEEE Standard for Software and System Test Documentation. IEEE Computer Society.
ISO. 2011. ISO/IEC 25010: Systems and Software Quality Requirements and Evaluation (SQuaRE). Geneva: International Organization for Standardization.
Sergey Ioffe dan Christian Szegedy. 2015. “Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift.” ICML 2015.
Diederik P. Kingma dan Jimmy Ba. 2015. “Adam: A Method for Stochastic Optimization.” International Conference on Learning Representations (ICLR).
Alex Krizhevsky, Ilya Sutskever, dan Geoffrey Hinton. 2012. “ImageNet Classification with Deep Convolutional Neural Networks.” Advances in Neural Information Processing Systems.
Kaggle. 2024. FER-2013 Dataset. Diakses dari: FER-2013 Dataset Kaggle
Ron Kohavi. 1995. “A Study of Cross-Validation and Bootstrap for Accuracy Estimation and Model Selection.” International Joint Conference on Artificial Intelligence (IJCAI).
Yann LeCun, Yoshua Bengio, dan Geoffrey Hinton. 2015. “Deep Learning.” Nature, Vol. 521, No. 7553, hlm. 436–444.
Mark Lutz. 2013. Learning Python. California: O'Reilly Media.
Tom M. Mitchell. 1997. Machine Learning. McGraw-Hill.
Jakob Nielsen. 2012. Usability Engineering. Morgan Kaufmann.
NumPy. 2024. NumPy Documentation. Diakses dari: NumPy Official Documentation
OpenCV. 2024. OpenCV Documentation. Diakses dari: OpenCV Official Documentation
Sinno Jialin Pan dan Qiang Yang. 2010. “A Survey on Transfer Learning.” IEEE Transactions on Knowledge and Data Engineering.
Roger S. Pressman dan Bruce R. Maxim. 2020. Software Engineering: A Practitioner’s Approach. New York: McGraw-Hill Education.
Sharma. 2022. “TensorFlow Lite for Real-Time Mobile Deep Learning Applications.” International Journal of Artificial Intelligence and Applications.
Ben Shneiderman, Catherine Plaisant, dkk. 2018. Designing the User Interface: Strategies for Effective Human-Computer Interaction. Pearson.
Karen Simonyan dan Andrew Zisserman. 2015. “Very Deep Convolutional Networks for Large-Scale Image Recognition.” International Conference on Learning Representations (ICLR).
Sommerville Ian. 2016. Software Engineering. Boston: Pearson Education.
Sugiyono. 2021. Metode Penelitian Kuantitatif, Kualitatif, dan R&D. Bandung: Alfabeta.
Richard S. Sutton dan Andrew G. Barto. 2018. Reinforcement Learning: An Introduction. MIT Press.
Google. 2025. Android Studio Documentation. Diakses dari: Android Studio Official Documentation
Google. 2025. CameraX Documentation. Diakses dari: CameraX Official Documentation
Google. 2024. Flutter Documentation. Diakses dari: Flutter Official Documentation
Google. 2024. Google AI Ethics Principles. Diakses dari: Google AI Principles
Google. 2024. TensorFlow Documentation. Diakses dari: TensorFlow Official Documentation
Google. 2024. TensorFlow Lite Documentation. Diakses dari: TensorFlow Lite Official Documentation
European Union. 2024. European AI Act. Brussels: European Commission.
Paul Viola dan Michael Jones. 2001. “Rapid Object Detection Using a Boosted Cascade of Simple Features.” IEEE Computer Society Conference on Computer Vision and Pattern Recognition.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jurnal Teknik Mesin, Elektro dan Ilmu Komputer

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.






