I'm working with Philipp Wagner's FaceRecognizer an excellent bit of code, and have gotten to the point where I want to train it on my own database. I have trained it on the att faces database iaw the tutorials successfully. Now I'd like to either add new faces to that database on the theory that the more faces it's trained on the better, or simply train it on a new set of faces. I tried adding faces to the att database, didn't work. This is where I started to learn about .pgm type files, which is what the att database contains. As I understand it, the pgm type file is actually an array that fools the machine into thinking its an image. Also, the arrays must all be of the same size for FaceRecognizer to work on them. 1) is there a handy way for OpenCV to convert jpg's to pgm? (from my research I have learned it's not just a change in extension) 2) can opencv capture images in .pgm format so as not to require conversion? 3) can anyone point me to a tutorial that allows me to save the image as a specific number of pixels? 4) still learning FaceRecognizer, so this may be a dumb question: can image types other than .pgm be converted to arrays so faceRecognizer can work on them? regards, Richard