Closed GoogleCodeExporter closed 9 years ago
Well let me check, I dont recall pfa calling cvCanny anywhere..
Original comment by rohan.a...@gmail.com
on 18 Jan 2010 at 2:23
could you find this line
faceDetector.cpp
change this line
CvSeq* faces = cvHaarDetectObjects( small_img, cascade, storage,
1.4, 2, 0
// |CV_HAAR_FIND_BIGGEST_OBJECT
// |CV_HAAR_DO_ROUGH_SEARCH
|CV_HAAR_DO_CANNY_PRUNING
//|CV_HAAR_SCALE_IMAGE
,
cvSize(80/scale, 80/scale) );
to
CvSeq* faces = cvHaarDetectObjects( small_img, cascade, storage,
1.4, 2, 0
// |CV_HAAR_FIND_BIGGEST_OBJECT
// |CV_HAAR_DO_ROUGH_SEARCH
// |CV_HAAR_DO_CANNY_PRUNING
//|CV_HAAR_SCALE_IMAGE
,
cvSize(80/scale, 80/scale) );
This is probably a bug in OpenCV. But i was able to get it running with opencv
2.0. I
am not sure why this is happening.
Original comment by rohan.a...@gmail.com
on 18 Jan 2010 at 2:30
It works now!
Thank you for this quick fix, the fastest bugfix I've ever seen in an open
source
project. :-)
Original comment by smarte...@gmail.com
on 18 Jan 2010 at 2:37
hehe, no problem :)
Original comment by rohan.a...@gmail.com
on 18 Jan 2010 at 2:44
Original issue reported on code.google.com by
smarte...@gmail.com
on 18 Jan 2010 at 2:14