Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Finally I got the solution of my problem. The size of my test and training images were 7070. I changed the size to 200200 and now it is working perfectly. The reason behind it is that EigenFaceRecognizer and FisherFaceRecognizer don't work with image width that are not multiple of 8 or 16(In my case). 70 is not multiple of 8 so it is not working but for image width 200(multiple of 8), it is working fine.

Finally I got the solution of my problem. The size of my test and training images were 7070* 70. I changed the size to 200200* 200 and now it is working perfectly. The reason behind it is that EigenFaceRecognizer and FisherFaceRecognizer don't work with image width that are not multiple of 8 or 16(In my case). 70 is not multiple of 8 so it is not working but for image width 200(multiple of 8), it is working fine.