Ask Your Question

Revision history [back]

There is this openCV page on face recognition via PCA. Preprocessing the input image for lightning equalisation and/or scaling might be trickier, you can try histogram equalisation, Y-channel (luma) only histogram equalisation, and for the scaling you can start with the face detection bounding box and use it as a reference.