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.
2 | No.2 Revision |
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.