added an example call

pull/13383/head
Gary Bradski 14 years ago
parent dab507e32a
commit bbbd57d6c1
  1. 11
      samples/c/facedetect.cpp

@ -13,10 +13,13 @@ void help()
cout << "\nThis program demonstrates the haar cascade recognizer\n" cout << "\nThis program demonstrates the haar cascade recognizer\n"
"this classifier can recognize many ~rigid objects, it's most known use is for faces.\n" "this classifier can recognize many ~rigid objects, it's most known use is for faces.\n"
"Usage:\n" "Usage:\n"
"./facedetect [--cascade=<cascade_path>]\n" "./facedetect [--cascade=<cascade_path> this is the primary trained classifier such as frontal face]\n"
" [--nested-cascade[=nested_cascade_path]]\n" " [--nested-cascade[=nested_cascade_path this an optional secondary classifier such as eyes]]\n"
" [--scale=<image scale greater or equal to 1>\n" " [--scale=<image scale greater or equal to 1, try 1.3 for example>\n"
" [filename|camera_index]\n" << endl;; " [filename|camera_index]\n\n"
"see facedetect.cmd for one call:\n"
"./facedetect --cascade=\"../../data/haarcascades/haarcascade_frontalface_alt.xml\" --nested-cascade=\"../../data/haarcascades/haarcascade_eye.xml\" --scale=1.3 \n"
"Hit any key to quit.\n" << endl;
} }
void detectAndDraw( Mat& img, void detectAndDraw( Mat& img,

Loading…
Cancel
Save