Lines Matching refs:scale
38 double scale, bool tryflip );
61 double scale = 1; in main() local
80 if( !sscanf( argv[i] + scaleOpt.length(), "%lf", &scale ) || scale < 1 ) in main()
81 scale = 1; in main()
82 cout << " from which we read scale = " << scale << endl; in main()
141 detectAndDraw( frameCopy, cascade, nestedCascade, scale, tryflip ); in main()
157 detectAndDraw( image, cascade, nestedCascade, scale, tryflip ); in main()
178 detectAndDraw( image, cascade, nestedCascade, scale, tryflip ); in main()
200 double scale, bool tryflip ) in detectAndDraw() argument
213 Mat gray, smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 ); in detectAndDraw()
255 center.x = cvRound((r->x + r->width*0.5)*scale); in detectAndDraw()
256 center.y = cvRound((r->y + r->height*0.5)*scale); in detectAndDraw()
257 radius = cvRound((r->width + r->height)*0.25*scale); in detectAndDraw()
261 rectangle( img, cvPoint(cvRound(r->x*scale), cvRound(r->y*scale)), in detectAndDraw()
262 … cvPoint(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)), in detectAndDraw()
277 center.x = cvRound((r->x + nr->x + nr->width*0.5)*scale); in detectAndDraw()
278 center.y = cvRound((r->y + nr->y + nr->height*0.5)*scale); in detectAndDraw()
279 radius = cvRound((nr->width + nr->height)*0.25*scale); in detectAndDraw()