Hybrid Face Recognition System Using Haar Cascade and Local Binary Pattern Histogram for Automatic Smart Door Access
Abstract views: 357
,
PDF downloads: 142
Abstract
Conventional key-based door access systems remain vulnerable to loss, duplication, and misuse, motivating biometric access mechanisms that can operate reliably under constrained resources. This paper proposes a hybrid face recognition system for automatic smart door access that integrates Haar Cascade for real-time face detection and Local Binary Pattern Histogram (LBPH) for lightweight recognition. The system adopts an IoT-assisted architecture in which an ESP32-CAM captures facial frames and transmits them via Wi-Fi to a processing unit that performs detection, recognition, and access-decision logic, subsequently activating a solenoid lock and generating Telegram-based event logs to support traceability. Haar Cascade efficiently localizes facial regions via multi-scale scanning and cascade-based rejection, while LBPH encodes local texture patterns into histograms for identity matching with low computational overhead. The proposed system was evaluated with three enrolled participants across seven trials, covering illumination variation, multiple faces, and a controlled failure case designed to simulate an unauthorized or non-verifiable attempt. Experimental results show a successful unlocking rate of 85.71% (6/7 trials) with an average end-to-end response time of approximately 2.20 s, demonstrating that the system can operate within practical latency constraints for real-time access control. In addition, the controlled failure case was correctly rejected, indicating a conservative security posture that prevents unsafe unlocking when facial evidence is insufficient. Overall, the findings suggest that the proposed classical-method hybrid design provides an effective balance between recognition reliability, latency, and deployment feasibility for IoT-enabled smart door security applications, particularly in cost- and power-constrained environments.
References
A. Awad, A. Baby, E. Barka, and K. Shuaib, "AI-powered biometrics for Internet of Things security: A review and future vision," J. Inf. Secur. Appl., vol. 82, p. 103748, 2024.
A. Rahim, Y. Zhong, T. Ahmad, S. Ahmad, P. Pławiak, and M. Hammad, "Enhancing Smart Home Security: Anomaly Detection and Face Recognition in Smart Home IoT Devices Using Logit-Boosted CNN Models," Sensors, vol. 23, no. 15, 2023, doi: 10.3390/s23156979.
D. Hercog, T. Lerher, M. Truntič, and O. Težak, "Design and Implementation of ESP32-Based IoT Devices," Sensors, vol. 23, no. 15, 2023, doi: 10.3390/s23156739.
P. P. Oroceo, J. I. Kim, E. M. F. Caliwag, S. H. Kim, and W. Lim, "Optimizing Face Recognition Inference with a Collaborative Edge–Cloud Network," Sensors, vol. 22, no. 21, 2022, doi: 10.3390/s22218371.
D. Tribuana, Hazriani, and A. L. Arda, "Face recognition for smart door security access with convolutional neural network method," Telkomnika (Telecommunication Comput. Electron. Control., vol. 22, no. 3, pp. 702–710, 2024, doi: 10.12928/TELKOMNIKA.v22i3.25946.
Y. Xu, T. M. Khan, Y. Song, and E. Meijering, "Edge deep learning in computer vision and medical diagnostics: a comprehensive survey," Artif. Intell. Rev., vol. 58, no. 3, pp. 1–78, 2025, doi: 10.1007/s10462-024-11033-5.
Y. C. Chen, Y. S. Liao, H. Y. Shen, M. Syamsudin, and Y. C. Shen, "An Enhanced LBPH Approach to Ambient-Light-Affected Face Recognition Data in Sensor Network," Electron., vol. 12, no. 1, 2023, doi: 10.3390/electronics12010166.
S. S. F. A. Elnozahy, S. C. Pari, and L. C. Liang, “Raspberry Pi-Based Face Recognition Door Lock System,” Internet of Things, vol. 6, no. 2, 2025, doi: 10.3390/iot6020031.
J. Zhang et al., "A Real-Time and Privacy-Preserving Facial Expression," Electronics, vol. 13, pp. 1–25, 2024.
Y. Xie, P. Li, N. Nedjah, B. B. Gupta, D. Taniar, and J. Zhang, "Privacy protection framework for face recognition in edge-based Internet of Things," Cluster Comput., vol. 26, no. 5, pp. 3017–3035, 2023, doi: 10.1007/s10586-022-03808-8.
S. Zhao, L. Zhang, and P. Xiong, "PriFace: a privacy-preserving face recognition framework under untrusted serve," J. Ambient Intteligence Humaniz. Comput., vol. 14, pp. 2967–2979, 2023.
Y. Huang, Z. Wu, J. Chen, and H. Xiang, "Privacy-Preserving Face Recognition Method Based on Randomization and Local Feature Learning," J. Imaging, vol. 10, no. 3, 2024, doi: 10.3390/jimaging10030059.
Z. Yu, Y. Qin, X. Li, C. Zhao, Z. Lei, and G. Zhao, "Deep Learning for Face Anti-Spoofing: A Survey," IEEE, vol. 45, no. 5, 2023.
S. M. Abdullahi, S. Sun, B. Wang, N. Wei, and H. Wang, "Biometric template attacks and recent protection mechanisms: A survey," Inf. Fusion, vol. 103, no. August 2023, 2024, doi: 10.1016/j.inffus.2023.102144.
B. Amirgaliyev, M. Mussabek, T. Rakhimzhanova, and A. Zhumadillayeva, "A Review of Machine Learning and Deep Learning Methods for Person Detection, Tracking and Identification, and Face Recognition with Applications," Sensors, vol. 25, no. 5, 2025, doi: 10.3390/s25051410.
A. Baran and E. Bartuzi-Trokielewicz, "Face the Challenge—Generalization of Presentation Attack Detection," Sensors, vol. 25, no. 18, pp. 1–18, 2025, doi: 10.3390/s25185792.
A. Adouani, W. Henia, and Z. Lachiri, "A comparison of face detection methods using spontaneous videos," Multimed. Tools Appl., vol. 81, pp. 23163–23191, 2022.
M. R. Holla, D. Suma, and M. D. Holla, "Optimizing accuracy and efficiency in real-time people counting with cascaded object detection," Int. J. Inf. Technol., 2024, doi: 10.1007/s41870-024-02153-w.
W. Zhang, H. Zhou, J. Mo, C. Zhen, and M. Ji, "Accelerated Inference of Face Detection under Edge-Cloud Collaboration," Appl. Sci., vol. 12, no. 17, 2022, doi: 10.3390/app12178424.
P. Zhang, L. Tan, Z. Yang, F. Huang, L. Sun, and H. Peng, "Device-edge collaborative occluded face recognition method based on cross-domain feature fusion," Digit. Commun. Networks, vol. 11, no. 2, pp. 482–492, 2025.
G. Luo, N. Chen, J. He, B. Jin, Z. Zhang, and Y. Li, "Privacy-preserving clustering federated learning for non-IID data," Futur. Gener. Comput. Syst., vol. 154, pp. 384–395, 2024.
Q. Yuan and Z. Li, "Distributed Inference Models and Algorithms for Heterogeneous Edge Systems Using Deep Learning," Appl. Sci., vol. 15, no. 3, 2025, doi: 10.3390/app15031097.
N. Fadel, "Facial Recognition Algorithms: A Systematic Literature Review," Imaging, vol. 99, no. 21, pp. 5217–5231, 2021.
M. Arif, C. Mohammad, and M. Sadiq, "UML and NFR-framework based method for the analysis of the requirements of an information system," Int. J. Inf. Technol., vol. 15, pp. 411–422, 2023.
P. Boutot and S. Mustafiz, "IoTMoF: A Requirements-Driven Modelling Framework for IoT Systems," IEEE, vol. 3, pp. 296–305, 2023.
I. Compagnucci, F. Corradini, F. Fornari, A. Polini, B. Re, and F. Tiezzi, "A systematic literature review on IoT-aware business process modeling views, requirements and notations," Softw. Syst. Model., vol. 22, pp. 969–1004, 2023.
Y. Kirikkayis, F. Gallik, M. Winter, and M. Reichert, "BPMNE4IoT: A Framework for Modeling, Executing and Monitoring IoT-Driven Processes †," Futur. Internet, vol. 15, no. 3, pp. 1–34, 2023, doi: 10.3390/fi15030090.
A. Colakovic, "IoT systems modeling and performance evaluation," Comput. Sci. Rev., vol. 50, p. 100598, 2023.
N. Messaoudi, H. Hicham, M. T. Messaoud, and H. M. Elkamel, "Multi-Layer Consistency Validation of IoT Systems with UML Inheritance Dynamic Diagrams via SPIN Model Checking," Ing. des Syst. d'Information, vol. 28, no. 6, pp. 1533–1547, 2023, doi: 10.18280/isi.280610.
S. Thitareedechakul and W. Catanawood, "Formal Verification of Sequence Diagram with State Invariants Using Timed Automata," in Proceedings of the 20th International Conference on Computing and Information Technology (IC2IT 2024), 2024, pp. 43–54.
D. Lehner, "A Model-Driven Platform for Engineering Holistic Digital Twins," IEEE, vol. 185, pp. 179–185, 2023.
I. Hafaiedh, A. Elaoud, and A. Maddouri, "A formal model-based approach to design failure-aware Internet of Things architectures," J. Reliab. Intell. Environ., vol. 10, pp. 413–430, 2024.
G. F. Mumtaz, J. Zeniarja, A. Luthfiarta, and A. N. I. Muttaqin, "Optimizing Face Recognition and Emotion Detection in Student Identification Using FaceNet and YOLOv8 Models," Inf. J. Ilm. Bid. Teknol. Inf. dan Komun., vol. 10, no. 1, pp. 34–44, 2025, doi: 10.25139/inform.v10i1.9304.
F. A.-I. A. Putra, A. R. Jatmiko, D. M. Putri, and A. H. Al-Fath, "Vehicle Licence Number Plate Recognition Using Convolution Neural Network for Traffic Violators in Indonesia," Inf. J. Ilm. Bid. Teknol. Inf. dan Komun., vol. 9, no. 2, pp. 181–186, 2024, doi: 10.25139/inform.v9i2.8449.
Copyright (c) 2026 Zahra Humaira Kudadiri, Muhammad Ikhsan

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with Inform: Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi agree to the following terms:
-
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC BY-SA 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
-
Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
-
Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.








