My preprocessing steps:
- Crop the detected face
- Apply greyscale on image
- Resize to a standard size (100x100)
- Histogram Equalization filtering
After applying the aforementioned steps on both training and testing images, LBPH seems to be only recognizing faces that has been only trained before. If I tested another untrained image of the same person that previously had images trained in LBPH, it fails to recognize it.
Is OpenCV LBPH recognizer even accurate? I really don't care if it displays the right label at this point, what I just care about it is to know that a person is found (only the trained ones). I'm starting to doubt it and think that it was a waste of my time. High expectations I guess... :/