From 6ababe70552d710cc2cfa64aeabbf7a07de9d465 Mon Sep 17 00:00:00 2001 From: Alexander Shishkov <no@email> Date: Fri, 17 Feb 2012 06:58:02 +0000 Subject: [PATCH] fixed #1604 --- .../objdetect/cascade_classifier/cascade_classifier.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst b/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst index fe426796f..ee9d048b9 100644 --- a/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst +++ b/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst @@ -104,7 +104,7 @@ This tutorial code's is shown lines below. You can also download it from `here < for( int j = 0; j < eyes.size(); j++ ) { Point center( faces[i].x + eyes[j].x + eyes[j].width*0.5, faces[i].y + eyes[j].y + eyes[j].height*0.5 ); - int radius = cvRound( (eyes[j].width + eyes[i].height)*0.25 ); + int radius = cvRound( (eyes[j].width + eyes[j].height)*0.25 ); circle( frame, center, radius, Scalar( 255, 0, 0 ), 4, 8, 0 ); } }