summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2011-03-22 13:00:56 -0600
committerScott Moreau <oreaus@gmail.com>2011-03-22 13:00:56 -0600
commite26f5d9dc54d3e2616ddb5cd25376bff0326b309 (patch)
tree3f229868f95ddca14f86421416ee359a1e69aa15
parenta1fe9603a03f43875c54690d71ba75671f0566a4 (diff)
downloadheadtracking-e26f5d9dc54d3e2616ddb5cd25376bff0326b309.tar.gz
headtracking-e26f5d9dc54d3e2616ddb5cd25376bff0326b309.tar.bz2
Track opencv 2.2 API changes.HEADmaster
-rw-r--r--facedetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/facedetect.c b/facedetect.c
index 7b2d6b1..a352ff6 100644
--- a/facedetect.c
+++ b/facedetect.c
@@ -325,7 +325,7 @@ int detect(double scale, int uX, int uY, int *x1, int *y1, int *x2, int *y2, int
CvSeq* faces = cvHaarDetectObjects( small_img, cascade, storage,
1.1, 2, 0 | CV_HAAR_FIND_BIGGEST_OBJECT
,
- cvSize(30, 30) );
+ cvSize(30, 30), cvSize(0, 0) );
for( i = 0; i < (faces ? faces->total : 0); i++ ) {
CvRect* r = (CvRect*)cvGetSeqElem( faces, i );
resx1 = r->x * scale;