Home | History | Annotate | Download | only in cpp

Lines Matching full:eyes

5  * Haarcascade classifiers for face, eyes, nose and mouth
51 eye_cascade_path = (doesCmdOptionExist(args, "-eyes")) ? getCommandOption(args, "-eyes") : "";
97 "The program detects a face and eyes, nose and mouth inside the face."
106 "\t-eyes : Specify the haarcascade classifier for eye detection.\n"
112 "(1) ./cpp-example-facial_features image.jpg face.xml -eyes eyes.xml -mouth mouth.xml\n"
113 "\tThis will detect the face, eyes and mouth in image.jpg.\n"
119 cout << " \n\nThe classifiers for face and eyes can be downloaded from : "
145 // Eyes, nose and mouth will be detected inside the face (region of interest)
148 // Check if all features (eyes, nose and mouth) are being detected
153 // Detect eyes if classifier provided by the user
156 vector<Rect_<int> > eyes;
157 detectEyes(ROI, eyes, eye_cascade);
159 // Mark points corresponding to the centre of the eyes
160 for(unsigned int j = 0; j < eyes.size(); ++j)
162 Rect e = eyes[j];
214 static void detectEyes(Mat& img, vector<Rect_<int> >& eyes, string cascade_path)
219 eyes_cascade.detectMultiScale(img, eyes, 1.20, 5, 0|CASCADE_SCALE_IMAGE, Size(30, 30));