Skip to main navigation menu Skip to main content Skip to site footer

Articles

Vol. 10 No. 6 (2025): Kohesi: Jurnal Sains dan Teknologi, ISSN 3025-1311

DETEKSI WAJAH DAN SENYUM REAL-TIME MENGGUNAKAN METODE HAAR CASCADE BERBASIS OPENCV

Submitted
November 27, 2025
Published
2025-12-01

Abstract

Real-time face and smile detection has become an essential component of interactive multimedia systems that require natural and responsive human–computer interaction. However, achieving an optimal balance between detection accuracy, processing speed, and robustness under varying lighting, pose, and environmental conditions remains a significant challenge, particularly for systems intended to run on standard hardware with limited computational resources. This study aims to develop a real-time face and smile detection system using the Haar Cascade method based on OpenCV and implemented through a web-based interface built with Streamlit. The proposed system applies a cascaded detection approach, where face detection is performed on the entire video frame, followed by smile detection restricted to the detected facial Region of Interest (ROI). This strategy improves computational efficiency while reducing false positive detections. Performance evaluation was conducted using the Frames Per Second (FPS) metric, calculated dynamically from the processing time between consecutive frames. Experimental results indicate that the system operates effectively in real-time conditions, maintaining performance at approximately 5 FPS under moderate computational load, while still providing accurate visual annotations in the form of bounding boxes and labels.The system demonstrates high efficiency, ease of implementation, and acceptable accuracy in controlled environments. Nevertheless, performance degradation is observed under low lighting, non-frontal poses, and partial occlusions. These findings highlight the need for future improvements through the integration of deep learning-based approaches to enhance adaptability and detection robustness.

References

  1. Antipona, C. A., Magsino, R. R., Dioses, R. M., & Mata, K. E. (2024). An enhancement of Haar Cascade algorithm applied to face recognition for gate pass security. arXiv. https://doi.org/10.48550/arXiv.2411.03831
  2. Binanto, I. (2010). Multimedia digital: Dasar teori dan pengembangannya. Andi.
  3. Bradski, G. (2000). The OpenCV library. Dr. Dobb’s Journal of Software Tools, 25, 120–126.
  4. Borman, R. I., & Purwanto, Y. (2019). Implementasi multimedia development life cycle pada pengembangan game edukasi pengenalan bahaya sampah pada anak. Jurnal Edukasi dan Penelitian Informatika (JEPIN), 5(2), 119–124. https://doi.org/10.26418/jp.v5i2.32688
  5. Chaidir, M., Abidin, T. F., Sofyan, H., & Muchtar, K. (2025). Enhancing face recognition model performance through HyperStyle-driven data augmentation. Applied Computational Intelligence and Soft Computing, 2025(1). https://doi.org/10.1155/acis/4097213
  6. Godehardt, M., Wirth, M., Woeber, T., & Balle, F. (2017). Face recognition with machine learning in OpenCV – Fusion of the results with the localization data of an acoustic camera for speaker identification. arXiv. https://doi.org/10.48550/arXiv.1707.00835
  7. Gursesli, M. C., Lombardi, S., Duradoni, M., Bocchi, L., Guazzini, A., & Lanata, A. (2024). Facial emotion recognition (FER) through custom lightweight CNN model: Performance evaluation in public datasets. IEEE Access, 12, 45543–45559. https://doi.org/10.1109/ACCESS.2024.3380847
  8. Majeed, H. L., Hassen, O. A., Farhan, D. A., Gromov, Y. Y., Sheoran, K., & Dhand, G. (2025). Computer vision of smile detection based on machine and deep learning approach. Journal of Cybersecurity and Information Management, 16(1), 208–230. https://doi.org/10.54216/JCIM.160115
  9. Perkel, J. M. (2016). Democratic databases: Science on GitHub. Nature, 538(7623), 127–128. https://doi.org/10.1038/538127a
  10. Rao, G. A., & Kumar, D. A. (2016). Object detection using image processing. arXiv. https://arxiv.org/abs/1611.07791
  11. Suhaimin, M. S. M., Hijazi, M. H. A., Kheau, C. S., & On, C. K. (2021). Real-time mask detection and face recognition using eigenfaces and local binary pattern histogram for attendance system. Bulletin of Electrical Engineering and Informatics, 10(2), 1105–1113. https://doi.org/10.11591/EEI.V10I2.2859
  12. Topalli, N., & Badii, A. (2025). A user-centric context-aware framework for real-time optimisation of multimedia data privacy protection and information retention within multimodal AI systems. Sensors, 25(19), 6105. https://doi.org/10.3390/s25196105
  13. Vaughan, T. (2011). Multimedia: Making it work (8th ed.). McGraw-Hill.
  14. Viola, P., & Jones, M. (2001). Rapid object detection using a boosted cascade of simple features. In Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR) (Vol. 1, pp. I-511–I-518). IEEE. https://doi.org/10.1109/CVPR.2001.990517
  15. Yeh, J. F., Lin, K. M., Chang, C. C., & Wang, T. H. (2023). Expression recognition of multiple faces using a convolution neural network combining the Haar Cascade classifier. Applied Sciences, 13(23). https://doi.org/10.3390/app132312737

Most read articles by the same author(s)

<< < 1 2 3 

Similar Articles

1-10 of 173

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