Local Binary Pattern (LBP) is a simple yet very efficient texture operator which labels the pixels of an image by thresholding the neighborhood of each pixel and considers the result as a binary number.
Face Recognition: Understanding LBPH Algorithm
People's faces and eyes are detected by haarcascade.
The code creates datasets to train from people faces.
The code creates trained data (.yml) from datasets.
The code provides to authentication.