Implementation of Haar Cascade Classifier for Face Detection and Grayscale Image Transformation Using OpenCV
DOI:
https://doi.org/10.35143/jkt.v7i1.3411Keywords:
Computer Vision, Face Detection, Haar Cascade Classifier, OpenCVAbstract
Face detection applications on digital images are very necessary in the process of face recognizing. This application is widely used in various disciplines, one of them is computer vision such as biometric recognition systems, search systems, and security systems. Computer vision is a combination of artificial intelligence and machine learning. It can gain informations from image and video by using computer algorithms. Many previous studies have developed face detection applications with various algorithms with certain programming languages. The detection of an object is the most important part in computer vision. Determining an accurate face location is still a challenging task for researchers. The location of the face is the main step in computer vision to find the face part in the input image. Open Source Computer Vision Library (OpenCV) is software that allows open-source library containing supporting object detection that is easily accessed into the Java programming language. Haar cascade classifier is one of the algorithms used for object detection. This algorithm can convert an object quickly by taking the number of images in a square shape on an image. In this study, discussing the application of face detection in digital images using the Haar Cascade Classifier and the transformation of images into gray / grayscale images using the OpenCV library. The results in this study have 100% accuracy in input images that have objects in the frontal position.Downloads
References
G. Chern, G. Paul, and S. Jared, “Face Detection,†2003. [Online]. Available: https://web.stanford.edu/class/ee368/Project_03/Project/reports/ee368group01.pdf.
W. Lu and S. Sun, “Face Detection in Color Images,†2003. [Online]. Available: https://web.stanford.edu/class/ee368/Project_03/Project/reports/ee368group03.pdf.
S. Leahy, “Face Detection on Similar Color Photographs,†2003. [Online]. Available: https://web.stanford.edu/class/ee368/Project_03/Project/reports/ee368group17.pdf.
H. Jiang and E. Learned-Miller, “Face Detection with the Faster R-CNN,†in Proceedings - 12th IEEE International Conference on Automatic Face and Gesture Recognition, FG 2017 - 1st International Workshop on Adaptive Shot Learning for Gesture Understanding and Production, ASL4GUP 2017, Biometrics in the Wild, Bwild 2017, Heteroge, 2017, doi: 10.1109/FG.2017.82.
R. Padilla, C. C. Filho, and M. Costa, “Evaluation of haar cascade classifiers designed for face detection,†J. WASET, 2012.
P. Viola and M. Jones, “Rapid object detection using a boosted cascade of simple features,†in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2001, doi: 10.1109/cvpr.2001.990517.
C. HaiYan and L. JunHong, “The Image Process Techonlogies in Face Recognition,†in The 2nd International Conference on Information Science and Engineering, Hangzhou, 2010, pp. 4151-4154, 2010.
“Face Detection using Haar Cascades.†[Online]. Available: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_objdetect/py_face_detection/py_face_detection.html.
N. R. Syambas and U. H. Purwanto, “Image processing and face detection analysis on face verification based on the age stages,†in 2012 7th International Conference on Telecommunication Systems, Services, and Applications, TSSA 2012, 2012, doi: 10.1109/TSSA.2012.6366070.
F. Roman, “Digital Image Processing Techniques for Face Recognition,†2013. [Online]. Available: https://www.math.ksu.edu/research/i-center/reports/fernandoroman.pdf.
Downloads
Published
Issue
Section
License
Copyright (c) 2021 Jurnal Komputer TerapanÂ

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright info for authors
1. Authors hold the copyright in any process, procedure, or article described in the work and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
2. Authors retain publishing rights to re-use all or portion of the work in different work but can not granting third-party requests for reprinting and republishing the work.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) as it can lead to productive exchanges, as well as earlier and greater citation of published work.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License 











