in libfacedetect.c you have
for ( i = 0; i < faces->total; i++ )
{
CvRect* r1 = (CvRect*)cvGetSeqElem(faces, i );
if (max > r1->width*r1->height)
{
max=r1->width*r1->height;
indexFace=i;
}
}
/////////////////////////////////////////////////////
it should be:
if (max < r1->width*r1->height)
Original issue reported on code.google.com by photonmaster@gmail.com on 27 Jun 2009 at 6:39
Original issue reported on code.google.com by
photonmaster@gmail.com
on 27 Jun 2009 at 6:39