- Read the images from URL mentioned in the data file. Histogram equalization was applied before any processing to improve detection accuracy for images.
- Face detection was implemented using two methods:
- Skin segmentation and morphological processing (MATLAB)
- Viola-Jones Detection (OpenCV) - better performance
- LBP face recognizer was trained using the detected faces and their corresponding labels.
- For a new image, predicted the faces detected using the trained recognizer and displayed a rectangle around it with the predicted label.