working on face detection example: problems with image types trying to get a grayscale image