OpenCV C++ Implementation of the EigenFaces face detection algorithm