From: Ilya Lavrenov Date: Wed, 11 Dec 2013 11:08:49 +0000 (+0400) Subject: fixed facedetect sample X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~3639^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1015c5c24d3695dae8f26925ae1d1fd8402a9a01;p=platform%2Fupstream%2Fopencv.git fixed facedetect sample --- diff --git a/samples/ocl/facedetect.cpp b/samples/ocl/facedetect.cpp index b452ab8..fd570b5 100644 --- a/samples/ocl/facedetect.cpp +++ b/samples/ocl/facedetect.cpp @@ -196,7 +196,7 @@ static void detectFaces(std::string fileName) d_img.upload(img); std::vector oclfaces; - cascade.detectMultiScale(d_img, oclfaces, 1.1, 3, 0|CV_HAAR_SCALE_IMAGE, Size(30, 30), Size(0, 0)); + cascade.detectMultiScale(d_img, oclfaces, 1.1, 3, 0 | CASCADE_SCALE_IMAGE, Size(30, 30), Size(0, 0)); for(unsigned int i = 0; i