Facial recognition technology has evolved significantly over the last five decades and plays a central role in various applications such as biometrics, information security, access control, law enforcement and surveillance. In this study, the performance of two face recognition algorithms, Dlib and FaceNet, is evaluated using datasets obtained from video recordings in different environments. The Dlib algorithm uses the Histogram of Oriented Gradients (HOG) method for face detection, while FaceNet uses the Multi-Task Cascaded Convolutional Neural Network (MTCNN). The experimental results show that both algorithms achieve high accuracy in controlled environments, with Dlib showing greater robustness in complex scenarios. This study makes an important contribution to this topic by presenting a comparative analysis of the face recognition performance of the OpenFace, ArcFace, Exadel, and Dlib methods under different environmental conditions and scenarios. The results show that while the tested methods achieve high accuracy in controlled environments, their performance differs in more com-plex environments.In the results, OpenFace and ArcFace showed lower success rates than the other two algorithms. In particu-lar, Dlib proved superior in dynamic and challenging scenarios, achieving an overall accuracy of 96.1% compared to 94.6% for Exadel. Exadel, on the other hand, performed slightly better in certain controlled environments, highlighting its potential strength in certain applications. These results emphasize the importance of selecting the appropriate algorithm based on the specific environmental conditions and requirements of the application. This research not only improves our understanding of the performance characteristics of leading facial recognition technologies, but also provides practical insights into their use in real-world applications.