cvCvtColor(frame, grayImage, CV_BGR2GRAY);
// We instantiate a classifier cascade to be used for detection, using
// the cascade definition.
CvHaarClassifierCascade cascade = new CvHaarClassifierCascade(
cvLoad(detectionXmlFile));
// We detectionExecute the faces.
faces = cvHaarDetectObjects(grayImage, cascade, storage, 1.1, 1,
0);