I am new to opencv and I am trying train face recognition using eigen face recognition. The code is throwing the error in the line: clf.train(faces, ids)
My program is: