Face recognition technology, defined as the process of detecting and verifying individuals’ identities via image processing techniques in computer vision, has become increasingly vital in today’s technologically and digitally evolved world. Automating the attendance system with face recognition software eliminates inefficiencies like tampered records, proxies, and security risks. This paper proposes incorporating facial recognition technology, Haar Cascade classifiers (Li et al. in ICEMI 2017-Proceedings IEEE 13th International conference on electronic measurement and instruments, vol 2018-Janua, pp 483–487), and the Local Binary Pattern Histogram (LBPH) (Ahmed et al. in 2018 International conference artificial intelligent big data, (ICAIBD 2018), pp 144–147) machine learning approach can be used for identifying faces to create a secure and reliable solution for automating attendance systems. The proposed method produces more accurate results than any other algorithms used earlier. Compared to existing algorithms, the suggested system showed better results, reliability, and robustness in accurately recognizing faces. Its facial recognition accuracy is 87%, and the false-positive rate is only 7%. The system can also reliably identify a person who has undergone unintentional changes in their appearance, such as growing a beard or putting on spectacles.