Implementation of Haar Cascade and K-Nearest Neighbors (KNN) Face Recognition for Optimizing Warehouse Access Control Security
DOI:
https://doi.org/10.35870/ijsecs.v5i3.5244Keywords:
Security, Face Recognition, Haar Cascade, K-Nearest Neighbors Classifier, Access ControlAbstract
Warehouse facility access control security represents a critical factor in maintaining operational integrity and preventing criminal activities. This research addresses the elevated security threat risks associated with physical surveillance systems that continue to rely on manual methods with suboptimal performance. The study develops an automated security system based on face recognition technology, implementing Haar Cascade and K-Nearest Neighbors Classifier methods to identify and verify warehouse user identities with precision and automation. The research object focuses on facial recognition systems for warehouse access control. The methodology applies Haar Cascade algorithms for facial detection and K-Nearest Neighbors Classifier for classifying detected faces against existing datasets. Implementation utilizes external webcams, computer hardware, and Python-based programming software. Results demonstrate that the developed system achieves facial recognition accuracy exceeding 90%, delivering superior security performance compared to manual systems. The research concludes that face recognition technology effectively enhances efficiency and security in warehouse access management. The study recommends implementing such systems in large-scale warehouse facilities to optimize security management protocols
Downloads
References
Shetty, A. B., & Rebeiro, J. (2021). Facial recognition using Haar cascade and LBP classifiers. Global Transitions Proceedings, 2(2), 330-335. https://doi.org/10.1016/j.gltp.2021.08.044
Nugroho, F. T. (2024). Face detection using Haar Cascade classifier algorithm. Jurnal Informatika dan Teknologi Universitas Teknologi Yogyakarta, 2797-2313.
Gangopadhyay, I., Chatterjee, A., & Das, I. (2019). Face detection and expression recognition using Haar cascade classifier and Fisherface algorithm. In Recent Trends in Signal and Image Processing: Proceedings of ISSIP 2018 (pp. 1-11). Singapore: Springer Singapore. https://doi.org/10.1007/978-981-13-6783-0_1
Choi, C. H., Kim, J., Hyun, J., Kim, Y., & Moon, B. (2022). Face detection using haar cascade classifiers based on vertical component calibration. Human-centric Computing and Information Sciences, 12(11), 1-17. https://doi.org/10.22967/HCIS.2022.12.011
Nugroho, F. T., & Sela, E. I. (2024). Deteksi Citra Wajah Menggunakan Algoritma Haar Cascade Classifier: Face Detection Using Haar Cascade Classifier Algorithm. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 4(1), 37-44. https://doi.org/10.57152/malcom.v4i1.988
Antipona, C. A., Magsino III, R. R., Dioses, R. M., & Mata, K. E. (2024). An enhancement of Haar Cascade algorithm applied to face recognition for gate pass security. Journal of Advanced Research in Computing and Applications.
Ariffin, N. A. B. M., Gimba, U. A., & Musa, A. (2025). Face detection using Haar Cascade and Convolutional Neural Networks (CNN). Journal of Advanced Research in Computing and Applications, 38(1), 1-11. https://doi.org/10.37934/arca.38.1.111
makmun Jemakmun, J., & Suhirja, R. (2023). Haar Cascade Algorithm on Mask Detection System Based on Distance In Facing The Normal Era. Journal of Informatics and Telecommunication Engineering, 7(1), 84-90. https://doi.org/10.31289/jite.v7i1.9346
Bahit, M., Utami, N. P., Candra, H. K., Supit, Y., & Ramadhan, A. A. (2023). Validation of the Haar Cascade Classification Method in Face Detection. Journal of Informatics and Telecommunication Engineering, 7(1), 233-243. https://doi.org/10.31289/jite.v7i1.10040
Ramadini, F. L., & Haryatmi, E. (2022). Penggunaan Metode Haar Cascade Classifier dan LBPH Untuk Pengenalan Wajah Secara Realtime. InfoTekJar: Jurnal Nasional Informatika Dan Teknologi Jaringan, 6(2), 290-296. https://doi.org/10.30743/infotekjar.v6i2.4714
Diyasa, I. G. S. M., Putra, A. H., Ariefwan, M. R. M., Atnanda, P. A., Trianggraeni, F., & Purbasari, I. Y. (2022). Feature extraction for face recognition using Haar Cascade Classifier. Nusantara Science and Technology Proceedings, 197-206. https://doi.org/10.11594/nstp.2022.2432
Arya, Z., & Twiari, V. (2020). Automatic Face Recognition and Detection Using OpenCV, Haar Cascade and Recognizer at Different Angle of Face. International Journal of Engineering Research and Applications, 10(6), 2020. https://doi.org/10.9790/9622-1006060410
Beri, N., Srivastava, V., & Malik, N. (2024). Face Recognition Attendance Management System using LBPH and Haar Cascade. Journal of Trends in Computer Science and Smart Technology, 6(3), 257-273. https://doi.org/10.36548/jtcsst.2024.3.004
Minu, M. S., Arun, K., Tiwari, A., & Rampuria, P. (2020). Face recognition system based on haar cascade classifier. International Journal of Advanced Science and Technology, 29(5), 3799-3805. https://doi.org/10.11594/ijast.2020.29.5.12
Lakshmiprabha, Patil, S., Kakad, S., & Patil, S. (2025). Autism detection using Haar Cascade machine learning algorithm. International Journal of Innovative Science and Research Technology (IJISRT), 10(3), 1636-1641. https://doi.org/10.38124/ijisrt/25mar1417.
RamyaKalangi, R., Lakshmiteja, N., Haritha, K., Sonika, K., & Jahnavi, T. (2021). Real Time Face Detection With Image Dataset Load On Haar Cascade Algorithm. Turkish Journal of Computer and Mathematics Education, 12(7), 2366-2374.
Isnanto, R. R., Rochim, A. F., Eridani, D., & Cahyono, G. D. (2021). Multi-object face recognition using Local Binary Pattern Histogram and Haar Cascade classifier on low-resolution images. International Journal of Engineering and Technology Innovation (IJETI), 11(1). https://doi.org/10.46604/ijeti.2021.6174
Rahmad, C., Asmara, R. A., Putra, D. R. H., Dharma, I., Darmono, H., & Muhiqqin, I. (2020). Comparison of Viola-Jones Haar Cascade classifier and Histogram of Oriented Gradients (HOG) for face detection. IOP Conference Series: Materials Science and Engineering, 732, Article 012038. https://doi.org/10.1088/1757-899X/732/1/012038
Ahmad, A. H., Saon, S., Mahamad, A. K., Darujati, C., Mudjanarko, S. W., Nugroho, S. M. S., & Hariadi, M. (2021). Real-time face recognition of video surveillance system using Haar Cascade classifier. Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), 21(3), 1389-1399. https://doi.org/10.11591/ijeecs.v21.i3.pp1389-1399
Riyantoko, P. A., Sugiarto, & Hindrayani, K. M. (2021). Facial emotion detection using Haar-Cascade classifier and Convolutional Neural Networks. Journal of Physics: Conference Series, 1844, Article 012004. https://doi.org/10.1088/1742-6596/1844/1/012004
Srithar, S., Mary, M. I., Baskaran, P., & Maheswaran, T. (2021). Improved Haar Cascade feature extraction and access control framework for rich internet applications. Journal of Physics: Conference Series, 1916, Article 012019. https://doi.org/10.1088/1742-6596/1916/1/012019
Kim, E.-J. (2022). The use of Haar Cascade result selection algorithm to check wearing masks and fever abnormality. Journal of the Korea Institute of Information and Communication Engineering, 26(2), 193-198. https://doi.org/10.6109/jkiice.2022.26.2.193
Tian, M. Z., Liu, L., Lu, J. Y., & Cheng, Y. (2022, July). Vehicle recognition based on Haar features and Adaboost cascade classifier. In Journal of Physics: Conference Series (Vol. 2303, No. 1, p. 012052). IOP Publishing. https://doi.org/10.1088/1742-6596/2303/1/012052
Zeebaree, I. M., & Kareem, O. S. (2022). Face mask detection using Haar Cascades classifier to reduce the risk of COVID-19. International Journal of Mathematics, Statistics, and Computer Science, 2. https://doi.org/10.59543/ijmscs.v2i.7845
Waelen, R. A. (2023). The power of computer vision: A critical analysis [Doctoral dissertation, University of Twente]. University of Twente. https://doi.org/10.3990/1.9789036557948
Verdhan, V. (2020). Computer vision using deep learning: Neural network architectures with Python and Keras. Apress. https://doi.org/10.1007/978-1-4842-6616-8
Szeliski, R. (2022). Computer vision: algorithms and applications. Springer Nature. https://doi.org/10.1007/978-3-030-34373-6
Basu, A., & Aggarwal, J. K. (2020). Computer vision for assistive healthcare. Springer. https://doi.org/10.1007/978-3-030-58580-8
Mulyana, D. I., & Edi. (2023). Penerapan face recognition dengan algoritma Viola Jones dalam sistem presensi kehadiran siswa dan guru pada Sekolah IDN Boarding School Jonggol. Jurnal Indonesia: Manajemen Informatika dan Komunikasi, 4(3), 1749-1757. https://doi.org/10.35870/jimik.v4i3.398
Mulyana, D. I., & Aribatullah. (2025). Klasifikasi Absensi Face Geo-Location Menggunakan Metode CNN pada PT Indomarco Prismatama. Jurnal Indonesia : Manajemen Informatika Dan Komunikasi, 6(1), 303-317. https://doi.org/10.35870/jimik.v6i1.1193
Mulyana, D. I., Saputry, Y. Y. A., Ramadan, A., & Saragih, S. (2023). Penerapan face recognition dengan algoritma Haar Cascade untuk sistem absensi pada Yayasan Pusat Pengembangan Anak Jakarta. Jurnal Cahaya Mandalika, 3(3), 215-226. https://doi.org/10.36312/jcm.v3i3.1284.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Dadang Iskandar Mulyana, Muhammad Adri Ramadhan

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Copyright Retention and Open Access License
Authors retain copyright of their work and grant the journal non-exclusive right of first publication under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license allows unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
2. Rights Granted Under CC BY 4.0
Under this license, readers are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, including commercial use
- No additional restrictions — the licensor cannot revoke these freedoms as long as license terms are followed
3. Attribution Requirements
All uses must include:
- Proper citation of the original work
- Link to the Creative Commons license
- Indication if changes were made to the original work
- No suggestion that the licensor endorses the user or their use
4. Additional Distribution Rights
Authors may:
- Deposit the published version in institutional repositories
- Share through academic social networks
- Include in books, monographs, or other publications
- Post on personal or institutional websites
Requirement: All additional distributions must maintain the CC BY 4.0 license and proper attribution.
5. Self-Archiving and Pre-Print Sharing
Authors are encouraged to:
- Share pre-prints and post-prints online
- Deposit in subject-specific repositories (e.g., arXiv, bioRxiv)
- Engage in scholarly communication throughout the publication process
6. Open Access Commitment
This journal provides immediate open access to all content, supporting the global exchange of knowledge without financial, legal, or technical barriers.
