I have tried to follow the tutorial but when i run my code i get an error which says
"OpenCV Error: Unsupported format or combination of formats <in the="" fisherfaces="" method="" all="" input="" samples="" (training="" images)="" must="" be="" of="" equal="" size!="" expected="" 0="" pixels,="" but="" was="" 10304="" pixels.)="" in="" unknown="" function,="" file="" ...facerec.cpp="" line="" 455"<="" p="">
This is thrown on line containing model->train(images, labels);
I'm using this code here.