Updated by Andrey Kamaev about 13 years ago
In the tutorial on this page:
http://opencv.itseez.com/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier
I think the line (near the bottom):
>
int radius = cvRound( (eyes[j].width + eyes[i].height)*0.25 );
should be:
>
int radius = cvRound( (eyes[j].width + eyes[j].height)*0.25 );
http://opencv.itseez.com/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier
I think the line (near the bottom):
>
int radius = cvRound( (eyes[j].width + eyes[i].height)*0.25 );
should be:
>
int radius = cvRound( (eyes[j].width + eyes[j].height)*0.25 );