diff --git a/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst b/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst index 2a3d8ce5cd..06ba43a999 100644 --- a/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst +++ b/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst @@ -118,17 +118,17 @@ Explanation Result ====== -#. Here it is: +#. Here is the result of running the code above and using as input the video stream of a build-in webcam: - ========== ========== - |CCH| |CCLBP| - ========== ========== + .. image:: images/Cascade_Classifier_Tutorial_Result_Haar.jpg + :align: middle + :height: 300pt - .. |CCH| image:: images/Cascade_Classifier_Tutorial_Result_Haar.jpg - :align: middle - :height: 200pt + Remember to copy the files *haarcascade_frontalface_alt.xml* and *haarcascade_eye_tree_eyeglasses.xml* in your current directory. They are located in *opencv/data/haarcascades* - .. |CCLBP| image:: images/Cascade_Classifier_Tutorial_Result_LBP.jpg - :align: middle - :height: 200pt +#, This is the result of using the file *lbpcascade_frontalface.xml* (LBP trained) for the face detection. For the eyes we keep using the file used in the tutorial. + + .. image:: images/Cascade_Classifier_Tutorial_Result_LBP.jpg + :align: middle + :height: 300pt