Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 Hybrid Face Recognition System Using Haar Cascade and Local Binary Pattern Histogram for Automatic Smart Door Access Zahra Humaira Kudadiri1. Muhammad Ikhsan2 Computer Science Department. Universitas Islam Negeri Sumatera Utara Medan. Indonesia humairazahra623@gmail. com(*) ikhsan@uinsu. Received: 2025-12-29. Accepted: 2026-01-17. Published: 2026-01-29 AbstractAi 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% . /7 trial. 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. KeywordsAi Face Recognition. Haar Cascade. Local Binary Pattern Histogram. Automatic Smart Door Access. Internet of Things. INTRODUCTION Smart access control has become a critical layer in contemporary physical security because conventional keybased mechanisms remain prone to loss, duplication, and unauthorized transfer, thereby weakening accountability and making post-incident tracing difficult in real deployments . , . In parallel, the rapid diffusion of Internet of Things (IoT) infrastructure in homes, laboratories, and office environments has accelerated demand for access systems that are both automated and auditable, enabling sensing, decision-making, and actuation to be integrated into a coherent security workflow . Within this landscape, biometrics has been increasingly positioned as a practical alternative to token-based authentication, particularly in IoT-driven security ecosystems that emphasize continuous operation and minimal user friction Among biometric modalities, face recognition is attractive for door access because it is contactless, scalable, and wellsuited to camera-based security systems . Recent literature synthesizes substantial progress in face recognition algorithms and operational deployments, ranging from featurebased classical pipelines to deep learning systems optimized for high-accuracy identification under diverse conditions . applied security contexts, face recognition has been adopted not only for identification but also for enforcing access policies in controlled spaces, supporting higher-level security automation and reducing reliance on shared credentials . Nevertheless, many high-performing solutions reported in the literature depend on computationally intensive models that can be challenging to sustain on low-cost devices without sacrificing latency or stability . A persistent engineering challenge, therefore, lies in maintaining dependable recognition performance while ensuring predictable response time and robust, long-running operation under constrained compute and power budgets . Studies on edge-to-cloud inference emphasize that resourceaware partitioning separating acquisition and heavy computation across heterogeneous components can reduce endto-end delay and improve system maintainability compared to fully embedded designs . At the same time, smart-home security research continues to highlight operational constraints such as illumination variation, partial occlusion, and user behavior diversity, which collectively affect real-world reliability if not explicitly accounted for in system design . , . Beyond performance, privacy and security risks surrounding biometric data have become central concerns in face recognition deployments, particularly when images or templates traverse networks or are stored in less-trusted environments . Recent proposals in edge-based IoT scenarios introduce privacy protection frameworks and learning-based scrambling strategies to reduce leakage risk while preserving recognition utility, indicating that practical access systems increasingly require privacy-aware design choices rather than purely accuracy-driven optimization . , . Additionally, presentation attacks and spoofing attempts remain a relevant threat class for face-based authentication, and DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 surveys in high-impact venues have emphasized that securing face recognition systems requires anticipating both benign failures . , occlusio. and adversarial behaviour . , spoof medi. Although face recognition has been increasingly adopted for access-control applications, realworld deployment remains challenging. System performance may degrade due to illumination fluctuation, pose variation, motion blur, and partial occlusion caused by accessories . glasses, hat. or face coverings. Moreover, many reported implementations focus primarily on recognition accuracy while providing limited validation of end-to-end access decisions, actuator reliability, and auditable event logging, all of which are critical for security-sensitive door access systems. These limitations motivate the need for an approach that is computationally efficient, reproducible, and robust enough for practical indoor use. Motivated by these gaps, this work proposes a Hybrid Face Recognition System for automatic smart door access that combines Haar Cascade for efficient face detection and Local Binary Pattern Histogram (LBPH) for lightweight identity recognition, deployed in a hybrid processing architecture to improve stability and response predictability. While deep learning solutions frequently dominate accuracy benchmarks, recent investigations on binary-pattern descriptors and embedded face pipelines indicate that texture-based representations remain valuable when computational simplicity, training-data efficiency, and operational predictability are primary constraints . The novelty of this study lies in . operationalizing a hybrid architecture that separates acquisition and recognition workloads for sustained door-access operation, and . integrating a lightweight detectionAerecognition pipeline appropriate for constrained deployments while maintaining clear evaluation procedures for access outcomes and response time characteristics . The objective is to design and validate an automatic door-access workflow that reliably distinguishes authorized from unauthorized attempts with stable latency, while remaining implementable on practical hardware configurations commonly used in low-cost security prototypes . adopts a system-oriented evaluation perspective. From a usability standpoint, facial biometrics offer a seamless authentication experience. Users are not required to remember passwords, carry physical tokens, or perform any explicit actions beyond simply being in front of a camera. This advantage has been widely cited as a key motivation for deploying face recognition in residential and institutional smart door systems . Despite these advantages, face recognition-based access control systems face notable challenges. Environmental variations such as illumination changes, camera angle deviations, and partial occlusions can significantly degrade recognition performance. Several studies report that systems performing well in laboratory conditions may experience reduced reliability in real-world deployments if these factors are not adequately addressed . Deep learning-based face recognition models often achieve superior accuracy in unconstrained environments. however, they typically require large-scale training data and significant computational resources to provide low-latency inference. Such requirements can be impractical for IoT-oriented deployments, where power consumption, cost, and maintainability are critical. In contrast. Haar Cascade and LBPH offer a lightweight, interpretable alternative: Haar Cascade enables rapid face localization through early rejection. At the same time. LBPH performs identity matching with low computational overhead and modest training requirements. Therefore, this study adopts Haar Cascade and LBPH to ensure efficient processing, acceptable latency, and feasibility for edge-device-assisted smart door access systems. Security concerns also shape contemporary research directions. Presentation attacks, including the use of printed photographs or digital displays, have been identified as significant threats in unattended access Consequently, recent literature emphasizes the importance of robust system design and complementary safeguards rather than relying solely on recognition accuracy metrics . Face Detection in Smart Door Systems Face detection is a fundamental pre-processing stage in face Face Recognition-Based Access Control System recognitionAebased access control systems, as it defines the Face recognition has become one of the most prominent region of interest for subsequent recognition processes. Errors biometric modalities for physical access control systems due to at this stage propagate directly to recognition, increasing false its non-intrusive operation and high user acceptance. Unlike rejection rates and undermining system reliability. key-based or card-based mechanisms, facial authentication Consequently, detection performance is a decisive factor in the does not rely on transferable credentials, thereby reducing risks operational success of smart door systems . Among associated with loss, theft, or duplication. Recent security classical face detection techniques. Haar Cascade classifiers studies emphasize that contactless biometrics are increasingly remain widely employed due to their computational efficiency favoured in smart infrastructure, particularly for access control and suitability for real-time applications. The method relies on systems that operate frequently and autonomously . In smart Haar-like features evaluated using integral images, enabling door applications, face recognition is typically embedded rapid computation even on resource-constrained platforms . within a broader access-control pipeline consisting of image Haar Cascade detection is structured as a cascade of weak acquisition, face detection, identity recognition, and actuation. classifiers trained using the AdaBoost algorithm. Early stages The literature stresses that system effectiveness cannot be of the cascade quickly reject non-face regions, while later evaluated solely by recognition accuracy. operational reliability, stages perform more detailed analysis of candidate regions. response time, and stability during continuous use are equally This hierarchical design significantly reduces average critical . As a result, access-control research increasingly DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 processing time, which is critical for access control systems requiring immediate response . The decision function of a Haar Cascade classifier can be expressed in Equation . , yce. denotes the classifier score obtained by combining multiple weak classifiers, where ycycn represents the weight of the ycn-th classifier and Eaycn . is its corresponding response. approaches often achieve higher accuracy in unconstrained datasets. LBPH requires significantly fewer training samples and lower computational resources, which is advantageous for real-time access control systems . ycA ycI. = Oc yuycn Eaycn. ycn=1 This formulation reflects how multiple simple features are combined into a strong classifier capable of distinguishing facial patterns from background regions. Haar Cascade performs reliably in controlled environments, particularly under frontal face orientation and moderate illumination. While deep learningAebased detectors outperform Haar methods in unconstrained settings, their computational demands often limit practical deployment in embedded or hybrid smart door systems . As a result. Haar Cascade continues to be adopted in smart door applications where system simplicity, predictable latency, and ease of implementation are prioritized over maximal robustness in unconstrained scenarios . Face Recognition Using Local Binary Pattern Histogram Local Binary Pattern Histogram (LBPH) is a feature-based face recognition method widely adopted in access control systems due to its simplicity and robustness under controlled conditions . Unlike holistic approaches. LBPH focuses on local texture variations, making it less sensitive to global illumination changes commonly encountered in indoor access scenarios . The fundamental concept of LBPH is to compare the intensity of a central pixel with that of its neighbouring pixels within a predefined radius. This comparison generates a binary pattern that captures micro-texture information such as edges and corners, which are critical for discriminating facial identities . The LBPH operator is mathematically defined in Equation . , yayaAycE. cuyca , ycyca ) denotes the local binary pattern code computed at the center pixel located at coordinates . cuyca , ycyca ). The parameter ycErepresents the number of neighboring pixels considered in the local neighborhood, where ycnyca is the intensity value of the centre pixel and ycnycu is the intensity of the ycu -th neighboring pixel. The function yc(UI)is a thresholding function that converts the intensity difference . cnycu Oeycnyca )into a binary value, and the resulting binary pattern is weighted by 2ycu and summed over all neighbors to produce the final LBP code. Hybrid Architecture in Face RecognitionAeBased Smart Door Systems Hybrid architecture has been increasingly adopted in face recognitionAebased smart door systems to address the limitations of fully embedded implementations . In hybrid systems, image acquisition and recognition processing are decoupled, allowing each subsystem to operate according to its computational characteristics. This architectural separation enables continuous image acquisition without interruption from recognition processing tasks. Studies report that such decoupling significantly improves system responsiveness and stability, particularly in access-control applications that require real-time operation . Hybrid architectures also facilitate better resource management. Computationally intensive recognition tasks can be executed on more capable processing units, while lightweight acquisition modules focus on consistent data capture, reducing overall system latency . From a design perspective, modular hybrid architectures support scalability and maintainability. Algorithm updates or hardware upgrades can be implemented independently, minimizing system downtime and redevelopment effort . Reliability is another critical advantage of a hybrid design. isolating system components, faults or delays in recognition processing do not necessarily disrupt image acquisition or access monitoring, enhancing fault tolerance . Automatic Access Control Systems Based on Face Recognition Automatic access control systems based on face recognition have been widely investigated as a secure alternative to conventional authentication mechanisms. Unlike card-based or password-based systems, facial authentication enables seamless verification without requiring physical contact or user interaction . Recent studies emphasize that face recognitionAebased access control is particularly suitable for environments where security and convenience must be achieved simultaneously. In automatic smart door applications, access decisions are generated by integrating facial recognition outputs with control logic that governs door locking This integration allows doors to be unlocked only when an authorized face is detected, thereby preventing ycEOe1 unauthorized entry . Access control systems employing ycu . classical computer vision techniques remain relevant due to yayaAycE. cuyca , ycyca ) = Oc yc. cnycu Oe ycnyca ) y 2 their interpretability and ease of deployment. Unlike deep ycu=0 learning approaches that require extensive datasets and high In practice. LBP codes computed over the facial region are computational resources, classical methods such as Haar accumulated into histograms that represent individual identities. Cascade and LBPH offer practical advantages in constrained Recognition is performed by comparing histogram distances environments . A hybrid smart door architecture that using similarity metrics such as Euclidean or Chi-square separates image acquisition from recognition processing to distance, enabling efficient identity matching . LBPH offers enhance efficiency and system stability, to implement a a favourable trade-off between recognition accuracy and complete face detection and recognition pipeline using Haar computational complexity. While deep learningAebased Cascade and LBPH including access-decision logic, solenoid DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 actuation, and Telegram-based event logging and to evaluate the system under practical scenarios . llumination variation, multi-face presence, and controlled failure condition. by reporting the success rate and end-to-end response time as key performance indicators. Overall System Architecture The System Architecture Diagram provides a structural representation of the proposed hybrid smart door access system, illustrating the relationship between hardware and software components . This diagram is critical for understanding how system modules are organized and how responsibilities are distributed across components . The architecture comprises three principal subsystems: the image acquisition unit, the processing unit, and the access control The image acquisition unit consists of a camera module that captures facial images. These images are transmitted to the processing unit, which performs face detection, feature extraction, and recognition . The processing unit hosts the core algorithms, including Haar Cascade for face detection and Local Binary Pattern Histogram for recognition. Haar Cascade detects faces by evaluating Haar-like rectangular features computed efficiently using integral images. A cascade of weak classifiers is applied in a multi-scale, sliding-window manner, rejecting non-face regions early to enable fast detection. The output is a bounding box ROI used for recognition. LBPH performs recognition by encoding local texture patterns. For each pixel, the neighborhood intensity is thresholded to form a binary pattern. these patterns are accumulated into histograms across spatial grids, producing a robust representation under moderate illumination changes. During inference, the histogram of an input face is compared with enrolled templates using a distance The system assigns the identity with the minimum distance and grants access only when this distance is below a predefined threshold. otherwise, access is denied. Separating these functions from the acquisition unit reduces computational burden at the sensing level and improves overall system stability . The access control actuator receives recognition results and executes physical actions, such as unlocking or maintaining the door in the locked state . This architectural separation embodies the hybrid design principle, which has been shown to enhance scalability, maintainability, and fault tolerance in biometric access control systems . The System Architecture Diagram, therefore, provides a clear blueprint that supports both implementation and future system extensions. II. RESEARCH METHODOLOGY Use Case Diagram The Use Case Diagram is employed to describe the functional interaction between the user and the smart door access system at a high level of abstraction . This diagram focuses on the system's behaviour from the user's perspective rather than its internal implementation, making it an essential tool for capturing functional requirements . In the proposed system, the primary actor is the user attempting to access the door, while the system itself represents the boundary enclosing all recognition and control functionalities . The main use case involves facial authentication, which includes image capture, identity verification, and access decision. Secondary use cases, such as access denial and system standby, are implicitly triggered based on recognition outcomes . The Use Case Diagram clarifies that the authentication process is fully automated and requires no explicit user interaction beyond being in front of the camera. This design reflects the nonintrusive nature of biometric face recognition systems and aligns with usability principles emphasized in access control research . From a methodological standpoint, the Use Case Diagram serves as a foundation for subsequent modelling By defining system boundaries and user-system interactions early, the diagram helps prevent functional It ensures that all later architectural and behavioural models remain consistent with the intended system purpose . Fig. System Architecture Diagram of the Hybrid Smart Door Access System Fig. 2 shows how captured facial images are processed for detection and recognition before triggering the door actuator. It also highlights the separation between acquisition, processing, and actuation modules to support stable operation. Fig. Use Case Diagram of the Smart Door Access System Fig. 1 summarises the system's functional requirements by mapping the main authentication use case and its outcomes. clarifies the boundary of interaction between the user and the smart door system during access attempts. Flowchart of System Operation The flowchart describes the sequential operational logic of the smart door access system from start to finish . Unlike DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 the Use Case Diagram, which captures functional intent, the flowchart focuses on procedural execution and decisionmaking paths . The operational flow begins with continuous monitoring of the access area through the camera When a face is detected, the system captures an image frame and forwards it to the processing unit. Face detection is performed first to ensure that only valid facial regions proceed to recognition . After detection, the recognition process compares the extracted facial features with registered templates stored in the database. A decision node evaluates whether the similarity score exceeds a predefined threshold. If the threshold is met, access is granted. otherwise, access is denied, and the system returns to the monitoring state . The flowchart explicitly represents all decision points and termination conditions, ensuring that no undefined operational states exist. Such explicit workflow modelling is crucial for avoiding logical errors and improving system reliability in real-world deployments . and recognition functions before transmitting the authentication result to the access control module . The access control module then issues a command to either unlock the door or maintain its locked state. Once the action is completed, a feedback signal confirms execution, and the system returns to the idle monitoring state. This sequence ensures a closed-loop operation with clear initiation and termination points . By explicitly modelling message exchanges, the Sequence Diagram helps identify potential communication delays and supports optimizing response time, a critical performance metric in smart door access systems . Security in smart access control systems depends on reliable authentication, since weak verification may enable unauthorized access . To implement automated verification efficiently, computer visionAebased recognition is widely adopted, as it can accurately identify visual information in real time . Fig. Sequence Diagram of Communication Between System Components Fig. 4 depicts the message sequence from image capture to recognition and actuator control during an access attempt. confirms that the door unlock command is issued only after a valid recognition response is returned. Experimental Protocol and Evaluation Metrics The proposed smart-door access system was evaluated endto-end with three enrolled participants (P1AeP. The evaluation was designed to reflect practical access scenarios: . illumination variation, . multi-face presence in a single frame, and . accessory-induced appearance variation, including a controlled failure case under full face covering. A trial is defined as a single access attempt in which an enrolled participant presents their face to the system. A trial is counted as successful only when correct recognition is immediately followed by physical solenoid unlocking, ensuring that both algorithmic decision-making and actuator execution are validated as a unified workflow. Based on the conducted experiments. Participant P1 completed two trials with two successful unlocks. Participant P2 completed one trial with one successful unlock. and Participant P3 completed four trials, comprising three successful unlocks and one failed attempt under a full face covering, yielding a total of seven trials. To support auditability, each access attempt is documented using aligned evidence: . the recognition output . ounding Fig. Flowchart of the Smart Door Access Workflow Fig. 3 presents the end-to-end workflow from monitoring, face detection, and recognition to the final access decision. ensures that each decision branch . rant/den. and the system loop-back are clearly defined. Sequence Diagram The Sequence Diagram illustrates the temporal order of interactions among system components during an access attempt . This diagram emphasizes when and in what order messages are exchanged, making it particularly useful for analyzing communication latency and synchronization . the proposed system, the sequence begins when the camera module captures a facial image and sends it to the processing The processing unit sequentially invokes face detection DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 box and identity labe. , . the system notification log reporting confidence and detection duration, and . the physical lock state . ocked vs unlocke. In terms of classification outcomes, the evaluation yielded 6 true positives, 1 false negative, and 0 false positives, resulting in a recall and precision of 100% for unlocking events. Response-time measurements were recorded for successful unlocking events. Specifically, the logged detection durations. These measurements were used to compute descriptive statistics for system responsiveness, including mean response time. RESULT AND DISCUSSION This section reports the experimental outcomes of the proposed hybrid face-recognition door-access system using three enrolled participants (P1AeP. selected to represent . illumination variation, . multi-face presence in a single frame, and . accessory-induced appearance change, including a controlled failure case. The evaluation is conducted end-to-end. A trial is considered successful only when the system . produces a correct recognition decision and . executes a physical unlocking action through the solenoid To ensure reproducibility and auditability, each subject's result is presented using three aligned pieces of evidence: . the visual recognition output . ounding box and labe. , . the system log showing confidence and detection duration, and . the final physical state of the lock . ocked vs Fig. Participant P1 Recognition Output Under Dim Illumination (Confidence: 45%). Illumination Variation (Dim vs Norma. Fig. 5 to Fig. 7 present the recognition performance of Participant P1 under different lighting conditions. Under normal illumination (Fig. , recognition remains correct, with improved confidence of 36%. Under dim illumination (Fig. the system correctly recognizes P1 with a confidence score of The notification logs shown in Fig. 7 report detection durations of 2. 09 s and 2. 30 s, confirming successful solenoid These results indicate that although illumination affects the confidence value produced by the LBPH classifier, the system maintains stable identity decisions and reliable endto-end unlocking behaviour. Fig. Participant P1 Notification Logs Showing Confidence . %, 45%) and Detection Duration . 09 S, 2. 30 S) with Solenoid Actuation Confirmation. Multi-Face Presence in a Single Frame The system's robustness in a multi-person scenario is evaluated using Participant P2, as illustrated in Fig. 8 and Fig. In Fig. 8, two faces appear simultaneously in the camera The system correctly recognizes the enrolled face (P. with 46% confidence, while rejecting the additional face as Unknown. This behaviour is critical for access control, as it prevents unauthorized unlocking by non-enrolled individuals. Fig. 9 further confirms correct operation by reporting a detection duration of 2. 01 s and successful solenoid actuation following valid recognition. Fig. Participant P1 Recognition Output Under Normal Illumination (Confidence: 36%). Fig. Participant P2 Multi-Face Frame: The Enrolled Face Is Recognized (Confidence: 46%) While the Additional Face Is Rejected as Unknown . %). DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 Fig. Participant P2 Notification Log Confirming Recognition (Confidence: 46%). Detection Duration . 01 S), and Solenoid Actuation. Accessories and Controlled Failure (Full Face Coverin. The recognition robustness of Participant P3 under appearance variations caused by accessories and occlusion is illustrated in Fig. 10 to Fig. In the baseline condition (Fig. , the system recognizes P3 with a confidence of 23%. When glasses are introduced (Fig. , confidence increases to 41%, and with a hat (Fig. to 44%. Despite these variations, the system consistently performs correct recognition and executes unlocking, as confirmed by the notification logs in Fig. 14 with detection durations of 2. 02 s, 2. 23 s, and 2. 54 s. controlled failure scenario is presented in Fig. 13, where a fullface covering prevents successful recognition, and no unlock command is issued. This conservative response demonstrates that the system prioritizes security by denying access based on insufficient facial evidence. Fig. Participant P3 Recognition with A Hat (Confidence: 44%). Fig. Participant P3 Full Face Covering (Mas. Resulting in No Successful Recognition/Unlock Event. Fig. Participant P3 Baseline Recognition (Confidence: 23%) Fig. Participant P3 Successful Notification Logs Reporting Confidence . %, 41%, 44%) and Detection Duration . 02 S, 2. 23 S, 2. 54 S) With Solenoid Actuation Confirmation. Selenoid Door-Lock Validation (Locked vs Unlocke. The physical validation of the access decision is shown in Figs. 15 and 16. Fig. 15 depicts the solenoid in the locked state Fig. Participant P3 Recognition with Glasses (Confidence: 41%) DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 when access is denied or no valid recognition is produced. Fig. 16 shows the unlocked state after a successful recognition event triggers the actuator. Across all valid recognition trials involving participants P1-P3, the observed physical door state consistently matches the system decision, confirming correct end-to-end integration between recognition, control logic, and mechanical actuation. Trial Accounting and Definitions (End-to-End. Enrolled Attempt. In this analysis, a "trial" denotes a single access attempt in which an enrolled subject presents their face to the system, and a trial is counted as successful only when correct recognition is immediately followed by solenoid unlocking. Participant 1 completed two trials with two successful unlocks. Participant 2 completed one trial with one successful unlock, and Participant 3 completed four trials comprising three successful unlocks and one failed attempt under full face covering, yielding a total of seven trials. In Equation . , ycA represents the total number of evaluation trials conducted under full-face covering conditions. The total number of trials is obtained by summing three outcome categories, namely successful enrolled trials, failed enrolled trials, and unsafe unlocking events. In this experiment, the results correspond to 2 successful trials, 1 failed trial, and 4 unsafe unlocking cases, which yield a total of ycA = 7 trials. ycA = 2 1 4 = 7 In Equation . , ycNycE represents the number of enrolled trials that were successfully recognized and granted access, yaycA denotes enrolled trials that failed to be recognized or unlocked, and yaycE represents cases where a non-enrolled individual caused the system to unlock. Based on the experimental results under full-face covering conditions, six true positives were observed, along with one false negative and no false positives. Fig. Door State Solenoid Remains Locked (Access Not Granted/No Valid Unlock Comman. ycNycE = 2 1 3 = 6, yaycA = 1, yaycE = 0 Equation . defines recall . as the proportion of correctly recognized enrolled trials compared to all enrolled trials, combining both successful recognitions and failed ycNycE ycIyceycaycaycoyco = ycNycE yaycA Equation . shows that recall is the ratio of correctly recognized enrolled trials to the total number of enrolled trials. The resulting recall of approximately 85. 71% indicates that the system successfully granted access in 6 of 7 enrolled attempts, with only 1 missed recognition under full-face covering conditions, where conservative denial is expected. ycIyceycaycaycoyco = = = 0. 6 1 7 Equation . indicates that all unlocking events corresponded to enrolled users. Since no false positives were recorded, the precision value reached 100%, meaning that every observed system unlock was correct and no unsafe access occurred during the evaluation. ycEycyceycaycnycycnycuycu = = 1. 0 = 100% In Equation . , the F1-score is defined as the harmonic mean of precision and recall. Substitution ( ycEycyceycaycnycycnycuycu = 1. Fig. Door State Solenoid Unlocks (Access Granted/Unlock Command Execute. DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 ycIyceycaycaycoyco = 0. is used for the evaluation. The F1-score combines precision and recall into a single balanced performance measure. By substituting, the resulting value is ya1 = 0. 923076 = 92. 31% , which indicates high overall classification performance. ycIycaycuyciyce = ycycoycaycu Oe ycycoycnycu = 2. 54 Oe 2. 01 = 0. Equation . , the sample variance yc 2 measures the variability of response times around the mean ycO. The obtained variance value indicates relatively low dispersion across the recorded trials. y ycEycyceycaycnycycnycuycu y ycIyceycaycaycoyc. cEycyceycaycnycycnycuycu ycIyceycaycaycoyc. 0 y 0. = 92. In Equation . , the end-to-end accuracy Accuracyyce2yce is defined as the proportion of successfully enrolled trials . cNycE) to the total number of trials . cA ). This metric summarises the system's overall success rate in granting access during the The numerical substitution using the observed results, where ycNycE = 6 and ycA = 7 . The computed value indicates that the system successfully unlocked in most trials under the tested conditions. ya1 = ycu yc2 = ycu ycn=1 . Equation . defines the mean response ycO time, the total sum of response times divided by the number of observations, using the values in Equation . , the mean response time is 1983 seconds, which is approximately 2. 20 seconds. ycn=1 In Equation . , the median response time is obtained by averaging the two middle values after sorting the recorded The computed median of 2. 16 seconds indicates the system's typical central response time. = 2. = 0. The three-subject evaluation reveals operational characteristics relevant to the deployment of access control. Participant 1 confirms that the system maintains correct identity decisions across varying illumination, while confidence values improve in well-lit conditions. Participant 2 demonstrates that the system can recognize an enrolled user even when another face is present in the same frame and can reject the non-enrolled individual without triggering unsafe unlocking. Participant 3 shows robustness to common accessories . lasses and a ha. , while the full-face covering case correctly results in denial, aligning with a conservative security posture. Finally, the solenoid-state evidence (Fig. 15 and Fig. confirms that recognition outcomes are faithfully translated into physical lock actuation, completing the end-to-end validation loop required for smart door access applications. The experimental results demonstrate that the proposed hybrid pipeline can support practical smart-door access under typical indoor conditions. The system achieved 6 successful unlocks out of 7 trials . 71% success rat. , with 100% precision for successful access events, indicating that it did not produce any false unlocks due to unauthorized attempts. This outcome is important from a security perspective, as false acceptance is generally more critical than false rejection in access-control applications. However, the presence of a single failed attempt suggests that recognition reliability remains sensitive to extreme appearance changes, as evidenced by the controlled failure case involving a full-face covering. This behaviour is consistent with the underlying characteristics of LBPH, which relies on local texture patterns. when the facial region is largely occluded, the available texture information becomes insufficient, leading to rejection. From a system design standpoint, this conservative behaviour is desirable because it prevents unsafe unlocking when facial evidence is incomplete. In terms of responsiveness, the recorded detection durations for successful unlock events ranged from 2. 01 s to 2. 54 s, with results of 2. 30 s and 2. 09 s for Participant P1, 2. 01 s for Participant P2, and 2. 02 s, 2. 23 s, and 2. 54 s for Participant P3. This response time reflects the combined latency of frame acquisition on the ESP32-CAM, wireless transmission to the processing unit, host-side detection and recognition, and Oc ycycn = 2. ycAyceyccycnycaycu = ycuOe1 yc = Ooyc 2 = Oo0. 0414167 = 0. 2035 s = 0. ycNycE 6 = = 0. 857142 = 85. ycA Detection durations were recorded only for successful access events because the full-face-covering failure case did not generate a successful log entry. Specifically. Participant P1 produced two recorded durations of 2. 30s and 2. Participant P2 produced one duration of 2. 01s, and Participant P3 produced three durations of 2. 02s, 2. 23s, and 2. therefore, the response-time dataset used for statistical analysis in Equation . , the total response-time sum is computed by adding all recorded successful unlocking durations ycycn for ycu = 6 trials. The resulting sum is 13. 19 seconds, which serves as the basis for computing the average response time. ycI = ( ) Oc ycycn = = 2. 1983 = 2. ycu Ocycn=1( ycycn Oe ycO )2 Equation . computes the sample standard deviation ycas the square root of the variance. The resulting standard deviation of approximately 0. 20 seconds confirms that response times remain stable with only modest variation. yaycaycaycycycaycaycyce2yce = = 13. Equation . calculates the response-time range as the difference between the maximum and minimum observed The range of 0. 53 seconds reflects the spread of response times across the successful trials. DOI : https://doi. org/10. 25139/inform. Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. January 2026. P-ISSN : 2502-3470. E-ISSN : 2581-0367 solenoid actuation. Although the delay is noticeable, it remains acceptable for door access workflows, where an interaction time of approximately 2Ae3 seconds is practical. Nevertheless, the current evaluation is limited by the small number of enrolled participants and the controlled indoor Future work should extend the experiments to larger, more diverse datasets that include variations in pose, partial occlusion, and more challenging lighting conditions, and incorporate additional safeguards, such as illumination normalization and adaptive thresholding, to improve robustness while preserving the system's conservative security stance. IV. DISCUSSION This study demonstrates that a hybrid IoT-assisted smart door access system integrating Haar Cascades for face detection and LBPH for face recognition provides a reliable, computationally efficient approach for indoor access control. The experimental evaluation confirms that the proposed architecture supports practical access decisions with conservative security behaviour, as no false unlockings occurred during the trials. Importantly, the research objectives were achieved: the system was successfully designed and implemented as an end-to-end workflow linking image acquisition, recognition, physical actuation, and event logging, and its performance was validated under representative conditions, including illumination variation, multi-face presence, and controlled failure scenarios. Beyond the prototype, the results highlight broader implications for IoT and edge-based security deployments. Specifically, this work indicates that classical computer-vision methods, when integrated into a complete access-control pipeline, remain a viable alternative in contexts where hardware cost, power consumption, latency requirements, and long-term maintainability may constrain deep learning. addition, integrating event logging via Telegram provides a practical pathway to traceable access control, supporting accountability and post-event verification. Future work should expand validation to larger, more diverse user populations and incorporate robustness enhancements, such as illumination normalization, adaptive thresholds, and anti-spoofing mechanisms, to improve generalizability under real-world REFERENCES