1 | initial version |
all input samples (training images) must be of equal size!
yes, this is true. so just resize them before saving:
Imgproc.resize(faceImage, faceImage, new Size(100, 100));
also don't forget, that you'll have to do the same for the test images later !