Closed jainanshul closed 8 years ago
I am getting an exception that size of eigenvectors doesn't match the size of preprocessedFace from opencv when calling https://github.com/MasteringOpenCV/code/blob/master/Chapter8_FaceRecognition/recognition.cpp#L136.
I checked the size of eigenvectors matrix and it indeed is not the same size (example: 5625 x 99) where as my faces are of size (75 x 75).
@shervinemami Would you know what might be wrong here?
Never mind, I forgot to call the reshape function.
I am getting an exception that size of eigenvectors doesn't match the size of preprocessedFace from opencv when calling https://github.com/MasteringOpenCV/code/blob/master/Chapter8_FaceRecognition/recognition.cpp#L136.
I checked the size of eigenvectors matrix and it indeed is not the same size (example: 5625 x 99) where as my faces are of size (75 x 75).
@shervinemami Would you know what might be wrong here?